Agnostic structure: own ROLE, metadata #3

Open
opened 2026-10-14 08:58:53 +00:00 by christianmanivong · 1 comment
Owner

What this driver has to change for the agnostic structure (NAPALM/napalm-device-types docs/STRUCTURE.md (NAPALM/napalm-device-types#37), epic NetOrk/netork#1105).

  • ROLE is not set, so the role is the inherited "linux"; the tests assert that today (NetOrk/netork#300). With napalm-device-types 5.0 OSDriver has no default and the driver sets ROLE = "windows"; the application must accept the key first.
  • TYPE_LABEL and REBOOT_SETTLE_SECONDS move to the application; USES_SSH and default_port stay as driver facts.
  • If Windows is ever SNMP-polled: HOST-RESOURCES-MIB (average of hrProcessorLoad, hrStorageUsed × AllocationUnits), which the profile (NAPALM/napalm-device-types#32) must be able to express.

Size: small. Needs: napalm-device-types 5.0.

Prio P3.

What this driver has to change for the agnostic structure (NAPALM/napalm-device-types `docs/STRUCTURE.md` (NAPALM/napalm-device-types#37), epic NetOrk/netork#1105). - `ROLE` is not set, so the role is the inherited `"linux"`; the tests assert that today (NetOrk/netork#300). With napalm-device-types 5.0 `OSDriver` has no default and the driver sets `ROLE = "windows"`; the application must accept the key first. - `TYPE_LABEL` and `REBOOT_SETTLE_SECONDS` move to the application; `USES_SSH` and `default_port` stay as driver facts. - If Windows is ever SNMP-polled: HOST-RESOURCES-MIB (average of `hrProcessorLoad`, `hrStorageUsed × AllocationUnits`), which the profile (NAPALM/napalm-device-types#32) must be able to express. Size: small. Needs: napalm-device-types 5.0. Prio P3.
Author
Owner

Status 2026-10-18, checked against the pin on NetOrk/netork main.

Done: Nothing yet; it waits on 5.0 as planned.

Rest:

Status 2026-10-18, checked against the pin on NetOrk/netork main. **Done:** Nothing yet; it waits on 5.0 as planned. **Rest:** - `ROLE = "windows"` with device-types 5.0 (NAPALM/napalm-device-types#36) and netOrk accepting the key. - `TYPE_LABEL`, `REBOOT_SETTLE_SECONDS` (NAPALM/napalm-device-types#34).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-windows#3