Change in ovirt-engine[master]: restapi: Replace CPU topology attributes with elements

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 12:37:21 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Replace CPU topology attributes with elements
......................................................................


restapi: Replace CPU topology attributes with elements

Currently the CPU topology element used attributes for its properties:

  <cpu>
    <topology sockets="1" cores="1" threads="1"/>
    ...
  </cpu>

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

  <cpu>
    <topology>
      <sockets>1<sockets>
      <cores>1<cores>
      <threads>1<threads>
    </topology>
    ...
  </cpu>

Change-Id: I90ee5a59d12a07aa98bb6db9c56b486e7edfc9a4
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, 24 insertions(+), 21 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I90ee5a59d12a07aa98bb6db9c56b486e7edfc9a4
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