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(a)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(a)redhat.com>
Gerrit-Reviewer: Dudi Maroshi <dudi(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org