summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
941372e)
Change-Id: I10565f4d63708346a23f9124c931830cb25f86f4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
assert osm.get_api().ns.create(nsd_desc['name'],ns_name,vim.vim_name)
assert osm.get_api().ns.create(nsd_desc['name'],ns_name,vim.vim_name)
- if not utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='init', wait_time=10):
+ if not utils.wait_for_value(lambda: osm.get_api().ns.get_field(ns_name,'operational-status'),result='init', wait_time=30):
nsr=osm.get_api().ns.get(ns_name)
pprint.pprint(nsr)
assert Fail, "operational-status != init"
nsr=osm.get_api().ns.get(ns_name)
pprint.pprint(nsr)
assert Fail, "operational-status != init"
#wait for the ns to delete
try:
#wait for the ns to delete
try:
- utils.wait_for_value( lambda: osm.get_api().ns.get(nsd_desc['name']), result=False, wait_time=180)
+ utils.wait_for_value( lambda: osm.get_api().ns.get(ns_name), result=False, wait_time=180)