summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-18 18:02:25 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-18 18:02:25 +0800
commitd0ee4c24dde280c02623c8d66f5e4427ccf3b046 (patch)
tree74406584c5044399ed015d730921fa60a3dd03c6
parentec4e6ba32c92eaae963cc1c57e5f922ca8515b21 (diff)
Fix sfc status logic of vfc-nfvo-lcm
Change-Id: I04ca72d6311ae14fc21d1a6481728053192621a5 Issue-Id: VFC-372 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/workflows/build_in.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/workflows/build_in.py b/lcm/workflows/build_in.py
index bbc676e9..426e0c0a 100644
--- a/lcm/workflows/build_in.py
+++ b/lcm/workflows/build_in.py
@@ -68,6 +68,7 @@ def run_ns_instantiate(input_data):
[confirm_vnf_status(inst_id) for inst_id, _, _ in jobs]
update_job(job_id, 70, "0", "Start to create SFC")
+ g_jobs_status[job_id] = [1 for i in range(sfc_count)]
jobs = [create_sfc(ns_inst_id, i + 1, nsd_json, sdnc_id) for i in range(sfc_count)]
wait_until_jobs_done(job_id, jobs)