${rc} ${stdout}= Run And Return Rc And Output osm nspkg-list | awk '{print $2}' | grep ${nsd_id}
Log ${rc},${stdout}
Should Not Be Equal As Strings ${stdout} ${nsd_id}
+
+Get NSD Ip
+ [Documentation] To get the Ip from the Nsd
+ [Arguments] ${nsd_id}
+ ${stdout}= Run osm nsd-show ${nsd_id} --literal | grep -A2 ip-address | grep -v "ip-address:" | awk '{print $2}' | tr -d ',-'
+ Log ${stdout}
+ RETURN ${stdout}