Edward Haas has uploaded a new change for review. Change subject: net: Disable IPv6 on OVS southbound iface (nic or bonding) ......................................................................
net: Disable IPv6 on OVS southbound iface (nic or bonding) Only northbound iface may have an IP defined. Change-Id: Id14d37397e0baf5a3fb55bb530ac9dbd1f295013 Signed-off-by: Edward Haas <edwa...@redhat.com> --- M lib/vdsm/network/netswitch.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/26/63826/1 diff --git a/lib/vdsm/network/netswitch.py b/lib/vdsm/network/netswitch.py index d98643b..5c4c58e 100644 --- a/lib/vdsm/network/netswitch.py +++ b/lib/vdsm/network/netswitch.py @@ -200,6 +200,9 @@ _drop_dhcp_config(net) for net, attrs in six.iteritems(nets2add): + sb = attrs.get('bonding') or attrs.get('nic') + address.disable_ipv6(sb) + _set_static_ip_config(net, attrs) _set_dhcp_config(net, attrs) -- To view, visit https://gerrit.ovirt.org/63826 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id14d37397e0baf5a3fb55bb530ac9dbd1f295013 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Edward Haas <edwa...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org