From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: net: save switch type and options while changing bond
......................................................................
net: save switch type and options while changing bond
In network/link/setup.py when we edit a bond and save it to running
config with partially changed slaves, we do not specify switch type.
network/netswitch.py:_split_switch_type_entries then can assume that
the bond is legacy.
This patch saves not only partially changed nics, but also used
switch type and options.
Change-Id: Id6e4df60a93639f7fe71de80a3cdb226d74d1948
Signed-off-by: Petr Horáček <phoracek(a)redhat.com>
Bug-Url:
https://bugzilla.redhat.com/1379115
---
M lib/vdsm/network/link/setup.py
M tests/network/link_setup_test.py
2 files changed, 8 insertions(+), 3 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Petr Horáček: Verified
Dan Kenigsberg: Looks good to me, approved
Edward Haas: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/66203
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id6e4df60a93639f7fe71de80a3cdb226d74d1948
Gerrit-PatchSet: 15
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Leon Goldberg <lgoldber(a)redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>