Skip to main content

Python API to talk to a remote VirtualBox using VirtualBox WebService

Project description

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'

History

0.1.0 (2014-12-08)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyremotevbox-0.5.0.tar.gz (306.6 kB view details)

Uploaded Source

File details

Details for the file pyremotevbox-0.5.0.tar.gz.

File metadata

File hashes

Hashes for pyremotevbox-0.5.0.tar.gz
Algorithm Hash digest
SHA256 506235f4fbc30c0e092f4975d0a70bd128efeabc8ec59500d7c0a96b69f12c9b
MD5 2055e65c90724c892095fa3d87eeecc9
BLAKE2b-256 5870f388f98d5b0575f1a63bae459a34b8c1a106e94bf79d54a172fe6c348d73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page