X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_06-vnf_with_charm.robot;h=a3bf07e5ce9b859b0446f8e6be5c894251d4b2cc;hb=refs%2Fchanges%2F91%2F12491%2F3;hp=b3ae63e07321674db1628c63f5a0c9c4bbed64cd;hpb=d7f75d7d293999d41af88ef4752906b134f58930;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/basic_06-vnf_with_charm.robot b/robot-systest/testsuite/basic_06-vnf_with_charm.robot index b3ae63e..a3bf07e 100644 --- a/robot-systest/testsuite/basic_06-vnf_with_charm.robot +++ b/robot-systest/testsuite/basic_06-vnf_with_charm.robot @@ -20,6 +20,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/nsd_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot +Resource %{ROBOT_DEVOPS_FOLDER}/lib/juju_lib.robot Force Tags basic_06 cluster_ee_config daily regression @@ -51,6 +52,10 @@ ${day_2_file_name_1} /home/ubuntu/mytouch1 ${day_2_file_name_2} /home/ubuntu/mytouch2 ${ns_timeout} 15min +# VNF profile id, execution environment name to check VNF level charm naming +${vnf_profile_id} vnf1 +${ee_name} simple-ee + *** Test Cases *** Create Charm VNF Descriptor @@ -67,6 +72,14 @@ Instantiate Charm Network Service ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} Set Suite Variable ${ns_id} ${id} + Set Suite Variable ${model_name} ${id} + + +Check VNF Charm Application Name + + ${vnf_charm_app_name}= Get Application Name VNF Level Charm %{OSM_HOSTNAME} ${username} ${password} %{OSM_RSA_FILE} ${model_name} ${vnf_profile_id} ${ee_name} + ${length}= Get Length ${vnf_charm_app_name} + Should Be True ${length} <50 Get Management Ip Addresses