A virtual BMC for controlling virtual machines using IPMI commands.
Go to file
Lucas Alvares Gomes 85a0b201ff Restructure the repository according to OpenStack
This patch is restructuring the VirtualBMC repository according to the
OpenStack template for projects (Cookiecutter).

This patch also removes the dependency on the python-daemon library
since it is not present in the OpenStack global-requirements, now a new
class called "detach_process" has been added to the virtualbmc/utils.py
module that will take care of detaching the process context from its
parent and session.

Change-Id: Id4ae1db5b73a18abc54276fe1dfbf3ceff7adc06
2016-05-09 12:35:50 +01:00
doc/source Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
virtualbmc Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
.gitignore Restructure the repository according to OpenStack 2016-05-09 12:35:50 +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 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
requirements.txt Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
setup.cfg Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
setup.py Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
test-requirements.txt Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01:00
tox.ini Restructure the repository according to OpenStack 2016-05-09 12:35:50 +01: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 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