A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
OpenStack Proposal Bot daf5528fbd Updated from global requirements
Change-Id: Id90e5175d5ea7fa5eb15d88ef7a22cafa4852b9c
2017-09-11 21:52:03 +00:00
doc/source Removes unnecessary utf-8 encoding 2017-07-20 15:42:03 +05:30
tools Properly handle upper-constraints 2017-05-02 17:18:06 +02:00
virtualbmc Fixes cli parser when run under Python 3.3+ 2017-07-24 19:14:21 +02: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
babel.cfg 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 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 Fix documentation title and README 2017-02-10 12:19:44 +00:00
requirements.txt Updated from global requirements 2017-09-11 21:52:03 +00:00
setup.cfg rearrange existing documentation to follow the new layout standard 2017-07-17 14:57:41 +02:00
setup.py Updated from global requirements 2017-05-02 21:23:24 +00:00
test-requirements.txt Updated from global requirements 2017-09-11 21:52:03 +00:00
tox.ini Properly handle upper-constraints 2017-05-02 17:18:06 +02:00

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