
Hi all, I want to upload an disk using python sdk instead of web. Which class should I use? I could not find a "upload" method in "class Disk" an "class Disks" in "brokers.py" Anyone can help? Thanks!

Hi, You need to create a new image_transfer_service and send the data to the proxy. The best way to learn how to do it is by looking at this example: https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_di... Regards, Idan On Wed, Jul 11, 2018 at 6:31 AM, 董青龙 <ddqlo@126.com> wrote:
Hi all, I want to upload an disk using python sdk instead of web. Which class should I use? I could not find a "upload" method in "class Disk" an "class Disks" in "brokers.py" Anyone can help? Thanks!
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/MLKDYEEMBXLWV5S5HULZWXOVHTMHRLFX/
participants (2)
-
Idan Shaby
-
董青龙