towerops/lib/towerops/gaiia
Graham McIntire 7081e5daed
fix: correct subscriber counts by filtering CGNAT IPs and excluding routers
Router devices were inflating per-site subscriber counts because:
1. CGNAT IPs (100.64.0.0/10) in router ARP tables caused false matches
2. Routers see all traffic and shouldn't have subscribers attributed
3. Site totals were computed from raw links without filtering

Changes:
- Filter CGNAT (RFC 6598) IPs from device subscriber links
- Deduplicate accounts across devices by match method priority
- Detect routers via SNMP sys_descr and zero out per-device counts
- Derive site totals from filtered per-device impacts
- Add per-device Subs/MRR columns to site device tables
- Add device link fallback for sites without IP blocks
- Fix Gaiia sync case mismatch and execution order
- Improve device list toolbar button icons and tooltips
2026-02-18 09:15:10 -06:00
..
account.ex add gaiia integration stages 1-2: sync engine and entity mapping UI 2026-02-13 10:31:32 -06:00
actions.ex add gaiia write-back actions (stage 6) 2026-02-13 11:25:21 -06:00
billing_subscription.ex add gaiia integration stages 1-2: sync engine and entity mapping UI 2026-02-13 10:31:32 -06:00
client.ex Fix Gaiia inventory matching, mapping UX, and logo link 2026-02-15 17:41:43 -06:00
device_subscriber_link.ex Add subscriber-to-AP matching via ARP + Gaiia integration 2026-02-16 11:07:20 -06:00
impact_analysis.ex add gaiia outage impact analysis (stage 5) 2026-02-13 11:21:59 -06:00
inventory_item.ex add gaiia integration stages 1-2: sync engine and entity mapping UI 2026-02-13 10:31:32 -06:00
network_site.ex add gaiia integration stages 1-2: sync engine and entity mapping UI 2026-02-13 10:31:32 -06:00
reconciliation.ex add gaiia inventory reconciliation (stage 7) 2026-02-13 13:28:52 -06:00
site_aggregation.ex fix: correct subscriber counts by filtering CGNAT IPs and excluding routers 2026-02-18 09:15:10 -06:00
subscriber_matching.ex Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00
sync.ex fix: correct subscriber counts by filtering CGNAT IPs and excluding routers 2026-02-18 09:15:10 -06:00
webhooks.ex fix: netbox url field type, gaiia ipRange→block, remove unknown webhook log 2026-02-14 17:44:01 -06:00