@usex/mikrotik-mcp 3.23.0 → 3.25.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 (142) hide show
  1. package/dist/cli.js +4703 -2643
  2. package/dist/index.js +4571 -2624
  3. package/dist/ui/aaa.html +21 -0
  4. package/dist/ui/connected-devices.html +21 -0
  5. package/dist/ui/dashboard.html +1 -1
  6. package/dist/ui/firewall-audit.html +3 -3
  7. package/dist/ui/firewall.html +3 -3
  8. package/dist/ui/interfaces.html +3 -3
  9. package/dist/ui/observability.html +44 -44
  10. package/dist/ui/records.html +3 -3
  11. package/package.json +1 -1
  12. package/schemas/README.md +1 -1
  13. package/schemas/tool-catalog.json +4228 -310
  14. package/schemas/tools/aaa_mutate.json +43 -0
  15. package/schemas/tools/add_bfd_configuration.json +4 -0
  16. package/schemas/tools/add_bgp_connection.json +70 -0
  17. package/schemas/tools/add_bgp_template.json +35 -0
  18. package/schemas/tools/add_bridge_port.json +95 -0
  19. package/schemas/tools/add_bridge_vlan.json +7 -0
  20. package/schemas/tools/add_dhcp_client.json +22 -0
  21. package/schemas/tools/add_dns_static.json +20 -0
  22. package/schemas/tools/add_graphing_interface.json +8 -0
  23. package/schemas/tools/add_graphing_queue.json +8 -0
  24. package/schemas/tools/add_graphing_resource.json +8 -0
  25. package/schemas/tools/add_ipv6_dhcp_client.json +12 -0
  26. package/schemas/tools/add_ipv6_nd.json +4 -0
  27. package/schemas/tools/add_ipv6_route.json +10 -0
  28. package/schemas/tools/add_logging_action.json +26 -0
  29. package/schemas/tools/add_netwatch.json +15 -0
  30. package/schemas/tools/add_ospf_area.json +6 -0
  31. package/schemas/tools/add_ospf_area_range.json +3 -0
  32. package/schemas/tools/add_ospf_instance.json +22 -0
  33. package/schemas/tools/add_ospf_interface_template.json +26 -0
  34. package/schemas/tools/add_ovpn_server.json +5 -0
  35. package/schemas/tools/add_pimsm_instance.json +36 -0
  36. package/schemas/tools/add_pimsm_interface_template.json +24 -0
  37. package/schemas/tools/add_radius_server.json +15 -0
  38. package/schemas/tools/add_rip_instance.json +4 -0
  39. package/schemas/tools/add_rip_interface_template.json +8 -0
  40. package/schemas/tools/add_romon_port.json +4 -0
  41. package/schemas/tools/add_route.json +8 -0
  42. package/schemas/tools/add_routing_rule.json +0 -5
  43. package/schemas/tools/add_script.json +4 -0
  44. package/schemas/tools/add_switch_rule.json +13 -0
  45. package/schemas/tools/add_traffic_generator_stream.json +18 -0
  46. package/schemas/tools/add_user_manager_limitation.json +54 -0
  47. package/schemas/tools/add_user_manager_router.json +7 -0
  48. package/schemas/tools/add_user_manager_user.json +8 -0
  49. package/schemas/tools/add_wireguard_peer.json +34 -0
  50. package/schemas/tools/allow_device.json +13 -0
  51. package/schemas/tools/block_device.json +17 -0
  52. package/schemas/tools/create_bridge.json +75 -0
  53. package/schemas/tools/create_certificate.json +20 -0
  54. package/schemas/tools/create_dhcp_network.json +23 -0
  55. package/schemas/tools/create_dhcp_server.json +34 -0
  56. package/schemas/tools/create_eoip_tunnel.json +34 -0
  57. package/schemas/tools/create_filter_rule.json +124 -0
  58. package/schemas/tools/create_gre_tunnel.json +12 -0
  59. package/schemas/tools/create_ipip_tunnel.json +21 -0
  60. package/schemas/tools/create_ipsec_identity.json +22 -1
  61. package/schemas/tools/create_ipsec_peer.json +6 -0
  62. package/schemas/tools/create_ipsec_policy.json +27 -1
  63. package/schemas/tools/create_ipsec_profile.json +4 -0
  64. package/schemas/tools/create_ipsec_proposal.json +5 -1
  65. package/schemas/tools/create_ipv6_dhcp_server.json +12 -0
  66. package/schemas/tools/create_ipv6_filter_rule.json +123 -1
  67. package/schemas/tools/create_ipv6_mangle_rule.json +140 -0
  68. package/schemas/tools/create_ipv6_nat_rule.json +135 -1
  69. package/schemas/tools/create_ipv6_raw_rule.json +52 -0
  70. package/schemas/tools/create_l2tp_client.json +42 -0
  71. package/schemas/tools/create_mangle_rule.json +64 -0
  72. package/schemas/tools/create_nat_rule.json +144 -0
  73. package/schemas/tools/create_ovpn_client.json +22 -0
  74. package/schemas/tools/create_ppp_profile.json +64 -0
  75. package/schemas/tools/create_ppp_secret.json +16 -0
  76. package/schemas/tools/create_pptp_client.json +32 -0
  77. package/schemas/tools/create_queue_type.json +59 -0
  78. package/schemas/tools/create_scheduler.json +4 -0
  79. package/schemas/tools/create_simple_queue.json +4 -0
  80. package/schemas/tools/create_sstp_client.json +46 -0
  81. package/schemas/tools/create_vlan_interface.json +13 -0
  82. package/schemas/tools/create_vxlan_tunnel.json +32 -0
  83. package/schemas/tools/create_wireless_interface.json +74 -0
  84. package/schemas/tools/get_aaa_section.json +21 -0
  85. package/schemas/tools/get_aaa_settings.json +7 -0
  86. package/schemas/tools/get_connected_device.json +16 -0
  87. package/schemas/tools/get_device_traffic.json +13 -0
  88. package/schemas/tools/list_connected_devices.json +27 -0
  89. package/schemas/tools/make_device_static.json +13 -0
  90. package/schemas/tools/manage_radius_user_manager.json +21 -0
  91. package/schemas/tools/remove_device_lease.json +13 -0
  92. package/schemas/tools/reset_configuration.json +4 -0
  93. package/schemas/tools/set_aaa_settings.json +22 -0
  94. package/schemas/tools/set_device_ip.json +17 -0
  95. package/schemas/tools/set_device_label.json +17 -0
  96. package/schemas/tools/set_device_limits.json +25 -0
  97. package/schemas/tools/set_dhcp_client.json +22 -0
  98. package/schemas/tools/set_dns_servers.json +34 -0
  99. package/schemas/tools/set_ip_cloud.json +4 -0
  100. package/schemas/tools/set_ip_service.json +4 -0
  101. package/schemas/tools/set_l2tp_server.json +27 -0
  102. package/schemas/tools/set_neighbor_discovery_settings.json +12 -0
  103. package/schemas/tools/set_ntp_client.json +9 -0
  104. package/schemas/tools/set_ntp_server.json +10 -0
  105. package/schemas/tools/set_ovpn_server.json +5 -0
  106. package/schemas/tools/set_pptp_server.json +8 -0
  107. package/schemas/tools/set_sstp_server.json +32 -0
  108. package/schemas/tools/set_system_clock.json +4 -0
  109. package/schemas/tools/set_user_manager_settings.json +16 -0
  110. package/schemas/tools/update_bfd_configuration.json +3 -0
  111. package/schemas/tools/update_bgp_connection.json +57 -0
  112. package/schemas/tools/update_bridge.json +75 -0
  113. package/schemas/tools/update_dns_static.json +20 -0
  114. package/schemas/tools/update_filter_rule.json +93 -0
  115. package/schemas/tools/update_ipsec_peer.json +5 -0
  116. package/schemas/tools/update_ipsec_profile.json +3 -0
  117. package/schemas/tools/update_ipsec_proposal.json +3 -0
  118. package/schemas/tools/update_ipv6_filter_rule.json +90 -0
  119. package/schemas/tools/update_ipv6_mangle_rule.json +107 -0
  120. package/schemas/tools/update_ipv6_nat_rule.json +99 -0
  121. package/schemas/tools/update_ipv6_nd.json +4 -0
  122. package/schemas/tools/update_ipv6_raw_rule.json +39 -0
  123. package/schemas/tools/update_ipv6_settings.json +29 -0
  124. package/schemas/tools/update_mangle_rule.json +48 -0
  125. package/schemas/tools/update_nat_rule.json +108 -0
  126. package/schemas/tools/update_ospf_instance.json +22 -0
  127. package/schemas/tools/update_ovpn_server.json +5 -0
  128. package/schemas/tools/update_ppp_profile.json +64 -0
  129. package/schemas/tools/update_ppp_secret.json +16 -0
  130. package/schemas/tools/update_queue_type.json +46 -0
  131. package/schemas/tools/update_radius_server.json +13 -0
  132. package/schemas/tools/update_rip_instance.json +4 -0
  133. package/schemas/tools/update_route.json +8 -0
  134. package/schemas/tools/update_routing_rule.json +5 -0
  135. package/schemas/tools/update_simple_queue.json +4 -0
  136. package/schemas/tools/update_sniffer_settings.json +32 -0
  137. package/schemas/tools/update_switch.json +8 -0
  138. package/schemas/tools/update_switch_rule.json +10 -0
  139. package/schemas/tools/update_user_manager_user.json +8 -0
  140. package/schemas/tools/update_vlan_interface.json +13 -0
  141. package/schemas/tools/update_wireguard_peer.json +34 -0
  142. package/schemas/tools/update_wireless_interface.json +91 -0
@@ -33,6 +33,98 @@
33
33
  "out_interface": {
34
34
  "type": "string"
35
35
  },
36
+ "in_interface_list": {
37
+ "type": "string"
38
+ },
39
+ "out_interface_list": {
40
+ "type": "string"
41
+ },
42
+ "src_address_list": {
43
+ "description": "Negate with \"!name\"",
44
+ "type": "string"
45
+ },
46
+ "dst_address_list": {
47
+ "description": "Negate with \"!name\"",
48
+ "type": "string"
49
+ },
50
+ "src_address_type": {
51
+ "type": "string"
52
+ },
53
+ "dst_address_type": {
54
+ "type": "string"
55
+ },
56
+ "src_mac_address": {
57
+ "type": "string"
58
+ },
59
+ "port": {
60
+ "type": "string"
61
+ },
62
+ "connection_state": {
63
+ "type": "string"
64
+ },
65
+ "connection_type": {
66
+ "type": "string"
67
+ },
68
+ "connection_bytes": {
69
+ "type": "string"
70
+ },
71
+ "connection_limit": {
72
+ "type": "string"
73
+ },
74
+ "connection_rate": {
75
+ "type": "string"
76
+ },
77
+ "per_connection_classifier": {
78
+ "type": "string"
79
+ },
80
+ "tcp_flags": {
81
+ "type": "string"
82
+ },
83
+ "tcp_mss": {
84
+ "type": "string"
85
+ },
86
+ "icmp_options": {
87
+ "type": "string"
88
+ },
89
+ "packet_size": {
90
+ "type": "string"
91
+ },
92
+ "dscp": {
93
+ "type": "string"
94
+ },
95
+ "priority": {
96
+ "type": "string"
97
+ },
98
+ "ingress_priority": {
99
+ "type": "string"
100
+ },
101
+ "ipsec_policy": {
102
+ "type": "string"
103
+ },
104
+ "nth": {
105
+ "type": "string"
106
+ },
107
+ "random": {
108
+ "type": "string"
109
+ },
110
+ "time": {
111
+ "type": "string"
112
+ },
113
+ "hop_limit": {
114
+ "type": "string"
115
+ },
116
+ "content": {
117
+ "type": "string"
118
+ },
119
+ "headers": {
120
+ "type": "string"
121
+ },
122
+ "limit": {
123
+ "type": "string"
124
+ },
125
+ "dst_limit": {
126
+ "type": "string"
127
+ },
36
128
  "connection_mark": {
37
129
  "type": "string"
38
130
  },
@@ -57,6 +149,21 @@
57
149
  "new_hop_limit": {
58
150
  "type": "string"
59
151
  },
152
+ "new_mss": {
153
+ "type": "string"
154
+ },
155
+ "new_priority": {
156
+ "type": "string"
157
+ },
158
+ "jump_target": {
159
+ "type": "string"
160
+ },
161
+ "sniff_target": {
162
+ "type": "string"
163
+ },
164
+ "sniff_target_port": {
165
+ "type": "string"
166
+ },
60
167
  "passthrough": {
61
168
  "type": "boolean"
62
169
  },
@@ -45,6 +45,105 @@
45
45
  "dst_address_list": {
46
46
  "type": "string"
47
47
  },
48
+ "in_interface_list": {
49
+ "type": "string"
50
+ },
51
+ "out_interface_list": {
52
+ "type": "string"
53
+ },
54
+ "src_address_type": {
55
+ "type": "string"
56
+ },
57
+ "dst_address_type": {
58
+ "type": "string"
59
+ },
60
+ "src_mac_address": {
61
+ "type": "string"
62
+ },
63
+ "port": {
64
+ "type": "string"
65
+ },
66
+ "connection_mark": {
67
+ "type": "string"
68
+ },
69
+ "connection_state": {
70
+ "type": "string"
71
+ },
72
+ "connection_type": {
73
+ "type": "string"
74
+ },
75
+ "connection_bytes": {
76
+ "type": "string"
77
+ },
78
+ "connection_limit": {
79
+ "type": "string"
80
+ },
81
+ "connection_rate": {
82
+ "type": "string"
83
+ },
84
+ "packet_mark": {
85
+ "type": "string"
86
+ },
87
+ "routing_mark": {
88
+ "type": "string"
89
+ },
90
+ "icmp_options": {
91
+ "type": "string"
92
+ },
93
+ "ipsec_policy": {
94
+ "type": "string"
95
+ },
96
+ "content": {
97
+ "type": "string"
98
+ },
99
+ "dscp": {
100
+ "type": "string"
101
+ },
102
+ "priority": {
103
+ "type": "string"
104
+ },
105
+ "tcp_flags": {
106
+ "type": "string"
107
+ },
108
+ "tcp_mss": {
109
+ "type": "string"
110
+ },
111
+ "packet_size": {
112
+ "type": "string"
113
+ },
114
+ "hop_limit": {
115
+ "type": "string"
116
+ },
117
+ "headers": {
118
+ "type": "string"
119
+ },
120
+ "limit": {
121
+ "type": "string"
122
+ },
123
+ "dst_limit": {
124
+ "type": "string"
125
+ },
126
+ "nth": {
127
+ "type": "string"
128
+ },
129
+ "random": {
130
+ "type": "string"
131
+ },
132
+ "per_connection_classifier": {
133
+ "type": "string"
134
+ },
135
+ "time": {
136
+ "type": "string"
137
+ },
138
+ "jump_target": {
139
+ "type": "string"
140
+ },
141
+ "address_list": {
142
+ "type": "string"
143
+ },
144
+ "address_list_timeout": {
145
+ "type": "string"
146
+ },
48
147
  "comment": {
49
148
  "type": "string"
50
149
  },
@@ -46,6 +46,10 @@
46
46
  "advertise_mac_address": {
47
47
  "type": "boolean"
48
48
  },
49
+ "dns": {
50
+ "description": "Recursive DNS servers advertised via RA (RDNSS), comma-separated IPv6",
51
+ "type": "string"
52
+ },
49
53
  "comment": {
50
54
  "type": "string"
51
55
  },
@@ -24,6 +24,9 @@
24
24
  "dst_port": {
25
25
  "type": "string"
26
26
  },
27
+ "port": {
28
+ "type": "string"
29
+ },
27
30
  "protocol": {
28
31
  "type": "string"
29
32
  },
@@ -33,12 +36,48 @@
33
36
  "out_interface": {
34
37
  "type": "string"
35
38
  },
39
+ "in_interface_list": {
40
+ "type": "string"
41
+ },
42
+ "out_interface_list": {
43
+ "type": "string"
44
+ },
36
45
  "src_address_list": {
37
46
  "type": "string"
38
47
  },
39
48
  "dst_address_list": {
40
49
  "type": "string"
41
50
  },
51
+ "src_address_type": {
52
+ "type": "string"
53
+ },
54
+ "dst_address_type": {
55
+ "type": "string"
56
+ },
57
+ "src_mac_address": {
58
+ "type": "string"
59
+ },
60
+ "hop_limit": {
61
+ "type": "string"
62
+ },
63
+ "tcp_flags": {
64
+ "type": "string"
65
+ },
66
+ "tcp_mss": {
67
+ "type": "string"
68
+ },
69
+ "packet_size": {
70
+ "type": "string"
71
+ },
72
+ "dscp": {
73
+ "type": "string"
74
+ },
75
+ "ipsec_policy": {
76
+ "type": "string"
77
+ },
78
+ "limit": {
79
+ "type": "string"
80
+ },
42
81
  "comment": {
43
82
  "type": "string"
44
83
  },
@@ -17,10 +17,39 @@
17
17
  "type": "string",
18
18
  "enum": ["yes", "no", "yes-if-forwarding-disabled"]
19
19
  },
20
+ "accept_router_advertisements_on": {
21
+ "description": "Interface list on which to accept router advertisements (e.g. 'all').",
22
+ "type": "string"
23
+ },
20
24
  "max_neighbor_entries": {
21
25
  "type": "integer",
22
26
  "minimum": -9007199254740991,
23
27
  "maximum": 9007199254740991
28
+ },
29
+ "min_neighbor_entries": {
30
+ "description": "Lower threshold for the IPv6 neighbor cache below which entries are not reclaimed.",
31
+ "type": "integer",
32
+ "minimum": -9007199254740991,
33
+ "maximum": 9007199254740991
34
+ },
35
+ "soft_max_neighbor_entries": {
36
+ "description": "Soft ceiling for the IPv6 neighbor cache before aggressive garbage collection.",
37
+ "type": "integer",
38
+ "minimum": -9007199254740991,
39
+ "maximum": 9007199254740991
40
+ },
41
+ "stale_neighbor_timeout": {
42
+ "description": "Time a stale IPv6 neighbor entry is kept before revalidation (e.g. '60').",
43
+ "type": "string"
44
+ },
45
+ "multipath_hash_policy": {
46
+ "description": "Hashing fields for ECMP multipath route selection: l3, l4, or l3-inner.",
47
+ "type": "string",
48
+ "enum": ["l3", "l4", "l3-inner"]
49
+ },
50
+ "allow_fast_path": {
51
+ "description": "Allow IPv6 FastPath processing.",
52
+ "type": "boolean"
24
53
  }
25
54
  },
26
55
  "additionalProperties": false
@@ -24,9 +24,15 @@
24
24
  "dst_port": {
25
25
  "type": "string"
26
26
  },
27
+ "port": {
28
+ "type": "string"
29
+ },
27
30
  "protocol": {
28
31
  "type": "string"
29
32
  },
33
+ "src_mac_address": {
34
+ "type": "string"
35
+ },
30
36
  "in_interface": {
31
37
  "type": "string"
32
38
  },
@@ -95,6 +101,33 @@
95
101
  "packet_size": {
96
102
  "type": "string"
97
103
  },
104
+ "ttl": {
105
+ "type": "string"
106
+ },
107
+ "tcp_mss": {
108
+ "type": "string"
109
+ },
110
+ "fragment": {
111
+ "type": "boolean"
112
+ },
113
+ "icmp_options": {
114
+ "type": "string"
115
+ },
116
+ "ipv4_options": {
117
+ "type": "string"
118
+ },
119
+ "limit": {
120
+ "type": "string"
121
+ },
122
+ "dst_limit": {
123
+ "type": "string"
124
+ },
125
+ "content": {
126
+ "type": "string"
127
+ },
128
+ "psd": {
129
+ "type": "string"
130
+ },
98
131
  "layer7_protocol": {
99
132
  "type": "string"
100
133
  },
@@ -134,9 +167,24 @@
134
167
  "new_mss": {
135
168
  "type": "string"
136
169
  },
170
+ "new_priority": {
171
+ "type": "string"
172
+ },
137
173
  "routing_table": {
138
174
  "type": "string"
139
175
  },
176
+ "route_dst": {
177
+ "type": "string"
178
+ },
179
+ "jump_target": {
180
+ "type": "string"
181
+ },
182
+ "sniff_target": {
183
+ "type": "string"
184
+ },
185
+ "sniff_target_port": {
186
+ "type": "string"
187
+ },
140
188
  "address_list": {
141
189
  "type": "string"
142
190
  },
@@ -53,6 +53,114 @@
53
53
  "connection_nat_state": {
54
54
  "type": "string"
55
55
  },
56
+ "connection_state": {
57
+ "type": "string"
58
+ },
59
+ "connection_type": {
60
+ "type": "string"
61
+ },
62
+ "connection_bytes": {
63
+ "type": "string"
64
+ },
65
+ "connection_limit": {
66
+ "type": "string"
67
+ },
68
+ "connection_rate": {
69
+ "type": "string"
70
+ },
71
+ "port": {
72
+ "type": "string"
73
+ },
74
+ "src_mac_address": {
75
+ "type": "string"
76
+ },
77
+ "packet_mark": {
78
+ "type": "string"
79
+ },
80
+ "routing_mark": {
81
+ "type": "string"
82
+ },
83
+ "src_address_type": {
84
+ "type": "string"
85
+ },
86
+ "dst_address_type": {
87
+ "type": "string"
88
+ },
89
+ "in_bridge_port": {
90
+ "type": "string"
91
+ },
92
+ "out_bridge_port": {
93
+ "type": "string"
94
+ },
95
+ "in_bridge_port_list": {
96
+ "type": "string"
97
+ },
98
+ "out_bridge_port_list": {
99
+ "type": "string"
100
+ },
101
+ "icmp_options": {
102
+ "type": "string"
103
+ },
104
+ "ipsec_policy": {
105
+ "type": "string"
106
+ },
107
+ "layer7_protocol": {
108
+ "type": "string"
109
+ },
110
+ "content": {
111
+ "type": "string"
112
+ },
113
+ "dscp": {
114
+ "type": "string"
115
+ },
116
+ "priority": {
117
+ "type": "string"
118
+ },
119
+ "tcp_flags": {
120
+ "type": "string"
121
+ },
122
+ "tcp_mss": {
123
+ "type": "string"
124
+ },
125
+ "packet_size": {
126
+ "type": "string"
127
+ },
128
+ "limit": {
129
+ "type": "string"
130
+ },
131
+ "nth": {
132
+ "type": "string"
133
+ },
134
+ "psd": {
135
+ "type": "string"
136
+ },
137
+ "random": {
138
+ "type": "string"
139
+ },
140
+ "per_connection_classifier": {
141
+ "type": "string"
142
+ },
143
+ "time": {
144
+ "type": "string"
145
+ },
146
+ "ttl": {
147
+ "type": "string"
148
+ },
149
+ "hotspot": {
150
+ "type": "string"
151
+ },
152
+ "jump_target": {
153
+ "type": "string"
154
+ },
155
+ "address_list": {
156
+ "type": "string"
157
+ },
158
+ "address_list_timeout": {
159
+ "type": "string"
160
+ },
161
+ "fragment": {
162
+ "type": "boolean"
163
+ },
56
164
  "to_addresses": {
57
165
  "type": "string"
58
166
  },
@@ -22,6 +22,28 @@
22
22
  "originate_default": {
23
23
  "type": "string"
24
24
  },
25
+ "domain_id": {
26
+ "description": "OSPF domain ID (MPLS VPN PE-CE OSPF)",
27
+ "type": "string"
28
+ },
29
+ "domain_tag": {
30
+ "description": "OSPF domain tag (MPLS VPN PE-CE OSPF)",
31
+ "type": "integer",
32
+ "minimum": -9007199254740991,
33
+ "maximum": 9007199254740991
34
+ },
35
+ "use_dn": {
36
+ "description": "Use/ignore DN bit on OSPF routes (MPLS VPN)",
37
+ "type": "boolean"
38
+ },
39
+ "mpls_te_area": {
40
+ "description": "Area used for MPLS traffic engineering",
41
+ "type": "string"
42
+ },
43
+ "mpls_te_address": {
44
+ "description": "Router address advertised for MPLS TE",
45
+ "type": "string"
46
+ },
25
47
  "comment": {
26
48
  "type": "string"
27
49
  },
@@ -37,6 +37,11 @@
37
37
  "cipher": {
38
38
  "type": "string"
39
39
  },
40
+ "tls_version": {
41
+ "description": "Accepted TLS version",
42
+ "type": "string",
43
+ "enum": ["any", "only-1.2"]
44
+ },
40
45
  "max_mtu": {
41
46
  "type": "integer",
42
47
  "minimum": -9007199254740991,
@@ -19,13 +19,47 @@
19
19
  "dns_server": {
20
20
  "type": "string"
21
21
  },
22
+ "wins_server": {
23
+ "description": "WINS server IP(s) pushed to clients",
24
+ "type": "string"
25
+ },
26
+ "address_list": {
27
+ "description": "Address list to add the remote address to",
28
+ "type": "string"
29
+ },
30
+ "incoming_filter": {
31
+ "description": "Firewall chain for incoming packets",
32
+ "type": "string"
33
+ },
34
+ "outgoing_filter": {
35
+ "description": "Firewall chain for outgoing packets",
36
+ "type": "string"
37
+ },
22
38
  "rate_limit": {
23
39
  "type": "string"
24
40
  },
41
+ "session_timeout": {
42
+ "description": "Max session duration, e.g. '1h'",
43
+ "type": "string"
44
+ },
45
+ "idle_timeout": {
46
+ "description": "Disconnect after this idle time, e.g. '5m'",
47
+ "type": "string"
48
+ },
25
49
  "use_encryption": {
26
50
  "type": "string",
27
51
  "enum": ["default", "yes", "no", "required"]
28
52
  },
53
+ "use_mpls": {
54
+ "description": "MPLS over the link policy",
55
+ "type": "string",
56
+ "enum": ["default", "yes", "no", "required"]
57
+ },
58
+ "use_compression": {
59
+ "description": "Compression policy",
60
+ "type": "string",
61
+ "enum": ["default", "yes", "no"]
62
+ },
29
63
  "change_tcp_mss": {
30
64
  "type": "string",
31
65
  "enum": ["default", "yes", "no"]
@@ -37,6 +71,36 @@
37
71
  "bridge": {
38
72
  "type": "string"
39
73
  },
74
+ "bridge_horizon": {
75
+ "description": "Bridge split-horizon group",
76
+ "type": "integer",
77
+ "minimum": -9007199254740991,
78
+ "maximum": 9007199254740991
79
+ },
80
+ "bridge_path_cost": {
81
+ "description": "Bridge port path cost",
82
+ "type": "integer",
83
+ "minimum": -9007199254740991,
84
+ "maximum": 9007199254740991
85
+ },
86
+ "bridge_port_priority": {
87
+ "description": "Bridge port priority",
88
+ "type": "integer",
89
+ "minimum": -9007199254740991,
90
+ "maximum": 9007199254740991
91
+ },
92
+ "dhcpv6_pd_pool": {
93
+ "description": "IPv6 prefix delegation pool name",
94
+ "type": "string"
95
+ },
96
+ "on_up": {
97
+ "description": "Script to run when the session connects",
98
+ "type": "string"
99
+ },
100
+ "on_down": {
101
+ "description": "Script to run when the session disconnects",
102
+ "type": "string"
103
+ },
40
104
  "comment": {
41
105
  "type": "string"
42
106
  }
@@ -26,9 +26,25 @@
26
26
  "remote_address": {
27
27
  "type": "string"
28
28
  },
29
+ "routes": {
30
+ "description": "Routes added while this client is connected",
31
+ "type": "string"
32
+ },
29
33
  "caller_id": {
30
34
  "type": "string"
31
35
  },
36
+ "limit_bytes_in": {
37
+ "description": "Max bytes the client may upload",
38
+ "type": "integer",
39
+ "minimum": -9007199254740991,
40
+ "maximum": 9007199254740991
41
+ },
42
+ "limit_bytes_out": {
43
+ "description": "Max bytes the client may download",
44
+ "type": "integer",
45
+ "minimum": -9007199254740991,
46
+ "maximum": 9007199254740991
47
+ },
32
48
  "comment": {
33
49
  "type": "string"
34
50
  },