diff options
-rw-r--r-- | lcm/ns_vnfs/biz/terminate_nfs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lcm/ns_vnfs/biz/terminate_nfs.py b/lcm/ns_vnfs/biz/terminate_nfs.py index f921edd0..7cdea1c8 100644 --- a/lcm/ns_vnfs/biz/terminate_nfs.py +++ b/lcm/ns_vnfs/biz/terminate_nfs.py @@ -43,6 +43,11 @@ class TerminateVnfs(threading.Thread): self.vnfm_job_id = '' self.terminationType = data['terminationType'] self.gracefulTerminationTimeout = data['gracefulTerminationTimeout'] + if not self.gracefulTerminationTimeout: + self.gracefulTerminationTimeout = 120 + else: + self.gracefulTerminationTimeout = int(self.gracefulTerminationTimeout) + self.initdata() def run(self): |