Petr Horáček has posted comments on this change. Change subject: net: SetupNetworks small cleanups. ......................................................................
Patch Set 22: Code-Review-1 (2 comments) https://gerrit.ovirt.org/#/c/42022/22/vdsm/network/api.py File vdsm/network/api.py: Line 713: _netinfo.updateDevices() # Things like a bond mtu can change Line 714: Line 715: Line 716: def _update_add_network_arguments(attrs, bondings, _netinfo): Line 717: """update a specific network attributes with relevant bonding/ nic Update bonding/nic Line 718: info.""" Line 719: args = dict(attrs) Line 720: if 'bonding' in args: Line 721: args.update(_build_bond_options( Line 734: 2. Bonding already exists on the host. This is indicated by just naming Line 735: the bonding name in the network attributes dictionary. In this case Line 736: VDSM tries to get bonding options and nics from the kernel. User might Line 737: add extra configuration to change an existing bond. Line 738: Eitherway, bonding name, options and nics are places in the network placed? Line 739: attributes before given to the configurator. Line 740: """ Line 741: bond = {} Line 742: non_existing_bond = bondings.get(bond_name) -- To view, visit https://gerrit.ovirt.org/42022 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib054e144dccbff40b40b5967dca0bf840bce8ab9 Gerrit-PatchSet: 22 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Ido Barkan <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Ido Barkan <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Petr Horáček <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
