Skip to content

feat: add WAN status inventory - #8

Open
Kampe wants to merge 1 commit into
rvben:mainfrom
Kampe:agent/wan-status
Open

feat: add WAN status inventory#8
Kampe wants to merge 1 commit into
rvben:mainfrom
Kampe:agent/wan-status

Conversation

@Kampe

@Kampe Kampe commented Aug 14, 2026

Copy link
Copy Markdown

What

Add read-only unifi wan list with link, health, traffic, and cellular modem telemetry for WAN1-WAN3.

Why

Multi-WAN and cellular failover state currently require controller UI inspection. This exposes the underlying state without flattening Ethernet and mobile-backup semantics into one misleading status flag.

Safety

The gateway response is decoded into narrow typed records. Modem identifiers and unknown vendor fields are omitted; regression fixtures inject secret-like fields and verify they never reach output.

Checks

  • env -u UNIFI_API_KEY -u UNIFI_HOST make check
  • Live read-only validation against a three-interface UniFi gateway with a ready cellular backup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant