Create virtual BMCs for controlling virtual instances via IPMI
Project description
A virtual BMC for controlling virtual machines using IPMI commands.
Installation
pip install virtualbmc
Supported IPMI commands
# Power the virtual machine on, off, graceful off and NMI
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off|soft|diag
# Check the power status
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power status
# Set the boot device to network, hd or cdrom
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootdev pxe|disk|cdrom
# Get the current boot device
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootparam get 5
# Get the current boot device
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 chassis bootparam get 5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
virtualbmc-1.0.0.tar.gz
(23.6 kB
view hashes)
Built Distribution
virtualbmc-1.0.0-py2-none-any.whl
(26.0 kB
view hashes)
Close
Hashes for virtualbmc-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f0de13ebcf0cdbddafe89186ec4865b32d58a1f5a5bb993d528a461562b892 |
|
MD5 | f6604a9686776ab9b63f15c787495f78 |
|
BLAKE2b-256 | 588b56d22ef1cf2750522426f3f4d7f48449125817fb184e91902983e5026496 |