-
- ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ns_launch_max_wait_time=${ns_timeout}
- Set Suite Variable ${ns_id} ${id}
+ [Documentation] Instantiate NS for the testsuite.
+ ${id}= Create Network Service ${NSD_NAME} %{VIM_TARGET} ${NS_NAME} ${NS_CONFIG} ${PUBLICKEY} ns_launch_max_wait_time=${NS_TIMEOUT}
+ Set Suite Variable ${NS_ID} ${id}
+ Set Suite Variable ${MODEL_NAME} ${id}
+
+Check NS Charm Application Name
+ [Documentation] Check that the NS charm has the right length.
+ ${ns_charm_app_name}= Get Application Name NS Level Charm %{OSM_HOSTNAME} ${USERNAME} ${PASSWORD} ${PRIVATEKEY} ${MODEL_NAME} ${CHARM_NAME}
+ ${length}= Get Length ${ns_charm_app_name}
+ Should Be True ${length} <50
+
+Check VDU Charm Application Name
+ [Documentation] Check that the VDU charm has the right length.
+ ${vdu_charm_app_name}= Get Application Name VDU Level Charm %{OSM_HOSTNAME} ${USERNAME} ${PASSWORD} ${PRIVATEKEY} ${MODEL_NAME} ${VDU_PROFILE_ID} ${EE_NAME}
+ ${length}= Get Length ${vdu_charm_app_name}
+ Should Be True ${length} <50