Feature 8716 - K8s Proxy charms 47/9247/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 30 Jun 2020 15:47:36 +0000 (15:47 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 30 Jun 2020 15:54:43 +0000 (15:54 +0000)
Change-Id: Ic8745ad77a5fdddb44ac06b8b31ee037f7233c78
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
models/yang/mano-types.yang

index 3fd0b15..f54a5e9 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 {