A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
luke.li b34a2e70a9 Update the documentation link for doc migration
Change-Id: I99ae9697174aa09516d31e25cf875c17ea6eaa49
2017-07-25 14:06:06 +08:00
doc/source Removes unnecessary utf-8 encoding 2017-07-20 15:42:03 +05:30
tools Properly handle upper-constraints 2017-05-02 17:18:06 +02:00
virtualbmc Replace assertRaisesRegexp with assertRaisesRegex 2017-06-03 11:31:31 +07:00
.gitignore Add "cover" to .gitignore 2016-05-11 17:32:55 +01:00
.gitreview Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
.testr.conf Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
babel.cfg Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
CONTRIBUTING.rst Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
HACKING.rst Update the documentation link for doc migration 2017-07-25 14:06:06 +08:00
LICENSE Initial Commit with code 2016-02-11 15:55:51 +00:00
README.rst Fix documentation title and README 2017-02-10 12:19:44 +00:00
requirements.txt Updated from global requirements 2017-07-19 18:29:43 +00:00
setup.cfg rearrange existing documentation to follow the new layout standard 2017-07-17 14:57:41 +02:00
setup.py Updated from global requirements 2017-05-02 21:23:24 +00:00
test-requirements.txt rearrange existing documentation to follow the new layout standard 2017-07-17 14:57:41 +02:00
tox.ini Properly handle upper-constraints 2017-05-02 17:18:06 +02:00

Virtual BMC

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

Team and repository tags

image