@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.
- package/README.md +23 -8
- package/dist/cli.js +8545 -2321
- package/dist/index.d.ts +42 -2
- package/dist/index.js +7787 -2232
- package/dist/ui/dashboard.html +19 -0
- package/dist/ui/firewall.html +20 -0
- package/dist/ui/interfaces.html +20 -0
- package/dist/ui/observability.html +27 -0
- package/dist/ui/records.html +20 -0
- package/package.json +63 -50
- package/schemas/README.md +1 -1
- package/schemas/config.schema.json +112 -21
- package/schemas/tool-catalog.json +11783 -5555
- package/schemas/tools/add_dot1x_client.json +42 -0
- package/schemas/tools/add_dot1x_server.json +60 -0
- package/schemas/tools/add_graphing_interface.json +23 -0
- package/schemas/tools/add_graphing_queue.json +22 -0
- package/schemas/tools/add_graphing_resource.json +14 -0
- package/schemas/tools/add_ipv6_address.json +43 -0
- package/schemas/tools/add_ipv6_address_list_entry.json +32 -0
- package/schemas/tools/add_ipv6_default_route.json +34 -0
- package/schemas/tools/add_ipv6_dhcp_binding.json +42 -0
- package/schemas/tools/add_ipv6_dhcp_client.json +69 -0
- package/schemas/tools/add_ipv6_dhcp_option.json +29 -0
- package/schemas/tools/add_ipv6_dhcp_relay.json +35 -0
- package/schemas/tools/add_ipv6_nd.json +68 -0
- package/schemas/tools/add_ipv6_nd_prefix.json +35 -0
- package/schemas/tools/add_ipv6_route.json +64 -0
- package/schemas/tools/add_romon_port.json +34 -0
- package/schemas/tools/add_switch_port_isolation.json +23 -0
- package/schemas/tools/add_switch_rule.json +96 -0
- package/schemas/tools/add_traffic_generator_port.json +23 -0
- package/schemas/tools/add_traffic_generator_stream.json +39 -0
- package/schemas/tools/add_traffic_monitor.json +54 -0
- package/schemas/tools/create_ipv6_dhcp_server.json +60 -0
- package/schemas/tools/create_ipv6_filter_rule.json +103 -0
- package/schemas/tools/create_ipv6_mangle_rule.json +110 -0
- package/schemas/tools/create_ipv6_nat_rule.json +88 -0
- package/schemas/tools/create_ipv6_pool.json +29 -0
- package/schemas/tools/create_ipv6_raw_rule.json +78 -0
- package/schemas/tools/delete_s3_backup.json +15 -0
- package/schemas/tools/disable_ipv6_address_list_entry.json +15 -0
- package/schemas/tools/disable_ipv6_dhcp_relay.json +14 -0
- package/schemas/tools/disable_ipv6_filter_rule.json +14 -0
- package/schemas/tools/disable_ipv6_mangle_rule.json +14 -0
- package/schemas/tools/disable_ipv6_nat_rule.json +14 -0
- package/schemas/tools/disable_ipv6_raw_rule.json +14 -0
- package/schemas/tools/disable_ipv6_route.json +14 -0
- package/schemas/tools/disable_switch_rule.json +14 -0
- package/schemas/tools/disable_traffic_monitor.json +14 -0
- package/schemas/tools/download_backup_from_s3.json +25 -0
- package/schemas/tools/enable_ipv6_address_list_entry.json +15 -0
- package/schemas/tools/enable_ipv6_dhcp_relay.json +14 -0
- package/schemas/tools/enable_ipv6_filter_rule.json +14 -0
- package/schemas/tools/enable_ipv6_mangle_rule.json +14 -0
- package/schemas/tools/enable_ipv6_nat_rule.json +14 -0
- package/schemas/tools/enable_ipv6_raw_rule.json +14 -0
- package/schemas/tools/enable_ipv6_route.json +14 -0
- package/schemas/tools/enable_switch_rule.json +14 -0
- package/schemas/tools/enable_traffic_monitor.json +14 -0
- package/schemas/tools/flood_ping.json +37 -0
- package/schemas/tools/get_bandwidth_server.json +7 -0
- package/schemas/tools/get_dot1x_client.json +15 -0
- package/schemas/tools/get_dot1x_server.json +15 -0
- package/schemas/tools/get_ipv6_address.json +15 -0
- package/schemas/tools/get_ipv6_address_list_entry.json +15 -0
- package/schemas/tools/get_ipv6_dhcp_client.json +15 -0
- package/schemas/tools/get_ipv6_dhcp_relay.json +14 -0
- package/schemas/tools/get_ipv6_dhcp_server.json +14 -0
- package/schemas/tools/get_ipv6_filter_rule.json +15 -0
- package/schemas/tools/get_ipv6_mangle_rule.json +15 -0
- package/schemas/tools/get_ipv6_nat_rule.json +15 -0
- package/schemas/tools/get_ipv6_nd.json +15 -0
- package/schemas/tools/get_ipv6_neighbor.json +15 -0
- package/schemas/tools/get_ipv6_pool.json +14 -0
- package/schemas/tools/get_ipv6_raw_rule.json +15 -0
- package/schemas/tools/get_ipv6_route.json +15 -0
- package/schemas/tools/get_ipv6_settings.json +7 -0
- package/schemas/tools/get_mac_ping.json +7 -0
- package/schemas/tools/get_mac_server.json +7 -0
- package/schemas/tools/get_mac_winbox.json +7 -0
- package/schemas/tools/get_queue_interface.json +15 -0
- package/schemas/tools/get_romon.json +7 -0
- package/schemas/tools/get_sms_settings.json +7 -0
- package/schemas/tools/get_sniffer_settings.json +7 -0
- package/schemas/tools/get_switch.json +15 -0
- package/schemas/tools/get_switch_port.json +15 -0
- package/schemas/tools/get_switch_port_isolation.json +15 -0
- package/schemas/tools/get_switch_rule.json +15 -0
- package/schemas/tools/get_traffic_monitor.json +14 -0
- package/schemas/tools/ip_scan.json +26 -0
- package/schemas/tools/list_bandwidth_server_sessions.json +12 -0
- package/schemas/tools/list_dot1x_clients.json +22 -0
- package/schemas/tools/list_dot1x_servers.json +18 -0
- package/schemas/tools/list_graphing.json +20 -0
- package/schemas/tools/list_ipv6_address_lists.json +24 -0
- package/schemas/tools/list_ipv6_addresses.json +31 -0
- package/schemas/tools/list_ipv6_dhcp_bindings.json +21 -0
- package/schemas/tools/list_ipv6_dhcp_clients.json +27 -0
- package/schemas/tools/list_ipv6_dhcp_options.json +11 -0
- package/schemas/tools/list_ipv6_dhcp_relays.json +21 -0
- package/schemas/tools/list_ipv6_dhcp_servers.json +26 -0
- package/schemas/tools/list_ipv6_filter_rules.json +43 -0
- package/schemas/tools/list_ipv6_mangle_rules.json +37 -0
- package/schemas/tools/list_ipv6_nat_rules.json +37 -0
- package/schemas/tools/list_ipv6_nd.json +18 -0
- package/schemas/tools/list_ipv6_nd_prefixes.json +21 -0
- package/schemas/tools/list_ipv6_neighbors.json +29 -0
- package/schemas/tools/list_ipv6_pool_used.json +12 -0
- package/schemas/tools/list_ipv6_pools.json +14 -0
- package/schemas/tools/list_ipv6_raw_rules.json +37 -0
- package/schemas/tools/list_ipv6_routes.json +34 -0
- package/schemas/tools/list_mac_server_sessions.json +11 -0
- package/schemas/tools/list_queue_interfaces.json +16 -0
- package/schemas/tools/list_romon_ports.json +11 -0
- package/schemas/tools/list_s3_backups.json +22 -0
- package/schemas/tools/list_sms_inbox.json +12 -0
- package/schemas/tools/list_sniffer_connections.json +7 -0
- package/schemas/tools/list_sniffer_hosts.json +11 -0
- package/schemas/tools/list_sniffer_packets.json +15 -0
- package/schemas/tools/list_sniffer_protocols.json +7 -0
- package/schemas/tools/list_switch_port_isolation.json +12 -0
- package/schemas/tools/list_switch_ports.json +16 -0
- package/schemas/tools/list_switch_rules.json +21 -0
- package/schemas/tools/list_switches.json +16 -0
- package/schemas/tools/list_traffic_generator_ports.json +11 -0
- package/schemas/tools/list_traffic_generator_streams.json +14 -0
- package/schemas/tools/list_traffic_monitors.json +21 -0
- package/schemas/tools/move_ipv6_filter_rule.json +21 -0
- package/schemas/tools/move_ipv6_mangle_rule.json +21 -0
- package/schemas/tools/move_ipv6_nat_rule.json +21 -0
- package/schemas/tools/move_ipv6_raw_rule.json +21 -0
- package/schemas/tools/profile_cpu.json +22 -0
- package/schemas/tools/release_ipv6_dhcp_client.json +14 -0
- package/schemas/tools/remove_dot1x_client.json +15 -0
- package/schemas/tools/remove_dot1x_server.json +15 -0
- package/schemas/tools/remove_graphing.json +24 -0
- package/schemas/tools/remove_ipv6_address.json +14 -0
- package/schemas/tools/remove_ipv6_address_list_entry.json +15 -0
- package/schemas/tools/remove_ipv6_dhcp_binding.json +15 -0
- package/schemas/tools/remove_ipv6_dhcp_client.json +14 -0
- package/schemas/tools/remove_ipv6_dhcp_option.json +14 -0
- package/schemas/tools/remove_ipv6_dhcp_relay.json +14 -0
- package/schemas/tools/remove_ipv6_dhcp_server.json +14 -0
- package/schemas/tools/remove_ipv6_filter_rule.json +14 -0
- package/schemas/tools/remove_ipv6_mangle_rule.json +14 -0
- package/schemas/tools/remove_ipv6_nat_rule.json +14 -0
- package/schemas/tools/remove_ipv6_nd.json +15 -0
- package/schemas/tools/remove_ipv6_nd_prefix.json +15 -0
- package/schemas/tools/remove_ipv6_neighbor.json +15 -0
- package/schemas/tools/remove_ipv6_pool.json +14 -0
- package/schemas/tools/remove_ipv6_raw_rule.json +14 -0
- package/schemas/tools/remove_ipv6_route.json +15 -0
- package/schemas/tools/remove_romon_port.json +15 -0
- package/schemas/tools/remove_switch_port_isolation.json +15 -0
- package/schemas/tools/remove_switch_rule.json +14 -0
- package/schemas/tools/remove_traffic_generator_port.json +15 -0
- package/schemas/tools/remove_traffic_generator_stream.json +15 -0
- package/schemas/tools/remove_traffic_monitor.json +14 -0
- package/schemas/tools/renew_ipv6_dhcp_client.json +14 -0
- package/schemas/tools/s3_backup_info.json +15 -0
- package/schemas/tools/s3_backup_status.json +7 -0
- package/schemas/tools/save_sniffer.json +15 -0
- package/schemas/tools/send_sms.json +34 -0
- package/schemas/tools/show_firewall_filter.json +7 -0
- package/schemas/tools/show_interfaces.json +7 -0
- package/schemas/tools/show_system_dashboard.json +7 -0
- package/schemas/tools/speed_test.json +47 -0
- package/schemas/tools/start_sniffer.json +7 -0
- package/schemas/tools/start_traffic_generator.json +14 -0
- package/schemas/tools/stop_sniffer.json +7 -0
- package/schemas/tools/stop_traffic_generator.json +7 -0
- package/schemas/tools/update_bandwidth_server.json +24 -0
- package/schemas/tools/update_dot1x_client.json +36 -0
- package/schemas/tools/update_dot1x_server.json +54 -0
- package/schemas/tools/update_ipv6_filter_rule.json +77 -0
- package/schemas/tools/update_ipv6_mangle_rule.json +80 -0
- package/schemas/tools/update_ipv6_nat_rule.json +65 -0
- package/schemas/tools/update_ipv6_nd.json +64 -0
- package/schemas/tools/update_ipv6_pool.json +28 -0
- package/schemas/tools/update_ipv6_raw_rule.json +59 -0
- package/schemas/tools/update_ipv6_settings.json +35 -0
- package/schemas/tools/update_mac_ping.json +15 -0
- package/schemas/tools/update_mac_server.json +15 -0
- package/schemas/tools/update_mac_winbox.json +15 -0
- package/schemas/tools/update_queue_interface.json +20 -0
- package/schemas/tools/update_romon.json +19 -0
- package/schemas/tools/update_sms_settings.json +30 -0
- package/schemas/tools/update_sniffer_settings.json +39 -0
- package/schemas/tools/update_switch.json +34 -0
- package/schemas/tools/update_switch_port.json +39 -0
- package/schemas/tools/update_switch_port_isolation.json +22 -0
- package/schemas/tools/update_switch_rule.json +83 -0
- package/schemas/tools/update_traffic_monitor.json +46 -0
- package/schemas/tools/upload_backup_to_s3.json +25 -0
- package/schemas/tools/wake_on_lan.json +19 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_queue_interfaces",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"interface_filter": {
|
|
7
|
+
"description": "Partial interface-name match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"queue_filter": {
|
|
11
|
+
"description": "Partial queue-type-name match",
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_s3_backups",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"prefix": {
|
|
7
|
+
"description": "Key prefix to list under (defaults to this device's '<prefix>/<device>/')",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"max_keys": {
|
|
11
|
+
"default": 100,
|
|
12
|
+
"description": "Maximum number of objects to return (1-1000)",
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1,
|
|
15
|
+
"maximum": 1000
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"max_keys"
|
|
20
|
+
],
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_sms_inbox",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"phone_filter": {
|
|
7
|
+
"description": "Partial sender match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_sniffer_packets",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"address_filter": {
|
|
7
|
+
"description": "Partial src/dst address match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"protocol_filter": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_switch_port_isolation",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"port_filter": {
|
|
7
|
+
"description": "Partial source-port match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_switch_ports",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"name_filter": {
|
|
7
|
+
"description": "Partial port-name match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"switch_filter": {
|
|
11
|
+
"description": "Filter by owning switch, e.g. 'switch1'",
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_switch_rules",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"switch_filter": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"ports_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,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_switches",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"name_filter": {
|
|
7
|
+
"description": "Partial switch-name match",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"type_filter": {
|
|
11
|
+
"description": "Partial switch-type match",
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_traffic_generator_streams",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"name_filter": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"port_filter": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "list_traffic_monitors",
|
|
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,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "move_ipv6_filter_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"destination": {
|
|
10
|
+
"type": "integer",
|
|
11
|
+
"minimum": -9007199254740991,
|
|
12
|
+
"maximum": 9007199254740991,
|
|
13
|
+
"description": "0-based target position index"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"rule_id",
|
|
18
|
+
"destination"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "move_ipv6_mangle_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"destination": {
|
|
10
|
+
"type": "integer",
|
|
11
|
+
"minimum": -9007199254740991,
|
|
12
|
+
"maximum": 9007199254740991,
|
|
13
|
+
"description": "0-based target position index"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"rule_id",
|
|
18
|
+
"destination"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "move_ipv6_nat_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"destination": {
|
|
10
|
+
"type": "integer",
|
|
11
|
+
"minimum": -9007199254740991,
|
|
12
|
+
"maximum": 9007199254740991,
|
|
13
|
+
"description": "0-based target position index"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"rule_id",
|
|
18
|
+
"destination"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "move_ipv6_raw_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"destination": {
|
|
10
|
+
"type": "integer",
|
|
11
|
+
"minimum": -9007199254740991,
|
|
12
|
+
"maximum": 9007199254740991,
|
|
13
|
+
"description": "0-based target position index"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"rule_id",
|
|
18
|
+
"destination"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "profile_cpu",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"duration": {
|
|
7
|
+
"default": 5,
|
|
8
|
+
"description": "Sampling duration in seconds (bounds the run)",
|
|
9
|
+
"type": "integer",
|
|
10
|
+
"minimum": 1,
|
|
11
|
+
"maximum": 9007199254740991
|
|
12
|
+
},
|
|
13
|
+
"cpu": {
|
|
14
|
+
"description": "Limit to a specific CPU core (e.g. '0'), or 'all'",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"duration"
|
|
20
|
+
],
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "release_ipv6_dhcp_client",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"client_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": [
|
|
11
|
+
"client_id"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_dot1x_client",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"client_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Interface name or RouterOS '.id'"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"client_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_dot1x_server",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"server_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Interface name or RouterOS '.id'"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"server_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_graphing",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"kind": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"interface",
|
|
10
|
+
"queue",
|
|
11
|
+
"resource"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"entry_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "RouterOS '.id', e.g. '*1'"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"kind",
|
|
21
|
+
"entry_id"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_address",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"address_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": [
|
|
11
|
+
"address_id"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_address_list_entry",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"entry_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Internal entry id, e.g. '*1'"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"entry_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_dhcp_binding",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"binding_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "RouterOS .id (e.g. '*1') or the DUID"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"binding_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_dhcp_client",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"client_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": [
|
|
11
|
+
"client_id"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_filter_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": [
|
|
11
|
+
"rule_id"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_mangle_rule",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rule_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": [
|
|
11
|
+
"rule_id"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_nd",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"nd_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Interface name or '.id'"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"nd_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_nd_prefix",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"prefix_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "RouterOS .id (e.g. '*1') or the prefix"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"prefix_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "remove_ipv6_neighbor",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"neighbor_id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "RouterOS .id (e.g. '*1') or the IPv6 address"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"neighbor_id"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|