/virtualbmc

A virtual BMC for controlling virtual machines using IPMI commands. Mirror of code maintained at opendev.org.

Primary LanguagePythonApache License 2.0Apache-2.0

VirtualBMC

Team and repository tags

Overview

A virtual BMC for controlling virtual machines using IPMI commands.

This software is intended for CI and development use only. Please do not run VirtualBMC in a production environment for any reason.

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

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