Files
Mikrotik-MCP/data/snapshots/router-utama_interface_20260125_143658.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

142 lines
3.2 KiB
JSON

[
{
".id": "*D",
"actual-mtu": "1500",
"default-name": "ether1",
"disabled": "false",
"fp-rps-drop": "0",
"fp-rx-byte": "0",
"fp-rx-packet": "0",
"fp-tx-byte": "0",
"fp-tx-packet": "0",
"last-link-up-time": "2026-01-24 10:34:38",
"link-downs": "0",
"mac-address": "C0:3F:D5:6E:EF:29",
"mtu": "1500",
"name": "ether1",
"running": "true",
"rx-byte": "92084689755",
"rx-drop": "245",
"rx-error": "0",
"rx-packet": "116906513",
"tx-byte": "91919515162",
"tx-drop": "0",
"tx-error": "0",
"tx-packet": "116507017",
"tx-queue-drop": "139753",
"type": "ether",
"vrf": "main"
},
{
".id": "*11",
"actual-mtu": "1500",
"disabled": "false",
"fp-rps-drop": "0",
"fp-rx-byte": "0",
"fp-rx-packet": "0",
"fp-tx-byte": "0",
"fp-tx-packet": "0",
"last-link-up-time": "2026-01-24 10:35:20",
"link-downs": "0",
"mac-address": "FE:2A:A2:A8:07:99",
"mtu": "1500",
"name": "aw",
"running": "true",
"rx-byte": "20607372",
"rx-drop": "0",
"rx-error": "0",
"rx-packet": "65906",
"tx-byte": "16147209",
"tx-drop": "0",
"tx-error": "0",
"tx-packet": "79481",
"tx-queue-drop": "0",
"type": "ovpn-out",
"vrf": "main"
},
{
".id": "*3",
"actual-mtu": "1500",
"disabled": "false",
"dynamic": "false",
"fp-rps-drop": "0",
"fp-rx-byte": "0",
"fp-rx-packet": "0",
"fp-tx-byte": "0",
"fp-tx-packet": "0",
"l2mtu": "65535",
"last-link-up-time": "2026-01-24 10:34:26",
"link-downs": "0",
"mac-address": "06:BF:0F:2D:B7:89",
"mtu": "auto",
"name": "bridge-docker",
"running": "true",
"rx-byte": "28153817",
"rx-drop": "0",
"rx-error": "0",
"rx-packet": "77430",
"tx-byte": "39849052",
"tx-drop": "0",
"tx-error": "0",
"tx-packet": "95683",
"tx-queue-drop": "0",
"type": "bridge",
"vrf": "main"
},
{
".id": "*17",
"actual-mtu": "1500",
"disabled": "false",
"dynamic": "false",
"fp-rps-drop": "0",
"fp-rx-byte": "0",
"fp-rx-packet": "0",
"fp-tx-byte": "0",
"fp-tx-packet": "0",
"l2mtu": "65535",
"last-link-up-time": "2026-01-24 10:34:26",
"link-downs": "0",
"mac-address": "6C:86:93:D8:57:4F",
"mtu": "auto",
"name": "dockers",
"running": "true",
"rx-byte": "0",
"rx-drop": "0",
"rx-error": "0",
"rx-packet": "0",
"tx-byte": "1736196",
"tx-drop": "0",
"tx-error": "0",
"tx-packet": "11666",
"tx-queue-drop": "0",
"type": "bridge",
"vrf": "main"
},
{
".id": "*1",
"actual-mtu": "65536",
"disabled": "false",
"fp-rps-drop": "0",
"fp-rx-byte": "0",
"fp-rx-packet": "0",
"fp-tx-byte": "0",
"fp-tx-packet": "0",
"last-link-up-time": "2026-01-24 10:34:26",
"link-downs": "0",
"mac-address": "00:00:00:00:00:00",
"mtu": "65536",
"name": "lo",
"running": "true",
"rx-byte": "2632030",
"rx-drop": "0",
"rx-error": "0",
"rx-packet": "31907",
"tx-byte": "2632030",
"tx-drop": "0",
"tx-error": "0",
"tx-packet": "31907",
"tx-queue-drop": "0",
"type": "loopback",
"vrf": "main"
}
]