Barak Azulay has submitted this change and it was merged. Change subject: Fixed support for reporting devices with only ipv6. ......................................................................
Fixed support for reporting devices with only ipv6. ethtool.get_active_devices does not consider as up the devices that have only an IPv6 address set. Also, it throws an IOError exception when doing get_ipaddr of a device that is up but does not have an IPv4 address set. Thus, doing the filtering by using the device flags and getting the IPv4 address in a similar way as how we get the IPv6 one, not only fixes the issue but increases the consistency of the code. Change-Id: I92010740da24bb30c7316c268c704d9067b28aae Signed-off-by: Antoni S. Puimedon <[email protected]> --- M ovirt-guest-agent/GuestAgentLinux2.py 1 file changed, 11 insertions(+), 5 deletions(-) Approvals: Barak Azulay: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/10223 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I92010740da24bb30c7316c268c704d9067b28aae Gerrit-PatchSet: 5 Gerrit-Project: ovirt-guest-agent Gerrit-Branch: master Gerrit-Owner: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Barak Azulay <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Moti Asayag <[email protected]> Gerrit-Reviewer: Vinzenz Feenstra <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
