A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
Vu Cong Tuan 430fb92bbb Replace assertRaisesRegexp with assertRaisesRegex
assertRaisesRegexp was renamed to assertRaisesRegex in Py3.2
For more details, please check:
https://docs.python.org/3/library/
unittest.html#unittest.TestCase.assertRaisesRegex

Change-Id: Ie23bfb774afa2894a6c69f1be79e2d6d236ec2b0
2017-06-03 11:31:31 +07: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-05-17 04:00:48 +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