@usex/mikrotik-mcp 6.7.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -1
- package/dist/index.js +1 -1
- package/dist/shared/{cli-y5txdsgq.js → cli-0ckmf678.js} +1 -1
- package/dist/shared/{cli-kwsg0vb4.js → cli-7en5gay6.js} +1 -1
- package/dist/shared/{cli-w3tjpdhk.js → cli-amd43kc5.js} +1 -1
- package/dist/shared/{cli-hp8w45f1.js → cli-fb8k4p45.js} +1 -1
- package/dist/shared/{cli-v3ytyep0.js → cli-v5tym2a3.js} +323 -28
- package/dist/shared/{library-36y6v8ks.js → library-3hjxj4ph.js} +323 -28
- package/dist/shared/{library-aw8wrqbg.js → library-5mbnzvye.js} +1 -1
- package/dist/shared/{library-bty0a0n3.js → library-8fxp8mc8.js} +1 -1
- package/dist/shared/{library-j5qk3cvp.js → library-j1ptdg4x.js} +1 -1
- package/dist/shared/{library-j6pdmv0m.js → library-znv72s94.js} +1 -1
- package/dist/ui/observability.html +71 -69
- package/package.json +1 -1
- package/schemas/README.md +1 -1
- package/schemas/devtools-manifest.json +131 -1
- package/schemas/tool-catalog.json +445 -5
- package/schemas/tools/add_bridge_port.json +4 -0
- package/schemas/tools/add_dot1x_server.json +4 -0
- package/schemas/tools/add_web_proxy_access_rule.json +25 -0
- package/schemas/tools/add_wireguard_peer.json +6 -0
- package/schemas/tools/create_bridge.json +21 -0
- package/schemas/tools/create_dhcp_server.json +4 -0
- package/schemas/tools/create_ipv6_dhcp_server.json +8 -0
- package/schemas/tools/create_vlan_interface.json +4 -0
- package/schemas/tools/get_device_mode.json +7 -0
- package/schemas/tools/get_web_proxy.json +7 -0
- package/schemas/tools/list_bgp_instances.json +7 -0
- package/schemas/tools/list_web_proxy_access_rules.json +7 -0
- package/schemas/tools/monitor_web_proxy.json +7 -0
- package/schemas/tools/move_web_proxy_access_rule.json +17 -0
- package/schemas/tools/remove_web_proxy_access_rule.json +12 -0
- package/schemas/tools/update_bgp_instance_med_comparison.json +22 -0
- package/schemas/tools/update_bridge.json +21 -0
- package/schemas/tools/update_device_mode_features.json +99 -0
- package/schemas/tools/update_dot1x_server.json +4 -0
- package/schemas/tools/update_vlan_interface.json +4 -0
- package/schemas/tools/update_web_proxy.json +29 -0
- package/schemas/tools/update_wireguard_peer.json +17 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
|
-
"toolCount":
|
|
5
|
+
"toolCount": 983,
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "create_client_check",
|
|
@@ -2678,6 +2678,10 @@
|
|
|
2678
2678
|
"minimum": -9007199254740991,
|
|
2679
2679
|
"maximum": 9007199254740991
|
|
2680
2680
|
},
|
|
2681
|
+
"forced_mac_address": {
|
|
2682
|
+
"description": "RouterOS 7.25+ forced VLAN interface MAC address",
|
|
2683
|
+
"type": "string"
|
|
2684
|
+
},
|
|
2681
2685
|
"use_service_tag": {
|
|
2682
2686
|
"default": false,
|
|
2683
2687
|
"description": "Use 802.1ad service tag (QinQ)",
|
|
@@ -2809,6 +2813,10 @@
|
|
|
2809
2813
|
"minimum": -9007199254740991,
|
|
2810
2814
|
"maximum": 9007199254740991
|
|
2811
2815
|
},
|
|
2816
|
+
"forced_mac_address": {
|
|
2817
|
+
"description": "RouterOS 7.25+ forced VLAN interface MAC address",
|
|
2818
|
+
"type": "string"
|
|
2819
|
+
},
|
|
2812
2820
|
"use_service_tag": {
|
|
2813
2821
|
"type": "boolean"
|
|
2814
2822
|
},
|
|
@@ -3075,6 +3083,27 @@
|
|
|
3075
3083
|
"description": "Enable DHCP snooping",
|
|
3076
3084
|
"type": "boolean"
|
|
3077
3085
|
},
|
|
3086
|
+
"arp_inspection": {
|
|
3087
|
+
"description": "RouterOS 7.25+ validate ARP against DHCP snooping bindings",
|
|
3088
|
+
"type": "boolean"
|
|
3089
|
+
},
|
|
3090
|
+
"ip_source_guard": {
|
|
3091
|
+
"description": "RouterOS 7.25+ validate IPv4 source against DHCP snooping bindings",
|
|
3092
|
+
"type": "boolean"
|
|
3093
|
+
},
|
|
3094
|
+
"mlag_init_delay": {
|
|
3095
|
+
"description": "RouterOS 7.25+ MLAG LACP initialization delay",
|
|
3096
|
+
"type": "string"
|
|
3097
|
+
},
|
|
3098
|
+
"mlag_lacp_fallback": {
|
|
3099
|
+
"description": "RouterOS 7.25+ MLAG LACP fallback after peer loss",
|
|
3100
|
+
"type": "boolean"
|
|
3101
|
+
},
|
|
3102
|
+
"confirm_security_disruption": {
|
|
3103
|
+
"description": "Required when enabling ARP inspection or IP source guard; DHCP bindings may be cleared and traffic interrupted",
|
|
3104
|
+
"type": "boolean",
|
|
3105
|
+
"const": true
|
|
3106
|
+
},
|
|
3078
3107
|
"igmp_snooping": {
|
|
3079
3108
|
"description": "Enable IGMP/MLD snooping",
|
|
3080
3109
|
"type": "boolean"
|
|
@@ -3244,6 +3273,27 @@
|
|
|
3244
3273
|
"description": "Enable DHCP snooping",
|
|
3245
3274
|
"type": "boolean"
|
|
3246
3275
|
},
|
|
3276
|
+
"arp_inspection": {
|
|
3277
|
+
"description": "RouterOS 7.25+ validate ARP against DHCP snooping bindings",
|
|
3278
|
+
"type": "boolean"
|
|
3279
|
+
},
|
|
3280
|
+
"ip_source_guard": {
|
|
3281
|
+
"description": "RouterOS 7.25+ validate IPv4 source against DHCP snooping bindings",
|
|
3282
|
+
"type": "boolean"
|
|
3283
|
+
},
|
|
3284
|
+
"mlag_init_delay": {
|
|
3285
|
+
"description": "RouterOS 7.25+ MLAG LACP initialization delay",
|
|
3286
|
+
"type": "string"
|
|
3287
|
+
},
|
|
3288
|
+
"mlag_lacp_fallback": {
|
|
3289
|
+
"description": "RouterOS 7.25+ MLAG LACP fallback after peer loss",
|
|
3290
|
+
"type": "boolean"
|
|
3291
|
+
},
|
|
3292
|
+
"confirm_security_disruption": {
|
|
3293
|
+
"description": "Required when enabling ARP inspection or IP source guard; DHCP bindings may be cleared and traffic interrupted",
|
|
3294
|
+
"type": "boolean",
|
|
3295
|
+
"const": true
|
|
3296
|
+
},
|
|
3247
3297
|
"igmp_snooping": {
|
|
3248
3298
|
"description": "Enable IGMP/MLD snooping",
|
|
3249
3299
|
"type": "boolean"
|
|
@@ -3409,6 +3459,10 @@
|
|
|
3409
3459
|
"description": "Trust DHCP server replies on this port (DHCP snooping)",
|
|
3410
3460
|
"type": "boolean"
|
|
3411
3461
|
},
|
|
3462
|
+
"trusted_arp": {
|
|
3463
|
+
"description": "RouterOS 7.25+ exempt this port from ARP inspection",
|
|
3464
|
+
"type": "boolean"
|
|
3465
|
+
},
|
|
3412
3466
|
"multicast_router": {
|
|
3413
3467
|
"description": "IGMP-snooping multicast router state",
|
|
3414
3468
|
"type": "string",
|
|
@@ -6251,6 +6305,10 @@
|
|
|
6251
6305
|
"description": "Always send replies as broadcast",
|
|
6252
6306
|
"type": "boolean"
|
|
6253
6307
|
},
|
|
6308
|
+
"ipv6_only_preferred": {
|
|
6309
|
+
"description": "RouterOS 7.25+ advertise DHCP option 108 for IPv6-only preferred clients",
|
|
6310
|
+
"type": "boolean"
|
|
6311
|
+
},
|
|
6254
6312
|
"bootp_support": {
|
|
6255
6313
|
"description": "Which BOOTP requests to answer",
|
|
6256
6314
|
"type": "string",
|
|
@@ -7945,6 +8003,14 @@
|
|
|
7945
8003
|
"rapid_commit": {
|
|
7946
8004
|
"type": "boolean"
|
|
7947
8005
|
},
|
|
8006
|
+
"add_dns_entries": {
|
|
8007
|
+
"description": "RouterOS 7.25+ create AAAA DNS entries for client FQDNs",
|
|
8008
|
+
"type": "boolean"
|
|
8009
|
+
},
|
|
8010
|
+
"add_dns_entries_suffix": {
|
|
8011
|
+
"description": "Suffix for dynamically created DHCPv6 DNS entries",
|
|
8012
|
+
"type": "string"
|
|
8013
|
+
},
|
|
7948
8014
|
"preference": {
|
|
7949
8015
|
"type": "integer",
|
|
7950
8016
|
"minimum": 0,
|
|
@@ -12453,6 +12519,55 @@
|
|
|
12453
12519
|
"additionalProperties": false
|
|
12454
12520
|
}
|
|
12455
12521
|
},
|
|
12522
|
+
{
|
|
12523
|
+
"name": "list_bgp_instances",
|
|
12524
|
+
"title": "List BGP Instances",
|
|
12525
|
+
"risk": "read",
|
|
12526
|
+
"annotations": {
|
|
12527
|
+
"readOnlyHint": true,
|
|
12528
|
+
"idempotentHint": true,
|
|
12529
|
+
"openWorldHint": false
|
|
12530
|
+
},
|
|
12531
|
+
"description": "Read BGP instances and their best-path selection settings, including RouterOS 7.25+ always-compare-med. Use before changing an instance.",
|
|
12532
|
+
"inputSchema": {
|
|
12533
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12534
|
+
"type": "object",
|
|
12535
|
+
"properties": {},
|
|
12536
|
+
"additionalProperties": false
|
|
12537
|
+
}
|
|
12538
|
+
},
|
|
12539
|
+
{
|
|
12540
|
+
"name": "update_bgp_instance_med_comparison",
|
|
12541
|
+
"title": "Set BGP Instance MED Comparison",
|
|
12542
|
+
"risk": "write-idempotent",
|
|
12543
|
+
"annotations": {
|
|
12544
|
+
"destructiveHint": false,
|
|
12545
|
+
"idempotentHint": true,
|
|
12546
|
+
"openWorldHint": false
|
|
12547
|
+
},
|
|
12548
|
+
"description": "Set RouterOS 7.25+ always-compare-med on one named BGP instance. This changes best-path selection and can reroute traffic; inspect list_bgp_instances and obtain operator approval first.",
|
|
12549
|
+
"inputSchema": {
|
|
12550
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12551
|
+
"type": "object",
|
|
12552
|
+
"properties": {
|
|
12553
|
+
"name": {
|
|
12554
|
+
"type": "string",
|
|
12555
|
+
"minLength": 1,
|
|
12556
|
+
"description": "Exact BGP instance name"
|
|
12557
|
+
},
|
|
12558
|
+
"always_compare_med": {
|
|
12559
|
+
"type": "boolean"
|
|
12560
|
+
},
|
|
12561
|
+
"confirm_routing_change": {
|
|
12562
|
+
"type": "boolean",
|
|
12563
|
+
"const": true,
|
|
12564
|
+
"description": "Operator approved the best-path behavior change"
|
|
12565
|
+
}
|
|
12566
|
+
},
|
|
12567
|
+
"required": ["name", "always_compare_med", "confirm_routing_change"],
|
|
12568
|
+
"additionalProperties": false
|
|
12569
|
+
}
|
|
12570
|
+
},
|
|
12456
12571
|
{
|
|
12457
12572
|
"name": "list_bgp_connections",
|
|
12458
12573
|
"title": "List BGP Connections",
|
|
@@ -15211,6 +15326,178 @@
|
|
|
15211
15326
|
"additionalProperties": false
|
|
15212
15327
|
}
|
|
15213
15328
|
},
|
|
15329
|
+
{
|
|
15330
|
+
"name": "get_web_proxy",
|
|
15331
|
+
"title": "Get Web Proxy Settings",
|
|
15332
|
+
"risk": "read",
|
|
15333
|
+
"annotations": {
|
|
15334
|
+
"readOnlyHint": true,
|
|
15335
|
+
"idempotentHint": true,
|
|
15336
|
+
"openWorldHint": false
|
|
15337
|
+
},
|
|
15338
|
+
"description": "Read RouterOS `/ip proxy` settings, including enabled, port, outgoing source and cache.",
|
|
15339
|
+
"inputSchema": {
|
|
15340
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15341
|
+
"type": "object",
|
|
15342
|
+
"properties": {},
|
|
15343
|
+
"additionalProperties": false
|
|
15344
|
+
}
|
|
15345
|
+
},
|
|
15346
|
+
{
|
|
15347
|
+
"name": "update_web_proxy",
|
|
15348
|
+
"title": "Update Web Proxy Settings",
|
|
15349
|
+
"risk": "dangerous",
|
|
15350
|
+
"annotations": {
|
|
15351
|
+
"destructiveHint": true,
|
|
15352
|
+
"openWorldHint": false
|
|
15353
|
+
},
|
|
15354
|
+
"description": "Configure RouterOS `/ip proxy`. Enabling a listener does not restrict who may connect: configure IPv4/IPv6 input firewall rules and inspect web proxy access rules first. The outgoing src_address can select existing source-based policy routing; verify the route and NAT separately.",
|
|
15355
|
+
"inputSchema": {
|
|
15356
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15357
|
+
"type": "object",
|
|
15358
|
+
"properties": {
|
|
15359
|
+
"enabled": {
|
|
15360
|
+
"type": "boolean"
|
|
15361
|
+
},
|
|
15362
|
+
"port": {
|
|
15363
|
+
"type": "integer",
|
|
15364
|
+
"minimum": 1,
|
|
15365
|
+
"maximum": 65535
|
|
15366
|
+
},
|
|
15367
|
+
"src_address": {
|
|
15368
|
+
"type": "string"
|
|
15369
|
+
},
|
|
15370
|
+
"anonymous": {
|
|
15371
|
+
"type": "boolean"
|
|
15372
|
+
},
|
|
15373
|
+
"max_cache_size": {
|
|
15374
|
+
"type": "string"
|
|
15375
|
+
},
|
|
15376
|
+
"confirm_firewall_ready": {
|
|
15377
|
+
"description": "Required when enabling: IPv4 and IPv6 input firewall access has been verified.",
|
|
15378
|
+
"type": "boolean"
|
|
15379
|
+
}
|
|
15380
|
+
},
|
|
15381
|
+
"additionalProperties": false
|
|
15382
|
+
}
|
|
15383
|
+
},
|
|
15384
|
+
{
|
|
15385
|
+
"name": "monitor_web_proxy",
|
|
15386
|
+
"title": "Monitor Web Proxy",
|
|
15387
|
+
"risk": "read",
|
|
15388
|
+
"annotations": {
|
|
15389
|
+
"readOnlyHint": true,
|
|
15390
|
+
"idempotentHint": true,
|
|
15391
|
+
"openWorldHint": false
|
|
15392
|
+
},
|
|
15393
|
+
"description": "Read one `/ip proxy monitor once` sample, including connection and request counters.",
|
|
15394
|
+
"inputSchema": {
|
|
15395
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15396
|
+
"type": "object",
|
|
15397
|
+
"properties": {},
|
|
15398
|
+
"additionalProperties": false
|
|
15399
|
+
}
|
|
15400
|
+
},
|
|
15401
|
+
{
|
|
15402
|
+
"name": "list_web_proxy_access_rules",
|
|
15403
|
+
"title": "List Web Proxy Access Rules",
|
|
15404
|
+
"risk": "read",
|
|
15405
|
+
"annotations": {
|
|
15406
|
+
"readOnlyHint": true,
|
|
15407
|
+
"idempotentHint": true,
|
|
15408
|
+
"openWorldHint": false
|
|
15409
|
+
},
|
|
15410
|
+
"description": "Read ordered `/ip proxy access` rules and their `.id`s. An unmatched request is allowed by RouterOS; use firewall input rules to control source address lists.",
|
|
15411
|
+
"inputSchema": {
|
|
15412
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15413
|
+
"type": "object",
|
|
15414
|
+
"properties": {},
|
|
15415
|
+
"additionalProperties": false
|
|
15416
|
+
}
|
|
15417
|
+
},
|
|
15418
|
+
{
|
|
15419
|
+
"name": "add_web_proxy_access_rule",
|
|
15420
|
+
"title": "Add Web Proxy Access Rule",
|
|
15421
|
+
"risk": "write",
|
|
15422
|
+
"annotations": {
|
|
15423
|
+
"destructiveHint": false,
|
|
15424
|
+
"openWorldHint": false
|
|
15425
|
+
},
|
|
15426
|
+
"description": "Add an allow/deny rule to `/ip proxy access`. Order matters; place_before is an existing `.id` or zero-based row. Use dst_address to block private targets; the proxy firewall controls client sources.",
|
|
15427
|
+
"inputSchema": {
|
|
15428
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15429
|
+
"type": "object",
|
|
15430
|
+
"properties": {
|
|
15431
|
+
"action": {
|
|
15432
|
+
"type": "string",
|
|
15433
|
+
"enum": ["allow", "deny"]
|
|
15434
|
+
},
|
|
15435
|
+
"src_address": {
|
|
15436
|
+
"type": "string"
|
|
15437
|
+
},
|
|
15438
|
+
"dst_address": {
|
|
15439
|
+
"type": "string"
|
|
15440
|
+
},
|
|
15441
|
+
"comment": {
|
|
15442
|
+
"type": "string"
|
|
15443
|
+
},
|
|
15444
|
+
"place_before": {
|
|
15445
|
+
"type": "string"
|
|
15446
|
+
}
|
|
15447
|
+
},
|
|
15448
|
+
"required": ["action"],
|
|
15449
|
+
"additionalProperties": false
|
|
15450
|
+
}
|
|
15451
|
+
},
|
|
15452
|
+
{
|
|
15453
|
+
"name": "remove_web_proxy_access_rule",
|
|
15454
|
+
"title": "Remove Web Proxy Access Rule",
|
|
15455
|
+
"risk": "destructive",
|
|
15456
|
+
"annotations": {
|
|
15457
|
+
"destructiveHint": true,
|
|
15458
|
+
"idempotentHint": true,
|
|
15459
|
+
"openWorldHint": false
|
|
15460
|
+
},
|
|
15461
|
+
"description": "Remove one `/ip proxy access` rule by `.id` or zero-based row, after inspecting the ordered list.",
|
|
15462
|
+
"inputSchema": {
|
|
15463
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15464
|
+
"type": "object",
|
|
15465
|
+
"properties": {
|
|
15466
|
+
"rule_id": {
|
|
15467
|
+
"type": "string"
|
|
15468
|
+
}
|
|
15469
|
+
},
|
|
15470
|
+
"required": ["rule_id"],
|
|
15471
|
+
"additionalProperties": false
|
|
15472
|
+
}
|
|
15473
|
+
},
|
|
15474
|
+
{
|
|
15475
|
+
"name": "move_web_proxy_access_rule",
|
|
15476
|
+
"title": "Move Web Proxy Access Rule",
|
|
15477
|
+
"risk": "write-idempotent",
|
|
15478
|
+
"annotations": {
|
|
15479
|
+
"destructiveHint": false,
|
|
15480
|
+
"idempotentHint": true,
|
|
15481
|
+
"openWorldHint": false
|
|
15482
|
+
},
|
|
15483
|
+
"description": "Move one `/ip proxy access` rule before the item at a zero-based destination position; reads back the resulting order.",
|
|
15484
|
+
"inputSchema": {
|
|
15485
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
15486
|
+
"type": "object",
|
|
15487
|
+
"properties": {
|
|
15488
|
+
"rule_id": {
|
|
15489
|
+
"type": "string"
|
|
15490
|
+
},
|
|
15491
|
+
"destination": {
|
|
15492
|
+
"type": "integer",
|
|
15493
|
+
"minimum": 0,
|
|
15494
|
+
"maximum": 9007199254740991
|
|
15495
|
+
}
|
|
15496
|
+
},
|
|
15497
|
+
"required": ["rule_id", "destination"],
|
|
15498
|
+
"additionalProperties": false
|
|
15499
|
+
}
|
|
15500
|
+
},
|
|
15214
15501
|
{
|
|
15215
15502
|
"name": "create_nat_rule",
|
|
15216
15503
|
"title": "Create IPv4 Firewall NAT Rule",
|
|
@@ -19635,6 +19922,10 @@
|
|
|
19635
19922
|
"description": "Re-auth period or 'none'",
|
|
19636
19923
|
"type": "string"
|
|
19637
19924
|
},
|
|
19925
|
+
"reauth_period": {
|
|
19926
|
+
"description": "RouterOS 7.25+ re-authentication period",
|
|
19927
|
+
"type": "string"
|
|
19928
|
+
},
|
|
19638
19929
|
"comment": {
|
|
19639
19930
|
"type": "string"
|
|
19640
19931
|
},
|
|
@@ -19740,6 +20031,10 @@
|
|
|
19740
20031
|
"reauth_timeout": {
|
|
19741
20032
|
"type": "string"
|
|
19742
20033
|
},
|
|
20034
|
+
"reauth_period": {
|
|
20035
|
+
"description": "RouterOS 7.25+ re-authentication period",
|
|
20036
|
+
"type": "string"
|
|
20037
|
+
},
|
|
19743
20038
|
"comment": {
|
|
19744
20039
|
"type": "string"
|
|
19745
20040
|
},
|
|
@@ -20243,6 +20538,12 @@
|
|
|
20243
20538
|
"minimum": -9007199254740991,
|
|
20244
20539
|
"maximum": 9007199254740991
|
|
20245
20540
|
},
|
|
20541
|
+
"client_mtu": {
|
|
20542
|
+
"description": "RouterOS 7.25+ MTU in generated client configuration",
|
|
20543
|
+
"type": "integer",
|
|
20544
|
+
"minimum": 576,
|
|
20545
|
+
"maximum": 65535
|
|
20546
|
+
},
|
|
20246
20547
|
"comment": {
|
|
20247
20548
|
"type": "string"
|
|
20248
20549
|
},
|
|
@@ -20372,10 +20673,24 @@
|
|
|
20372
20673
|
"type": "string"
|
|
20373
20674
|
},
|
|
20374
20675
|
"client_listen_port": {
|
|
20375
|
-
"description": "listen
|
|
20676
|
+
"description": "Client listen port; empty string unsets it on RouterOS 7.25+",
|
|
20677
|
+
"anyOf": [
|
|
20678
|
+
{
|
|
20679
|
+
"type": "integer",
|
|
20680
|
+
"minimum": -9007199254740991,
|
|
20681
|
+
"maximum": 9007199254740991
|
|
20682
|
+
},
|
|
20683
|
+
{
|
|
20684
|
+
"type": "string",
|
|
20685
|
+
"const": ""
|
|
20686
|
+
}
|
|
20687
|
+
]
|
|
20688
|
+
},
|
|
20689
|
+
"client_mtu": {
|
|
20690
|
+
"description": "RouterOS 7.25+ MTU in generated client configuration",
|
|
20376
20691
|
"type": "integer",
|
|
20377
|
-
"minimum":
|
|
20378
|
-
"maximum":
|
|
20692
|
+
"minimum": 576,
|
|
20693
|
+
"maximum": 65535
|
|
20379
20694
|
},
|
|
20380
20695
|
"comment": {
|
|
20381
20696
|
"type": "string"
|
|
@@ -26515,6 +26830,131 @@
|
|
|
26515
26830
|
"additionalProperties": false
|
|
26516
26831
|
}
|
|
26517
26832
|
},
|
|
26833
|
+
{
|
|
26834
|
+
"name": "get_device_mode",
|
|
26835
|
+
"title": "Get RouterOS Device Mode",
|
|
26836
|
+
"risk": "read",
|
|
26837
|
+
"annotations": {
|
|
26838
|
+
"readOnlyHint": true,
|
|
26839
|
+
"idempotentHint": true,
|
|
26840
|
+
"openWorldHint": false
|
|
26841
|
+
},
|
|
26842
|
+
"description": "Read `/system device-mode print` to see which restricted RouterOS features are available and whether physical confirmation is pending.",
|
|
26843
|
+
"inputSchema": {
|
|
26844
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26845
|
+
"type": "object",
|
|
26846
|
+
"properties": {},
|
|
26847
|
+
"additionalProperties": false
|
|
26848
|
+
}
|
|
26849
|
+
},
|
|
26850
|
+
{
|
|
26851
|
+
"name": "update_device_mode_features",
|
|
26852
|
+
"title": "Request Device Mode Feature Update",
|
|
26853
|
+
"risk": "dangerous",
|
|
26854
|
+
"annotations": {
|
|
26855
|
+
"destructiveHint": true,
|
|
26856
|
+
"openWorldHint": false
|
|
26857
|
+
},
|
|
26858
|
+
"description": "Request any RouterOS device-mode feature or mode setting. Changing mode replaces existing per-feature overrides; inspect get_device_mode first. Clearing flagged requires a security audit. Every update needs physical confirmation and a reboot; the command response only confirms a pending request. Read back after confirmation. Unsupported properties depend on RouterOS version and hardware.",
|
|
26859
|
+
"inputSchema": {
|
|
26860
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
26861
|
+
"type": "object",
|
|
26862
|
+
"properties": {
|
|
26863
|
+
"mode": {
|
|
26864
|
+
"description": "Changes the entire mode and resets prior per-feature overrides; include any overrides to keep in this request.",
|
|
26865
|
+
"type": "string",
|
|
26866
|
+
"enum": ["home", "basic", "advanced", "rose"]
|
|
26867
|
+
},
|
|
26868
|
+
"scheduler": {
|
|
26869
|
+
"type": "boolean"
|
|
26870
|
+
},
|
|
26871
|
+
"socks": {
|
|
26872
|
+
"type": "boolean"
|
|
26873
|
+
},
|
|
26874
|
+
"fetch": {
|
|
26875
|
+
"type": "boolean"
|
|
26876
|
+
},
|
|
26877
|
+
"pptp": {
|
|
26878
|
+
"type": "boolean"
|
|
26879
|
+
},
|
|
26880
|
+
"l2tp": {
|
|
26881
|
+
"type": "boolean"
|
|
26882
|
+
},
|
|
26883
|
+
"bandwidth_test": {
|
|
26884
|
+
"type": "boolean"
|
|
26885
|
+
},
|
|
26886
|
+
"traffic_gen": {
|
|
26887
|
+
"type": "boolean"
|
|
26888
|
+
},
|
|
26889
|
+
"sniffer": {
|
|
26890
|
+
"type": "boolean"
|
|
26891
|
+
},
|
|
26892
|
+
"ipsec": {
|
|
26893
|
+
"type": "boolean"
|
|
26894
|
+
},
|
|
26895
|
+
"romon": {
|
|
26896
|
+
"type": "boolean"
|
|
26897
|
+
},
|
|
26898
|
+
"proxy": {
|
|
26899
|
+
"type": "boolean"
|
|
26900
|
+
},
|
|
26901
|
+
"hotspot": {
|
|
26902
|
+
"type": "boolean"
|
|
26903
|
+
},
|
|
26904
|
+
"smb": {
|
|
26905
|
+
"type": "boolean"
|
|
26906
|
+
},
|
|
26907
|
+
"email": {
|
|
26908
|
+
"type": "boolean"
|
|
26909
|
+
},
|
|
26910
|
+
"zerotier": {
|
|
26911
|
+
"type": "boolean"
|
|
26912
|
+
},
|
|
26913
|
+
"container": {
|
|
26914
|
+
"type": "boolean"
|
|
26915
|
+
},
|
|
26916
|
+
"install_any_version": {
|
|
26917
|
+
"type": "boolean"
|
|
26918
|
+
},
|
|
26919
|
+
"partitions": {
|
|
26920
|
+
"type": "boolean"
|
|
26921
|
+
},
|
|
26922
|
+
"routerboard": {
|
|
26923
|
+
"type": "boolean"
|
|
26924
|
+
},
|
|
26925
|
+
"activation_timeout": {
|
|
26926
|
+
"description": "Physical confirmation window, 10 seconds to 1 day (RouterOS duration, e.g. 5m or 00:05:00).",
|
|
26927
|
+
"type": "string",
|
|
26928
|
+
"minLength": 1,
|
|
26929
|
+
"maxLength": 20
|
|
26930
|
+
},
|
|
26931
|
+
"flagging_enabled": {
|
|
26932
|
+
"type": "boolean"
|
|
26933
|
+
},
|
|
26934
|
+
"flagged": {
|
|
26935
|
+
"description": "Set false only after a security audit of the router configuration.",
|
|
26936
|
+
"type": "boolean"
|
|
26937
|
+
},
|
|
26938
|
+
"confirm_mode_resets_overrides": {
|
|
26939
|
+
"description": "Required with mode: existing per-feature overrides will be reset unless included in this request.",
|
|
26940
|
+
"type": "boolean",
|
|
26941
|
+
"const": true
|
|
26942
|
+
},
|
|
26943
|
+
"confirm_flagged_audit_complete": {
|
|
26944
|
+
"description": "Required to clear flagged after auditing configuration, passwords, and RouterOS version.",
|
|
26945
|
+
"type": "boolean",
|
|
26946
|
+
"const": true
|
|
26947
|
+
},
|
|
26948
|
+
"physical_confirmation_available": {
|
|
26949
|
+
"type": "boolean",
|
|
26950
|
+
"const": true,
|
|
26951
|
+
"description": "Operator is physically present and has authorized the device-mode change."
|
|
26952
|
+
}
|
|
26953
|
+
},
|
|
26954
|
+
"required": ["physical_confirmation_available"],
|
|
26955
|
+
"additionalProperties": false
|
|
26956
|
+
}
|
|
26957
|
+
},
|
|
26518
26958
|
{
|
|
26519
26959
|
"name": "list_system_console",
|
|
26520
26960
|
"title": "List System Console Sessions",
|
|
@@ -98,6 +98,10 @@
|
|
|
98
98
|
"description": "Trust DHCP server replies on this port (DHCP snooping)",
|
|
99
99
|
"type": "boolean"
|
|
100
100
|
},
|
|
101
|
+
"trusted_arp": {
|
|
102
|
+
"description": "RouterOS 7.25+ exempt this port from ARP inspection",
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
},
|
|
101
105
|
"multicast_router": {
|
|
102
106
|
"description": "IGMP-snooping multicast router state",
|
|
103
107
|
"type": "string",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "add_web_proxy_access_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"action": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": ["allow", "deny"]
|
|
9
|
+
},
|
|
10
|
+
"src_address": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"dst_address": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"comment": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"place_before": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": ["action"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -63,6 +63,12 @@
|
|
|
63
63
|
"minimum": -9007199254740991,
|
|
64
64
|
"maximum": 9007199254740991
|
|
65
65
|
},
|
|
66
|
+
"client_mtu": {
|
|
67
|
+
"description": "RouterOS 7.25+ MTU in generated client configuration",
|
|
68
|
+
"type": "integer",
|
|
69
|
+
"minimum": 576,
|
|
70
|
+
"maximum": 65535
|
|
71
|
+
},
|
|
66
72
|
"comment": {
|
|
67
73
|
"type": "string"
|
|
68
74
|
},
|
|
@@ -79,6 +79,27 @@
|
|
|
79
79
|
"description": "Enable DHCP snooping",
|
|
80
80
|
"type": "boolean"
|
|
81
81
|
},
|
|
82
|
+
"arp_inspection": {
|
|
83
|
+
"description": "RouterOS 7.25+ validate ARP against DHCP snooping bindings",
|
|
84
|
+
"type": "boolean"
|
|
85
|
+
},
|
|
86
|
+
"ip_source_guard": {
|
|
87
|
+
"description": "RouterOS 7.25+ validate IPv4 source against DHCP snooping bindings",
|
|
88
|
+
"type": "boolean"
|
|
89
|
+
},
|
|
90
|
+
"mlag_init_delay": {
|
|
91
|
+
"description": "RouterOS 7.25+ MLAG LACP initialization delay",
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"mlag_lacp_fallback": {
|
|
95
|
+
"description": "RouterOS 7.25+ MLAG LACP fallback after peer loss",
|
|
96
|
+
"type": "boolean"
|
|
97
|
+
},
|
|
98
|
+
"confirm_security_disruption": {
|
|
99
|
+
"description": "Required when enabling ARP inspection or IP source guard; DHCP bindings may be cleared and traffic interrupted",
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"const": true
|
|
102
|
+
},
|
|
82
103
|
"igmp_snooping": {
|
|
83
104
|
"description": "Enable IGMP/MLD snooping",
|
|
84
105
|
"type": "boolean"
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
"description": "Always send replies as broadcast",
|
|
38
38
|
"type": "boolean"
|
|
39
39
|
},
|
|
40
|
+
"ipv6_only_preferred": {
|
|
41
|
+
"description": "RouterOS 7.25+ advertise DHCP option 108 for IPv6-only preferred clients",
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
40
44
|
"bootp_support": {
|
|
41
45
|
"description": "Which BOOTP requests to answer",
|
|
42
46
|
"type": "string",
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
"rapid_commit": {
|
|
25
25
|
"type": "boolean"
|
|
26
26
|
},
|
|
27
|
+
"add_dns_entries": {
|
|
28
|
+
"description": "RouterOS 7.25+ create AAAA DNS entries for client FQDNs",
|
|
29
|
+
"type": "boolean"
|
|
30
|
+
},
|
|
31
|
+
"add_dns_entries_suffix": {
|
|
32
|
+
"description": "Suffix for dynamically created DHCPv6 DNS entries",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
27
35
|
"preference": {
|
|
28
36
|
"type": "integer",
|
|
29
37
|
"minimum": 0,
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"minimum": -9007199254740991,
|
|
31
31
|
"maximum": 9007199254740991
|
|
32
32
|
},
|
|
33
|
+
"forced_mac_address": {
|
|
34
|
+
"description": "RouterOS 7.25+ forced VLAN interface MAC address",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
33
37
|
"use_service_tag": {
|
|
34
38
|
"default": false,
|
|
35
39
|
"description": "Use 802.1ad service tag (QinQ)",
|