@usex/mikrotik-mcp 3.23.0 → 3.24.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 (135) hide show
  1. package/dist/cli.js +4174 -2644
  2. package/dist/index.js +4122 -2641
  3. package/dist/ui/connected-devices.html +21 -0
  4. package/dist/ui/dashboard.html +1 -1
  5. package/dist/ui/firewall-audit.html +3 -3
  6. package/dist/ui/firewall.html +3 -3
  7. package/dist/ui/interfaces.html +3 -3
  8. package/dist/ui/observability.html +43 -43
  9. package/dist/ui/records.html +3 -3
  10. package/package.json +1 -1
  11. package/schemas/README.md +1 -1
  12. package/schemas/tool-catalog.json +3833 -112
  13. package/schemas/tools/add_bfd_configuration.json +4 -0
  14. package/schemas/tools/add_bgp_connection.json +70 -0
  15. package/schemas/tools/add_bgp_template.json +35 -0
  16. package/schemas/tools/add_bridge_port.json +95 -0
  17. package/schemas/tools/add_bridge_vlan.json +7 -0
  18. package/schemas/tools/add_dhcp_client.json +22 -0
  19. package/schemas/tools/add_dns_static.json +20 -0
  20. package/schemas/tools/add_graphing_interface.json +8 -0
  21. package/schemas/tools/add_graphing_queue.json +8 -0
  22. package/schemas/tools/add_graphing_resource.json +8 -0
  23. package/schemas/tools/add_ipv6_dhcp_client.json +12 -0
  24. package/schemas/tools/add_ipv6_nd.json +4 -0
  25. package/schemas/tools/add_ipv6_route.json +10 -0
  26. package/schemas/tools/add_logging_action.json +26 -0
  27. package/schemas/tools/add_netwatch.json +15 -0
  28. package/schemas/tools/add_ospf_area.json +6 -0
  29. package/schemas/tools/add_ospf_area_range.json +3 -0
  30. package/schemas/tools/add_ospf_instance.json +22 -0
  31. package/schemas/tools/add_ospf_interface_template.json +26 -0
  32. package/schemas/tools/add_ovpn_server.json +5 -0
  33. package/schemas/tools/add_pimsm_instance.json +36 -0
  34. package/schemas/tools/add_pimsm_interface_template.json +24 -0
  35. package/schemas/tools/add_radius_server.json +15 -0
  36. package/schemas/tools/add_rip_instance.json +4 -0
  37. package/schemas/tools/add_rip_interface_template.json +8 -0
  38. package/schemas/tools/add_romon_port.json +4 -0
  39. package/schemas/tools/add_route.json +8 -0
  40. package/schemas/tools/add_routing_rule.json +0 -5
  41. package/schemas/tools/add_script.json +4 -0
  42. package/schemas/tools/add_switch_rule.json +13 -0
  43. package/schemas/tools/add_traffic_generator_stream.json +18 -0
  44. package/schemas/tools/add_user_manager_limitation.json +54 -0
  45. package/schemas/tools/add_user_manager_router.json +7 -0
  46. package/schemas/tools/add_user_manager_user.json +8 -0
  47. package/schemas/tools/add_wireguard_peer.json +34 -0
  48. package/schemas/tools/allow_device.json +13 -0
  49. package/schemas/tools/block_device.json +17 -0
  50. package/schemas/tools/create_bridge.json +75 -0
  51. package/schemas/tools/create_certificate.json +20 -0
  52. package/schemas/tools/create_dhcp_network.json +23 -0
  53. package/schemas/tools/create_dhcp_server.json +34 -0
  54. package/schemas/tools/create_eoip_tunnel.json +34 -0
  55. package/schemas/tools/create_filter_rule.json +124 -0
  56. package/schemas/tools/create_gre_tunnel.json +12 -0
  57. package/schemas/tools/create_ipip_tunnel.json +21 -0
  58. package/schemas/tools/create_ipsec_identity.json +22 -1
  59. package/schemas/tools/create_ipsec_peer.json +6 -0
  60. package/schemas/tools/create_ipsec_policy.json +27 -1
  61. package/schemas/tools/create_ipsec_profile.json +4 -0
  62. package/schemas/tools/create_ipsec_proposal.json +5 -1
  63. package/schemas/tools/create_ipv6_dhcp_server.json +12 -0
  64. package/schemas/tools/create_ipv6_filter_rule.json +123 -1
  65. package/schemas/tools/create_ipv6_mangle_rule.json +140 -0
  66. package/schemas/tools/create_ipv6_nat_rule.json +135 -1
  67. package/schemas/tools/create_ipv6_raw_rule.json +52 -0
  68. package/schemas/tools/create_l2tp_client.json +42 -0
  69. package/schemas/tools/create_mangle_rule.json +64 -0
  70. package/schemas/tools/create_nat_rule.json +144 -0
  71. package/schemas/tools/create_ovpn_client.json +22 -0
  72. package/schemas/tools/create_ppp_profile.json +64 -0
  73. package/schemas/tools/create_ppp_secret.json +16 -0
  74. package/schemas/tools/create_pptp_client.json +32 -0
  75. package/schemas/tools/create_queue_type.json +59 -0
  76. package/schemas/tools/create_scheduler.json +4 -0
  77. package/schemas/tools/create_simple_queue.json +4 -0
  78. package/schemas/tools/create_sstp_client.json +46 -0
  79. package/schemas/tools/create_vlan_interface.json +13 -0
  80. package/schemas/tools/create_vxlan_tunnel.json +32 -0
  81. package/schemas/tools/create_wireless_interface.json +74 -0
  82. package/schemas/tools/get_connected_device.json +16 -0
  83. package/schemas/tools/get_device_traffic.json +13 -0
  84. package/schemas/tools/list_connected_devices.json +27 -0
  85. package/schemas/tools/make_device_static.json +13 -0
  86. package/schemas/tools/remove_device_lease.json +13 -0
  87. package/schemas/tools/reset_configuration.json +4 -0
  88. package/schemas/tools/set_device_ip.json +17 -0
  89. package/schemas/tools/set_device_label.json +17 -0
  90. package/schemas/tools/set_dhcp_client.json +22 -0
  91. package/schemas/tools/set_dns_servers.json +34 -0
  92. package/schemas/tools/set_ip_cloud.json +4 -0
  93. package/schemas/tools/set_ip_service.json +4 -0
  94. package/schemas/tools/set_l2tp_server.json +27 -0
  95. package/schemas/tools/set_neighbor_discovery_settings.json +12 -0
  96. package/schemas/tools/set_ntp_client.json +9 -0
  97. package/schemas/tools/set_ntp_server.json +10 -0
  98. package/schemas/tools/set_ovpn_server.json +5 -0
  99. package/schemas/tools/set_pptp_server.json +8 -0
  100. package/schemas/tools/set_sstp_server.json +32 -0
  101. package/schemas/tools/set_system_clock.json +4 -0
  102. package/schemas/tools/set_user_manager_settings.json +16 -0
  103. package/schemas/tools/update_bfd_configuration.json +3 -0
  104. package/schemas/tools/update_bgp_connection.json +57 -0
  105. package/schemas/tools/update_bridge.json +75 -0
  106. package/schemas/tools/update_dns_static.json +20 -0
  107. package/schemas/tools/update_filter_rule.json +93 -0
  108. package/schemas/tools/update_ipsec_peer.json +5 -0
  109. package/schemas/tools/update_ipsec_profile.json +3 -0
  110. package/schemas/tools/update_ipsec_proposal.json +3 -0
  111. package/schemas/tools/update_ipv6_filter_rule.json +90 -0
  112. package/schemas/tools/update_ipv6_mangle_rule.json +107 -0
  113. package/schemas/tools/update_ipv6_nat_rule.json +99 -0
  114. package/schemas/tools/update_ipv6_nd.json +4 -0
  115. package/schemas/tools/update_ipv6_raw_rule.json +39 -0
  116. package/schemas/tools/update_ipv6_settings.json +29 -0
  117. package/schemas/tools/update_mangle_rule.json +48 -0
  118. package/schemas/tools/update_nat_rule.json +108 -0
  119. package/schemas/tools/update_ospf_instance.json +22 -0
  120. package/schemas/tools/update_ovpn_server.json +5 -0
  121. package/schemas/tools/update_ppp_profile.json +64 -0
  122. package/schemas/tools/update_ppp_secret.json +16 -0
  123. package/schemas/tools/update_queue_type.json +46 -0
  124. package/schemas/tools/update_radius_server.json +13 -0
  125. package/schemas/tools/update_rip_instance.json +4 -0
  126. package/schemas/tools/update_route.json +8 -0
  127. package/schemas/tools/update_routing_rule.json +5 -0
  128. package/schemas/tools/update_simple_queue.json +4 -0
  129. package/schemas/tools/update_sniffer_settings.json +32 -0
  130. package/schemas/tools/update_switch.json +8 -0
  131. package/schemas/tools/update_switch_rule.json +10 -0
  132. package/schemas/tools/update_user_manager_user.json +8 -0
  133. package/schemas/tools/update_vlan_interface.json +13 -0
  134. package/schemas/tools/update_wireguard_peer.json +34 -0
  135. package/schemas/tools/update_wireless_interface.json +91 -0
@@ -21,6 +21,30 @@
21
21
  "description": "Hello interval, e.g. \"30s\"",
22
22
  "type": "string"
23
23
  },
24
+ "hello_delay": {
25
+ "description": "Max random delay before the first Hello, e.g. \"5s\"",
26
+ "type": "string"
27
+ },
28
+ "join_prune_period": {
29
+ "description": "Interval between periodic Join/Prune messages, e.g. \"1m\"",
30
+ "type": "string"
31
+ },
32
+ "join_tracking_support": {
33
+ "description": "Enable explicit Join/Prune tracking support",
34
+ "type": "boolean"
35
+ },
36
+ "override_interval": {
37
+ "description": "Randomized Join override interval, e.g. \"2s500ms\"",
38
+ "type": "string"
39
+ },
40
+ "propagation_delay": {
41
+ "description": "Expected link propagation delay, e.g. \"500ms\"",
42
+ "type": "string"
43
+ },
44
+ "source_addresses": {
45
+ "description": "Source IP address(es) used for PIM messages on these interfaces",
46
+ "type": "string"
47
+ },
24
48
  "comment": {
25
49
  "type": "string"
26
50
  },
@@ -43,6 +43,20 @@
43
43
  "domain": {
44
44
  "type": "string"
45
45
  },
46
+ "protocol": {
47
+ "description": "Transport protocol used to reach the server (default udp)",
48
+ "type": "string",
49
+ "enum": ["udp", "radsec"]
50
+ },
51
+ "certificate": {
52
+ "description": "Certificate name to present when protocol is radsec",
53
+ "type": "string"
54
+ },
55
+ "accounting_backup": {
56
+ "default": false,
57
+ "description": "Mark this entry as a backup accounting server",
58
+ "type": "boolean"
59
+ },
46
60
  "comment": {
47
61
  "type": "string"
48
62
  },
@@ -57,6 +71,7 @@
57
71
  "service",
58
72
  "authentication_port",
59
73
  "accounting_port",
74
+ "accounting_backup",
60
75
  "disabled"
61
76
  ],
62
77
  "additionalProperties": false
@@ -14,6 +14,10 @@
14
14
  "vrf": {
15
15
  "type": "string"
16
16
  },
17
+ "routing_table": {
18
+ "description": "Routing table to install routes into",
19
+ "type": "string"
20
+ },
17
21
  "redistribute": {
18
22
  "description": "Comma list, e.g. \"connected,static\"",
19
23
  "type": "string"
@@ -14,6 +14,14 @@
14
14
  "passive": {
15
15
  "type": "boolean"
16
16
  },
17
+ "split_horizon": {
18
+ "description": "Enable split-horizon loop prevention",
19
+ "type": "boolean"
20
+ },
21
+ "poison_reverse": {
22
+ "description": "Advertise back with infinite metric",
23
+ "type": "boolean"
24
+ },
17
25
  "key_chain": {
18
26
  "description": "Key-chain name for authentication",
19
27
  "type": "string"
@@ -24,6 +24,10 @@
24
24
  "disabled": {
25
25
  "default": false,
26
26
  "type": "boolean"
27
+ },
28
+ "comment": {
29
+ "description": "Free-form comment for the port entry",
30
+ "type": "string"
27
31
  }
28
32
  },
29
33
  "required": ["interface", "disabled"],
@@ -50,6 +50,14 @@
50
50
  "check_gateway": {
51
51
  "description": "\"ping\" or \"arp\"",
52
52
  "type": "string"
53
+ },
54
+ "suppress_hw_offload": {
55
+ "description": "Exclude route from hardware (HW) offloading",
56
+ "type": "boolean"
57
+ },
58
+ "type": {
59
+ "description": "\"unicast\" (default), \"blackhole\", \"unreachable\", or \"prohibit\"",
60
+ "type": "string"
53
61
  }
54
62
  },
55
63
  "required": ["dst_address", "gateway", "disabled"],
@@ -33,11 +33,6 @@
33
33
  "minimum": -9007199254740991,
34
34
  "maximum": 9007199254740991
35
35
  },
36
- "max_prefix": {
37
- "type": "integer",
38
- "minimum": -9007199254740991,
39
- "maximum": 9007199254740991
40
- },
41
36
  "comment": {
42
37
  "type": "string"
43
38
  },
@@ -11,6 +11,10 @@
11
11
  "type": "string",
12
12
  "description": "Script source code (may contain spaces/semicolons)"
13
13
  },
14
+ "policy": {
15
+ "description": "Permission policy list, e.g. 'read,write,test,policy'",
16
+ "type": "string"
17
+ },
14
18
  "comment": {
15
19
  "type": "string"
16
20
  },
@@ -19,6 +19,14 @@
19
19
  "description": "Destination IP/mask",
20
20
  "type": "string"
21
21
  },
22
+ "src_address6": {
23
+ "description": "Source IPv6 address/mask",
24
+ "type": "string"
25
+ },
26
+ "dst_address6": {
27
+ "description": "Destination IPv6 address/mask",
28
+ "type": "string"
29
+ },
22
30
  "src_mac_address": {
23
31
  "description": "Source MAC/mask",
24
32
  "type": "string"
@@ -43,6 +51,11 @@
43
51
  "description": "MAC protocol, e.g. 'ip', 'arp', 'vlan' or a number",
44
52
  "type": "string"
45
53
  },
54
+ "vlan_header": {
55
+ "description": "Match on VLAN tag presence",
56
+ "type": "string",
57
+ "enum": ["any", "not-present", "present"]
58
+ },
46
59
  "vlan_id": {
47
60
  "type": "string"
48
61
  },
@@ -22,6 +22,24 @@
22
22
  "description": "Transmit rate in bits/second",
23
23
  "type": "string"
24
24
  },
25
+ "num": {
26
+ "description": "Stream number (0-15)",
27
+ "type": "integer",
28
+ "minimum": 0,
29
+ "maximum": 15
30
+ },
31
+ "pps": {
32
+ "description": "Target throughput in packets per second",
33
+ "type": "integer",
34
+ "minimum": -9007199254740991,
35
+ "maximum": 9007199254740991
36
+ },
37
+ "mbps": {
38
+ "description": "Target throughput in megabits per second",
39
+ "type": "integer",
40
+ "minimum": -9007199254740991,
41
+ "maximum": 9007199254740991
42
+ },
25
43
  "comment": {
26
44
  "type": "string"
27
45
  },
@@ -15,6 +15,52 @@
15
15
  "description": "Upload rate limit, e.g. '10M'",
16
16
  "type": "string"
17
17
  },
18
+ "rate_limit_min_rx": {
19
+ "description": "Guaranteed (CIR) download rate, e.g. '2M'",
20
+ "type": "string"
21
+ },
22
+ "rate_limit_min_tx": {
23
+ "description": "Guaranteed (CIR) upload rate, e.g. '2M'",
24
+ "type": "string"
25
+ },
26
+ "rate_limit_burst_rx": {
27
+ "description": "Download burst rate, e.g. '20M'",
28
+ "type": "string"
29
+ },
30
+ "rate_limit_burst_tx": {
31
+ "description": "Upload burst rate, e.g. '20M'",
32
+ "type": "string"
33
+ },
34
+ "rate_limit_burst_threshold_rx": {
35
+ "description": "Download burst threshold rate",
36
+ "type": "string"
37
+ },
38
+ "rate_limit_burst_threshold_tx": {
39
+ "description": "Upload burst threshold rate",
40
+ "type": "string"
41
+ },
42
+ "rate_limit_burst_time_rx": {
43
+ "description": "Download burst time, e.g. '10s'",
44
+ "type": "string"
45
+ },
46
+ "rate_limit_burst_time_tx": {
47
+ "description": "Upload burst time, e.g. '10s'",
48
+ "type": "string"
49
+ },
50
+ "rate_limit_priority": {
51
+ "description": "Queue priority (1-8)",
52
+ "type": "integer",
53
+ "minimum": -9007199254740991,
54
+ "maximum": 9007199254740991
55
+ },
56
+ "download_limit": {
57
+ "description": "Download transfer cap in bytes, e.g. '5G'",
58
+ "type": "string"
59
+ },
60
+ "upload_limit": {
61
+ "description": "Upload transfer cap in bytes, e.g. '5G'",
62
+ "type": "string"
63
+ },
18
64
  "transfer_limit": {
19
65
  "description": "Total transfer cap, e.g. '10G'",
20
66
  "type": "string"
@@ -23,6 +69,14 @@
23
69
  "description": "Uptime cap, e.g. '1d'",
24
70
  "type": "string"
25
71
  },
72
+ "reset_counters_interval": {
73
+ "description": "Interval to auto-reset usage counters",
74
+ "type": "string"
75
+ },
76
+ "reset_counters_start_time": {
77
+ "description": "Start time for counter reset interval",
78
+ "type": "string"
79
+ },
26
80
  "comment": {
27
81
  "type": "string"
28
82
  }
@@ -21,6 +21,13 @@
21
21
  "minimum": -9007199254740991,
22
22
  "maximum": 9007199254740991
23
23
  },
24
+ "protocol": {
25
+ "description": "RADIUS transport protocol for this client (e.g. radius, radsec)",
26
+ "type": "string"
27
+ },
28
+ "comment": {
29
+ "type": "string"
30
+ },
24
31
  "disabled": {
25
32
  "default": false,
26
33
  "type": "boolean"
@@ -24,6 +24,14 @@
24
24
  "description": "Custom RADIUS attributes",
25
25
  "type": "string"
26
26
  },
27
+ "caller_id": {
28
+ "description": "Caller ID the user is restricted to (e.g. MAC)",
29
+ "type": "string"
30
+ },
31
+ "otp_secret": {
32
+ "description": "Base32 OTP shared secret for two-factor auth",
33
+ "type": "string"
34
+ },
27
35
  "comment": {
28
36
  "type": "string"
29
37
  },
@@ -29,6 +29,40 @@
29
29
  "description": "seconds as string e.g. \"25\"",
30
30
  "type": "string"
31
31
  },
32
+ "name": {
33
+ "description": "optional peer name label",
34
+ "type": "string"
35
+ },
36
+ "private_key": {
37
+ "description": "peer's private key (lets the router generate this peer's client config)",
38
+ "type": "string"
39
+ },
40
+ "responder": {
41
+ "description": "only respond to handshakes, never initiate (for road-warrior clients)",
42
+ "type": "boolean"
43
+ },
44
+ "client_address": {
45
+ "description": "client tunnel address(es) for the generated client config",
46
+ "type": "string"
47
+ },
48
+ "client_dns": {
49
+ "description": "DNS server(s) written into the generated client config",
50
+ "type": "string"
51
+ },
52
+ "client_endpoint": {
53
+ "description": "server endpoint host[:port] written into the generated client config",
54
+ "type": "string"
55
+ },
56
+ "client_keepalive": {
57
+ "description": "client persistent-keepalive for the generated config e.g. \"25s\"",
58
+ "type": "string"
59
+ },
60
+ "client_listen_port": {
61
+ "description": "listen-port written into the generated client config",
62
+ "type": "integer",
63
+ "minimum": -9007199254740991,
64
+ "maximum": 9007199254740991
65
+ },
32
66
  "comment": {
33
67
  "type": "string"
34
68
  },
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "allow_device",
4
+ "type": "object",
5
+ "properties": {
6
+ "mac": {
7
+ "type": "string",
8
+ "description": "Device MAC address to unblock"
9
+ }
10
+ },
11
+ "required": ["mac"],
12
+ "additionalProperties": false
13
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "block_device",
4
+ "type": "object",
5
+ "properties": {
6
+ "mac": {
7
+ "type": "string",
8
+ "description": "Device MAC address to block"
9
+ },
10
+ "comment": {
11
+ "description": "Optional reason, appended to the rule label",
12
+ "type": "string"
13
+ }
14
+ },
15
+ "required": ["mac"],
16
+ "additionalProperties": false
17
+ }
@@ -28,6 +28,81 @@
28
28
  "type": "integer",
29
29
  "minimum": -9007199254740991,
30
30
  "maximum": 9007199254740991
31
+ },
32
+ "ageing_time": {
33
+ "description": "Host table entry timeout, e.g. '5m'",
34
+ "type": "string"
35
+ },
36
+ "arp": {
37
+ "description": "ARP resolution mode",
38
+ "type": "string",
39
+ "enum": ["disabled", "enabled", "proxy-arp", "reply-only", "local-proxy-arp"]
40
+ },
41
+ "arp_timeout": {
42
+ "description": "ARP entry timeout, e.g. '30s' or 'auto'",
43
+ "type": "string"
44
+ },
45
+ "auto_mac": {
46
+ "description": "Automatically pick the bridge MAC from a member port",
47
+ "type": "boolean"
48
+ },
49
+ "admin_mac": {
50
+ "description": "Static bridge MAC address (requires auto_mac=false)",
51
+ "type": "string"
52
+ },
53
+ "priority": {
54
+ "description": "STP/RSTP bridge priority, e.g. '0x8000'",
55
+ "type": "string"
56
+ },
57
+ "ether_type": {
58
+ "description": "Service VLAN (S-tag) EtherType when VLAN filtering",
59
+ "type": "string",
60
+ "enum": ["0x8100", "0x88a8", "0x9100"]
61
+ },
62
+ "pvid": {
63
+ "description": "Bridge-level default port VLAN ID",
64
+ "type": "integer",
65
+ "minimum": 1,
66
+ "maximum": 4094
67
+ },
68
+ "frame_types": {
69
+ "description": "Default accepted frame types for ports",
70
+ "type": "string",
71
+ "enum": ["admit-all", "admit-only-untagged-and-priority-tagged", "admit-only-vlan-tagged"]
72
+ },
73
+ "ingress_filtering": {
74
+ "description": "Default ingress VLAN filtering for ports",
75
+ "type": "boolean"
76
+ },
77
+ "dhcp_snooping": {
78
+ "description": "Enable DHCP snooping",
79
+ "type": "boolean"
80
+ },
81
+ "igmp_snooping": {
82
+ "description": "Enable IGMP/MLD snooping",
83
+ "type": "boolean"
84
+ },
85
+ "fast_forward": {
86
+ "description": "Enable Fast Forward optimization",
87
+ "type": "boolean"
88
+ },
89
+ "mvrp": {
90
+ "description": "Enable Multiple VLAN Registration Protocol",
91
+ "type": "boolean"
92
+ },
93
+ "forward_delay": {
94
+ "description": "STP forward delay timer, e.g. '15s'",
95
+ "type": "string"
96
+ },
97
+ "max_message_age": {
98
+ "description": "STP maximum message age, e.g. '20s'",
99
+ "type": "string"
100
+ },
101
+ "transmit_hold_count": {
102
+ "description": "STP transmit hold count",
103
+ "type": "integer",
104
+ "minimum": -9007199254740991,
105
+ "maximum": 9007199254740991
31
106
  }
32
107
  },
33
108
  "required": ["name", "vlan_filtering", "disabled"],
@@ -33,9 +33,29 @@
33
33
  "description": "Country code (C), e.g. 'US'",
34
34
  "type": "string"
35
35
  },
36
+ "state": {
37
+ "description": "State or province (ST)",
38
+ "type": "string"
39
+ },
40
+ "locality": {
41
+ "description": "Locality / city (L)",
42
+ "type": "string"
43
+ },
36
44
  "organization": {
37
45
  "description": "Organization (O)",
38
46
  "type": "string"
47
+ },
48
+ "unit": {
49
+ "description": "Organizational unit (OU)",
50
+ "type": "string"
51
+ },
52
+ "subject_alt_name": {
53
+ "description": "Subject Alternative Name(s), e.g. 'DNS:example.com,IP:1.2.3.4'",
54
+ "type": "string"
55
+ },
56
+ "trusted": {
57
+ "description": "Whether the certificate is trusted for chain verification",
58
+ "type": "boolean"
39
59
  }
40
60
  },
41
61
  "required": ["name", "common_name", "key_size", "days_valid"],
@@ -39,6 +39,29 @@
39
39
  "type": "string"
40
40
  }
41
41
  },
42
+ "dhcp_option_set": {
43
+ "description": "Named option set (`/ip dhcp-server option sets`) to append",
44
+ "type": "string"
45
+ },
46
+ "dns_none": {
47
+ "description": "Do not send any DNS server to clients (overrides dns_servers)",
48
+ "type": "boolean"
49
+ },
50
+ "next_server": {
51
+ "description": "Next-server (siaddr) address for PXE/TFTP boot",
52
+ "type": "string"
53
+ },
54
+ "boot_file_name": {
55
+ "description": "Boot file name (option 67) for PXE/TFTP boot",
56
+ "type": "string"
57
+ },
58
+ "caps_manager": {
59
+ "description": "CAPsMAN address(es) advertised to CAPs via DHCP",
60
+ "type": "array",
61
+ "items": {
62
+ "type": "string"
63
+ }
64
+ },
42
65
  "comment": {
43
66
  "type": "string"
44
67
  }
@@ -29,6 +29,40 @@
29
29
  "delay_threshold": {
30
30
  "type": "string"
31
31
  },
32
+ "add_arp": {
33
+ "description": "Add dynamic ARP entry for each lease (use with reply-only ARP on the interface)",
34
+ "type": "boolean"
35
+ },
36
+ "always_broadcast": {
37
+ "description": "Always send replies as broadcast",
38
+ "type": "boolean"
39
+ },
40
+ "bootp_support": {
41
+ "description": "Which BOOTP requests to answer",
42
+ "type": "string",
43
+ "enum": ["none", "static", "dynamic"]
44
+ },
45
+ "conflict_detection": {
46
+ "description": "Ping/ARP-probe an address before offering it to detect conflicts",
47
+ "type": "boolean"
48
+ },
49
+ "use_radius": {
50
+ "description": "Use RADIUS for leases (accounting = RADIUS accounting only)",
51
+ "type": "string",
52
+ "enum": ["yes", "no", "accounting"]
53
+ },
54
+ "relay": {
55
+ "description": "DHCP relay address this server services",
56
+ "type": "string"
57
+ },
58
+ "server_address": {
59
+ "description": "Override the server identifier address sent to clients",
60
+ "type": "string"
61
+ },
62
+ "lease_script": {
63
+ "description": "Script run on lease assign/release",
64
+ "type": "string"
65
+ },
32
66
  "comment": {
33
67
  "type": "string"
34
68
  }
@@ -25,6 +25,40 @@
25
25
  "description": "Keepalive interval/retries, e.g. '10s,3'",
26
26
  "type": "string"
27
27
  },
28
+ "dont_fragment": {
29
+ "description": "Don't-fragment behavior",
30
+ "type": "string",
31
+ "enum": ["inherit", "no"]
32
+ },
33
+ "clamp_tcp_mss": {
34
+ "description": "Clamp TCP MSS to the tunnel MTU",
35
+ "type": "boolean"
36
+ },
37
+ "allow_fast_path": {
38
+ "description": "Allow FastPath processing for this tunnel",
39
+ "type": "boolean"
40
+ },
41
+ "ipsec_secret": {
42
+ "description": "Pre-shared key to auto-create an IPsec policy securing the tunnel",
43
+ "type": "string"
44
+ },
45
+ "dscp": {
46
+ "description": "DSCP for encapsulated packets: 'inherit' or 0-63",
47
+ "type": "string"
48
+ },
49
+ "mac_address": {
50
+ "description": "MAC address of the EoIP interface",
51
+ "type": "string"
52
+ },
53
+ "arp": {
54
+ "description": "Address Resolution Protocol mode for the interface",
55
+ "type": "string",
56
+ "enum": ["disabled", "enabled", "local-proxy-arp", "proxy-arp", "reply-only"]
57
+ },
58
+ "arp_timeout": {
59
+ "description": "ARP entry timeout, e.g. '30s' or 'auto'",
60
+ "type": "string"
61
+ },
28
62
  "mtu": {
29
63
  "type": "integer",
30
64
  "minimum": -9007199254740991,