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.
39 lines
943 B
TOML
39 lines
943 B
TOML
[build-system]
|
|
requires = ["setuptools>=64"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "napalm-redfish"
|
|
version = "0.1.0.dev0"
|
|
description = "NAPALM driver for server baseboard management controllers over DMTF Redfish"
|
|
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 = [
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: System :: Hardware",
|
|
"Topic :: System :: Networking",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7",
|
|
"responses>=0.23",
|
|
]
|
|
|
|
[project.entry-points."napalm.drivers"]
|
|
redfish = "napalm_redfish:RedfishDriver"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["napalm_redfish*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|