?

Log in

No account? Create an account

RHEV 3.0: REST API example (python)

Below, just an example how powerful and simple REST API is in RHEV 3.0

https://github.com/dougsland/ovirt-restapi-scripts/blob/master/summary.py

$ python summary.py -i 192.168.123.176 -u rhevm@ad.rhev3.com -p T0pSecreT!
Connecting to: https://192.168.123.176:8443/api
hosts: total 1
hosts: active 0
users: total 1
users: active 1
vms: total 0
vms: active 0
storage_domains: total 0
storage_domains: active 0

All examples: 
https://github.com/dougsland/ovirt-restapi-scripts
Tags:

Comments

(Anonymous)

LINK DOES NOT WORK

LINK DOES NOT WORK

Re: LINK DOES NOT WORK

I have moved the name of project from rhev-restapi to ovirt-restapi.

cheers
douglas

May 2019

S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 

Tags

Powered by LiveJournal.com