Petr Horáček has posted comments on this change.

Change subject: hooks: ovs: drop initial bonds' slaves IP config
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.ovirt.org/#/c/50100/3/vdsm_hooks/ovs/ovs_before_network_setup_ip.py
File vdsm_hooks/ovs/ovs_before_network_setup_ip.py:

Line 174:             nics_to_drop_ip_from = (
Line 175:                 set(attrs.get('nics')) - 
set(init_bonds[bond].get('nics'))
Line 176:                 if bond in init_bonds else attrs.get('nics'))
Line 177:             for nic in nics_to_drop_ip_from:
Line 178:                 _drop_ip_config(nic)
> I understand what you are trying to do but there is a bit of confusion here
renamed and commented in https://gerrit.ovirt.org/#/c/50260/
Line 179: 
Line 180:     log('Remove IP configuration of: %s' % ip_config_to_remove)
Line 181:     log('Set IP configuration: %s' % ip_config_to_set)
Line 182:     for iface, ip_config in six.iteritems(ip_config_to_remove):


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6584bdd8ee544880a77fc9d3e57e523d51e23532
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phora...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Edward Haas <edwa...@redhat.com>
Gerrit-Reviewer: Ido Barkan <ibar...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Petr Horáček <phora...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to