2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00

3 Commits

Author SHA1 Message Date
Akira Yoshiyama
4999068c3e Improve (de)activate payload in virshbmc
This patch adds LibvirtBMC.check_console() to manage a
libvirt event-monitoring thread properly.

Change-Id: Ie365db150a74cf987cfb9d2a6fea2ffc26e4c606
2017-07-12 17:24:49 +09:00
Akira Yoshiyama
756ebdbffb Implement Serial-over-LAN (SOL) in BMC
This patch adds a BMC-side SOL-related class and methods:

  console.ServerConsole:
    Sub-class of console.Console for BMC

  bmc.Bmc.is_active():
    returns whether the BMC is active

  bmc.Bmc.activate_payload():
    activates SOL session

  bmc.Bmc.deactive_payload():
    deactivates SOL session

See bin/fakebmc and bin/virshbmc for examples.

Change-Id: I0e649ee0e2b45824a34c9634b00fd4f94c46c8de
2017-07-11 13:15:01 +09:00
Peter Martini
fe31004d5e Added a BMC (IPMI) frontend for virsh
Right now, this only supports power command, though
it could certainly be extended to include console
and boot device settings.

Change-Id: I94d438a1ea11519196efa6a819309af9d3219424
2015-02-11 16:53:27 -08:00