@usex/mikrotik-mcp 6.8.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.
Files changed (29) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/shared/{cli-qszw8tv2.js → cli-0ckmf678.js} +1 -1
  4. package/dist/shared/{cli-ksq2qr7d.js → cli-7en5gay6.js} +1 -1
  5. package/dist/shared/{cli-4a4dxv04.js → cli-amd43kc5.js} +1 -1
  6. package/dist/shared/{cli-pan4hpjf.js → cli-fb8k4p45.js} +1 -1
  7. package/dist/shared/{cli-mh3kf1gx.js → cli-v5tym2a3.js} +91 -17
  8. package/dist/shared/{library-qwkp17zf.js → library-3hjxj4ph.js} +91 -17
  9. package/dist/shared/{library-g8fvds7b.js → library-5mbnzvye.js} +1 -1
  10. package/dist/shared/{library-qdh9kmg5.js → library-8fxp8mc8.js} +1 -1
  11. package/dist/shared/{library-r8m6ftrj.js → library-j1ptdg4x.js} +1 -1
  12. package/dist/shared/{library-5ejy1n1c.js → library-znv72s94.js} +1 -1
  13. package/package.json +1 -1
  14. package/schemas/README.md +1 -1
  15. package/schemas/devtools-manifest.json +23 -1
  16. package/schemas/tool-catalog.json +148 -5
  17. package/schemas/tools/add_bridge_port.json +4 -0
  18. package/schemas/tools/add_dot1x_server.json +4 -0
  19. package/schemas/tools/add_wireguard_peer.json +6 -0
  20. package/schemas/tools/create_bridge.json +21 -0
  21. package/schemas/tools/create_dhcp_server.json +4 -0
  22. package/schemas/tools/create_ipv6_dhcp_server.json +8 -0
  23. package/schemas/tools/create_vlan_interface.json +4 -0
  24. package/schemas/tools/list_bgp_instances.json +7 -0
  25. package/schemas/tools/update_bgp_instance_med_comparison.json +22 -0
  26. package/schemas/tools/update_bridge.json +21 -0
  27. package/schemas/tools/update_dot1x_server.json +4 -0
  28. package/schemas/tools/update_vlan_interface.json +4 -0
  29. 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.8.0",
3
+ "version": "6.9.0",
4
4
  "generated": "by scripts/gen-schemas.ts — do not edit by hand",
5
- "toolCount": 981,
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",
@@ -19807,6 +19922,10 @@
19807
19922
  "description": "Re-auth period or 'none'",
19808
19923
  "type": "string"
19809
19924
  },
19925
+ "reauth_period": {
19926
+ "description": "RouterOS 7.25+ re-authentication period",
19927
+ "type": "string"
19928
+ },
19810
19929
  "comment": {
19811
19930
  "type": "string"
19812
19931
  },
@@ -19912,6 +20031,10 @@
19912
20031
  "reauth_timeout": {
19913
20032
  "type": "string"
19914
20033
  },
20034
+ "reauth_period": {
20035
+ "description": "RouterOS 7.25+ re-authentication period",
20036
+ "type": "string"
20037
+ },
19915
20038
  "comment": {
19916
20039
  "type": "string"
19917
20040
  },
@@ -20415,6 +20538,12 @@
20415
20538
  "minimum": -9007199254740991,
20416
20539
  "maximum": 9007199254740991
20417
20540
  },
20541
+ "client_mtu": {
20542
+ "description": "RouterOS 7.25+ MTU in generated client configuration",
20543
+ "type": "integer",
20544
+ "minimum": 576,
20545
+ "maximum": 65535
20546
+ },
20418
20547
  "comment": {
20419
20548
  "type": "string"
20420
20549
  },
@@ -20544,10 +20673,24 @@
20544
20673
  "type": "string"
20545
20674
  },
20546
20675
  "client_listen_port": {
20547
- "description": "listen-port written into the generated client config",
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",
20548
20691
  "type": "integer",
20549
- "minimum": -9007199254740991,
20550
- "maximum": 9007199254740991
20692
+ "minimum": 576,
20693
+ "maximum": 65535
20551
20694
  },
20552
20695
  "comment": {
20553
20696
  "type": "string"
@@ -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",
@@ -37,6 +37,10 @@
37
37
  "description": "Re-auth period or 'none'",
38
38
  "type": "string"
39
39
  },
40
+ "reauth_period": {
41
+ "description": "RouterOS 7.25+ re-authentication period",
42
+ "type": "string"
43
+ },
40
44
  "comment": {
41
45
  "type": "string"
42
46
  },
@@ -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)",
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_bgp_instances",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "update_bgp_instance_med_comparison",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "description": "Exact BGP instance name"
10
+ },
11
+ "always_compare_med": {
12
+ "type": "boolean"
13
+ },
14
+ "confirm_routing_change": {
15
+ "type": "boolean",
16
+ "const": true,
17
+ "description": "Operator approved the best-path behavior change"
18
+ }
19
+ },
20
+ "required": ["name", "always_compare_med", "confirm_routing_change"],
21
+ "additionalProperties": false
22
+ }
@@ -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"
@@ -33,6 +33,10 @@
33
33
  "reauth_timeout": {
34
34
  "type": "string"
35
35
  },
36
+ "reauth_period": {
37
+ "description": "RouterOS 7.25+ re-authentication period",
38
+ "type": "string"
39
+ },
36
40
  "comment": {
37
41
  "type": "string"
38
42
  },
@@ -31,6 +31,10 @@
31
31
  "minimum": -9007199254740991,
32
32
  "maximum": 9007199254740991
33
33
  },
34
+ "forced_mac_address": {
35
+ "description": "RouterOS 7.25+ forced VLAN interface MAC address",
36
+ "type": "string"
37
+ },
34
38
  "use_service_tag": {
35
39
  "type": "boolean"
36
40
  },
@@ -57,10 +57,24 @@
57
57
  "type": "string"
58
58
  },
59
59
  "client_listen_port": {
60
- "description": "listen-port written into the generated client config",
60
+ "description": "Client listen port; empty string unsets it on RouterOS 7.25+",
61
+ "anyOf": [
62
+ {
63
+ "type": "integer",
64
+ "minimum": -9007199254740991,
65
+ "maximum": 9007199254740991
66
+ },
67
+ {
68
+ "type": "string",
69
+ "const": ""
70
+ }
71
+ ]
72
+ },
73
+ "client_mtu": {
74
+ "description": "RouterOS 7.25+ MTU in generated client configuration",
61
75
  "type": "integer",
62
- "minimum": -9007199254740991,
63
- "maximum": 9007199254740991
76
+ "minimum": 576,
77
+ "maximum": 65535
64
78
  },
65
79
  "comment": {
66
80
  "type": "string"