Alona Kaplan has uploaded a new change for review.

Change subject: engine:  Error code 23 when invoking Setup Networks
......................................................................

engine:  Error code 23 when invoking Setup Networks

In case the network is not in sync, it shouldn't override the interface's
vlan id.

Bug-Url: https://bugzilla.redhat.com/1115001
Change-Id: Iac0252076e8fa8704ed6c5257aeb5824d71470c5
Signed-off-by: Alona Kaplan <[email protected]>
(cherry picked from commit 51ddc05a23abc8ccc1b868d3d7ecec3b93351e8d)
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/SetupNetworksHelper.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/30213/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/SetupNetworksHelper.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/SetupNetworksHelper.java
index 2a606ff..1ee0d86 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/SetupNetworksHelper.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/SetupNetworksHelper.java
@@ -455,6 +455,7 @@
 
                 if (existingIface != null && 
existingIface.getNetworkImplementationDetails() != null
                         && 
!existingIface.getNetworkImplementationDetails().isInSync()) {
+                    iface.setVlanId(existingIface.getVlanId());
                     if (networkShouldBeSynced(networkName)) {
                         modifiedNetworks.add(network);
                         if (network.getQosId() != null && 
!hostNetworkQosSupported) {


-- 
To view, visit http://gerrit.ovirt.org/30213
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac0252076e8fa8704ed6c5257aeb5824d71470c5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Alona Kaplan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to