Add RedfishDriver on ManagementControllerDriver

The redfish driver implements get_facts, get_interfaces, get_interfaces_ip, get_environment, get_users, get_ntp_servers and get_snmp_information for the BMC, and the role methods get_power_state, set_power_state, get_hardware_inventory, get_event_log, get_firmware_inventory and get_management_protocols for the managed server. reboot_host resets the BMC through Manager.Reset, never the server.

Registered as the napalm.drivers entry point redfish; depends on napalm and napalm-device-types >= 4.6.
This commit is contained in:
Christian Manivong committed 2026-10-13 05:02:58 +00:00
1 parent 7c366955bb
commit 42940d7e90
5 files changed
+1066 -6

No files matched your search

+6
View File
@@ -10,6 +10,9 @@ readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"napalm>=5.0",
# Not on PyPI: install from git before this package (see README).
"napalm-device-types>=4.6",
"redfish>=3.2",
]
classifiers = [
@@ -25,6 +28,9 @@ test = [
"responses>=0.23",
]
[project.entry-points."napalm.drivers"]
redfish = "napalm_redfish:RedfishDriver"
[tool.setuptools.packages.find]
include = ["napalm_redfish*"]