Missing section 'services' in kdu, not included during SOL006 migration 15/10215/6
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 25 Jan 2021 14:16:09 +0000 (14:16 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 16 Feb 2021 14:21:11 +0000 (15:21 +0100)
This commit adds similar content of 7c7f682 in the kdu augment.

Change-Id: I9f62650cb73489459bce191d0be8ae7a82e22a5a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
models/augments/kdu.yang

index 2800082..3f7d2e7 100644 (file)
@@ -159,6 +159,39 @@ module kdu {
                 }
             }
         }
+
+        list service {
+          description
+            "List of Kubernetes services exposed by the KDU.
+             If empty, all services are assumed to be exposed in the CP associated to the first network
+             in k8s-cluster.nets.";
+          key name;
+
+          leaf name {
+            description "Name of the Kubernetes service exposed by he KDU model";
+            type string;
+          }
+
+          leaf mgmt-service {
+            description
+                "Flag to indicate that this Kubernetes service is a mgmt service
+                to be used for KDU configuration. Defaults to false (if no present).
+                All services with mgmt-service set to true will be passed to the execution
+                environment in charge of the KDU configuration.";
+            type boolean;
+            default false;
+          }
+
+          leaf external-connection-point-ref {
+            description
+              "String representing a leaf reference to the particular external connection point.
+               This field should match /etsi-nfv-vnfd:vnfd/etsi-nfv-vnfd:ext-cpd/etsi-nfv-vnfd:id
+              ";
+            type string;
+          }
+
+        }
+
     }
 
     augment "/vnfd:vnfd" {