From: David Garcia Date: Wed, 11 May 2022 14:04:26 +0000 (+0200) Subject: Add execution of primitives to k8s_04 X-Git-Tag: v12.0.0rc1~26 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F12035%2F2;p=osm%2Ftests.git Add execution of primitives to k8s_04 Change-Id: I5d87c6f9c83fadab349be1b100f5b7dc3f8b44f5 Signed-off-by: David Garcia --- diff --git a/robot-systest/testsuite/k8s_04-openldap_helm.robot b/robot-systest/testsuite/k8s_04-openldap_helm.robot index 8264bf4..5ce9ea3 100644 --- a/robot-systest/testsuite/k8s_04-openldap_helm.robot +++ b/robot-systest/testsuite/k8s_04-openldap_helm.robot @@ -36,14 +36,14 @@ ${k8scluster_name} k8s04 ${k8scluster_version} v1 # NS and VNF descriptor package folder and ids -${vnfd_pkg} openldap_knf +${vnfd_pkg} openldap_primitives_knf ${vnfd_name} openldap_knf -${nsd_pkg} openldap_ns +${nsd_pkg} openldap_primitives_ns ${nsd_name} openldap_ns # NS instance name and configuration ${ns_name} ldap -${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] } +${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: LoadBalancer }, adminPassword: admin}} ] } ] } ${ns_id} ${EMPTY} ${publickey} ${EMPTY} @@ -52,7 +52,9 @@ ${kdu_name} ldap ${upgrade_action} upgrade ${rollback_action} rollback ${replica_count} 3 - +${action_name} get-user-info +${action_param_cn} admin +${action_param_dc} example.org *** Test Cases *** Create Package For OpenLDAP CNF @@ -83,6 +85,12 @@ Get Vnf Id Log List ${vnfr_list} Set Suite Variable ${vnf_id} ${vnfr_list}[0] +Execute Day 2 Operations + [Documentation] Performs one Day 2 operation. + + Variable Should Exist ${ns_id} msg=Network service instance is not available + ${ns_op_id}= Execute NS K8s Action ${ns_name} ${action_name} ${vnf_member_index} ${kdu_name} cn=${action_param_cn} dc=${action_param_dc} + Execute Upgrade Operation [Tags] verify Variable Should Exist ${ns_id} msg=Network service instance is not available