ca8239860b
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 |
||
---|---|---|
doc/source | ||
virtualbmc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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