A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
Lucas Alvares Gomes 89128bef0f Add config.py module
This patch is adding a config.py module to the project. The
configuration file should be placed at ~/.vbmc/virtualbmc.conf and the
current options available are:

[log]
debug=True/False
logfile=<Path to a file>
2016-02-17 12:39:43 +00:00
images Add the "vbmc" utility 2016-02-12 23:37:05 +00:00
virtualbmc Add config.py module 2016-02-17 12:39:43 +00:00
.gitignore Add the "vbmc" utility 2016-02-12 23:37:05 +00:00
LICENSE Initial Commit with code 2016-02-11 15:55:51 +00:00
README.md Add the "vbmc" utility 2016-02-12 23:37:05 +00:00
setup.py Add the "vbmc" utility 2016-02-12 23:37:05 +00:00

Virtual BMC

A virtual BMC for controlling virtual machines using IPMI commands.

Installation

pip install virtualbmc

Usage

alt text

Other supported commands

# Power the virtual machine on or off
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off

# 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