SO Multidisk changes
[osm/SO.git] / rwcal / plugins / yang / rwcal.yang
index 6f45e7c..76bd38b 100644 (file)
@@ -998,6 +998,16 @@ module rwcal
         type string;
       }
     }
+    list volumes {
+      key "name";
+
+      leaf name {
+        description "Name of the disk-volumes, e.g. vda, vdb etc";
+        type string;
+      }
+      uses manotypes:volume-info;
+    } 
   }
 
   container vdu-init-params {
@@ -1214,8 +1224,26 @@ module rwcal
       type string;
       description "Console URL from the VIM, if available";
     }
+
+    list volumes {
+      key "name";
+
+      leaf name {
+        description "Name of the disk-volumes, e.g. vda, vdb etc";
+        type string;
+      }
+
+      leaf volume-id {
+        description "CAL assigned volume-id ";
+        rwpb:field-inline "true";
+        rwpb:field-string-max 64;
+        type string;
+      }
+
+    } 
   }
 
+
   container vnf-resources {
     rwpb:msg-new VNFResources;
     config false;