@usex/mikrotik-mcp 1.0.0 → 2.0.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 (196) hide show
  1. package/README.md +23 -8
  2. package/dist/cli.js +8545 -2321
  3. package/dist/index.d.ts +42 -2
  4. package/dist/index.js +7787 -2232
  5. package/dist/ui/dashboard.html +19 -0
  6. package/dist/ui/firewall.html +20 -0
  7. package/dist/ui/interfaces.html +20 -0
  8. package/dist/ui/observability.html +27 -0
  9. package/dist/ui/records.html +20 -0
  10. package/package.json +63 -50
  11. package/schemas/README.md +1 -1
  12. package/schemas/config.schema.json +112 -21
  13. package/schemas/tool-catalog.json +11783 -5555
  14. package/schemas/tools/add_dot1x_client.json +42 -0
  15. package/schemas/tools/add_dot1x_server.json +60 -0
  16. package/schemas/tools/add_graphing_interface.json +23 -0
  17. package/schemas/tools/add_graphing_queue.json +22 -0
  18. package/schemas/tools/add_graphing_resource.json +14 -0
  19. package/schemas/tools/add_ipv6_address.json +43 -0
  20. package/schemas/tools/add_ipv6_address_list_entry.json +32 -0
  21. package/schemas/tools/add_ipv6_default_route.json +34 -0
  22. package/schemas/tools/add_ipv6_dhcp_binding.json +42 -0
  23. package/schemas/tools/add_ipv6_dhcp_client.json +69 -0
  24. package/schemas/tools/add_ipv6_dhcp_option.json +29 -0
  25. package/schemas/tools/add_ipv6_dhcp_relay.json +35 -0
  26. package/schemas/tools/add_ipv6_nd.json +68 -0
  27. package/schemas/tools/add_ipv6_nd_prefix.json +35 -0
  28. package/schemas/tools/add_ipv6_route.json +64 -0
  29. package/schemas/tools/add_romon_port.json +34 -0
  30. package/schemas/tools/add_switch_port_isolation.json +23 -0
  31. package/schemas/tools/add_switch_rule.json +96 -0
  32. package/schemas/tools/add_traffic_generator_port.json +23 -0
  33. package/schemas/tools/add_traffic_generator_stream.json +39 -0
  34. package/schemas/tools/add_traffic_monitor.json +54 -0
  35. package/schemas/tools/create_ipv6_dhcp_server.json +60 -0
  36. package/schemas/tools/create_ipv6_filter_rule.json +103 -0
  37. package/schemas/tools/create_ipv6_mangle_rule.json +110 -0
  38. package/schemas/tools/create_ipv6_nat_rule.json +88 -0
  39. package/schemas/tools/create_ipv6_pool.json +29 -0
  40. package/schemas/tools/create_ipv6_raw_rule.json +78 -0
  41. package/schemas/tools/delete_s3_backup.json +15 -0
  42. package/schemas/tools/disable_ipv6_address_list_entry.json +15 -0
  43. package/schemas/tools/disable_ipv6_dhcp_relay.json +14 -0
  44. package/schemas/tools/disable_ipv6_filter_rule.json +14 -0
  45. package/schemas/tools/disable_ipv6_mangle_rule.json +14 -0
  46. package/schemas/tools/disable_ipv6_nat_rule.json +14 -0
  47. package/schemas/tools/disable_ipv6_raw_rule.json +14 -0
  48. package/schemas/tools/disable_ipv6_route.json +14 -0
  49. package/schemas/tools/disable_switch_rule.json +14 -0
  50. package/schemas/tools/disable_traffic_monitor.json +14 -0
  51. package/schemas/tools/download_backup_from_s3.json +25 -0
  52. package/schemas/tools/enable_ipv6_address_list_entry.json +15 -0
  53. package/schemas/tools/enable_ipv6_dhcp_relay.json +14 -0
  54. package/schemas/tools/enable_ipv6_filter_rule.json +14 -0
  55. package/schemas/tools/enable_ipv6_mangle_rule.json +14 -0
  56. package/schemas/tools/enable_ipv6_nat_rule.json +14 -0
  57. package/schemas/tools/enable_ipv6_raw_rule.json +14 -0
  58. package/schemas/tools/enable_ipv6_route.json +14 -0
  59. package/schemas/tools/enable_switch_rule.json +14 -0
  60. package/schemas/tools/enable_traffic_monitor.json +14 -0
  61. package/schemas/tools/flood_ping.json +37 -0
  62. package/schemas/tools/get_bandwidth_server.json +7 -0
  63. package/schemas/tools/get_dot1x_client.json +15 -0
  64. package/schemas/tools/get_dot1x_server.json +15 -0
  65. package/schemas/tools/get_ipv6_address.json +15 -0
  66. package/schemas/tools/get_ipv6_address_list_entry.json +15 -0
  67. package/schemas/tools/get_ipv6_dhcp_client.json +15 -0
  68. package/schemas/tools/get_ipv6_dhcp_relay.json +14 -0
  69. package/schemas/tools/get_ipv6_dhcp_server.json +14 -0
  70. package/schemas/tools/get_ipv6_filter_rule.json +15 -0
  71. package/schemas/tools/get_ipv6_mangle_rule.json +15 -0
  72. package/schemas/tools/get_ipv6_nat_rule.json +15 -0
  73. package/schemas/tools/get_ipv6_nd.json +15 -0
  74. package/schemas/tools/get_ipv6_neighbor.json +15 -0
  75. package/schemas/tools/get_ipv6_pool.json +14 -0
  76. package/schemas/tools/get_ipv6_raw_rule.json +15 -0
  77. package/schemas/tools/get_ipv6_route.json +15 -0
  78. package/schemas/tools/get_ipv6_settings.json +7 -0
  79. package/schemas/tools/get_mac_ping.json +7 -0
  80. package/schemas/tools/get_mac_server.json +7 -0
  81. package/schemas/tools/get_mac_winbox.json +7 -0
  82. package/schemas/tools/get_queue_interface.json +15 -0
  83. package/schemas/tools/get_romon.json +7 -0
  84. package/schemas/tools/get_sms_settings.json +7 -0
  85. package/schemas/tools/get_sniffer_settings.json +7 -0
  86. package/schemas/tools/get_switch.json +15 -0
  87. package/schemas/tools/get_switch_port.json +15 -0
  88. package/schemas/tools/get_switch_port_isolation.json +15 -0
  89. package/schemas/tools/get_switch_rule.json +15 -0
  90. package/schemas/tools/get_traffic_monitor.json +14 -0
  91. package/schemas/tools/ip_scan.json +26 -0
  92. package/schemas/tools/list_bandwidth_server_sessions.json +12 -0
  93. package/schemas/tools/list_dot1x_clients.json +22 -0
  94. package/schemas/tools/list_dot1x_servers.json +18 -0
  95. package/schemas/tools/list_graphing.json +20 -0
  96. package/schemas/tools/list_ipv6_address_lists.json +24 -0
  97. package/schemas/tools/list_ipv6_addresses.json +31 -0
  98. package/schemas/tools/list_ipv6_dhcp_bindings.json +21 -0
  99. package/schemas/tools/list_ipv6_dhcp_clients.json +27 -0
  100. package/schemas/tools/list_ipv6_dhcp_options.json +11 -0
  101. package/schemas/tools/list_ipv6_dhcp_relays.json +21 -0
  102. package/schemas/tools/list_ipv6_dhcp_servers.json +26 -0
  103. package/schemas/tools/list_ipv6_filter_rules.json +43 -0
  104. package/schemas/tools/list_ipv6_mangle_rules.json +37 -0
  105. package/schemas/tools/list_ipv6_nat_rules.json +37 -0
  106. package/schemas/tools/list_ipv6_nd.json +18 -0
  107. package/schemas/tools/list_ipv6_nd_prefixes.json +21 -0
  108. package/schemas/tools/list_ipv6_neighbors.json +29 -0
  109. package/schemas/tools/list_ipv6_pool_used.json +12 -0
  110. package/schemas/tools/list_ipv6_pools.json +14 -0
  111. package/schemas/tools/list_ipv6_raw_rules.json +37 -0
  112. package/schemas/tools/list_ipv6_routes.json +34 -0
  113. package/schemas/tools/list_mac_server_sessions.json +11 -0
  114. package/schemas/tools/list_queue_interfaces.json +16 -0
  115. package/schemas/tools/list_romon_ports.json +11 -0
  116. package/schemas/tools/list_s3_backups.json +22 -0
  117. package/schemas/tools/list_sms_inbox.json +12 -0
  118. package/schemas/tools/list_sniffer_connections.json +7 -0
  119. package/schemas/tools/list_sniffer_hosts.json +11 -0
  120. package/schemas/tools/list_sniffer_packets.json +15 -0
  121. package/schemas/tools/list_sniffer_protocols.json +7 -0
  122. package/schemas/tools/list_switch_port_isolation.json +12 -0
  123. package/schemas/tools/list_switch_ports.json +16 -0
  124. package/schemas/tools/list_switch_rules.json +21 -0
  125. package/schemas/tools/list_switches.json +16 -0
  126. package/schemas/tools/list_traffic_generator_ports.json +11 -0
  127. package/schemas/tools/list_traffic_generator_streams.json +14 -0
  128. package/schemas/tools/list_traffic_monitors.json +21 -0
  129. package/schemas/tools/move_ipv6_filter_rule.json +21 -0
  130. package/schemas/tools/move_ipv6_mangle_rule.json +21 -0
  131. package/schemas/tools/move_ipv6_nat_rule.json +21 -0
  132. package/schemas/tools/move_ipv6_raw_rule.json +21 -0
  133. package/schemas/tools/profile_cpu.json +22 -0
  134. package/schemas/tools/release_ipv6_dhcp_client.json +14 -0
  135. package/schemas/tools/remove_dot1x_client.json +15 -0
  136. package/schemas/tools/remove_dot1x_server.json +15 -0
  137. package/schemas/tools/remove_graphing.json +24 -0
  138. package/schemas/tools/remove_ipv6_address.json +14 -0
  139. package/schemas/tools/remove_ipv6_address_list_entry.json +15 -0
  140. package/schemas/tools/remove_ipv6_dhcp_binding.json +15 -0
  141. package/schemas/tools/remove_ipv6_dhcp_client.json +14 -0
  142. package/schemas/tools/remove_ipv6_dhcp_option.json +14 -0
  143. package/schemas/tools/remove_ipv6_dhcp_relay.json +14 -0
  144. package/schemas/tools/remove_ipv6_dhcp_server.json +14 -0
  145. package/schemas/tools/remove_ipv6_filter_rule.json +14 -0
  146. package/schemas/tools/remove_ipv6_mangle_rule.json +14 -0
  147. package/schemas/tools/remove_ipv6_nat_rule.json +14 -0
  148. package/schemas/tools/remove_ipv6_nd.json +15 -0
  149. package/schemas/tools/remove_ipv6_nd_prefix.json +15 -0
  150. package/schemas/tools/remove_ipv6_neighbor.json +15 -0
  151. package/schemas/tools/remove_ipv6_pool.json +14 -0
  152. package/schemas/tools/remove_ipv6_raw_rule.json +14 -0
  153. package/schemas/tools/remove_ipv6_route.json +15 -0
  154. package/schemas/tools/remove_romon_port.json +15 -0
  155. package/schemas/tools/remove_switch_port_isolation.json +15 -0
  156. package/schemas/tools/remove_switch_rule.json +14 -0
  157. package/schemas/tools/remove_traffic_generator_port.json +15 -0
  158. package/schemas/tools/remove_traffic_generator_stream.json +15 -0
  159. package/schemas/tools/remove_traffic_monitor.json +14 -0
  160. package/schemas/tools/renew_ipv6_dhcp_client.json +14 -0
  161. package/schemas/tools/s3_backup_info.json +15 -0
  162. package/schemas/tools/s3_backup_status.json +7 -0
  163. package/schemas/tools/save_sniffer.json +15 -0
  164. package/schemas/tools/send_sms.json +34 -0
  165. package/schemas/tools/show_firewall_filter.json +7 -0
  166. package/schemas/tools/show_interfaces.json +7 -0
  167. package/schemas/tools/show_system_dashboard.json +7 -0
  168. package/schemas/tools/speed_test.json +47 -0
  169. package/schemas/tools/start_sniffer.json +7 -0
  170. package/schemas/tools/start_traffic_generator.json +14 -0
  171. package/schemas/tools/stop_sniffer.json +7 -0
  172. package/schemas/tools/stop_traffic_generator.json +7 -0
  173. package/schemas/tools/update_bandwidth_server.json +24 -0
  174. package/schemas/tools/update_dot1x_client.json +36 -0
  175. package/schemas/tools/update_dot1x_server.json +54 -0
  176. package/schemas/tools/update_ipv6_filter_rule.json +77 -0
  177. package/schemas/tools/update_ipv6_mangle_rule.json +80 -0
  178. package/schemas/tools/update_ipv6_nat_rule.json +65 -0
  179. package/schemas/tools/update_ipv6_nd.json +64 -0
  180. package/schemas/tools/update_ipv6_pool.json +28 -0
  181. package/schemas/tools/update_ipv6_raw_rule.json +59 -0
  182. package/schemas/tools/update_ipv6_settings.json +35 -0
  183. package/schemas/tools/update_mac_ping.json +15 -0
  184. package/schemas/tools/update_mac_server.json +15 -0
  185. package/schemas/tools/update_mac_winbox.json +15 -0
  186. package/schemas/tools/update_queue_interface.json +20 -0
  187. package/schemas/tools/update_romon.json +19 -0
  188. package/schemas/tools/update_sms_settings.json +30 -0
  189. package/schemas/tools/update_sniffer_settings.json +39 -0
  190. package/schemas/tools/update_switch.json +34 -0
  191. package/schemas/tools/update_switch_port.json +39 -0
  192. package/schemas/tools/update_switch_port_isolation.json +22 -0
  193. package/schemas/tools/update_switch_rule.json +83 -0
  194. package/schemas/tools/update_traffic_monitor.json +46 -0
  195. package/schemas/tools/upload_backup_to_s3.json +25 -0
  196. package/schemas/tools/wake_on_lan.json +19 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_sms_settings",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_sniffer_settings",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_switch",
4
+ "type": "object",
5
+ "properties": {
6
+ "switch_id": {
7
+ "type": "string",
8
+ "description": "Switch name (e.g. 'switch1') or RouterOS '.id'"
9
+ }
10
+ },
11
+ "required": [
12
+ "switch_id"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_switch_port",
4
+ "type": "object",
5
+ "properties": {
6
+ "port_id": {
7
+ "type": "string",
8
+ "description": "Port name (e.g. 'ether1') or RouterOS '.id'"
9
+ }
10
+ },
11
+ "required": [
12
+ "port_id"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_switch_port_isolation",
4
+ "type": "object",
5
+ "properties": {
6
+ "isolation_id": {
7
+ "type": "string",
8
+ "description": "Source port name (e.g. 'ether1') or RouterOS '.id'"
9
+ }
10
+ },
11
+ "required": [
12
+ "isolation_id"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_switch_rule",
4
+ "type": "object",
5
+ "properties": {
6
+ "rule_id": {
7
+ "type": "string",
8
+ "description": "RouterOS '.id', e.g. '*1' or '0'"
9
+ }
10
+ },
11
+ "required": [
12
+ "rule_id"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_traffic_monitor",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string"
8
+ }
9
+ },
10
+ "required": [
11
+ "name"
12
+ ],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "ip_scan",
4
+ "type": "object",
5
+ "properties": {
6
+ "address_range": {
7
+ "description": "Range/CIDR to scan, e.g. '192.168.1.0/24'",
8
+ "type": "string"
9
+ },
10
+ "interface": {
11
+ "description": "Scan the subnet on this interface, e.g. 'ether1'",
12
+ "type": "string"
13
+ },
14
+ "duration": {
15
+ "default": 5,
16
+ "description": "Scan duration in seconds (bounds the run)",
17
+ "type": "integer",
18
+ "minimum": 1,
19
+ "maximum": 9007199254740991
20
+ }
21
+ },
22
+ "required": [
23
+ "duration"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_bandwidth_server_sessions",
4
+ "type": "object",
5
+ "properties": {
6
+ "user_filter": {
7
+ "description": "Partial user match",
8
+ "type": "string"
9
+ }
10
+ },
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_dot1x_clients",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "status_filter": {
10
+ "description": "Match status, e.g. 'authenticated', 'authenticating'",
11
+ "type": "string"
12
+ },
13
+ "disabled_only": {
14
+ "default": false,
15
+ "type": "boolean"
16
+ }
17
+ },
18
+ "required": [
19
+ "disabled_only"
20
+ ],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_dot1x_servers",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "disabled_only": {
10
+ "default": false,
11
+ "type": "boolean"
12
+ }
13
+ },
14
+ "required": [
15
+ "disabled_only"
16
+ ],
17
+ "additionalProperties": false
18
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_graphing",
4
+ "type": "object",
5
+ "properties": {
6
+ "kind": {
7
+ "type": "string",
8
+ "enum": [
9
+ "interface",
10
+ "queue",
11
+ "resource"
12
+ ],
13
+ "description": "Which graphing table to list"
14
+ }
15
+ },
16
+ "required": [
17
+ "kind"
18
+ ],
19
+ "additionalProperties": false
20
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_address_lists",
4
+ "type": "object",
5
+ "properties": {
6
+ "list_filter": {
7
+ "description": "Partial list-name match",
8
+ "type": "string"
9
+ },
10
+ "address_filter": {
11
+ "description": "Partial address match",
12
+ "type": "string"
13
+ },
14
+ "dynamic_only": {
15
+ "default": false,
16
+ "description": "Only show dynamically-added entries",
17
+ "type": "boolean"
18
+ }
19
+ },
20
+ "required": [
21
+ "dynamic_only"
22
+ ],
23
+ "additionalProperties": false
24
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_addresses",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "address_filter": {
10
+ "type": "string"
11
+ },
12
+ "disabled_only": {
13
+ "default": false,
14
+ "type": "boolean"
15
+ },
16
+ "dynamic_only": {
17
+ "default": false,
18
+ "type": "boolean"
19
+ },
20
+ "link_local_only": {
21
+ "default": false,
22
+ "type": "boolean"
23
+ }
24
+ },
25
+ "required": [
26
+ "disabled_only",
27
+ "dynamic_only",
28
+ "link_local_only"
29
+ ],
30
+ "additionalProperties": false
31
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_dhcp_bindings",
4
+ "type": "object",
5
+ "properties": {
6
+ "server_filter": {
7
+ "type": "string"
8
+ },
9
+ "duid_filter": {
10
+ "type": "string"
11
+ },
12
+ "dynamic_only": {
13
+ "default": false,
14
+ "type": "boolean"
15
+ }
16
+ },
17
+ "required": [
18
+ "dynamic_only"
19
+ ],
20
+ "additionalProperties": false
21
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_dhcp_clients",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "status_filter": {
10
+ "description": "Match status, e.g. 'bound', 'searching', 'stopped'",
11
+ "type": "string"
12
+ },
13
+ "disabled_only": {
14
+ "default": false,
15
+ "type": "boolean"
16
+ },
17
+ "invalid_only": {
18
+ "default": false,
19
+ "type": "boolean"
20
+ }
21
+ },
22
+ "required": [
23
+ "disabled_only",
24
+ "invalid_only"
25
+ ],
26
+ "additionalProperties": false
27
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_dhcp_options",
4
+ "type": "object",
5
+ "properties": {
6
+ "name_filter": {
7
+ "type": "string"
8
+ }
9
+ },
10
+ "additionalProperties": false
11
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_dhcp_relays",
4
+ "type": "object",
5
+ "properties": {
6
+ "name_filter": {
7
+ "type": "string"
8
+ },
9
+ "interface_filter": {
10
+ "type": "string"
11
+ },
12
+ "disabled_only": {
13
+ "default": false,
14
+ "type": "boolean"
15
+ }
16
+ },
17
+ "required": [
18
+ "disabled_only"
19
+ ],
20
+ "additionalProperties": false
21
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_dhcp_servers",
4
+ "type": "object",
5
+ "properties": {
6
+ "name_filter": {
7
+ "type": "string"
8
+ },
9
+ "interface_filter": {
10
+ "type": "string"
11
+ },
12
+ "disabled_only": {
13
+ "default": false,
14
+ "type": "boolean"
15
+ },
16
+ "invalid_only": {
17
+ "default": false,
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "required": [
22
+ "disabled_only",
23
+ "invalid_only"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_filter_rules",
4
+ "type": "object",
5
+ "properties": {
6
+ "chain_filter": {
7
+ "type": "string"
8
+ },
9
+ "action_filter": {
10
+ "type": "string"
11
+ },
12
+ "src_address_filter": {
13
+ "type": "string"
14
+ },
15
+ "dst_address_filter": {
16
+ "type": "string"
17
+ },
18
+ "protocol_filter": {
19
+ "type": "string"
20
+ },
21
+ "interface_filter": {
22
+ "type": "string"
23
+ },
24
+ "disabled_only": {
25
+ "default": false,
26
+ "type": "boolean"
27
+ },
28
+ "invalid_only": {
29
+ "default": false,
30
+ "type": "boolean"
31
+ },
32
+ "dynamic_only": {
33
+ "default": false,
34
+ "type": "boolean"
35
+ }
36
+ },
37
+ "required": [
38
+ "disabled_only",
39
+ "invalid_only",
40
+ "dynamic_only"
41
+ ],
42
+ "additionalProperties": false
43
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_mangle_rules",
4
+ "type": "object",
5
+ "properties": {
6
+ "chain_filter": {
7
+ "type": "string"
8
+ },
9
+ "action_filter": {
10
+ "type": "string"
11
+ },
12
+ "connection_mark_filter": {
13
+ "type": "string"
14
+ },
15
+ "packet_mark_filter": {
16
+ "type": "string"
17
+ },
18
+ "disabled_only": {
19
+ "default": false,
20
+ "type": "boolean"
21
+ },
22
+ "invalid_only": {
23
+ "default": false,
24
+ "type": "boolean"
25
+ },
26
+ "dynamic_only": {
27
+ "default": false,
28
+ "type": "boolean"
29
+ }
30
+ },
31
+ "required": [
32
+ "disabled_only",
33
+ "invalid_only",
34
+ "dynamic_only"
35
+ ],
36
+ "additionalProperties": false
37
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_nat_rules",
4
+ "type": "object",
5
+ "properties": {
6
+ "chain_filter": {
7
+ "type": "string"
8
+ },
9
+ "action_filter": {
10
+ "type": "string"
11
+ },
12
+ "src_address_filter": {
13
+ "type": "string"
14
+ },
15
+ "dst_address_filter": {
16
+ "type": "string"
17
+ },
18
+ "disabled_only": {
19
+ "default": false,
20
+ "type": "boolean"
21
+ },
22
+ "invalid_only": {
23
+ "default": false,
24
+ "type": "boolean"
25
+ },
26
+ "dynamic_only": {
27
+ "default": false,
28
+ "type": "boolean"
29
+ }
30
+ },
31
+ "required": [
32
+ "disabled_only",
33
+ "invalid_only",
34
+ "dynamic_only"
35
+ ],
36
+ "additionalProperties": false
37
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_nd",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "disabled_only": {
10
+ "default": false,
11
+ "type": "boolean"
12
+ }
13
+ },
14
+ "required": [
15
+ "disabled_only"
16
+ ],
17
+ "additionalProperties": false
18
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_nd_prefixes",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "prefix_filter": {
10
+ "type": "string"
11
+ },
12
+ "dynamic_only": {
13
+ "default": false,
14
+ "type": "boolean"
15
+ }
16
+ },
17
+ "required": [
18
+ "dynamic_only"
19
+ ],
20
+ "additionalProperties": false
21
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_neighbors",
4
+ "type": "object",
5
+ "properties": {
6
+ "interface_filter": {
7
+ "type": "string"
8
+ },
9
+ "address_filter": {
10
+ "type": "string"
11
+ },
12
+ "mac_filter": {
13
+ "type": "string"
14
+ },
15
+ "status_filter": {
16
+ "description": "Match status, e.g. 'reachable', 'stale', 'delay', 'probe'",
17
+ "type": "string"
18
+ },
19
+ "router_only": {
20
+ "default": false,
21
+ "description": "Only entries flagged as routers",
22
+ "type": "boolean"
23
+ }
24
+ },
25
+ "required": [
26
+ "router_only"
27
+ ],
28
+ "additionalProperties": false
29
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_pool_used",
4
+ "type": "object",
5
+ "properties": {
6
+ "pool_filter": {
7
+ "description": "Partial pool-name match",
8
+ "type": "string"
9
+ }
10
+ },
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_pools",
4
+ "type": "object",
5
+ "properties": {
6
+ "name_filter": {
7
+ "type": "string"
8
+ },
9
+ "prefix_filter": {
10
+ "type": "string"
11
+ }
12
+ },
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_raw_rules",
4
+ "type": "object",
5
+ "properties": {
6
+ "chain_filter": {
7
+ "type": "string"
8
+ },
9
+ "action_filter": {
10
+ "type": "string"
11
+ },
12
+ "src_address_filter": {
13
+ "type": "string"
14
+ },
15
+ "dst_address_filter": {
16
+ "type": "string"
17
+ },
18
+ "disabled_only": {
19
+ "default": false,
20
+ "type": "boolean"
21
+ },
22
+ "invalid_only": {
23
+ "default": false,
24
+ "type": "boolean"
25
+ },
26
+ "dynamic_only": {
27
+ "default": false,
28
+ "type": "boolean"
29
+ }
30
+ },
31
+ "required": [
32
+ "disabled_only",
33
+ "invalid_only",
34
+ "dynamic_only"
35
+ ],
36
+ "additionalProperties": false
37
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_ipv6_routes",
4
+ "type": "object",
5
+ "properties": {
6
+ "dst_filter": {
7
+ "type": "string"
8
+ },
9
+ "gateway_filter": {
10
+ "type": "string"
11
+ },
12
+ "routing_table_filter": {
13
+ "type": "string"
14
+ },
15
+ "active_only": {
16
+ "default": false,
17
+ "type": "boolean"
18
+ },
19
+ "disabled_only": {
20
+ "default": false,
21
+ "type": "boolean"
22
+ },
23
+ "dynamic_only": {
24
+ "default": false,
25
+ "type": "boolean"
26
+ }
27
+ },
28
+ "required": [
29
+ "active_only",
30
+ "disabled_only",
31
+ "dynamic_only"
32
+ ],
33
+ "additionalProperties": false
34
+ }