Generalize member-vnf-index as string in constituent-vnfd in NSD to allow symbolic...
[osm/IM.git] / models / yang / nsd.yang
index 6c8b8c5..19aebe9 100644 (file)
@@ -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";
-        type uint64;
+        type string;
       }
 
       leaf vnfd-id-ref {
@@ -308,6 +308,12 @@ module nsd
 
   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;