Change in vdsm[master]: Add 'name' attribute to VM conf during _getUnderlyingNetwork...

ilvovsky at redhat.com ilvovsky at redhat.com
Thu Oct 18 13:43:36 UTC 2012


Igor Lvovsky has uploaded a new change for review.

Change subject: Add 'name' attribute to VM conf during _getUnderlyingNetworkInterfaceInfo.
......................................................................

Add 'name' attribute to VM conf during _getUnderlyingNetworkInterfaceInfo.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=867813
Change-Id: I7c80847b05cd74f0feaf3605b77880fe4fb536d2
Signed-off-by: Igor Lvovsky <ilvovsky at redhat.com>
---
M vdsm/libvirtvm.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/60/8660/1

diff --git a/vdsm/libvirtvm.py b/vdsm/libvirtvm.py
index 25c3659..eb98005 100644
--- a/vdsm/libvirtvm.py
+++ b/vdsm/libvirtvm.py
@@ -2560,6 +2560,7 @@
                     dev['macAddr'].lower() == mac.lower()):
                     dev['address'] = address
                     dev['alias'] = alias
+                    dev['name'] = name
                     knownDev = True
             # Add unknown nic device to vm's conf
             if not knownDev:
@@ -2568,7 +2569,8 @@
                           'macAddr': mac,
                           'nicModel': model,
                           'address': address,
-                          'alias': alias}
+                          'alias': alias,
+                          'name': name}
                 if bridge:
                     nicDev['network'] = bridge
                 self.conf['devices'].append(nicDev)


--
To view, visit http://gerrit.ovirt.org/8660
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c80847b05cd74f0feaf3605b77880fe4fb536d2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Igor Lvovsky <ilvovsky at redhat.com>


More information about the vdsm-patches mailing list