Tomas Jelinek has submitted this change and it was merged.
Change subject: restapi: added the setting of the migration bandwidth to cluster
......................................................................
restapi: added the setting of the migration bandwidth to cluster
The setting allows to set the migration bandwidth on cluster level (not allowed
on VM/template/pool level).
There are 3 options possible:
- hypervisor_default: fallback to the value defined on the vdsm.conf
- custom: value set directly by user as <custom_value>
- auto: engine takes the value from QoS if it is defined. If not, it looks the
link speed between the two migrating hosts up and uses it. If it is not
reported, falls back to hypervisor_default.
Change-Id: If84e42bfeb74de6ff3540463714d487c33e435c4
Bug-Url:
https://bugzilla.redhat.com/1252426
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendClustersResourceTest.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendDataCenterClustersResourceTest.java
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
A
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMigrationOptionsMapper.java
4 files changed, 62 insertions(+), 2 deletions(-)
Approvals:
Tomas Jelinek: Verified
Juan Hernandez: Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/57397
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If84e42bfeb74de6ff3540463714d487c33e435c4
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>