Reverting image name to be non-mandatory as a workaround for bug 470
[osm/IM.git] / models / yang / mano-types.yang
index ce51c70..654fcbb 100644 (file)
@@ -191,7 +191,7 @@ module mano-types
       }
     }
   }
       }
     }
   }
-  
+
  grouping image-properties {
     leaf image {
       description
  grouping image-properties {
     leaf image {
       description
@@ -202,7 +202,6 @@ module mano-types
              the same name as entered here.
             ";
       type string;
              the same name as entered here.
             ";
       type string;
-      mandatory "true";
     }
 
     leaf image-checksum {
     }
 
     leaf image-checksum {
@@ -273,6 +272,11 @@ module mano-types
             description "Juju charm to use with the VNF or VDU.";
             type string;
           }
             description "Juju charm to use with the VNF or VDU.";
             type string;
           }
+          leaf proxy {
+            description "Is this a proxy charm?";
+            type boolean;
+            default true;
+          }
           uses manotypes:vca-relationships;
         }
       }
           uses manotypes:vca-relationships;
         }
       }