[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}
log ${affinity_group_name}
Should Be Equal As Integers ${rc} ${success_return_code} msg=${affinity_group_name} values=False
[Return] ${affinity_group_name}
+
+
+Get Vnf Namespace
+ [Documentation] Return the KDU's namespace
+
+ [Arguments] ${vnf_id}
+
+ ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.kdur[]."k8s-namespace"' | tr -d \\"
+ Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False
+ Should Not Be Empty ${stdout}
+ log namespace: ${stdout}
+ [Return] ${stdout}