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}
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}