Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

rameshg87/pyremotevbox

Repository files navigation

Python Remote VirtualBox

Python module to communicate with a remote virtualbox over webservice.

Some examples:

>>> import pyremotevbox
>>> host = pyremotevbox.VirtualBoxHost('10.0.2.2')
>>> bm1 = host.find_vm('baremetal1')
>>> bm1.get_power_status()
'PoweredOff'
>>> bm1.start()
>>> bm1.get_power_status()
'Running'
>>> bm1.stop()
>>> bm1.get_power_status()
'PoweredOff'
>>> bm1.get_boot_device()
'Network'
>>> bm1.set_boot_device(pyremotevbox.DEVICE_DISK)
>>> bm1.get_boot_device()
'HardDisk'
>>> bm1.set_boot_device(pyremotevbox.DEVICE_NETWORK)
>>> bm1.get_boot_device()
'Network'

About

pyremotevbox module for use in Ironic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages