Change in vdsm[master]: net: also disable IPv6 on bridges not using it, after unifie...

edwardh at redhat.com edwardh at redhat.com
Mon Feb 22 06:32:53 UTC 2016


Edward Haas has posted comments on this change.

Change subject: net: also disable IPv6 on bridges not using it, after unified restoration
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.ovirt.org/#/c/53683/6/vdsm/vdsm-restore-net-config
File vdsm/vdsm-restore-net-config:

Line 136:         logging.debug('Calling setupNetworks with networks (%s) '
Line 137:                       'and bond (%s).', nets, bonds)
Line 138:         setupNetworks(nets, bonds, {'connectivityCheck': False,
Line 139:                                     '_inRollback': True})
Line 140:     if ipv6_supported():
> I am lost in your comment too, Dan. What does KernelConfig do with IPv6, wh
Dan commented that we should keep your patch as is and consider a more integrated solution in a following patch.

The solution suggested was to detect the 'disable_ipv6' difference when we compare running to kernel(actual) config (_filter_changed_nets_bonds()).
Then a setupNetworks() will be issued and there we should detect that the only change asked for (compared to current) is the dhcp disable, applying it on-the-fly without touching any other device.
Line 141:         _restore_disable_ipv6(nets)
Line 142: 
Line 143: 
Line 144: def _verify_all_devices_are_up(owned_ifcfg_files):


-- 
To view, visit https://gerrit.ovirt.org/53683
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I12be9d8c99ddfeb85d6ba6093535e35b6883e963
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list