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.2.0.tar.gz
(24.4 kB
view hashes)
Built Distribution
virtualbmc-1.2.0-py2-none-any.whl
(26.1 kB
view hashes)
Close
Hashes for virtualbmc-1.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc8f07f31de8233e43c5566228544ed0b809d22b7056fd92bebac79d8ffd0ef |
|
MD5 | 616f772ecf19689a4932b1c9f8b04cdb |
|
BLAKE2b-256 | 4a3953b52153d3f25091582e714181aadb61cbec984241fb77920be25dcf96b8 |