Igor Lvovsky has posted comments on this change. Change subject: Change getMaxMtu to use the info provided by sysfs ......................................................................
Patch Set 1: I would prefer that you didn't submit this (1 inline comment) .................................................... File vdsm/configNetwork.py Line 905: configWriter = ConfigWriter() Line 906: Line 907: prevmtu = None Line 908: if mtu: Line 909: prevmtu = netinfo.getMaxMtu(nics) In generally I agree with you, but In code below we took in consideration that 'prevmtu' calculated according to all exists MTUs and a new desired MTU (you got it as parameter in addNetwork) Line 910: Line 911: nic = nics[0] if nics else None Line 912: iface = bonding or nic Line 913: if bridged: -- To view, visit http://gerrit.ovirt.org/11357 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I89d007eb81c2c64e642ed80af26f882f7632dc1c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Mark Wu <[email protected]> Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Igor Lvovsky <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
