NS instantiate error
[vfc/nfvo/lcm.git] / lcm / ns_vnfs / biz / create_vnfs.py
index 4457333..5dcdb7b 100644 (file)
@@ -180,7 +180,7 @@ class CreateVnfs(Thread):
     def get_network_info_of_vl(self, vl_id):
         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 vnf_info['properties']['vl_profile']['networkName'], vnf_info['properties']['vl_profile']['networkName']  # ['initiationParameters']['name']
         return '', ''
 
     def send_nf_init_request_to_vnfm(self):