Change in ovirt-engine[ovirt-engine-3.3]: restapi: Fix cloud-init host name

oourfali at redhat.com oourfali at redhat.com
Wed Mar 26 15:23:15 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: restapi: Fix cloud-init host name
......................................................................


restapi: Fix cloud-init host name

When sending a request to start a VM using cloud-init the host name
should be included using the "address" element, as follows:

  <cloud_init>
    <host>
      <address>the_host_name</address>
    </host>
  </cloud_init>

But this is incorrectly documented in the RSDL metadata as follows:

  action.vm.initialization.cloud_init.hostname: 'xs:string'

This induces wrong documentation in the Python SDK, which in turn
induces a wrong behaviour of the CLI auto-completion. The right way to
document this in the RSDL is the following:

  action.vm.initialization.cloud_init.host.address: 'xs:string'

Change-Id: I5d3159cf476f881c1fe0e6955b1be44f69f94e58
Bug-Url: https://bugzilla.redhat.com/1080033
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 6bafe304d82aa54f7b781b8a166681f82de4b602)
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Juan Hernandez: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5d3159cf476f881c1fe0e6955b1be44f69f94e58
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list