lldpd and the pending updates were already facts (get_packages, get_available_updates); netOrk rebuilds updates_available from the full list anyway.
The subscription is now get_licenses() (napalm-device-types 4.14 LicenseMixin): one pve-subscription entry, the API status mapped case-insensitively (notfound → none, active, invalid, expired; new/suspended → unknown), the API message as detail, product name and due date when subscribed. An unreadable subscription reports nothing.
Behaviour note: the old check compared against NotFound, while the API answers notfound — read live from all four nodes on the test server — so no_subscription never fired. Reported faithfully, netOrk's rule would now raise it (info, standing) on those nodes.
Drops `get_device_warnings`; netOrk names the warnings from facts (NetOrk/netork#1146, NetOrk/netork#1111).
- lldpd and the pending updates were already facts (`get_packages`, `get_available_updates`); netOrk rebuilds `updates_available` from the full list anyway.
- The subscription is now `get_licenses()` (napalm-device-types 4.14 `LicenseMixin`): one `pve-subscription` entry, the API status mapped case-insensitively (`notfound` → `none`, `active`, `invalid`, `expired`; `new`/`suspended` → `unknown`), the API message as `detail`, product name and due date when subscribed. An unreadable subscription reports nothing.
**Behaviour note:** the old check compared against `NotFound`, while the API answers `notfound` — read live from all four nodes on the test server — so `no_subscription` never fired. Reported faithfully, netOrk's rule would now raise it (info, standing) on those nodes.
Requires napalm-device-types >= 4.14.0.
Part of #24
get_device_warnings is gone; netOrk names the warnings from facts
(netOrk #1111). lldpd and the pending updates were already facts
(get_packages, get_available_updates). The subscription is now
get_licenses() from napalm-device-types 4.14's LicenseMixin: one
pve-subscription entry, the API status mapped to a LicenseStatus.
The old check compared against "NotFound" while the API answers
"notfound" (seen on all four nodes), so it never fired; the mapping is
case-insensitive.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Drops
get_device_warnings; netOrk names the warnings from facts (NetOrk/netork#1146, NetOrk/netork#1111).get_packages,get_available_updates); netOrk rebuildsupdates_availablefrom the full list anyway.get_licenses()(napalm-device-types 4.14LicenseMixin): onepve-subscriptionentry, the API status mapped case-insensitively (notfound→none,active,invalid,expired;new/suspended→unknown), the API message asdetail, product name and due date when subscribed. An unreadable subscription reports nothing.Behaviour note: the old check compared against
NotFound, while the API answersnotfound— read live from all four nodes on the test server — sono_subscriptionnever fired. Reported faithfully, netOrk's rule would now raise it (info, standing) on those nodes.Requires napalm-device-types >= 4.14.0.
Part of #24