feat: report the licenses a BMC asks for as facts (0.5.0)
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.
This commit is contained in:
1 parent
e9ad7951cd
commit
5b24675a12
9 files changed
+86
-7
No files matched your search
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.5.0] - 2026-10-17
|
||||
|
||||
### Added
|
||||
- `get_licenses` (napalm-device-types `LicenseMixin`, 4.15) on `redfish` and `bmc`: the
|
||||
licenses the BMC asks for, as facts (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 `firmware inventory` on a Supermicro X10 with only SFT-OOB-LIC. `ipmi`
|
||||
knows no licenses and has no `get_licenses`.
|
||||
|
||||
### Changed
|
||||
- Requires napalm-device-types 4.15 (`LicenseDict.withholds`).
|
||||
- `get_device_warnings` still reports `bmc_license_required` / `bmc_license_partial` for
|
||||
callers that do not read `get_licenses` yet; it goes once netOrk derives both.
|
||||
|
||||
## [0.4.0] - 2026-10-17
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user