Files
Mikrotik-MCP/data/snapshots/router-utama_ip_hotspot_active_20260125_142651.json
wartana 1dccec3949 feat: add get_vlans, get_gateway_interfaces tools and billing config fallback
- Add get_vlans tool to filter interfaces by type=vlan
- Add get_gateway_interfaces tool to identify gateway interfaces from routes
- Add fallback to billing-mcp/config.json when router not in devices.json
- Update .gitignore to exclude venv, pycache, snapshots
2026-02-03 00:14:23 +08:00

86 lines
2.2 KiB
JSON

[
{
".id": "*6532050A",
"address": "10.5.50.101",
"bytes-in": "108419762",
"bytes-out": "2994384544",
"idle-time": "1s",
"keepalive-timeout": "2m",
"login-by": "mac-cookie",
"mac-address": "7C:9A:1D:2D:E5:E1",
"packets-in": "1063310",
"packets-out": "2283160",
"radius": "false",
"server": "hs-vlan15_hs",
"session-time-left": "3w3d4h55s",
"uptime": "14h2m17s",
"user": "dita2022__"
},
{
".id": "*6932050A",
"address": "10.5.50.105",
"bytes-in": "258581640",
"bytes-out": "2772769856",
"idle-time": "0s",
"keepalive-timeout": "2m",
"login-by": "mac-cookie",
"mac-address": "92:E6:DB:15:EA:0D",
"packets-in": "1273251",
"packets-out": "2099972",
"radius": "false",
"server": "hs-vlan15_hs",
"session-time-left": "2w14h41m22s",
"uptime": "5h28m25s",
"user": "darmaputra321"
},
{
".id": "*8B32050A",
"address": "10.5.50.139",
"bytes-in": "118139750",
"bytes-out": "1577731866",
"idle-time": "1s",
"keepalive-timeout": "2m",
"login-by": "mac-cookie",
"mac-address": "7A:2A:DB:57:58:16",
"packets-in": "1057698",
"packets-out": "1666199",
"radius": "false",
"server": "hs-vlan15_hs",
"uptime": "8h8m47s",
"user": "wartana0101"
},
{
".id": "*8C32050A",
"address": "10.5.50.140",
"bytes-in": "27120137",
"bytes-out": "664668973",
"idle-time": "12s",
"keepalive-timeout": "2m",
"login-by": "mac-cookie",
"mac-address": "3A:80:0B:8D:14:8E",
"packets-in": "216005",
"packets-out": "567828",
"radius": "false",
"server": "hs-vlan15_hs",
"session-time-left": "1w18h40m32s",
"uptime": "9h13m29s",
"user": "panluhari321"
},
{
".id": "*9132050A",
"address": "10.5.50.145",
"bytes-in": "515814448",
"bytes-out": "11175502079",
"idle-time": "1s",
"keepalive-timeout": "2m",
"login-by": "mac-cookie",
"mac-address": "BA:F1:34:51:19:54",
"packets-in": "2929873",
"packets-out": "8920441",
"radius": "false",
"server": "hs-vlan15_hs",
"session-time-left": "2d11h58m30s",
"uptime": "1d3h51m43s",
"user": "koming123"
}
]