@usex/mikrotik-mcp 4.20.0 → 4.21.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 +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/{cli-fa29149s.js → cli-4tycy2mf.js} +3577 -3566
- package/dist/shared/{cli-cdxrs0vz.js → cli-g27x73vg.js} +1 -1
- package/dist/shared/{library-ypdm9bkx.js → library-v21pwa2g.js} +3577 -3566
- package/dist/shared/{library-g5p25m9e.js → library-w7gzvedz.js} +1 -1
- package/dist/ui/observability.html +4 -4
- package/package.json +1 -1
- package/schemas/tool-catalog.json +34 -9
- package/schemas/tools/add_ovpn_server.json +1 -0
- package/schemas/tools/build_wireguard_mesh.json +3 -2
- package/schemas/tools/create_bridge.json +1 -0
- package/schemas/tools/create_eoip_tunnel.json +1 -0
- package/schemas/tools/create_gre_tunnel.json +1 -0
- package/schemas/tools/create_ipip_tunnel.json +1 -0
- package/schemas/tools/create_l2tp_client.json +1 -0
- package/schemas/tools/create_ovpn_client.json +1 -0
- package/schemas/tools/create_pptp_client.json +1 -0
- package/schemas/tools/create_sstp_client.json +1 -0
- package/schemas/tools/create_vlan_interface.json +1 -0
- package/schemas/tools/create_vxlan_tunnel.json +1 -0
- package/schemas/tools/create_wireguard_interface.json +3 -1
- package/schemas/tools/create_wireless_interface.json +3 -1
- package/schemas/tools/design_network_segment.json +1 -0
- package/schemas/tools/update_bridge.json +3 -1
- package/schemas/tools/update_vlan_interface.json +3 -1
- package/schemas/tools/update_wireguard_interface.json +3 -1
- package/schemas/tools/update_wireless_interface.json +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.21.0",
|
|
4
4
|
"generated": "by scripts/gen-schemas.ts — do not edit by hand",
|
|
5
5
|
"toolCount": 833,
|
|
6
6
|
"tools": [
|
|
@@ -281,6 +281,7 @@
|
|
|
281
281
|
"properties": {
|
|
282
282
|
"name": {
|
|
283
283
|
"type": "string",
|
|
284
|
+
"pattern": "^\\S+$",
|
|
284
285
|
"description": "Name for the new VLAN interface, e.g. 'vlan100'"
|
|
285
286
|
},
|
|
286
287
|
"vlan_id": {
|
|
@@ -433,7 +434,9 @@
|
|
|
433
434
|
"description": "Current name of the VLAN interface to update"
|
|
434
435
|
},
|
|
435
436
|
"new_name": {
|
|
436
|
-
"
|
|
437
|
+
"description": "Rename the interface to this (no spaces).",
|
|
438
|
+
"type": "string",
|
|
439
|
+
"pattern": "^\\S+$"
|
|
437
440
|
},
|
|
438
441
|
"vlan_id": {
|
|
439
442
|
"type": "integer",
|
|
@@ -537,6 +540,7 @@
|
|
|
537
540
|
},
|
|
538
541
|
"name": {
|
|
539
542
|
"type": "string",
|
|
543
|
+
"pattern": "^\\S+$",
|
|
540
544
|
"description": "Name for the VLAN interface, e.g. 'guest'"
|
|
541
545
|
},
|
|
542
546
|
"subnet": {
|
|
@@ -615,6 +619,7 @@
|
|
|
615
619
|
"properties": {
|
|
616
620
|
"name": {
|
|
617
621
|
"type": "string",
|
|
622
|
+
"pattern": "^\\S+$",
|
|
618
623
|
"description": "Name for the new bridge, e.g. 'bridge1'"
|
|
619
624
|
},
|
|
620
625
|
"comment": {
|
|
@@ -807,7 +812,9 @@
|
|
|
807
812
|
"description": "Current name of the bridge to update"
|
|
808
813
|
},
|
|
809
814
|
"new_name": {
|
|
810
|
-
"
|
|
815
|
+
"description": "Rename the bridge to this (no spaces).",
|
|
816
|
+
"type": "string",
|
|
817
|
+
"pattern": "^\\S+$"
|
|
811
818
|
},
|
|
812
819
|
"comment": {
|
|
813
820
|
"type": "string"
|
|
@@ -1264,7 +1271,9 @@
|
|
|
1264
1271
|
"type": "object",
|
|
1265
1272
|
"properties": {
|
|
1266
1273
|
"name": {
|
|
1267
|
-
"type": "string"
|
|
1274
|
+
"type": "string",
|
|
1275
|
+
"pattern": "^\\S+$",
|
|
1276
|
+
"description": "Name for the new wireless interface (no spaces)."
|
|
1268
1277
|
},
|
|
1269
1278
|
"ssid": {
|
|
1270
1279
|
"type": "string"
|
|
@@ -1816,7 +1825,9 @@
|
|
|
1816
1825
|
"type": "string"
|
|
1817
1826
|
},
|
|
1818
1827
|
"new_name": {
|
|
1819
|
-
"
|
|
1828
|
+
"description": "Rename the interface to this (no spaces).",
|
|
1829
|
+
"type": "string",
|
|
1830
|
+
"pattern": "^\\S+$"
|
|
1820
1831
|
},
|
|
1821
1832
|
"ssid": {
|
|
1822
1833
|
"type": "string"
|
|
@@ -17690,7 +17701,9 @@
|
|
|
17690
17701
|
"type": "object",
|
|
17691
17702
|
"properties": {
|
|
17692
17703
|
"name": {
|
|
17693
|
-
"type": "string"
|
|
17704
|
+
"type": "string",
|
|
17705
|
+
"pattern": "^\\S+$",
|
|
17706
|
+
"description": "WireGuard interface name to create, e.g. 'wireguard-internal' (no spaces)."
|
|
17694
17707
|
},
|
|
17695
17708
|
"listen_port": {
|
|
17696
17709
|
"type": "integer",
|
|
@@ -17817,7 +17830,9 @@
|
|
|
17817
17830
|
"type": "string"
|
|
17818
17831
|
},
|
|
17819
17832
|
"new_name": {
|
|
17820
|
-
"
|
|
17833
|
+
"description": "Rename the interface to this (no spaces).",
|
|
17834
|
+
"type": "string",
|
|
17835
|
+
"pattern": "^\\S+$"
|
|
17821
17836
|
},
|
|
17822
17837
|
"listen_port": {
|
|
17823
17838
|
"type": "integer",
|
|
@@ -18303,8 +18318,9 @@
|
|
|
18303
18318
|
},
|
|
18304
18319
|
"interface": {
|
|
18305
18320
|
"default": "wg-mesh",
|
|
18306
|
-
"description": "WireGuard interface name to create/use",
|
|
18307
|
-
"type": "string"
|
|
18321
|
+
"description": "WireGuard interface name to create/use (no spaces)",
|
|
18322
|
+
"type": "string",
|
|
18323
|
+
"pattern": "^\\S+$"
|
|
18308
18324
|
},
|
|
18309
18325
|
"listen_port": {
|
|
18310
18326
|
"default": 13231,
|
|
@@ -20098,6 +20114,7 @@
|
|
|
20098
20114
|
"properties": {
|
|
20099
20115
|
"name": {
|
|
20100
20116
|
"type": "string",
|
|
20117
|
+
"pattern": "^\\S+$",
|
|
20101
20118
|
"description": "Name for the new L2TP client interface"
|
|
20102
20119
|
},
|
|
20103
20120
|
"connect_to": {
|
|
@@ -20388,6 +20405,7 @@
|
|
|
20388
20405
|
"properties": {
|
|
20389
20406
|
"name": {
|
|
20390
20407
|
"type": "string",
|
|
20408
|
+
"pattern": "^\\S+$",
|
|
20391
20409
|
"description": "Name for the new PPTP client interface"
|
|
20392
20410
|
},
|
|
20393
20411
|
"connect_to": {
|
|
@@ -20639,6 +20657,7 @@
|
|
|
20639
20657
|
"properties": {
|
|
20640
20658
|
"name": {
|
|
20641
20659
|
"type": "string",
|
|
20660
|
+
"pattern": "^\\S+$",
|
|
20642
20661
|
"description": "Name for the new SSTP client interface"
|
|
20643
20662
|
},
|
|
20644
20663
|
"connect_to": {
|
|
@@ -20965,6 +20984,7 @@
|
|
|
20965
20984
|
"properties": {
|
|
20966
20985
|
"name": {
|
|
20967
20986
|
"type": "string",
|
|
20987
|
+
"pattern": "^\\S+$",
|
|
20968
20988
|
"description": "Unique name for the new OpenVPN server instance"
|
|
20969
20989
|
},
|
|
20970
20990
|
"port": {
|
|
@@ -21234,6 +21254,7 @@
|
|
|
21234
21254
|
"properties": {
|
|
21235
21255
|
"name": {
|
|
21236
21256
|
"type": "string",
|
|
21257
|
+
"pattern": "^\\S+$",
|
|
21237
21258
|
"description": "Name for the new OpenVPN client interface"
|
|
21238
21259
|
},
|
|
21239
21260
|
"connect_to": {
|
|
@@ -21459,6 +21480,7 @@
|
|
|
21459
21480
|
"properties": {
|
|
21460
21481
|
"name": {
|
|
21461
21482
|
"type": "string",
|
|
21483
|
+
"pattern": "^\\S+$",
|
|
21462
21484
|
"description": "Name for the new GRE tunnel interface, e.g. 'gre-to-hq'"
|
|
21463
21485
|
},
|
|
21464
21486
|
"remote_address": {
|
|
@@ -21603,6 +21625,7 @@
|
|
|
21603
21625
|
"properties": {
|
|
21604
21626
|
"name": {
|
|
21605
21627
|
"type": "string",
|
|
21628
|
+
"pattern": "^\\S+$",
|
|
21606
21629
|
"description": "Name for the new IPIP tunnel interface, e.g. 'ipip-to-hq'"
|
|
21607
21630
|
},
|
|
21608
21631
|
"remote_address": {
|
|
@@ -21747,6 +21770,7 @@
|
|
|
21747
21770
|
"properties": {
|
|
21748
21771
|
"name": {
|
|
21749
21772
|
"type": "string",
|
|
21773
|
+
"pattern": "^\\S+$",
|
|
21750
21774
|
"description": "Name for the new EoIP tunnel interface, e.g. 'eoip-to-hq'"
|
|
21751
21775
|
},
|
|
21752
21776
|
"remote_address": {
|
|
@@ -21917,6 +21941,7 @@
|
|
|
21917
21941
|
"properties": {
|
|
21918
21942
|
"name": {
|
|
21919
21943
|
"type": "string",
|
|
21944
|
+
"pattern": "^\\S+$",
|
|
21920
21945
|
"description": "Name for the new VXLAN interface, e.g. 'vxlan1'"
|
|
21921
21946
|
},
|
|
21922
21947
|
"vni": {
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"interface": {
|
|
20
20
|
"default": "wg-mesh",
|
|
21
|
-
"description": "WireGuard interface name to create/use",
|
|
22
|
-
"type": "string"
|
|
21
|
+
"description": "WireGuard interface name to create/use (no spaces)",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^\\S+$"
|
|
23
24
|
},
|
|
24
25
|
"listen_port": {
|
|
25
26
|
"default": 13231,
|