Fix Dockerfile to add missing apt-update before apt-install
[osm/IM.git] / models / yang / mano-types.yang
index 3fd0b15..eb38ec2 100644 (file)
@@ -317,6 +317,16 @@ module mano-types
             type boolean;
             default true;
           }
+          leaf cloud {
+            description
+              "Type of cloud where the charm will be deployed. It only
+               applies to proxy charms (not native)";
+            type enumeration {
+              enum lxd;
+              enum k8s;
+            }
+            default lxd;
+          }
         }
       }
 
@@ -344,6 +354,16 @@ module mano-types
                   type boolean;
                   default true;
                 }
+                leaf cloud {
+                  description
+                    "Type of cloud where the charm will be deployed. It only
+                     applies to proxy charms (not native)";
+                  type enumeration {
+                    enum lxd;
+                    enum k8s;
+                  }
+                  default lxd;
+                }
               }
             }
             case helm-chart {
@@ -359,6 +379,15 @@ module mano-types
                   ";
                 type string;
               }
+              leaf helm-version {
+                description
+                  "Helm version to use for this helm-chart, v3 by default";
+                type enumeration {
+                  enum v2;
+                  enum v3;
+                }
+                default v3;
+              }
             }
           }
           leaf metric-service {