Skip to content

mykaul/ovirt4cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ovirt4cli

configshell based CLI for oVirt 4.x Uses the new Python SDK (utilizing v4 REST API).

Example:

[ykaul@ykaul ovirtcli]$ ./cli.py 
oVirtcli shell version 0.1
For help on commands, type 'help'.

/> connect username=admin@internal ip=192.168.201.3 password=123
Connecting to 192.168.201.3...
Connected to oVirt Engine.
/> ls
o- / ......................................................................................................................... [...]
  o- Datacenters ................................................................................................. [Data Centers: 2]
  | o- Default .............................................................................................. [Data Center: Default]
  | o- test-dc .............................................................................................. [Data Center: test-dc]
  o- Hosts ........................................................................................................ [2 hosts (2 UP)]
  | o- lago-basic-suite-master-host0 ................................................................. [Address: 192.168.201.2 [UP]]
  | o- lago-basic-suite-master-host1 ................................................................. [Address: 192.168.201.4 [UP]]
  o- Storagedomains ........................................................................................... [Storage Domains: 5]
  | o- iscsi .................................................................................................. [data domain [None]]
  | o- iso ............................................................................................... [iso domain [unattached]]
  | o- nfs .............................................................................................. [data domain [unattached]]
  | o- ovirt-image-repository .......................................................................... [image domain [unattached]]
  | o- templates ...................................................................................... [export domain [unattached]]
  o- Templates ...................................................................................................... [Templates: 1]
  | o- Blank ............................................................................................................... [Blank]
  o- VMs ..................................................................................................... [Virtual Machines: 0]
/> exit
Disconnected from oVirt Engine.
Global pref auto_save_on_exit=true
Configuration saved to /home/ykaul/ovirtlcli.json

About

configshell based CLI for oVirt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages