Change in ovirt-engine[master]: restapi: Fix guest nic configuration tag name

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Feb 6 19:03:58 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fix guest nic configuration tag name
......................................................................


restapi: Fix guest nic configuration tag name

The initialization of a guest NIC should be represented using the "nic"
and "nics" tags, as follows:

  <nics>
    <nic>
      <name>eth0</name>
      ...
    </nic>
  </nics>

But due to a typo in the XML schema it is actually represented with
"nics" and "nics", as follows:

  <nics>
    <nics>
      <name>eth0</name>
      ...
    </nics>
  </nics>

This patch fixes the type so that the representation will be correct.

Change-Id: Ic0f0e543cb2905f5270263462aeb87afe852b250
Bug-Url: https://bugzilla.redhat.com/1062388
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, 9 insertions(+), 3 deletions(-)

Approvals:
  Ravi Nori: Looks good to me, but someone else must approve
  Shahar Havivi: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic0f0e543cb2905f5270263462aeb87afe852b250
Gerrit-PatchSet: 3
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: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>



More information about the Engine-commits mailing list