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

rgolan at redhat.com rgolan at redhat.com
Mon Aug 24 13:48:18 UTC 2015


Roy Golan 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/45128
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5fbc644cfeade93846c4c0ef6190f65f77ab8951
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
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: automation at ovirt.org



More information about the Engine-commits mailing list