+
+Get NSD Id From The NS
+ [Documentation] Get the nsd id from the ns
+ [Arguments] ${ns_id}
+ Should Not Be Empty ${ns_id}
+ ${stdout}= Run osm ns-show ${ns_id} --literal | grep nsd-id | awk '{print $2}'
+ Log ${stdout}
+ RETURN ${stdout}
+
+Get Additional Params And Values From Kdu
+ [Documentation] Return the value of additional params (empty if none) of a KNF instance.
+ [Arguments] ${ns_name} ${param_name}
+ Should Not Be Empty ${ns_name}
+ Should Not Be Empty ${param_name}
+ ${rc0} ${stdout0}= Run And Return Rc And Output osm ns-show ${ns_name} --literal | yq -e '._admin.deployed' | yq '.K8s[]."detailed-status"'
+ Should Be Equal As Integers ${rc0} ${SUCCESS_RETURN_CODE} msg=${stdout0} values=False
+ ${rc} ${stdout}= Run And Return Rc And Output echo ${stdout0} | yq '.config.${param_name}'
+ Should Be Equal As Integers ${rc} ${SUCCESS_RETURN_CODE} msg=${stdout} values=False
+ ${return}= Set Variable If '${stdout}' == 'null' ${EMPTY} ${stdout}
+ RETURN ${return}