A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
Lucas Alvares Gomes ca8239860b Fix Python3 test errors
This patch is fixing few errors related to Python3 and tests:

* Add the attribute "message" to the exception because it doesn't exist
  by default.

* Add the py35 runtime to tox.ini since we now run tests on Python3.5

* Drop the spec=file syntax because "file" is not a builtin type for
  Python3.

Change-Id: I31d1a5719d605974912bc26f65b96734631691d5
Closes-Bug: #1647337
2016-12-05 12:21:15 +00:00
doc/source Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
virtualbmc Fix Python3 test errors 2016-12-05 12:21:15 +00: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 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
requirements.txt Updated from global requirements 2016-11-09 04:26:13 +00:00
setup.cfg Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
setup.py Updated from global requirements 2016-09-30 20:07:46 +00:00
test-requirements.txt Updated from global requirements 2016-11-09 04:26:13 +00:00
tox.ini Fix Python3 test errors 2016-12-05 12:21:15 +00: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 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