A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
William Caban 0884014df2 Fix error triggered by reading intergers as string from virtualbmc.conf
Add validation to fix error of "'<' not supported between
instances of 'str' and 'int'" when defining server_response_timeout
value in virtualbmc.conf. The error is trigger because the
config parameters from the configuration file are read as strings
and everything else assume that value is an integer (as the default of 5000).

The patch also include validations for server_spawn_wait and server_port to
check the values are valid integers.

Updates test_config.test_validate for test coverage

Task: 37947
Story: 2007066

Change-Id: Ie4e74585d8e14bd73e5e30b21b4dd7bd7d88f13d
Signed-off-by: William Caban <william.caban@gmail.com>
2020-01-03 12:56:56 -05:00
doc/source Build pdf doc 2019-09-06 10:36:22 +08:00
releasenotes Drop python 2.7 support and testing 2019-11-22 14:33:35 +01:00
virtualbmc Fix error triggered by reading intergers as string from virtualbmc.conf 2020-01-03 12:56:56 -05:00
zuul.d Drop python 2.7 support and testing 2019-11-22 14:33:35 +01:00
.coveragerc Switch to using stestr 2018-06-20 09:23:50 -04:00
.gitignore Merge "Switch to using stestr" 2018-07-18 20:21:39 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:45:25 +00:00
.stestr.conf Switch to using stestr 2018-06-20 09:23:50 -04:00
CONTRIBUTING.rst Update bug tracker url for storyboard 2018-03-26 13:58:20 -07:00
HACKING.rst Update the documentation link for doc migration 2017-07-25 14:06:06 +08:00
LICENSE Initial Commit with code 2016-02-11 15:55:51 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 11:54:35 +00:00
babel.cfg Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
bindep.txt Add a bindep file 2019-08-07 12:54:27 +02:00
lower-constraints.txt Stop using six library 2019-12-02 17:48:54 +01:00
requirements.txt Stop using six library 2019-12-02 17:48:54 +01:00
setup.cfg Drop python 2.7 support and testing 2019-11-22 14:33:35 +01:00
setup.py Updated from global requirements 2017-05-02 21:23:24 +00:00
test-requirements.txt Drop python 2.7 support and testing 2019-11-22 14:33:35 +01:00
tox.ini Drop python 2.7 support and testing 2019-11-22 14:33:35 +01:00

README.rst

VirtualBMC

Team and repository tags

image

Overview

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, NMI and reset
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 power on|off|soft|diag|reset

# 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

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/openstack/virtualbmc

For information on how to contribute to VirtualBMC, see https://docs.openstack.org/virtualbmc/latest/contributor