Fix bug 2331: override VNF and NS package names for lcmop_01 test
Change-Id: Ife174de28c15c236589c1fc0eef05e2970cc6a50
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/robot-systest/lib/nsd_lib.resource b/robot-systest/lib/nsd_lib.resource
index 0821b1f..4f136fc 100644
--- a/robot-systest/lib/nsd_lib.resource
+++ b/robot-systest/lib/nsd_lib.resource
@@ -38,8 +38,13 @@
Create NSD
[Documentation] Upload a NS package to OSM and return the id.
- [Arguments] ${nsd_pkg}
- ${rc} ${stdout}= Run And Return Rc And Output osm nspkg-create ${nsd_pkg}
+ ... - Parameters:
+ ... - nsd_pkg: Name (and location) of the NF Package
+ ... - overrides (optional): String with options to override the NS.
+ ... Valid strings are the same as in the command. E.g.:
+ ... - `--override "name=newname"`: changes the name of the NS package to `newname`.
+ [Arguments] ${nsd_pkg} ${overrides}=${EMPTY}
+ ${rc} ${stdout}= Run And Return Rc And Output osm nspkg-create ${overrides} ${nsd_pkg}
Log ${stdout}
Should Be Equal As Integers ${rc} ${SUCCESS_RETURN_CODE}
${lines}= Get Line Count ${stdout}