projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Robot Framework Test case Contribution
[osm/devops.git]
/
robot-systest
/
lib
/
cli
/
ns_lib.robot
diff --git
a/robot-systest/lib/cli/ns_lib.robot
b/robot-systest/lib/cli/ns_lib.robot
index
8be124d
..
f6bee41
100644
(file)
--- a/
robot-systest/lib/cli/ns_lib.robot
+++ b/
robot-systest/lib/cli/ns_lib.robot
@@
-31,7
+31,6
@@
${ns_delete_max_wait_time} 1min
${ns_delete_pol_time} 15sec
${nsconfig}
${ns_delete_pol_time} 15sec
${nsconfig}
-
*** Keywords ***
Get NS List
[Documentation] Get ns instance list
*** Keywords ***
Get NS List
[Documentation] Get ns instance list
@@
-43,6
+42,7
@@
Get NS List
Launch Network Services and Return
[Arguments] ${vim_name} ${ns_config}=''
Launch Network Services and Return
[Arguments] ${vim_name} ${ns_config}=''
+ [Documentation] Get Configuration parameter to create Newtork service
Run Keyword If ${ns_config}=='' Get NS Config
... ELSE Set NS Config ${ns_config}
Run Keyword If ${ns_config}=='' Get NS Config
... ELSE Set NS Config ${ns_config}
@@
-56,11
+56,15
@@
Launch Network Services and Return
Set NS Config
[Arguments] ${ns_config}
Set NS Config
[Arguments] ${ns_config}
+ [Documentation] Set NS Configuration variable
+
${nsconfig}= Get Variable Value ${ns_config} ''
Set Test Variable ${nsconfig}
Get NS Config
${nsconfig}= Get Variable Value ${ns_config} ''
Set Test Variable ${nsconfig}
Get NS Config
+ [Documentation] Get NS Configuration from Environment Variable
+
${nsconfig}= Get Environment Variable NS_CONFIG ''
Set Test Variable ${nsconfig}
${nsconfig}= Get Environment Variable NS_CONFIG ''
Set Test Variable ${nsconfig}