@usex/mikrotik-mcp 5.16.0 → 5.18.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 +180 -5
- package/dist/cli.js +7298 -4293
- package/dist/index.d.ts +12 -1
- package/dist/index.js +54 -16
- package/dist/shared/cli-97csvm6f.js +25 -0
- package/dist/shared/cli-ff6yww2e.js +13 -0
- package/dist/shared/cli-s423xk9v.js +7 -0
- package/dist/shared/{library-pdyv4a32.js → library-08g0pwc9.js} +1 -1
- package/dist/shared/{library-0ysgbdj6.js → library-552hdvw2.js} +6244 -4454
- package/dist/shared/library-gmx9pzx3.js +17 -0
- package/dist/shared/library-w5tyng4c.js +7 -0
- package/dist/shared/library-xbg1d52n.js +13 -0
- package/dist/ui/client-check.html +80 -0
- package/dist/ui/observability.html +136 -75
- package/package.json +20 -7
- package/schemas/README.md +1 -1
- package/schemas/config.schema.json +18 -0
- package/schemas/devtools-manifest.json +11996 -0
- package/schemas/tool-catalog.json +755 -3
- package/schemas/tools/apply_router_migration.json +27 -0
- package/schemas/tools/close_client_check.json +14 -0
- package/schemas/tools/compare_client_checks.json +24 -0
- package/schemas/tools/create_client_check.json +25 -0
- package/schemas/tools/create_support_bundle.json +41 -0
- package/schemas/tools/delete_support_bundle.json +18 -0
- package/schemas/tools/export_support_bundle.json +19 -0
- package/schemas/tools/inspect_router_migration.json +7 -0
- package/schemas/tools/list_client_checks.json +7 -0
- package/schemas/tools/list_router_migrations.json +7 -0
- package/schemas/tools/list_support_bundles.json +7 -0
- package/schemas/tools/memory_get_scope.json +14 -0
- package/schemas/tools/memory_history.json +14 -0
- package/schemas/tools/memory_recall.json +35 -0
- package/schemas/tools/memory_remember.json +65 -0
- package/schemas/tools/memory_review.json +44 -0
- package/schemas/tools/memory_revise.json +61 -0
- package/schemas/tools/memory_set_scope.json +37 -0
- package/schemas/tools/preview_router_migration.json +62 -0
- package/schemas/tools/undo_router_migration.json +18 -0
- /package/dist/shared/{cli-gee7615j.js → cli-3zrj182m.js} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "apply_router_migration",
|
|
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
|
+
"mode": {
|
|
12
|
+
"default": "rehearse",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": ["rehearse", "stage"]
|
|
15
|
+
},
|
|
16
|
+
"confirm": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"acknowledgeManual": {
|
|
21
|
+
"default": false,
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["id", "mode", "confirm", "acknowledgeManual"],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "close_client_check",
|
|
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,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "compare_client_checks",
|
|
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
|
+
"first": {
|
|
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
|
+
"second": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "uuid",
|
|
19
|
+
"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)$"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["id", "first", "second"],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "create_client_check",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"label": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 80
|
|
10
|
+
},
|
|
11
|
+
"caseId": {
|
|
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
|
+
"minutes": {
|
|
17
|
+
"default": 15,
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"minimum": 5,
|
|
20
|
+
"maximum": 60
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": ["label", "minutes"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "create_support_bundle",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"since": {
|
|
7
|
+
"type": "integer",
|
|
8
|
+
"exclusiveMinimum": 0,
|
|
9
|
+
"maximum": 9007199254740991
|
|
10
|
+
},
|
|
11
|
+
"until": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"exclusiveMinimum": 0,
|
|
14
|
+
"maximum": 9007199254740991
|
|
15
|
+
},
|
|
16
|
+
"cases": {
|
|
17
|
+
"default": [],
|
|
18
|
+
"maxItems": 10,
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "uuid",
|
|
23
|
+
"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)$"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"includeEvents": {
|
|
27
|
+
"default": true,
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
"includeSnapshots": {
|
|
31
|
+
"default": true,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"includeChecks": {
|
|
35
|
+
"default": true,
|
|
36
|
+
"type": "boolean"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": ["since", "until", "cases", "includeEvents", "includeSnapshots", "includeChecks"],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "delete_support_bundle",
|
|
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,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "export_support_bundle",
|
|
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
|
+
"format": {
|
|
12
|
+
"default": "json",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": ["json", "html"]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": ["id", "format"],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_get_scope",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"entityName": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 200
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["entityName"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_history",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "integer",
|
|
8
|
+
"exclusiveMinimum": 0,
|
|
9
|
+
"maximum": 9007199254740991
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["id"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_recall",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"query": {
|
|
7
|
+
"default": "",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"maxLength": 500
|
|
10
|
+
},
|
|
11
|
+
"entityName": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 200
|
|
15
|
+
},
|
|
16
|
+
"limit": {
|
|
17
|
+
"default": 12,
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"minimum": 1,
|
|
20
|
+
"maximum": 50
|
|
21
|
+
},
|
|
22
|
+
"maxChars": {
|
|
23
|
+
"default": 6000,
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 500,
|
|
26
|
+
"maximum": 16000
|
|
27
|
+
},
|
|
28
|
+
"includeRelated": {
|
|
29
|
+
"default": true,
|
|
30
|
+
"type": "boolean"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": ["query", "limit", "maxChars", "includeRelated"],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_remember",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"entityName": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 200
|
|
10
|
+
},
|
|
11
|
+
"content": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 8000
|
|
15
|
+
},
|
|
16
|
+
"key": {
|
|
17
|
+
"anyOf": [
|
|
18
|
+
{
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"maxLength": 120
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "null"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"kind": {
|
|
29
|
+
"default": "fact",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": ["fact", "constraint", "lesson", "preference", "procedure"]
|
|
32
|
+
},
|
|
33
|
+
"source": {
|
|
34
|
+
"default": "unspecified",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"maxLength": 500
|
|
38
|
+
},
|
|
39
|
+
"confidence": {
|
|
40
|
+
"default": 0.5,
|
|
41
|
+
"type": "number",
|
|
42
|
+
"minimum": 0,
|
|
43
|
+
"maximum": 1
|
|
44
|
+
},
|
|
45
|
+
"pinned": {
|
|
46
|
+
"default": false,
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"expiresAt": {
|
|
50
|
+
"default": null,
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"exclusiveMinimum": 0,
|
|
55
|
+
"maximum": 9007199254740991
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "null"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": ["entityName", "content", "kind", "source", "confidence", "pinned", "expiresAt"],
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_review",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"query": {
|
|
7
|
+
"default": "",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"maxLength": 500
|
|
10
|
+
},
|
|
11
|
+
"entityName": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 200
|
|
15
|
+
},
|
|
16
|
+
"scope": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": ["device", "group", "shared"]
|
|
19
|
+
},
|
|
20
|
+
"kind": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": ["fact", "constraint", "lesson", "preference", "procedure"]
|
|
23
|
+
},
|
|
24
|
+
"state": {
|
|
25
|
+
"default": "active",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["active", "review", "pinned", "archived", "all"]
|
|
28
|
+
},
|
|
29
|
+
"limit": {
|
|
30
|
+
"default": 30,
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"minimum": 1,
|
|
33
|
+
"maximum": 100
|
|
34
|
+
},
|
|
35
|
+
"offset": {
|
|
36
|
+
"default": 0,
|
|
37
|
+
"type": "integer",
|
|
38
|
+
"minimum": 0,
|
|
39
|
+
"maximum": 1000000
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": ["query", "state", "limit", "offset"],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_revise",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"id": {
|
|
7
|
+
"type": "integer",
|
|
8
|
+
"exclusiveMinimum": 0,
|
|
9
|
+
"maximum": 9007199254740991
|
|
10
|
+
},
|
|
11
|
+
"expectedRevision": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"exclusiveMinimum": 0,
|
|
14
|
+
"maximum": 9007199254740991
|
|
15
|
+
},
|
|
16
|
+
"content": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"maxLength": 8000
|
|
20
|
+
},
|
|
21
|
+
"kind": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["fact", "constraint", "lesson", "preference", "procedure"]
|
|
24
|
+
},
|
|
25
|
+
"source": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"maxLength": 500
|
|
29
|
+
},
|
|
30
|
+
"confidence": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"minimum": 0,
|
|
33
|
+
"maximum": 1
|
|
34
|
+
},
|
|
35
|
+
"pinned": {
|
|
36
|
+
"type": "boolean"
|
|
37
|
+
},
|
|
38
|
+
"expiresAt": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"exclusiveMinimum": 0,
|
|
43
|
+
"maximum": 9007199254740991
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "null"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"status": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": ["active", "archived"]
|
|
53
|
+
},
|
|
54
|
+
"verified": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"const": true
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": ["id", "expectedRevision"],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "memory_set_scope",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"entityName": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 200
|
|
10
|
+
},
|
|
11
|
+
"scope": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": ["device", "group", "shared"]
|
|
14
|
+
},
|
|
15
|
+
"members": {
|
|
16
|
+
"default": [],
|
|
17
|
+
"maxItems": 100,
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"maxLength": 200
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"expectedRevision": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"minimum": 0,
|
|
28
|
+
"maximum": 9007199254740991
|
|
29
|
+
},
|
|
30
|
+
"confirmSharing": {
|
|
31
|
+
"default": false,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["entityName", "scope", "members", "expectedRevision", "confirmSharing"],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "preview_router_migration",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"source": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 120
|
|
10
|
+
},
|
|
11
|
+
"target": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 120
|
|
15
|
+
},
|
|
16
|
+
"managementInterface": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"maxLength": 80
|
|
20
|
+
},
|
|
21
|
+
"mapping": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"propertyNames": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"maxLength": 80
|
|
27
|
+
},
|
|
28
|
+
"additionalProperties": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1,
|
|
31
|
+
"maxLength": 80
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"sections": {
|
|
35
|
+
"minItems": 1,
|
|
36
|
+
"maxItems": 15,
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"/interface/bridge",
|
|
42
|
+
"/interface/vlan",
|
|
43
|
+
"/interface/list",
|
|
44
|
+
"/interface/list/member",
|
|
45
|
+
"/interface/bridge/port",
|
|
46
|
+
"/ip/pool",
|
|
47
|
+
"/ip/address",
|
|
48
|
+
"/ip/dhcp-server/network",
|
|
49
|
+
"/ip/dhcp-server",
|
|
50
|
+
"/ip/dhcp-server/lease",
|
|
51
|
+
"/routing/table",
|
|
52
|
+
"/ip/route",
|
|
53
|
+
"/ip/firewall/address-list",
|
|
54
|
+
"/ip/firewall/filter",
|
|
55
|
+
"/ip/firewall/nat"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": ["source", "target", "managementInterface", "mapping", "sections"],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "undo_router_migration",
|
|
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
|
+
}
|
|
File without changes
|