From: garciadeblas Date: Fri, 24 May 2019 13:56:30 +0000 (+0200) Subject: vca-config-access container for vnf/vdu configuration X-Git-Tag: v6.0.2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=92c89c1daa3bc05b7ff83aa695ff436b2c59e0c7;p=osm%2FIM.git vca-config-access container for vnf/vdu configuration This change implements the required changes in the IM for features 1429 (secure key management) and 5669 (full charm support) so that OSM can know from the descriptor whether or not the VNF/VDU requires SSH and what is the default ssh user, so that OSM can inject an SSH public key to make possible the configuration from VCA. Change-Id: Ief9971a780f427c3d8de98d9d88fd0eae9493e5a Signed-off-by: garciadeblas --- diff --git a/models/yang/mano-types.yang b/models/yang/mano-types.yang index 1b9e141..a734822 100644 --- a/models/yang/mano-types.yang +++ b/models/yang/mano-types.yang @@ -297,6 +297,34 @@ module mano-types } } + grouping vca-config-access { + + container config-access { + + description + "Indicates the way to access to the xNF or xDU for VCA configuration. + For the moment there is a single way (ssh-access)."; + + container ssh-access { + + description + "If the xNF requires ssh and this parameter is set, SSH keys + will be injected so that VCA can configure the xNF or xDU via ssh."; + + leaf required { + description "whether ssh access is needed or not"; + type boolean; + default false; + } + + leaf default-user { + description "Default user for ssh"; + type string; + } + } + } + } // END - grouping vca-config-access + grouping vca-configuration { description "Common information in the descriptors for NS, VNF or VDU configuration. diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index 0cd8e45..eb81021 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -176,6 +176,7 @@ module vnfd-base container vnf-configuration { uses manotypes:vca-configuration; + uses manotypes:vca-config-access; } leaf operational-status { @@ -460,6 +461,7 @@ module vnfd-base container vdu-configuration { uses manotypes:vca-configuration; + uses manotypes:vca-config-access; } list monitoring-param {