@usex/mikrotik-mcp 6.4.1 → 6.5.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.
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "preview_address_set",
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
+ "references": {
12
+ "default": [],
13
+ "maxItems": 8,
14
+ "type": "array",
15
+ "items": {
16
+ "type": "object",
17
+ "properties": {
18
+ "table": {
19
+ "type": "string",
20
+ "enum": ["filter", "mangle"]
21
+ },
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^\\*[0-9A-Fa-f]+$"
25
+ },
26
+ "field": {
27
+ "type": "string",
28
+ "enum": ["src-address-list", "dst-address-list"]
29
+ },
30
+ "expected": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 128
34
+ }
35
+ },
36
+ "required": ["table", "id", "field", "expected"],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ "rollback": {
41
+ "default": false,
42
+ "type": "boolean"
43
+ },
44
+ "allowLargeChange": {
45
+ "default": false,
46
+ "description": "Explicitly acknowledge /0 or coverage changing by more than 50% of the parent",
47
+ "type": "boolean"
48
+ }
49
+ },
50
+ "required": ["id", "references", "rollback", "allowLargeChange"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "verify_filter_policy",
4
+ "type": "object",
5
+ "properties": {
6
+ "config_text": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 200000
10
+ },
11
+ "source": {
12
+ "type": "string",
13
+ "maxLength": 64
14
+ },
15
+ "destination": {
16
+ "type": "string",
17
+ "maxLength": 64
18
+ },
19
+ "source_ports": {
20
+ "default": "0-65535",
21
+ "type": "string",
22
+ "maxLength": 64
23
+ },
24
+ "destination_ports": {
25
+ "default": "0-65535",
26
+ "type": "string",
27
+ "maxLength": 64
28
+ },
29
+ "protocol": {
30
+ "default": "tcp",
31
+ "type": "string",
32
+ "enum": ["tcp", "udp"]
33
+ },
34
+ "chain": {
35
+ "default": "forward",
36
+ "type": "string",
37
+ "enum": ["input", "forward", "output"]
38
+ },
39
+ "in_interface": {
40
+ "default": "bridge",
41
+ "type": "string",
42
+ "maxLength": 128
43
+ },
44
+ "out_interface": {
45
+ "default": "ether1",
46
+ "type": "string",
47
+ "maxLength": 128
48
+ },
49
+ "connection_state": {
50
+ "default": "new",
51
+ "type": "string",
52
+ "enum": ["new", "established", "related", "invalid"]
53
+ },
54
+ "expect": {
55
+ "default": "drop",
56
+ "type": "string",
57
+ "enum": ["accept", "drop", "reject"]
58
+ }
59
+ },
60
+ "required": [
61
+ "config_text",
62
+ "source",
63
+ "destination",
64
+ "source_ports",
65
+ "destination_ports",
66
+ "protocol",
67
+ "chain",
68
+ "in_interface",
69
+ "out_interface",
70
+ "connection_state",
71
+ "expect"
72
+ ],
73
+ "additionalProperties": false
74
+ }