Update NS workflow 88/71288/1
authorRuoyu Ying <ruoyu.ying@intel.com>
Fri, 26 Oct 2018 12:05:21 +0000 (20:05 +0800)
committerRuoyu Ying <ruoyu.ying@intel.com>
Fri, 26 Oct 2018 12:07:01 +0000 (20:07 +0800)
Change the ns_vls to vls accordingly.

Change-Id: Ieabe2448c561fdd76aefac84e7559d09cd01508c
Issue-ID: VFC-1041
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
lcm/ns_vnfs/biz/create_vnfs.py

index 0d18290..4457333 100644 (file)
@@ -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 '', ''