@usex/mikrotik-mcp 6.11.0 → 6.13.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 (67) hide show
  1. package/dist/cli.js +42 -5361
  2. package/dist/index.d.ts +76 -3
  3. package/dist/index.js +858 -6179
  4. package/dist/shared/{cli-xkhmxe9c.js → cli-1vn2bbpy.js} +6033 -398
  5. package/dist/shared/{cli-xgyy9he1.js → cli-4xzq2n6j.js} +1 -1
  6. package/dist/shared/{cli-p3rfcsg3.js → cli-r1ng5cjy.js} +1 -1
  7. package/dist/shared/{cli-vrfw477g.js → cli-rcx7e9h4.js} +1 -1
  8. package/dist/shared/{cli-n6heg9q6.js → cli-w6km895r.js} +1 -1
  9. package/dist/shared/{library-qx9hax3s.js → library-0qn06vwr.js} +1 -1
  10. package/dist/shared/{library-dc9pv2hm.js → library-1nhmbsv0.js} +1 -1
  11. package/dist/shared/{library-zwdxcca2.js → library-1swafsvq.js} +1 -1
  12. package/dist/shared/{library-w2eyfdqz.js → library-2wd7mt3g.js} +6033 -399
  13. package/dist/shared/{library-y783969c.js → library-jpmbkkz7.js} +1 -1
  14. package/dist/ui/observability.html +69 -69
  15. package/package.json +20 -16
  16. package/schemas/config.schema.json +13 -0
  17. package/schemas/devtools-manifest.json +3 -3
  18. package/schemas/tool-catalog.json +383 -10
  19. package/schemas/tools/apply_plan.json +6 -1
  20. package/schemas/tools/update_bfd_configuration.json +8 -0
  21. package/schemas/tools/update_bgp_connection.json +8 -0
  22. package/schemas/tools/update_bridge.json +8 -0
  23. package/schemas/tools/update_dns_static.json +8 -0
  24. package/schemas/tools/update_dot1x_client.json +8 -0
  25. package/schemas/tools/update_dot1x_server.json +8 -0
  26. package/schemas/tools/update_filter_rule.json +8 -0
  27. package/schemas/tools/update_igmp_proxy_interface.json +8 -0
  28. package/schemas/tools/update_ip_pool.json +8 -0
  29. package/schemas/tools/update_ipsec_peer.json +8 -0
  30. package/schemas/tools/update_ipsec_profile.json +8 -0
  31. package/schemas/tools/update_ipsec_proposal.json +8 -0
  32. package/schemas/tools/update_ipv6_filter_rule.json +8 -0
  33. package/schemas/tools/update_ipv6_mangle_rule.json +8 -0
  34. package/schemas/tools/update_ipv6_nat_rule.json +8 -0
  35. package/schemas/tools/update_ipv6_nd.json +8 -0
  36. package/schemas/tools/update_ipv6_pool.json +8 -0
  37. package/schemas/tools/update_ipv6_raw_rule.json +8 -0
  38. package/schemas/tools/update_mangle_rule.json +8 -0
  39. package/schemas/tools/update_nat_rule.json +8 -0
  40. package/schemas/tools/update_ospf_instance.json +8 -0
  41. package/schemas/tools/update_ovpn_server.json +8 -0
  42. package/schemas/tools/update_ppp_profile.json +8 -0
  43. package/schemas/tools/update_ppp_secret.json +8 -0
  44. package/schemas/tools/update_queue_interface.json +8 -0
  45. package/schemas/tools/update_queue_tree.json +8 -0
  46. package/schemas/tools/update_queue_type.json +8 -0
  47. package/schemas/tools/update_radius_server.json +8 -0
  48. package/schemas/tools/update_rip_instance.json +8 -0
  49. package/schemas/tools/update_route.json +8 -0
  50. package/schemas/tools/update_routing_filter_rule.json +8 -0
  51. package/schemas/tools/update_routing_id.json +8 -0
  52. package/schemas/tools/update_routing_rule.json +8 -0
  53. package/schemas/tools/update_routing_table.json +8 -0
  54. package/schemas/tools/update_rpki_session.json +8 -0
  55. package/schemas/tools/update_simple_queue.json +8 -0
  56. package/schemas/tools/update_switch.json +8 -0
  57. package/schemas/tools/update_switch_port.json +8 -0
  58. package/schemas/tools/update_switch_port_isolation.json +8 -0
  59. package/schemas/tools/update_switch_rule.json +8 -0
  60. package/schemas/tools/update_traffic_monitor.json +8 -0
  61. package/schemas/tools/update_user_manager_user.json +8 -0
  62. package/schemas/tools/update_vlan_interface.json +8 -0
  63. package/schemas/tools/update_wireguard_interface.json +8 -0
  64. package/schemas/tools/update_wireguard_peer.json +8 -0
  65. package/schemas/tools/update_wireless_interface.json +8 -0
  66. package/scripts/service.ts +618 -0
  67. package/scripts/upgrade.ts +7 -0
@@ -16,8 +16,13 @@
16
16
  "default": false,
17
17
  "description": "false = apply, show diff, roll back (dry-run). true = commit if still reachable.",
18
18
  "type": "boolean"
19
+ },
20
+ "use_safe_mode": {
21
+ "default": true,
22
+ "description": "false = write directly without Safe Mode (snapshot first, read-back diff after, no automatic rollback). Use only when the user explicitly asks for it.",
23
+ "type": "boolean"
19
24
  }
20
25
  },
21
- "required": ["confirm"],
26
+ "required": ["confirm", "use_safe_mode"],
22
27
  "additionalProperties": false
23
28
  }
@@ -3,6 +3,14 @@
3
3
  "title": "update_bfd_configuration",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "config_id": {
7
15
  "type": "string",
8
16
  "description": "Configuration id, e.g. \"*1\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_bgp_connection",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing BGP connection name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_bridge",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the bridge to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_dns_static",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "entry_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_dot1x_client",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "client_id": {
7
15
  "type": "string",
8
16
  "description": "Interface name or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_dot1x_server",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "server_id": {
7
15
  "type": "string",
8
16
  "description": "Interface name or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_filter_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_igmp_proxy_interface",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "interface": {
7
15
  "type": "string",
8
16
  "description": "Existing IGMP-proxy interface name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ip_pool",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipsec_peer",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the IPsec peer to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipsec_profile",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the IPsec profile to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipsec_proposal",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the IPsec proposal to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_filter_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_mangle_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_nat_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_nd",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "nd_id": {
7
15
  "type": "string",
8
16
  "description": "Interface name (e.g. 'all', 'ether1') or '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_pool",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ipv6_raw_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_mangle_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_nat_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_ospf_instance",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing OSPF instance name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ovpn_server",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing OpenVPN server instance name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ppp_profile",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the PPP profile to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_ppp_secret",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current username of the secret to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_queue_interface",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "interface_id": {
7
15
  "type": "string",
8
16
  "description": "Interface name (e.g. 'ether1') or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_queue_tree",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_queue_type",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_radius_server",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "radius_id": {
7
15
  "type": "string",
8
16
  "description": "RADIUS entry internal .id, e.g. '*1'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_rip_instance",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing RIP instance name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_route",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "route_id": {
7
15
  "type": "string",
8
16
  "description": "\"*N\" or \"N\" from list output e.g. \"*3\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_routing_filter_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string",
8
16
  "description": "Rule id, e.g. \"*3\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_routing_id",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing Router-ID instance name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_routing_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string",
8
16
  "description": "Rule id, e.g. \"*3\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_routing_table",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Existing routing table name"
@@ -3,6 +3,14 @@
3
3
  "title": "update_rpki_session",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "session_id": {
7
15
  "type": "string",
8
16
  "description": "Session id, e.g. \"*1\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_simple_queue",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "switch_id": {
7
15
  "type": "string",
8
16
  "description": "Switch name (e.g. 'switch1') or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch_port",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "port_id": {
7
15
  "type": "string",
8
16
  "description": "Port name (e.g. 'ether1') or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch_port_isolation",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "isolation_id": {
7
15
  "type": "string",
8
16
  "description": "Source port name or RouterOS '.id'"