From 981eeacdffc7a18deed85b0c440382be3ac9eb5f Mon Sep 17 00:00:00 2001 From: lloretgalleg Date: Fri, 24 Jul 2020 07:11:00 +0000 Subject: [PATCH] Bug 1169 Interface ID of a created VM is not supplied Change-Id: I8bc8a687b037cc31be70dc5e5581f2f8daf19498 Signed-off-by: lloretgalleg --- RO-VIM-azure/osm_rovim_azure/vimconn_azure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RO-VIM-azure/osm_rovim_azure/vimconn_azure.py b/RO-VIM-azure/osm_rovim_azure/vimconn_azure.py index d96a64e4..3752f294 100755 --- a/RO-VIM-azure/osm_rovim_azure/vimconn_azure.py +++ b/RO-VIM-azure/osm_rovim_azure/vimconn_azure.py @@ -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 -- 2.25.1