Remove scaling-type. Added description to aggregation-type.
[osm/IM.git] / models / yang / mano-types.yang
index b6350ae..3aa10a1 100644 (file)
@@ -202,7 +202,6 @@ module mano-types
              the same name as entered here.
             ";
       type string;
-      mandatory "true";
     }
 
     leaf image-checksum {
@@ -645,12 +644,12 @@ module mano-types
     }
   } //grouping vm-flavor
 
-       grouping vm-flavor-name {
-       leaf vm-flavor-name {
-               description "flavor name to be used while creating vm using cloud account";
-               type string;
-       }
-       }
+  grouping vm-flavor-name {
+    leaf vm-flavor-name {
+      description "flavor name to be used while creating vm using cloud account";
+      type string;
+    }
+  }
 
   grouping vswitch-epa {
     container vswitch-epa {
@@ -1225,7 +1224,12 @@ module mano-types
 
   grouping monitoring-param-aggregation {
     typedef aggregation-type {
-      description "aggregation-type";
+      description
+          "aggregation-type, indicates the way to aggregate monitoring-params
+          (e.g. how to aggregate CPU utilisation of all VNFs belonging to the
+          same VNF group identified by member-vnf-index; or how to aggregate
+          memory utilisation of all VDUs belonging to the same VDU group
+          identified by vdu id)";
       type enumeration {
         enum AVERAGE;
         enum MINIMUM;