X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Flib%2Fns_lib.robot;h=a7c6cb9b5cbd42e7a6beae3b42c4c15942f39d7b;hp=623d43ea38ebde595d962c79b8dfdc64b6be3770;hb=6cd74807debed3f4414da8b4d3fc4c17b1b56c14;hpb=90e287af9f44412009affa25f2415c6bbffd2abb diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index 623d43e..a7c6cb9 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -54,6 +54,15 @@ Instantiate Network Service [Return] ${stdout} +Update Network Service + [Arguments] ${ns_id} ${update_type} ${ns_update_config} ${ns_update_timeout} + + ${rc} ${stdout}= Run and Return RC and Output osm ns-update ${ns_id} --updatetype ${update_type} --config ${ns_update_config} --timeout ${ns_update_timeout} --wait + log ${stdout} + Should Be Equal As Integers ${rc} ${success_return_code} + [Return] ${stdout} + + Get Vnf Management Ip Address [Arguments] ${ns_id} ${vnf_member_index}