X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fns.py;h=f4366b23f5e50be735d652c7c9f0d4e7af6e587b;hb=2c087a32de17a0f5f386bab6513df2e3847ba3da;hp=ac40aad3b17319539784a51568d572c60d2a3655;hpb=74184d74a5f28750481ace1134438920d358359f;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py index ac40aad..f4366b2 100644 --- a/osmclient/sol005/ns.py +++ b/osmclient/sol005/ns.py @@ -163,6 +163,7 @@ class Ns(object): description="default description", admin_status="ENABLED", wait=False, + timeout=None, ): self._logger.debug("") self._client.get_token() @@ -209,6 +210,8 @@ class Ns(object): for pubkeyfile in ssh_keys.split(","): with open(pubkeyfile, "r") as f: ns["ssh_keys"].append(f.read()) + if timeout: + ns["timeout_ns_deploy"] = timeout if config: ns_config = yaml.safe_load(config) if "vim-network-name" in ns_config: