X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2Frift%2Fmano%2Fdts%2Fsubscriber%2Fns_subscriber.py;h=c16f7716ff4d2ee77b0febd13bb01d4b239c02f1;hb=6f1a3fe149e4a6b9803382cb299c902f4cf58ec9;hp=1078e85326d6ef927f89b126d4cd9e89ccc41387;hpb=8c799681ac1cf3383807d6eb404f56b71f938aba;p=osm%2FSO.git diff --git a/common/python/rift/mano/dts/subscriber/ns_subscriber.py b/common/python/rift/mano/dts/subscriber/ns_subscriber.py index 1078e853..c16f7716 100644 --- a/common/python/rift/mano/dts/subscriber/ns_subscriber.py +++ b/common/python/rift/mano/dts/subscriber/ns_subscriber.py @@ -50,3 +50,13 @@ class NsdCatalogSubscriber(core.AbstractConfigSubscriber): def get_xpath(self): return "C,/nsd:nsd-catalog/nsd:nsd" + + +class NsInstanceConfigSubscriber(core.AbstractConfigSubscriber): + """ The network service descriptor DTS handler """ + + def key_name(self): + return "id" + + def get_xpath(self): + return "C,/nsr:ns-instance-config/nsr:nsr"