Mike Kolesnik has submitted this change and it was merged.
Change subject: engine: Obtain old network name from correct NIC (#849971)
......................................................................
engine: Obtain old network name from correct NIC (#849971)
https://bugzilla.redhat.com/849971
The old network name should be taken from the NIC it's defined on.
If there is more than one network defined on the given NICs, this
command can't handle it and should fail.
VLANs are also handled since a NIC can have several VLANs based on it
which in turn can have networks attached to them.
Change-Id: I1311be342aa72bac9f1b79cec816be52f37d966d
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateNetworkToVdsInterfaceCommand.java
1 file changed, 12 insertions(+), 5 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/7410
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1311be342aa72bac9f1b79cec816be52f37d966d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server