Michael Kublin has submitted this change and it was merged.
Change subject: core : Not allowing to attach a floating disk to wrong data center
......................................................................
core : Not allowing to attach a floating disk to wrong data center
The following patch will add a check, which validate that a floating disk can be attached
only to vm
which is at the same data center with storage domains where disk is located
Change-Id: Iea30311fb1762c177ee8a3ff1b2034fe49d4b0fa
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AbstractDiskVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachDiskToVmCommand.java
3 files changed, 15 insertions(+), 8 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4591
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iea30311fb1762c177ee8a3ff1b2034fe49d4b0fa
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>