Tomas Jelinek has submitted this change and it was merged. Change subject: restapi: Allow creation of new disks as copy of any existing disk ......................................................................
restapi: Allow creation of new disks as copy of any existing disk This patch allows to copy a VM, Template or floating Disk to a different or same storage domain. A new optional argument has been added: "name". If the name is set, the copied disk's alias will be set to the given value. If not, the alias of the copied disk will be used. Example: POST to .../api/disks/<disk id>/copy <action> <storage_domain id="14e6e9f3-9fe9-493b-b9ba-793cb441f9ad" /> <disk><alias>newDiskAlias</alias></disk> </action> Bug-Url: https://bugzilla.redhat.com/1132066 Signed-off-by: Tomas Jelinek <tjeli...@redhat.com> Change-Id: I8931d2464d6ad17a80d9b394f16d01a2c47d7575 --- 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/BackendDiskResource.java 2 files changed, 17 insertions(+), 0 deletions(-) Approvals: Tomas Jelinek: Verified Juan Hernandez: Looks good to me, approved Jenkins CI: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/38367 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8931d2464d6ad17a80d9b394f16d01a2c47d7575 Gerrit-PatchSet: 6 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches