Change in vdsm[master]: netlink: User libnl-3 when available
asegurap at redhat.com
asegurap at redhat.com
Tue Apr 8 00:07:00 UTC 2014
Antoni Segura Puimedon has posted comments on this change.
Change subject: netlink: User libnl-3 when available
......................................................................
Patch Set 1: Verified+1
Passed functional tests in a fedora 19 with libnl3.
Ran the following on a F20 with libnl3 and on a rhel 6.5 without libnl3:
from pprint import pprint
from vdsm import netlink
import ethtool
pprint(list(netlink.iter_links()))
pprint(list(netlink.iter_addrs()))
# Now we use ethtool to get the ipv6 info
devs = [dev for dev in ethtool.get_active_devices() if dev != 'lo']
iface, = ethtool.get_interfaces_info(devs[0])
pprint(iface.get_ipv6_addresses()) # This would fail should the bug exist
with success
--
To view, visit http://gerrit.ovirt.org/26514
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I45f043a8416e57d5fb550e2e817e6df38cd793b1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
More information about the vdsm-patches
mailing list