get_licenses (napalm-device-types LicenseMixin, 4.15) on redfish and bmc, for NetOrk/netork#1111. - A BMC that refuses Redfish altogether reports each license it names as missing, with its message. - One that answers but withholds parts reports the license with withholds, e.g. DCMS withholding drives and the firmware inventory on an X10 with only SFT-OOB-LIC. - ipmi knows no licenses. get_device_warnings keeps its two codes until netOrk derives them.
12 lines
419 B
Python
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.5.0"
|
|
__all__ = ["RedfishDriver"]
|