A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
OpenStack Proposal Bot 432e7a5488 Updated from global requirements
Change-Id: Ide4cc4f322fd2dbac381236c67fbf25204fa7401
2017-06-27 12:24:57 +00:00
doc/source Fix documentation title and README 2017-02-10 12:19:44 +00:00
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 Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
LICENSE Initial Commit with code 2016-02-11 15:55:51 +00:00
MANIFEST.in Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
README.rst Fix documentation title and README 2017-02-10 12:19:44 +00:00
requirements.txt Updated from global requirements 2017-05-02 21:23:24 +00:00
setup.cfg Delete support py33 and py34 2017-02-08 09:51:26 +07:00
setup.py Updated from global requirements 2017-05-02 21:23:24 +00:00
test-requirements.txt Updated from global requirements 2017-06-27 12:24:57 +00: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