From: Ruoyu Ying Date: Fri, 26 Oct 2018 12:05:21 +0000 (+0800) Subject: Update NS workflow X-Git-Tag: 3.0.0-ONAP~25 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F71288%2F1;p=vfc%2Fnfvo%2Flcm.git Update NS workflow Change the ns_vls to vls accordingly. Change-Id: Ieabe2448c561fdd76aefac84e7559d09cd01508c Issue-ID: VFC-1041 Signed-off-by: Ruoyu Ying --- diff --git a/lcm/ns_vnfs/biz/create_vnfs.py b/lcm/ns_vnfs/biz/create_vnfs.py index 0d18290c..44573335 100644 --- a/lcm/ns_vnfs/biz/create_vnfs.py +++ b/lcm/ns_vnfs/biz/create_vnfs.py @@ -178,7 +178,7 @@ class CreateVnfs(Thread): return "" def get_network_info_of_vl(self, vl_id): - for vnf_info in self.nsd_model['ns_vls']: + for vnf_info in self.nsd_model['vls']: if vnf_info['vl_id'] == vl_id: return vnf_info['properties']['vl_profile']['networkName'], vnf_info['properties']['vl_profile']['initiationParameters']['name'] return '', ''