Change in ovirt-engine[master]: core, restapi: Glance import - custom disk and template name

derez at redhat.com derez at redhat.com
Wed Jan 21 16:03:43 UTC 2015


Daniel Erez has submitted this change and it was merged.

Change subject: core,restapi: Glance import - custom disk and template name
......................................................................


core,restapi: Glance import - custom disk and template name

Import Glance image - allow specifying custom disk name
and/or template name (when importing as template).

E.g.
<action>
    <disk>
      <alias>imported-disk</alias>
    </disk>
    <template>
      <name>imported-template</name>
    </template>
    <import_as_template>true</import_as_template>
    <storage_domain>
        <name>data1</name>
    </storage_domain>
    <cluster>
        <name>Default</name>
    </cluster>
</action>

Change-Id: I19da074f7b6ae9d5a0c943c3a7dc6b90a3db03f0
Bug-Url: https://bugzilla.redhat.com/1183972
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCopyTaskHandler.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/ImportRepoImageParameters.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainImageResource.java
6 files changed, 30 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Looks good to me, but someone else must approve
  Daniel Erez: Verified
  Allon Mureinik: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I19da074f7b6ae9d5a0c943c3a7dc6b90a3db03f0
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.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