Skip to content

An extension of the virtualBMC project of the OpenStack Project to support fundamentals for LXC container.

License

Notifications You must be signed in to change notification settings

tumi8/VirtualLXCBMC

Repository files navigation

VirtualBMC-lxc

IMPORTANT - NOTES FOR THIS FORK

This project is a fork of virtualbmc (https://github.com/openstack/virtualbmc ) and allows to control LXC containers with IPMI. The dependencies on libvirt have been removed and replaced with calls to the python library python3-lxc, which interfaces with the userspace tools of LXC.

Requirement:

apt install python3-lxc

Author Information to all files will be added after Double Blind Submission, to hold the double blind submission requirements.

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

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

About

An extension of the virtualBMC project of the OpenStack Project to support fundamentals for LXC container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages