projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add timeout param for ns-create
[osm/osmclient.git]
/
osmclient
/
scripts
/
osm.py
diff --git
a/osmclient/scripts/osm.py
b/osmclient/scripts/osm.py
index
2182346
..
0e63958
100755
(executable)
--- a/
osmclient/scripts/osm.py
+++ b/
osmclient/scripts/osm.py
@@
-2350,6
+2350,7
@@
def nfpkg_create(
help="do not return the control immediately, but keep it "
"until the operation is completed, or timeout",
)
help="do not return the control immediately, but keep it "
"until the operation is completed, or timeout",
)
+@click.option("--timeout", default=None, help="ns deployment timeout")
@click.pass_context
def ns_create(
ctx,
@click.pass_context
def ns_create(
ctx,
@@
-2361,6
+2362,7
@@
def ns_create(
config,
config_file,
wait,
config,
config_file,
wait,
+ timeout
):
"""creates a new NS instance"""
logger.debug("")
):
"""creates a new NS instance"""
logger.debug("")
@@
-2380,6
+2382,7
@@
def ns_create(
ssh_keys=ssh_keys,
account=vim_account,
wait=wait,
ssh_keys=ssh_keys,
account=vim_account,
wait=wait,
+ timeout=timeout,
)
# except ClientException as e:
# print(str(e))
)
# except ClientException as e:
# print(str(e))