Change in ovirt-engine[ovirt-engine-3.6]: restapi: allow new VM with no dedicated host in migration po...

tnisan at redhat.com tnisan at redhat.com
Tue Aug 25 14:46:28 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: allow new VM with no dedicated host in migration policy
......................................................................


restapi: allow new VM with no dedicated host in migration policy

Fix regression error.
When new VM is created with migration policy.
Allow empty host element.
Validate host element only if there is host element with id or
 with name.

Change-Id: I5fbc644cfeade93846c4c0ef6190f65f77ab8951
Bug-Url: http://bugzilla.redhat.com/1249521
Signed-off-by: Dudi Maroshi <dudi at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmsResource.java
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Dudi Maroshi: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/45256
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5fbc644cfeade93846c4c0ef6190f65f77ab8951
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Dudi Maroshi <dudi at redhat.com>
Gerrit-Reviewer: Dudi Maroshi <dudi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list