Change in ovirt-engine[ovirt-engine-4.0]: restapi: Added scheduling properties to cluster

tnisan at redhat.com tnisan at redhat.com
Tue Sep 6 10:30:26 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Added scheduling properties to cluster
......................................................................


restapi: Added scheduling properties to cluster

Custom scheduling policy properties added to cluster
in order to support update/add/get operations of these properties and
store them correctly at the back end.

See examples below:

GET /clusters/{cluster:id} :
<cluster>
    <custom_scheduling_policy_properties/>
      <property>
        <name>{name}</name>
        <value>{value}</value>
      </property>
      ...
     <custom_scheduling_policy_properties/>
</cluster>

PUT /clusters/{cluster:id}
<cluster>
    <custom_scheduling_policy_properties/>
      <property>
        <name>{name}</name>
        <value>{value}</value>
      </property>
      ...
    </custom_scheduling_policy_properties>
</cluster>

Change-Id: Ib1f3fad300e9fc79690b15159ca780ba7f97449a
Bug-Url: https://bugzilla.redhat.com/1351576
Signed-off-by: yquinn <yquinn at redhat.com>
(cherry picked from commit f4154ca)
Signed-off-by: Yanir Quinn <yquinn at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
1 file changed, 22 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Yanir Quinn: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1f3fad300e9fc79690b15159ca780ba7f97449a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list