Hi Nicolas,
In oVit you can find /Disks under several locations
/api/disks/api/vms/{vm:id}/disks/api/templates/{template:id}/disks/api/vms/{vm:id}/snapshots/{snapshot:id}/disks
to move disk to a different domain, you have to use first one,e.g disk with no
context [1], on ovirt-shell language it will look like [2].
[1] /disks/{disk:id}/move[2] action disk {disk:id} move --
storagedomain-name|--storagedomain-id [--action-async true] ...(use
help/auto-completion to see command details/verbs)
On Saturday, November 29, 2014 12:56 AM, Nicolas Ecarnot
<[email protected]> wrote:
Hello,
I'm confused because though I'm using ovirt-shell to script many actions
every day, and even after a large bunch of reading and testing, I can
not find the correct syntax to move (offline/available) disks between
storage domains.
May you help me please?
(oVirt 3.4.4)
--
Nicolas Ecarnot
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users