Change in ovirt-engine[master]: restapi: Replace VCPU pin attributes with elements

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 13:07:44 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Replace VCPU pin attributes with elements
......................................................................


restapi: Replace VCPU pin attributes with elements

Currently the VCPU pin element uses attributes for its properties:

    <cpu_tune>
      <vcpu_pin vcpu="0" cpu_set="0"/>
    </cpu_tune>

This is contrary to the common practice in the RESTAPI. This patch
replaces them with inner elements:

    <cpu_tune>
      <vcpu_pin>
        <vcpu>0</vcpu>
        <cpu_set>0</cpu_set>
      </vcpu_pin>
    </cpu_tune>

Change-Id: I4f147166ed76c9d8875cbdb411b2953d6eee30df
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/README.md
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
2 files changed, 22 insertions(+), 2 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f147166ed76c9d8875cbdb411b2953d6eee30df
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list