@usex/mikrotik-mcp 5.19.0 → 5.20.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 +172 -8
- package/dist/cli.js +2751 -679
- package/dist/index.js +148 -27
- package/dist/shared/{library-7wcv2ckk.js → library-73y8qdjr.js} +2231 -540
- package/dist/shared/{library-tqrvrykj.js → library-76naf20r.js} +1 -1
- package/dist/shared/{library-ppnv0f07.js → library-81amv3az.js} +1 -1
- package/dist/shared/{library-z7qsdq88.js → library-krajvnj9.js} +1 -1
- package/dist/shared/{library-f3be6g03.js → library-y9tt30y1.js} +1 -1
- package/dist/ui/aaa.html +8 -8
- package/dist/ui/connected-devices.html +8 -8
- package/dist/ui/dashboard.html +16 -16
- package/dist/ui/fabric.html +11 -11
- package/dist/ui/firewall-audit.html +8 -8
- package/dist/ui/firewall.html +9 -9
- package/dist/ui/interfaces.html +8 -8
- package/dist/ui/investigations.html +11 -11
- package/dist/ui/observability.html +63 -61
- package/dist/ui/operations.html +11 -11
- package/dist/ui/records.html +12 -12
- package/dist/ui/reports.html +11 -11
- package/dist/ui/round-trip.html +11 -11
- package/dist/ui/service-health.html +11 -11
- package/package.json +22 -22
- package/prompts/audit-routeros-containers.md +27 -0
- package/prompts/audit-vlan-segmentation.md +31 -0
- package/prompts/setup-guest-wifi.md +23 -24
- package/prompts/setup-routeros-container.md +36 -0
- package/prompts/setup-v2ray-container-proxy.md +68 -194
- package/prompts/setup-vlan-network.md +27 -33
- package/schemas/README.md +1 -1
- package/schemas/devtools-manifest.json +287 -16
- package/schemas/tool-catalog.json +785 -109
- package/schemas/tools/add_container.json +42 -30
- package/schemas/tools/add_container_env.json +3 -4
- package/schemas/tools/add_container_mount.json +10 -4
- package/schemas/tools/apply_service_routing.json +23 -0
- package/schemas/tools/arm_service_routing.json +23 -0
- package/schemas/tools/configure_flight_recorder.json +30 -0
- package/schemas/tools/create_service_routing.json +78 -0
- package/schemas/tools/design_network_segment.json +22 -6
- package/schemas/tools/destroy_recovery_lab.json +18 -0
- package/schemas/tools/export_network_incident.json +14 -0
- package/schemas/tools/freeze_network_incident.json +14 -0
- package/schemas/tools/get_container.json +11 -4
- package/schemas/tools/get_flight_recorder.json +7 -0
- package/schemas/tools/get_recovery_lab.json +7 -0
- package/schemas/tools/get_routeros_container_guide.json +22 -0
- package/schemas/tools/get_vlan_segmentation_guide.json +14 -0
- package/schemas/tools/list_container_envs.json +1 -1
- package/schemas/tools/list_container_mounts.json +7 -2
- package/schemas/tools/list_containers.json +2 -4
- package/schemas/tools/list_service_routing.json +7 -0
- package/schemas/tools/poll_recovery_lab.json +14 -0
- package/schemas/tools/prepare_recovery_lab.json +23 -0
- package/schemas/tools/preview_service_routing.json +23 -0
- package/schemas/tools/probe_service_routing.json +14 -0
- package/schemas/tools/recovery_lab_inventory.json +7 -0
- package/schemas/tools/remove_container.json +11 -4
- package/schemas/tools/remove_container_env.json +7 -3
- package/schemas/tools/remove_container_mount.json +18 -2
- package/schemas/tools/service_routing_inventory.json +7 -0
- package/schemas/tools/set_container_config.json +4 -6
- package/schemas/tools/start_container.json +11 -4
- package/schemas/tools/start_recovery_lab.json +18 -0
- package/schemas/tools/stop_container.json +11 -4
- package/schemas/tools/update_container.json +46 -6
- /package/dist/shared/{cli-j07tbrke.js → cli-426pkqe9.js} +0 -0
- /package/dist/shared/{cli-y00nwzxx.js → cli-6wdstvdq.js} +0 -0
- /package/dist/shared/{cli-s0rxncz4.js → cli-cvt06346.js} +0 -0
- /package/dist/shared/{cli-gtq5bw8q.js → cli-z1kavk0z.js} +0 -0
|
@@ -3,91 +3,103 @@
|
|
|
3
3
|
"title": "add_container",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"description": "Container name (recommended for management)",
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"remote_image": {
|
|
11
|
-
"description": "Registry image, e.g. 'library/alpine:latest'",
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
"file": {
|
|
15
|
-
"description": "Local Docker-v1 tar on the device (alternative to remote_image)",
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
6
|
"interface": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"description": "Previously configured VETH"
|
|
21
10
|
},
|
|
22
11
|
"root_dir": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"description": "Dedicated root path on verified storage"
|
|
25
15
|
},
|
|
26
16
|
"env": {
|
|
27
|
-
"description": "
|
|
17
|
+
"description": "Sensitive inline environment; verify support on the target",
|
|
28
18
|
"type": "string"
|
|
29
19
|
},
|
|
30
20
|
"envlists": {
|
|
31
|
-
"description": "
|
|
21
|
+
"description": "Current CLI named environment lists",
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"envlist": {
|
|
25
|
+
"description": "Legacy singular envlist; exclusive with envlists",
|
|
32
26
|
"type": "string"
|
|
33
27
|
},
|
|
34
28
|
"mount": {
|
|
35
|
-
"description": "Inline mount
|
|
29
|
+
"description": "Inline mount expression supported by the target; not Docker syntax",
|
|
36
30
|
"type": "string"
|
|
37
31
|
},
|
|
38
32
|
"mountlists": {
|
|
39
|
-
"description": "
|
|
33
|
+
"description": "Current CLI named mount lists",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"mounts": {
|
|
37
|
+
"description": "Legacy mounts reference; exclusive with mountlists",
|
|
40
38
|
"type": "string"
|
|
41
39
|
},
|
|
42
40
|
"cmd": {
|
|
43
|
-
"description": "
|
|
41
|
+
"description": "Command override; may contain secrets",
|
|
44
42
|
"type": "string"
|
|
45
43
|
},
|
|
46
44
|
"entrypoint": {
|
|
47
|
-
"description": "
|
|
45
|
+
"description": "Entrypoint override; may contain secrets",
|
|
48
46
|
"type": "string"
|
|
49
47
|
},
|
|
50
48
|
"workdir": {
|
|
51
|
-
"description": "Override working directory",
|
|
52
49
|
"type": "string"
|
|
53
50
|
},
|
|
54
51
|
"hostname": {
|
|
55
52
|
"type": "string"
|
|
56
53
|
},
|
|
57
54
|
"dns": {
|
|
58
|
-
"description": "DNS server for the container",
|
|
59
55
|
"type": "string"
|
|
60
56
|
},
|
|
61
57
|
"user": {
|
|
62
58
|
"type": "string"
|
|
63
59
|
},
|
|
64
60
|
"stop_signal": {
|
|
65
|
-
"description": "Signal used to stop the container",
|
|
66
61
|
"type": "string"
|
|
67
62
|
},
|
|
68
63
|
"devices": {
|
|
69
|
-
"description": "
|
|
64
|
+
"description": "Device passthrough; extra privilege requires explicit review",
|
|
70
65
|
"type": "string"
|
|
71
66
|
},
|
|
72
67
|
"cpu_list": {
|
|
73
|
-
"description": "CPU core affinity",
|
|
74
68
|
"type": "string"
|
|
75
69
|
},
|
|
76
70
|
"memory_high": {
|
|
77
|
-
"description": "
|
|
71
|
+
"description": "Soft memory pressure threshold, not a hard cap",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"memory_max": {
|
|
75
|
+
"description": "Hard memory limit only where supported; can terminate processes",
|
|
78
76
|
"type": "string"
|
|
79
77
|
},
|
|
80
78
|
"logging": {
|
|
81
|
-
"description": "Send stdout/stderr to the RouterOS log",
|
|
82
79
|
"type": "boolean"
|
|
83
80
|
},
|
|
84
81
|
"start_on_boot": {
|
|
85
|
-
"description": "Auto-start on device boot",
|
|
86
82
|
"type": "boolean"
|
|
87
83
|
},
|
|
88
84
|
"comment": {
|
|
89
85
|
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"name": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"minLength": 1,
|
|
90
|
+
"description": "Unique name for read-back and ambiguous-write recovery"
|
|
91
|
+
},
|
|
92
|
+
"remote_image": {
|
|
93
|
+
"description": "Reviewed architecture-compatible image with pinned version/digest",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1
|
|
96
|
+
},
|
|
97
|
+
"file": {
|
|
98
|
+
"description": "Uploaded Docker/Podman saved image archive supported by the target",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"minLength": 1
|
|
90
101
|
}
|
|
91
102
|
},
|
|
103
|
+
"required": ["interface", "root_dir", "name"],
|
|
92
104
|
"additionalProperties": false
|
|
93
105
|
}
|
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
"properties": {
|
|
6
6
|
"list": {
|
|
7
7
|
"type": "string",
|
|
8
|
-
"
|
|
8
|
+
"minLength": 1
|
|
9
9
|
},
|
|
10
10
|
"key": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"
|
|
12
|
+
"minLength": 1
|
|
13
13
|
},
|
|
14
14
|
"value": {
|
|
15
|
-
"type": "string"
|
|
16
|
-
"description": "Variable value"
|
|
15
|
+
"type": "string"
|
|
17
16
|
}
|
|
18
17
|
},
|
|
19
18
|
"required": ["list", "key", "value"],
|
|
@@ -3,19 +3,25 @@
|
|
|
3
3
|
"title": "add_container_mount",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
|
+
"list": {
|
|
7
|
+
"description": "Current CLI mount-list name",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1
|
|
10
|
+
},
|
|
6
11
|
"name": {
|
|
12
|
+
"description": "Legacy CLI mount name; do not use for current list syntax",
|
|
7
13
|
"type": "string",
|
|
8
|
-
"
|
|
14
|
+
"minLength": 1
|
|
9
15
|
},
|
|
10
16
|
"src": {
|
|
11
17
|
"type": "string",
|
|
12
|
-
"
|
|
18
|
+
"minLength": 1
|
|
13
19
|
},
|
|
14
20
|
"dst": {
|
|
15
21
|
"type": "string",
|
|
16
|
-
"
|
|
22
|
+
"minLength": 1
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
|
-
"required": ["
|
|
25
|
+
"required": ["src", "dst"],
|
|
20
26
|
"additionalProperties": false
|
|
21
27
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "apply_service_routing",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"format": "uuid",
|
|
9
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
10
|
+
},
|
|
11
|
+
"planId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"format": "uuid",
|
|
14
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
15
|
+
},
|
|
16
|
+
"confirm": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["id", "planId", "confirm"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "arm_service_routing",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"format": "uuid",
|
|
9
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
10
|
+
},
|
|
11
|
+
"minutes": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0,
|
|
14
|
+
"maximum": 60
|
|
15
|
+
},
|
|
16
|
+
"confirm": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["id", "minutes", "confirm"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "configure_flight_recorder",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"enabled": {
|
|
7
|
+
"type": "boolean"
|
|
8
|
+
},
|
|
9
|
+
"intervalSeconds": {
|
|
10
|
+
"default": 60,
|
|
11
|
+
"type": "integer",
|
|
12
|
+
"minimum": 30,
|
|
13
|
+
"maximum": 300
|
|
14
|
+
},
|
|
15
|
+
"windowMinutes": {
|
|
16
|
+
"default": 60,
|
|
17
|
+
"type": "integer",
|
|
18
|
+
"minimum": 15,
|
|
19
|
+
"maximum": 360
|
|
20
|
+
},
|
|
21
|
+
"retentionDays": {
|
|
22
|
+
"default": 7,
|
|
23
|
+
"type": "integer",
|
|
24
|
+
"minimum": 1,
|
|
25
|
+
"maximum": 30
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": ["enabled", "intervalSeconds", "windowMinutes", "retentionDays"],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "create_service_routing",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"name": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 80
|
|
10
|
+
},
|
|
11
|
+
"target": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 64,
|
|
15
|
+
"pattern": "^[a-zA-Z0-9_.-]+$",
|
|
16
|
+
"description": "Approved HTTPS alias in serviceProbes.targets; its exact hostname is routed"
|
|
17
|
+
},
|
|
18
|
+
"family": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": ["ipv4", "ipv6"]
|
|
21
|
+
},
|
|
22
|
+
"sources": {
|
|
23
|
+
"minItems": 1,
|
|
24
|
+
"maxItems": 8,
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"tables": {
|
|
31
|
+
"minItems": 1,
|
|
32
|
+
"maxItems": 3,
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"maxLength": 64,
|
|
38
|
+
"pattern": "^[a-zA-Z0-9_.-]+$"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"primary": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1,
|
|
44
|
+
"maxLength": 64,
|
|
45
|
+
"pattern": "^[a-zA-Z0-9_.-]+$"
|
|
46
|
+
},
|
|
47
|
+
"maxLatencyMs": {
|
|
48
|
+
"default": 5000,
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 100,
|
|
51
|
+
"maximum": 15000
|
|
52
|
+
},
|
|
53
|
+
"failuresBeforeSwitch": {
|
|
54
|
+
"default": 3,
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"minimum": 2,
|
|
57
|
+
"maximum": 10
|
|
58
|
+
},
|
|
59
|
+
"cooldownSeconds": {
|
|
60
|
+
"default": 300,
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"minimum": 120,
|
|
63
|
+
"maximum": 3600
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"name",
|
|
68
|
+
"target",
|
|
69
|
+
"family",
|
|
70
|
+
"sources",
|
|
71
|
+
"tables",
|
|
72
|
+
"primary",
|
|
73
|
+
"maxLatencyMs",
|
|
74
|
+
"failuresBeforeSwitch",
|
|
75
|
+
"cooldownSeconds"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
}
|
|
@@ -15,11 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"subnet": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"
|
|
18
|
+
"format": "cidrv4",
|
|
19
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$",
|
|
20
|
+
"description": "Canonical IPv4 network CIDR, e.g. '192.168.30.0/24'"
|
|
19
21
|
},
|
|
20
22
|
"gateway": {
|
|
21
23
|
"type": "string",
|
|
22
|
-
"
|
|
24
|
+
"format": "ipv4",
|
|
25
|
+
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
|
|
26
|
+
"description": "Usable router address inside the subnet, excluded from the DHCP pool"
|
|
23
27
|
},
|
|
24
28
|
"bridge": {
|
|
25
29
|
"default": "bridge",
|
|
@@ -27,7 +31,7 @@
|
|
|
27
31
|
"type": "string"
|
|
28
32
|
},
|
|
29
33
|
"tagged_ports": {
|
|
30
|
-
"description": "Comma-separated
|
|
34
|
+
"description": "Comma-separated verified tagged ports; the bridge/CPU is included once automatically",
|
|
31
35
|
"type": "string"
|
|
32
36
|
},
|
|
33
37
|
"untagged_ports": {
|
|
@@ -40,21 +44,33 @@
|
|
|
40
44
|
"type": "boolean"
|
|
41
45
|
},
|
|
42
46
|
"dhcp_range": {
|
|
43
|
-
"description": "
|
|
47
|
+
"description": "Single start-end IPv4 range excluding gateway/network/broadcast. Required outside /24; /24 defaults to .10–.254",
|
|
44
48
|
"type": "string"
|
|
45
49
|
},
|
|
46
50
|
"internet": {
|
|
47
51
|
"default": true,
|
|
48
|
-
"description": "
|
|
52
|
+
"description": "Add egress-scoped IPv4 masquerade (requires wan_interface); not a firewall allow. Set false to reuse existing NAT",
|
|
49
53
|
"type": "boolean"
|
|
50
54
|
},
|
|
55
|
+
"wan_interface": {
|
|
56
|
+
"description": "Verified egress interface for new masquerade. Required when internet=true; never inferred",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1
|
|
59
|
+
},
|
|
51
60
|
"isolate_from": {
|
|
52
61
|
"description": "Subnets this segment must NOT reach, e.g. ['192.168.1.0/24']",
|
|
53
62
|
"type": "array",
|
|
54
63
|
"items": {
|
|
55
|
-
"type": "string"
|
|
64
|
+
"type": "string",
|
|
65
|
+
"format": "cidrv4",
|
|
66
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"
|
|
56
67
|
}
|
|
57
68
|
},
|
|
69
|
+
"isolation_before": {
|
|
70
|
+
"description": "Current enabled forward rule .id from a fresh read; insert drops before this reviewed rule, not after broad accepts. Required with isolate_from",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"pattern": "^\\*[0-9a-f]+$"
|
|
73
|
+
},
|
|
58
74
|
"apply": {
|
|
59
75
|
"default": false,
|
|
60
76
|
"description": "false = preview (default); true = build",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "destroy_recovery_lab",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"format": "uuid",
|
|
9
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
10
|
+
},
|
|
11
|
+
"confirm": {
|
|
12
|
+
"default": false,
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["id", "confirm"],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "export_network_incident",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"format": "uuid",
|
|
9
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["id"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "freeze_network_incident",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"title": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 120
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["title"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -3,13 +3,20 @@
|
|
|
3
3
|
"title": "get_container",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"description": "Stable .id from fresh discovery; never a row number",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^\\*[\\da-fA-F]+$"
|
|
10
|
+
},
|
|
6
11
|
"name": {
|
|
7
|
-
"description": "
|
|
8
|
-
"type": "string"
|
|
12
|
+
"description": "Exact unique container name",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1
|
|
9
15
|
},
|
|
10
16
|
"tag": {
|
|
11
|
-
"description": "
|
|
12
|
-
"type": "string"
|
|
17
|
+
"description": "Exact unique image tag, not a regex; prefer id when images are shared",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
13
20
|
}
|
|
14
21
|
},
|
|
15
22
|
"additionalProperties": false
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "get_routeros_container_guide",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"topic": {
|
|
7
|
+
"default": "all",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"all",
|
|
11
|
+
"prerequisites",
|
|
12
|
+
"images",
|
|
13
|
+
"networking",
|
|
14
|
+
"lifecycle",
|
|
15
|
+
"security",
|
|
16
|
+
"troubleshooting"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["topic"],
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "get_vlan_segmentation_guide",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"topic": {
|
|
7
|
+
"default": "all",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": ["all", "overview", "discovery", "layer2", "policy", "migration", "verification"]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["topic"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
"title": "list_container_mounts",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
|
+
"list_filter": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
},
|
|
6
10
|
"name_filter": {
|
|
7
|
-
"description": "
|
|
8
|
-
"type": "string"
|
|
11
|
+
"description": "Legacy exact name filter",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
9
14
|
}
|
|
10
15
|
},
|
|
11
16
|
"additionalProperties": false
|
|
@@ -4,20 +4,18 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"name_filter": {
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "RouterOS name regex, escaped as a command value",
|
|
8
8
|
"type": "string"
|
|
9
9
|
},
|
|
10
10
|
"tag_filter": {
|
|
11
|
-
"description": "Partial image tag match",
|
|
12
11
|
"type": "string"
|
|
13
12
|
},
|
|
14
13
|
"status_filter": {
|
|
15
|
-
"description": "
|
|
14
|
+
"description": "Legacy status regex; newer releases may expose flags instead",
|
|
16
15
|
"type": "string"
|
|
17
16
|
},
|
|
18
17
|
"detail": {
|
|
19
18
|
"default": false,
|
|
20
|
-
"description": "Show the full per-container property block",
|
|
21
19
|
"type": "boolean"
|
|
22
20
|
}
|
|
23
21
|
},
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "poll_recovery_lab",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"format": "uuid",
|
|
9
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["id"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "prepare_recovery_lab",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"snapshotId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 100
|
|
10
|
+
},
|
|
11
|
+
"version": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^7\\.\\d+(?:\\.\\d+)?(?:beta\\d+|rc\\d+)?$"
|
|
14
|
+
},
|
|
15
|
+
"mode": {
|
|
16
|
+
"default": "restore",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": ["restore", "upgrade"]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["snapshotId", "version", "mode"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|