Agnostic structure: SNMP profile and fix_snmp template #4

Open
opened 2026-10-14 08:58:52 +00:00 by christianmanivong · 2 comments
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).

  • get_health_metrics (~2012-2059) goes; SNMP_HEALTH_PROFILE (NAPALM/napalm-device-types#32): uptime …11863.6.1.1.9.0 (TimeTicks or string, to confirm), CPU and memory as tables folded (today: first row, so a stack reports unit 1 only), memory as a percentage only.
  • fix_snmp becomes configure_snmp_agent(settings) (NAPALM/napalm-device-types#33): community, view and source interface from settings instead of public/viewDefault/the detected VLAN. Config mode is not left in a try/finally today.
  • get_device_warnings returns [] and goes. Fingerprint: no SNMP_OBJECT_ID_PREFIX (11863).

Size: medium. Needs: NAPALM/napalm-device-types#32, NAPALM/napalm-device-types#33.

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). - `get_health_metrics` (~2012-2059) goes; `SNMP_HEALTH_PROFILE` (NAPALM/napalm-device-types#32): uptime `…11863.6.1.1.9.0` (TimeTicks or string, to confirm), CPU and memory as tables folded (today: first row, so a stack reports unit 1 only), memory as a percentage only. - `fix_snmp` becomes `configure_snmp_agent(settings)` (NAPALM/napalm-device-types#33): community, view and source interface from `settings` instead of `public`/`viewDefault`/the detected VLAN. Config mode is not left in a try/finally today. - `get_device_warnings` returns `[]` and goes. Fingerprint: no `SNMP_OBJECT_ID_PREFIX` (11863). Size: medium. Needs: NAPALM/napalm-device-types#32, NAPALM/napalm-device-types#33. Prio P3.
Author
Owner

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

Done: SNMP_HEALTH_PROFILE and configure_snmp_agent(settings) with the exact management VLAN (0.2.0/0.3.0).

Rest:

  • get_device_warnings returns [] and can go.
  • No SNMP_OBJECT_ID_PREFIX (11863) in the fingerprint.
Status 2026-10-18, checked against the pin on NetOrk/netork main. **Done:** `SNMP_HEALTH_PROFILE` and `configure_snmp_agent(settings)` with the exact management VLAN (0.2.0/0.3.0). **Rest:** - `get_device_warnings` returns `[]` and can go. - No `SNMP_OBJECT_ID_PREFIX` (11863) in the fingerprint.
Author
Owner

Reboot: netOrk no longer falls back to sending /sbin/reboot through _send_command (NetOrk/netork#1162) — on this CLI the command never existed, and the reboot was reported done anyway. Until this driver implements reboot_host() (napalm-device-types HostRebootMixin) with its own CLI command and prompts, netOrk does not offer a reboot for it. Needs a test on real hardware.

Likely command: reboot (confirm y).

**Reboot:** netOrk no longer falls back to sending `/sbin/reboot` through `_send_command` (NetOrk/netork#1162) — on this CLI the command never existed, and the reboot was reported done anyway. Until this driver implements `reboot_host()` (napalm-device-types `HostRebootMixin`) with its own CLI command and prompts, netOrk does not offer a reboot for it. Needs a test on real hardware. Likely command: `reboot` (confirm `y`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-tplink-jetstream#4