0884014df2
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> |
||
---|---|---|
doc/source | ||
releasenotes | ||
virtualbmc | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
VirtualBMC
Team and repository tags
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
- Documentation: https://docs.openstack.org/virtualbmc/latest
- Source: https://opendev.org/openstack/virtualbmc
- Bugs: https://storyboard.openstack.org/#!/project/openstack/virtualbmc
- Release Notes: https://docs.openstack.org/releasenotes/virtualbmc/
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