Files
napalm-redfish/napalm_redfish/__init__.py
T
Christian Manivong 6c60f7ac60 feat: switch the server's power over IPMI (0.3.0)
IpmiDriver.set_power_state sends an IPMI chassis control: On, GracefulShutdown,
ForceOff and ForceRestart. get_power_state now offers what fits the server's
state: On when it is off, the other three when it is on. IPMI has no graceful
restart and pyghmi offers no power cycle, so neither is offered. The driver
still does not reset the BMC.

For boards that offer nothing but IPMI, such as a Supermicro X10 without a
Redfish license.
2026-10-17 01:04:43 +02:00

12 lines
419 B
Python

"""NAPALM drivers for server BMCs: DMTF Redfish, and read-only IPMI as the fallback.
Only ``RedfishDriver`` is exported here: NAPALM's own ``get_network_driver("redfish")``
takes the first driver class of this package. ``IpmiDriver`` lives in
``napalm_redfish.ipmi`` and is registered as the ``ipmi`` entry point.
"""
from napalm_redfish.driver import RedfishDriver
__version__ = "0.3.0"
__all__ = ["RedfishDriver"]