On March 3, 2020 9:19:14 AM GMT+02:00, Fabrice Bacchella <fabrice.bacche...@icloud.com> wrote: >I wrote this cli a few years ago: > >https://github.com/fbacchella/ovirtcmd ><https://github.com/fbacchella/ovirtcmd> > >I'm still using it but didn't have time to improve it since. It might >give you some idea. > >> Le 27 févr. 2020 à 10:43, Eugène Ngontang <sympav...@gmail.com> a >écrit : >> >> Hi, >> >> I'm trying to find out there a sort of API or ovirt CLI/SDK in order >to be able to interact with my ovirt VMS and associated resources. >> >> In my architecture, I have an Ovirt virtualization host, with a >self-hosted engine VM to manage VMs. >> >> From the host I have the virsh command to list VMs status, but this >doesn't really let me get into VMs management actions like : create, >delete, get, reboot, get VMs wide informations (IPs, name, disks.....) >> So each time I have to login to the hosted engine web admin page to >explore VM, but I'd really like to play with my Ovirt resources from my >command line or programatically. >> >> The ovirt API documentation I've found is really poor, I don't know >if someone here has already got the same need and had a good solution. >> >> Thanks for your help. >> >> Regards, >> Eugène NG
As I have vrry limited programming skills, I have created some bash scripts using curl to access the API and it's quite easy. Best Regards, Strahil Nikolov _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BGJXJ7KG7KAWEFAS7CWYDGENUSOUNS5R/