A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
John L. Villalovos ef2c8818e6 Fix TypeError when writing config file in Python 3
When using Python 3 would have a type error when writing an integer
value to the config file. Convert it to a string before writing it.

Change-Id: I89f9f4983d497adc7ac89f9e89e648f58bed3510
Closes-Bug: #1670441
2017-03-06 10:40:07 -08:00
doc/source Fix documentation title and README 2017-02-10 12:19:44 +00:00
virtualbmc Fix TypeError when writing config file in Python 3 2017-03-06 10:40:07 -08: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
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
babel.cfg Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
requirements.txt Updated from global requirements 2016-11-09 04:26:13 +00:00
setup.cfg Delete support py33 and py34 2017-02-08 09:51:26 +07:00
setup.py Updated from global requirements 2016-09-30 20:07:46 +00:00
test-requirements.txt Update hacking requirements to fix the pep8 CI job 2017-03-03 12:22:23 +01:00
tox.ini Delete support py33 and py34 2017-02-08 09:51:26 +07:00

README.rst

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