Tal Nisan has submitted this change and it was merged.
Change subject: core: Use validation only if Template is not blank
......................................................................
core: Use validation only if Template is not blank
The validation of, same DC when creating a VM from a Template,
should only be validated when creating a VMs which does not have
Blank Template as their based on image.
Blank Template is the default Template for every new created VM, and it is
hosted on the default Data Center
Change-Id: I06a0c911c50f6ff25d9dca358c6a199fa0cdbb59
Bug-Url:
https://bugzilla.redhat.com/1125196
Signed-off-by: Maor Lipchuk <mlipchuk(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromScratchCommand.java
2 files changed, 2 insertions(+), 7 deletions(-)
Approvals:
Allon Mureinik: Looks good to me, but someone else must approve
Omer Frenkel: Looks good to me, approved
Maor Lipchuk: Verified
--
To view, visit
http://gerrit.ovirt.org/31013
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I06a0c911c50f6ff25d9dca358c6a199fa0cdbb59
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server