Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 862 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 862 Bytes

Virtual BMC

I've moved this project into OpenStack. The latest code can be found at https://github.com/openstack/virtualbmc

A virtual BMC for controlling virtual machines using IPMI commands.

Installation

pip install virtualbmc

Usage

alt text

Other supported 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