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, NMI and reset
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off|soft|diag|reset
# 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.4.0.tar.gz
(36.4 kB
view hashes)
Built Distribution
virtualbmc-1.4.0-py3-none-any.whl
(33.0 kB
view hashes)
Close
Hashes for virtualbmc-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06d078dbc5fb05a195e2b581c13a472ed42a9e39d737de1c194fef0ee8b01dff |
|
MD5 | 69394703ad8037d690f2ba982e06e0c5 |
|
BLAKE2b-256 | 49d242472daa1998479d9f32efc738fd8f9fee046d9ccf22a11cc6d9e70f5797 |