Bug 1169 Interface ID of a created VM is not supplied 42/9842/1
authorlloretgalleg <illoret@indra.es>
Fri, 24 Jul 2020 07:11:00 +0000 (07:11 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 16 Oct 2020 09:04:11 +0000 (09:04 +0000)
Change-Id: I8bc8a687b037cc31be70dc5e5581f2f8daf19498
Signed-off-by: lloretgalleg <illoret@indra.es>
RO-VIM-azure/osm_rovim_azure/vimconn_azure.py

index d96a64e..3752f29 100755 (executable)
@@ -628,7 +628,7 @@ class vimconnector(vimconn.VimConnector):
                 nic_name = vm_name + '-nic-' + str(idx)
                 vm_nic, nic_items = self._create_nic(net, nic_name, net.get('ip_address'), created_items)
                 vm_nics.append({'id': str(vm_nic.id)})
-                net['vim_id'] = vm_nic.id
+                net['vim_id'] = vm_nic.id
 
             # cloud-init configuration
             # cloud config