If the system is running you can use virsh dumpxml.

Best Regards,
Strahil NikolovOn Sep 10, 2019 16:12, Sven Achtelik <sven.achte...@eps.aero> 
wrote:
>
> Hi All,
>
>  
>
> I’m trying to build a custom solution for Backups using the python. 
> Everything works and I can get my disk copies. The last thing is getting the 
> VM config and I can’t find any hint on how to get this done with python. Is 
> there a way to actually get this information out easily ? Somehting like
>
> Grab the wanted vm configuration from the needed snapshot - it’ll be under 
> initialization/configuration/data
>
> URL = SERVER:PORT/api/vms/VM_ID/snapshots/ID Method = GET  (with 
> All-Content:true header)
>
> I also have to mention that I’m not a profession programmer and work with 
> what I can find as documentation or code examples.
>
> http://ovirt.github.io/ovirt-engine-sdk/4.1/
>
> https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>
> If some experienced python programmer could give a hint where to look at that 
> would be great.
>
> Thank you,
>
> Sven
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/SUWJ46M343QUTNNPLBUZIOERCIHQ4GJR/

Reply via email to