Dan Kenigsberg has posted comments on this change.
Change subject: setupNetworks: Fix incorrect mtu overriding when adding multiple networks ......................................................................
Patch Set 1:
(1 comment)
http://gerrit.ovirt.org/#/c/25343/1//COMMIT_MSG Commit Message:
Line 12: be set. Line 13: Line 14: This was because the _netinfo object is passed from addNetworks to Line 15: addNetworks and the objectivize of the succeeding addNetworks would Line 16: not see the higher MTUs set by the preceding addNetworks.
It was. This is entirely due to re-using _netinfo instances introduced in s
Please mention the offending commit in the message.
I hate tests that depend on the "randomness" of hash() , but if you pile up enough networks with different MTUs, you have to be exponentially unlucky to get the least MTU treated last. (but ordereddict is cooler) Line 17: Line 18: Change-Id: Ia375c2e0e4a1896ab99d734e3203a5ef49570f36 Line 19: Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1072411