Feature 8716 - K8s Proxy charms 51/9251/1 v8.0 v8.0.0 v8.0.0rc2 v8.0.0rc3 v8.0.1 v8.0.1rc1 v8.0.2 v8.0.3 v8.0.4
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 30 Jun 2020 15:47:36 +0000 (15:47 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 1 Jul 2020 07:49:30 +0000 (07:49 +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 {