From: garciadeblas Date: Mon, 6 Apr 2020 07:48:39 +0000 (+0000) Subject: Added list of exposed services per KDU X-Git-Tag: release-v8.0-start^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7c7f6821ab05d35b3718c16d2e28270b914dc3ce;p=osm%2FIM.git Added list of exposed services per KDU Change-Id: Ia254f3c1dfc8104b8bb7d22a2b988d93a3ce5524 Signed-off-by: garciadeblas --- diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index 38bede6..aae9b2b 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -1,7 +1,7 @@ - /* * * Copyright 2017 RIFT.IO Inc + * Copyright 2018-2020 ETSI * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -677,6 +677,38 @@ module vnfd-base } } + 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 + "Leaf Ref to the particular external connection point"; + type leafref { + path "../../../connection-point/name"; + } + } + + } + } container k8s-cluster {