Change in ovirt-engine[master]: restapi: Use elements instead of attributes in VIRTIO SCSI

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 16:35:48 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use elements instead of attributes in VIRTIO SCSI
......................................................................


restapi: Use elements instead of attributes in VIRTIO SCSI

Currently the VIRTIO ISCSI element uses attributes for its properties:

  <virtio_scsi enabled="true"/>

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

  <virtio_scsi>
    <enabled>true</enabled>
  </virtio_scsi>

Change-Id: Ia72fdeab1670a285d76d6df24c1ab909341b1730
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, 16 insertions(+), 1 deletion(-)

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



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

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