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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Mar 25 13:10:55 UTC 2014


Juan Hernandez 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>
---
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/26047
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5d3159cf476f881c1fe0e6955b1be44f69f94e58
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: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list