Change in ovirt-engine[master]: engine: allow updating/deleting a network with unplugged vni...

masayag at redhat.com masayag at redhat.com
Tue Jul 15 12:48:27 UTC 2014


Moti Asayag has submitted this change and it was merged.

Change subject: engine: allow updating/deleting a network with unplugged vnics only
......................................................................


engine: allow updating/deleting a network with unplugged vnics only

Allow updating/deleting a network from a host only in case when the
related vnics are unplugged. The case when plugged vnic is unlinked
doesn't allow amending the underlying network.

Change-Id: Ib57fd905811bbbb60ef06bae15d0c42518132596
Signed-off-by: Yevgeny Zaspitsky <yzaspits at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/common/predicates/VmNetworkCanBeUpdatedPredicate.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/VmInterfaceManager.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/UpdateNetworkCommand.java
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/common/predicates/VmNetworkCanBeUpdatedPredicateTest.java
4 files changed, 60 insertions(+), 2 deletions(-)

Approvals:
  Moti Asayag: Looks good to me, approved
  Yevgeny Zaspitsky: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib57fd905811bbbb60ef06bae15d0c42518132596
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list