X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Flib%2Fns_lib.robot;h=7c2b794b88798a9f4915b121fe5a8c079c18fb6f;hb=6f0aed334a3de69392609b6073927526b385dc6c;hp=0976241986706edb353e158fc630d68b316a1b69;hpb=6b82eaf4e1e4ed757eeb40d2ae423f7137214717;p=osm%2Ftests.git diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index 0976241..7c2b794 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}