From: bhangare Date: Thu, 5 Oct 2017 07:51:15 +0000 (-0700) Subject: Changes in vimconn_vmware.py to provide vim interface id on VM creation X-Git-Tag: v3.0.0~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=97b192de23d82bd6c6c142a3ab145912b52fe2ce;p=osm%2FRO.git Changes in vimconn_vmware.py to provide vim interface id on VM creation Change-Id: I1c92df2436a40edec45f95feb18107705df5fd31 Signed-off-by: bhangare --- diff --git a/osm_ro/vimconn_vmware.py b/osm_ro/vimconn_vmware.py index ad458447..82d6a697 100644 --- a/osm_ro/vimconn_vmware.py +++ b/osm_ro/vimconn_vmware.py @@ -1639,7 +1639,9 @@ class vimconnector(vimconn.vimconnector): if 'net_id' not in net: continue - net_list['vim_id'] = net_list['net_id'] # Provide the same VIM identifier as the VIM network + #Using net_id as a vim_id i.e. vim interface id, as do not have saperate vim interface id + #Same will be returned in refresh_vms_status() as vim_interface_id + net['vim_id'] = net['net_id'] # Provide the same VIM identifier as the VIM network interface_net_id = net['net_id'] interface_net_name = self.get_network_name_by_id(network_uuid=interface_net_id)