Change in ovirt-engine[master]: core: Use validation only if Template is not blank

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Aug 3 07:42:08 UTC 2014


Omer Frenkel 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 at 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:
  Omer Frenkel: Looks good to me, approved
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I06a0c911c50f6ff25d9dca358c6a199fa0cdbb59
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list