Change in ovirt-engine[master]: restapi: MAC pool elements must be optional

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Jan 14 10:18:51 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: MAC pool elements must be optional
......................................................................


restapi: MAC pool elements must be optional

Currently the "allow_duplicates" element of the MAC pool type of the XML
schema is mandatory. This means that links to the MAC pools fail XML
schema validation. For example, a link like the following will fail
validation because it doesn't have the mandatory "allow_duplicates"
nested element:

  <mac_pool href="..." id="..."/>

In general all elements of XML complex types that may be used as links
need to be optional.

This patch changes the XML schema so that the "allow_duplicates" element
is optional.

Change-Id: Ie35fcae56df17619bdb0464699e7a154b4765d89
Bug-Url: https://bugzilla.redhat.com/1181711
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Moti Asayag: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/36881
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie35fcae56df17619bdb0464699e7a154b4765d89
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Nelly Credi <ncredi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list