aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuoyu Ying <ruoyu.ying@intel.com>2018-10-26 20:05:21 +0800
committerRuoyu Ying <ruoyu.ying@intel.com>2018-10-26 20:07:01 +0800
commite7fa1182b01a81a7ab162e1b87c21876f79d8227 (patch)
tree3565c15eff0e5a9575836a55cdfc32a9accb4d6c
parentf413eb5c32a5d691025abb183679b694ef126b2e (diff)
Update NS workflow
Change the ns_vls to vls accordingly. Change-Id: Ieabe2448c561fdd76aefac84e7559d09cd01508c Issue-ID: VFC-1041 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
-rw-r--r--lcm/ns_vnfs/biz/create_vnfs.py2
1 files changed, 1 insertions, 1 deletions
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 '', ''