-
- ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${publickey}
- Run Keyword If "${status}" == "FAIL" Set Global Variable ${publickey} ${EMPTY}
- ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey}
- Set Suite Variable ${ns_id} ${id}
- Sleep ${wait_guard_for_vm_boot} Waiting for VM's daemons to be up and running
+ [Documentation] Instantiate NS for the testsuite.
+ ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${PUBLICKEY}
+ Log ${status},${message}
+ IF "${status}" == "FAIL" Set Global Variable ${PUBLICKEY} ${EMPTY}
+ ${id}= Create Network Service ${NSD_NAME} %{VIM_TARGET} ${NS_NAME} ${NS_CONFIG} ${PUBLICKEY}
+ Set Suite Variable ${NS_ID} ${id}
+ Sleep ${WAIT_GUARD_FOR_VM_BOOT} Waiting for VM's daemons to be up and running