Add TP-Link AP support with wireless client sub-locations
- Add NodeType enum (switch, ap, wireless_client, wired_client) - Poll SNMPv2c and SNMPv3 in parallel to win race with ping - Render APs with bordered sub-locations containing wireless clients - Fall back to parent interface stats when child lacks them - Log when unreachable nodes become reachable via merge Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,7 +59,11 @@ export function getNodeIdentifiers(node) {
|
||||
}
|
||||
|
||||
export function isSwitch(node) {
|
||||
return !!(node.poe_budget);
|
||||
return node.type === 'switch';
|
||||
}
|
||||
|
||||
export function isAP(node) {
|
||||
return node.type === 'ap';
|
||||
}
|
||||
|
||||
export function getSpeedClass(speed) {
|
||||
|
||||
Reference in New Issue
Block a user