Igor Lvovsky has posted comments on this change.

Change subject: Read 'source' of NIC interface only if exists
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File vdsm/libvirtvm.py
Line 2488:             alias = 
x.getElementsByTagName('alias')[0].getAttribute('name')
Line 2489:             model = 
x.getElementsByTagName('model')[0].getAttribute('type')
Line 2490:             source = x.getElementsByTagName('source')
Line 2491:             if source:
Line 2492:                 bridge = source[0].getAttribute('bridge')
Ah, you are right. Didn't see Yasny's patch
Line 2493:             # Get nic address
Line 2494:             address = self._getUnderlyingDeviceAddress(x)
Line 2495:             for nic in self._devices[vm.NIC_DEVICES]:
Line 2496:                 if nic.macAddr.lower() == mac.lower():


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Idec5aef35298d93fd35d4f4a1933809c32ecce16
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Dan Yasny <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Itzik Brown <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to