summaryrefslogtreecommitdiff
path: root/README.rst
blob: 91ef3ace6673754291e3edb088a86f762b113fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
========================
Team and repository tags
========================

.. image:: http://governance.openstack.org/badges/virtualbmc.svg
    :target: http://governance.openstack.org/reference/tags/index.html

.. Change things from this point on

Virtual BMC
===========

A virtual BMC for controlling virtual machines using IPMI commands.

Installation
------------

.. code-block:: bash

  pip install virtualbmc

Supported IPMI commands
-----------------------

.. code-block:: bash

  # 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