Updated namespace to use OSM URN; renamed rw-project to osm-project
[osm/IM.git] / models / yang / nsd.yang
index 6c8b8c5..47baf6f 100644 (file)
@@ -20,7 +20,7 @@
 
 module nsd
 {
 
 module nsd
 {
-  namespace "urn:ietf:params:xml:ns:yang:nfvo:nsd";
+  namespace "urn:etsi:osm:yang:nsd";
   prefix "nsd";
 
   import vnfd {
   prefix "nsd";
 
   import vnfd {
@@ -65,7 +65,7 @@ module nsd
           "Identifier/index for the VNFD. This separate id
            is required to ensure that multiple VNFs can be
            part of single NS";
           "Identifier/index for the VNFD. This separate id
            is required to ensure that multiple VNFs can be
            part of single NS";
-        type uint64;
+        type string;
       }
 
       leaf vnfd-id-ref {
       }
 
       leaf vnfd-id-ref {
@@ -308,6 +308,12 @@ module nsd
 
   container nsd-catalog {
 
 
   container nsd-catalog {
 
+    leaf schema-version {
+      description "Schema version for the NSD. If unspecified, it assumes v3.0";
+      type string;
+      default "v3.0";
+    }
+
     list nsd {
       key id;
 
     list nsd {
       key id;