使用VirtualBox WebService与远程VirtualBox通信的Python API
项目描述
Python模块,用于通过webservice与远程virtualbox通信。
一些示例
>>> 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'
历史
0.1.0 (2014-12-08)
PyPI上的首次发布。
关闭
pyremotevbox-0.5.0.tar.gz的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 506235f4fbc30c0e092f4975d0a70bd128efeabc8ec59500d7c0a96b69f12c9b |
|
MD5 | 2055e65c90724c892095fa3d87eeecc9 |
|
BLAKE2b-256 | 5870f388f98d5b0575f1a63bae459a34b8c1a106e94bf79d54a172fe6c348d73 |