projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'v2.0'
[osm/SO.git]
/
common
/
python
/
rift
/
mano
/
dts
/
subscriber
/
ns_subscriber.py
diff --git
a/common/python/rift/mano/dts/subscriber/ns_subscriber.py
b/common/python/rift/mano/dts/subscriber/ns_subscriber.py
index
1078e85
..
c16f771
100644
(file)
--- 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"
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"