| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# Copyright (c) 2022, Felix Fontein (@felixfontein) <[email protected]> |
| 3 |
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) |
| 4 |
# SPDX-License-Identifier: GPL-3.0-or-later |
| 5 |
|
| 6 |
# The data inside here is private to this collection. If you use this from outside the collection, |
| 7 |
# you are on your own. There can be random changes to its format even in bugfix releases! |
| 8 |
|
| 9 |
from __future__ import absolute_import, division, print_function |
| 10 |
__metaclass__ = type |
| 11 |
|
| 12 |
from ansible_collections.community.routeros.plugins.module_utils.version import LooseVersion |
| 13 |
|
| 14 |
|
| 15 |
# --------------------------------------------------------------------------- |
| 16 |
# Value sanitizers |
| 17 |
# |
| 18 |
# A value sanitizer is a callable (any) -> any that normalises a user-supplied |
| 19 |
# field value so it matches the form RouterOS stores and returns. Sanitizers |
| 20 |
# are registered on individual KeyInfo instances via the ``value_sanitizer`` |
| 21 |
# kwarg and are applied by ``polish_entry()`` in api_modify.py before any |
| 22 |
# comparison or API call is made. |
| 23 |
# |
| 24 |
# CONTRACT: a sanitizer must be idempotent – applying it twice must yield the |
| 25 |
# same result as applying it once. |
| 26 |
# CONTRACT: a sanitizer must pass through any value type it does not |
| 27 |
# explicitly handle, leaving it unchanged. |
| 28 |
# --------------------------------------------------------------------------- |
| 29 |
|
| 30 |
def _sanitize_ensure_leading_slash(value): |
| 31 |
# type: (any) -> any |
| 32 |
"""Prepend ``/`` when absent, mirroring RouterOS's implicit normalisation. |
| 33 |
|
| 34 |
RouterOS silently prepends ``/`` to certain path fields (e.g. |
| 35 |
``container/mounts`` ``src`` and ``dst``) when entries are created or |
| 36 |
updated. Without this sanitizer Ansible would always detect a diff |
| 37 |
between the user-supplied value ``usb1/data`` and the RouterOS-stored |
| 38 |
value ``/usb1/data``, making the module non-idempotent. |
| 39 |
|
| 40 |
Edge cases: |
| 41 |
* Non-string value → returned as-is (type checking is the caller's |
| 42 |
responsibility; this sanitizer only operates on strings). |
| 43 |
* Empty string → returned as-is (RouterOS maps a missing ``src`` to ``/``, |
| 44 |
but that is represented separately via the field default). |
| 45 |
* Already starts with ``/`` → returned unchanged. |
| 46 |
""" |
| 47 |
if value and isinstance(value, str) and not value.startswith('/'): |
| 48 |
return '/' + value |
| 49 |
return value |
| 50 |
|
| 51 |
|
| 52 |
# Registry of detection strategy names -> callables |
| 53 |
# Callables are NOT defined here (they need API access); |
| 54 |
# they're registered by the modules at runtime. |
| 55 |
# _api_data.py only stores the string keys. |
| 56 |
HARDWARE_DETECTOR_KEYS = { |
| 57 |
'switch_chip_type', |
| 58 |
# Future: 'wireless_chip_type', etc. |
| 59 |
} |
| 60 |
|
| 61 |
|
| 62 |
def _compare(a, b, comparator): |
| 63 |
if comparator == '==': |
| 64 |
return a == b |
| 65 |
if comparator == '!=': |
| 66 |
return a != b |
| 67 |
if comparator == '<': |
| 68 |
return a < b |
| 69 |
if comparator == '<=': |
| 70 |
return a <= b |
| 71 |
if comparator == '>': |
| 72 |
return a > b |
| 73 |
if comparator == '>=': |
| 74 |
return a >= b |
| 75 |
raise ValueError('Unknown comparator "{comparator}"'.format(comparator=comparator)) |
| 76 |
|
| 77 |
|
| 78 |
class Depr(object): |
| 79 |
def __init__(self, version, msg, context="all"): |
| 80 |
if context not in ("all", "read", "write"): |
| 81 |
raise ValueError('context must be all, read, or write, but not {context!r}'.format(context=context)) |
| 82 |
self.context = context |
| 83 |
self.version = version |
| 84 |
self.msg = msg |
| 85 |
|
| 86 |
def applies(self, context): |
| 87 |
return context == self.context or self.context == "all" |
| 88 |
|
| 89 |
def emit(self, module): |
| 90 |
module.deprecate(self.msg, version=self.version, collection_name="community.routeros") |
| 91 |
|
| 92 |
|
| 93 |
class APIData(object): |
| 94 |
def __init__(self, |
| 95 |
unversioned=None, |
| 96 |
versioned=None, |
| 97 |
hardware_detect=None, |
| 98 |
hardware_variants=None): |
| 99 |
|
| 100 |
# --- Validation --- |
| 101 |
if hardware_variants is not None: |
| 102 |
if unversioned is not None or versioned is not None: |
| 103 |
raise ValueError('Cannot combine hardware_variants with unversioned/versioned') |
| 104 |
if hardware_detect is None: |
| 105 |
raise ValueError('hardware_detect required when hardware_variants is set') |
| 106 |
for key, variant in hardware_variants.items(): |
| 107 |
if not isinstance(variant, APIData): |
| 108 |
raise ValueError('hardware_variants[{key!r}] must be an APIData instance'.format(key=key)) |
| 109 |
if variant.hardware_variants is not None: |
| 110 |
raise ValueError('hardware_variants[{key!r}] must not itself have hardware_variants'.format(key=key)) |
| 111 |
elif hardware_detect is not None: |
| 112 |
raise ValueError('hardware_detect requires hardware_variants') |
| 113 |
else: |
| 114 |
if (unversioned is None) == (versioned is None): |
| 115 |
raise ValueError('either unversioned or versioned must be provided') |
| 116 |
|
| 117 |
self.unversioned = unversioned |
| 118 |
self.versioned = versioned |
| 119 |
self.hardware_detect = hardware_detect |
| 120 |
self.hardware_variants = hardware_variants |
| 121 |
|
| 122 |
# --- Derive fully_understood, needs_version, has_identifier, modify_not_supported --- |
| 123 |
if self.hardware_variants is not None: |
| 124 |
# fully_understood if ANY variant is fully_understood |
| 125 |
self.fully_understood = any( |
| 126 |
v.fully_understood for v in self.hardware_variants.values() |
| 127 |
) |
| 128 |
# needs_version if ANY variant needs_version |
| 129 |
self.needs_version = any( |
| 130 |
v.needs_version for v in self.hardware_variants.values() |
| 131 |
) |
| 132 |
# has_identifier / modify_not_supported: only True when ALL variants have it |
| 133 |
self.has_identifier = all( |
| 134 |
v.has_identifier for v in self.hardware_variants.values() |
| 135 |
) |
| 136 |
self.modify_not_supported = all( |
| 137 |
v.modify_not_supported for v in self.hardware_variants.values() |
| 138 |
) |
| 139 |
elif self.unversioned is not None: |
| 140 |
self.needs_version = self.unversioned.needs_version |
| 141 |
self.fully_understood = self.unversioned.fully_understood |
| 142 |
self.has_identifier = self.unversioned.has_identifier |
| 143 |
self.modify_not_supported = self.unversioned.modify_not_supported |
| 144 |
else: |
| 145 |
self.needs_version = self.versioned is not None |
| 146 |
# Mark as 'fully understood' if it is for at least one version |
| 147 |
self.fully_understood = False |
| 148 |
for dummy, dummy, unversioned in self.versioned: |
| 149 |
if unversioned and not isinstance(unversioned, str) and unversioned.fully_understood: |
| 150 |
self.fully_understood = True |
| 151 |
break |
| 152 |
# Mark as 'has_identifier' only if it is for all versions |
| 153 |
self.has_identifier = True |
| 154 |
for dummy, dummy, unversioned in self.versioned: |
| 155 |
if unversioned and not isinstance(unversioned, str) and not unversioned.has_identifier: |
| 156 |
self.has_identifier = False |
| 157 |
break |
| 158 |
# Mark as 'modify_not_supported' only if it is for all versions |
| 159 |
self.modify_not_supported = True |
| 160 |
for dummy, dummy, unversioned in self.versioned: |
| 161 |
if unversioned and not isinstance(unversioned, str) and not unversioned.modify_not_supported: |
| 162 |
self.modify_not_supported = False |
| 163 |
break |
| 164 |
self._current = None if self.needs_version else self.unversioned |
| 165 |
|
| 166 |
def _select(self, data, api_version): |
| 167 |
if data is None: |
| 168 |
self._current = None |
| 169 |
return False, None |
| 170 |
if isinstance(data, str): |
| 171 |
self._current = None |
| 172 |
return False, data |
| 173 |
self._current = data.specialize_for_version(api_version) |
| 174 |
return self._current.fully_understood, None |
| 175 |
|
| 176 |
def provide_version(self, version): |
| 177 |
if not self.needs_version: |
| 178 |
return self.unversioned.fully_understood, None |
| 179 |
api_version = LooseVersion(version) |
| 180 |
if self.unversioned is not None: |
| 181 |
self._current = self.unversioned.specialize_for_version(api_version) |
| 182 |
return self._current.fully_understood, None |
| 183 |
for other_version, comparator, data in self.versioned: |
| 184 |
if other_version == '*' and comparator == '*': |
| 185 |
return self._select(data, api_version) |
| 186 |
other_api_version = LooseVersion(other_version) |
| 187 |
if _compare(api_version, other_api_version, comparator): |
| 188 |
return self._select(data, api_version) |
| 189 |
self._current = None |
| 190 |
return False, None |
| 191 |
|
| 192 |
def get_data(self): |
| 193 |
if self._current is None: |
| 194 |
raise ValueError('either provide_version() was not called or it returned False') |
| 195 |
return self._current |
| 196 |
|
| 197 |
|
| 198 |
class VersionedAPIData(object): |
| 199 |
def __init__(self, |
| 200 |
primary_keys=None, |
| 201 |
stratify_keys=None, |
| 202 |
required_one_of=None, |
| 203 |
mutually_exclusive=None, |
| 204 |
has_identifier=False, |
| 205 |
modify_not_supported=False, |
| 206 |
single_value=False, |
| 207 |
unknown_mechanism=False, |
| 208 |
fully_understood=False, |
| 209 |
fixed_entries=False, |
| 210 |
fields=None, |
| 211 |
versioned_fields=None): |
| 212 |
if sum([primary_keys is not None, stratify_keys is not None, has_identifier, single_value, unknown_mechanism]) > 1: |
| 213 |
raise ValueError('primary_keys, stratify_keys, has_identifier, single_value, and unknown_mechanism are mutually exclusive') |
| 214 |
if unknown_mechanism and fully_understood: |
| 215 |
raise ValueError('unknown_mechanism and fully_understood cannot be combined') |
| 216 |
self.primary_keys = primary_keys |
| 217 |
self.stratify_keys = stratify_keys |
| 218 |
self.required_one_of = required_one_of or [] |
| 219 |
self.mutually_exclusive = mutually_exclusive or [] |
| 220 |
self.has_identifier = has_identifier |
| 221 |
self.modify_not_supported = modify_not_supported |
| 222 |
self.single_value = single_value |
| 223 |
self.unknown_mechanism = unknown_mechanism |
| 224 |
self.fully_understood = fully_understood |
| 225 |
if single_value: |
| 226 |
fixed_entries = False |
| 227 |
self.fixed_entries = fixed_entries |
| 228 |
if fixed_entries and primary_keys is None: |
| 229 |
raise ValueError('fixed_entries can only be used with primary_keys') |
| 230 |
if fields is None: |
| 231 |
raise ValueError('fields must be provided') |
| 232 |
self.fields = fields |
| 233 |
if versioned_fields is not None: |
| 234 |
if not isinstance(versioned_fields, list): |
| 235 |
raise ValueError('unversioned_fields must be a list') |
| 236 |
for conditions, name, field in versioned_fields: |
| 237 |
if not isinstance(conditions, (tuple, list)): |
| 238 |
raise ValueError('conditions must be a list or tuple') |
| 239 |
if not isinstance(field, KeyInfo): |
| 240 |
raise ValueError('field must be a KeyInfo object') |
| 241 |
if name in fields: |
| 242 |
raise ValueError('"{name}" appears both in fields and versioned_fields'.format(name=name)) |
| 243 |
self.versioned_fields = versioned_fields or [] |
| 244 |
if primary_keys: |
| 245 |
for pk in primary_keys: |
| 246 |
if pk not in fields: |
| 247 |
raise ValueError('Primary key {pk} must be in fields!'.format(pk=pk)) |
| 248 |
if stratify_keys: |
| 249 |
for sk in stratify_keys: |
| 250 |
if sk not in fields: |
| 251 |
raise ValueError('Stratify key {sk} must be in fields!'.format(sk=sk)) |
| 252 |
if required_one_of: |
| 253 |
for index, require_list in enumerate(required_one_of): |
| 254 |
if not isinstance(require_list, list): |
| 255 |
raise ValueError('Require one of element at index #{index} must be a list!'.format(index=index + 1)) |
| 256 |
for rk in require_list: |
| 257 |
if rk not in fields: |
| 258 |
raise ValueError('Require one of key {rk} must be in fields!'.format(rk=rk)) |
| 259 |
if mutually_exclusive: |
| 260 |
for index, exclusive_list in enumerate(mutually_exclusive): |
| 261 |
if not isinstance(exclusive_list, list): |
| 262 |
raise ValueError('Mutually exclusive element at index #{index} must be a list!'.format(index=index + 1)) |
| 263 |
for ek in exclusive_list: |
| 264 |
if ek not in fields: |
| 265 |
raise ValueError('Mutually exclusive key {ek} must be in fields!'.format(ek=ek)) |
| 266 |
self.needs_version = len(self.versioned_fields) > 0 |
| 267 |
|
| 268 |
def specialize_for_version(self, api_version): |
| 269 |
fields = self.fields.copy() |
| 270 |
for conditions, name, field in self.versioned_fields: |
| 271 |
matching = True |
| 272 |
for other_version, comparator in conditions: |
| 273 |
other_api_version = LooseVersion(other_version) |
| 274 |
if not _compare(api_version, other_api_version, comparator): |
| 275 |
matching = False |
| 276 |
break |
| 277 |
if matching: |
| 278 |
if name in fields: |
| 279 |
raise ValueError( |
| 280 |
'Internal error: field "{field}" already exists for {version}'.format(field=name, version=api_version) |
| 281 |
) |
| 282 |
fields[name] = field |
| 283 |
return VersionedAPIData( |
| 284 |
primary_keys=self.primary_keys, |
| 285 |
stratify_keys=self.stratify_keys, |
| 286 |
required_one_of=self.required_one_of, |
| 287 |
mutually_exclusive=self.mutually_exclusive, |
| 288 |
has_identifier=self.has_identifier, |
| 289 |
single_value=self.single_value, |
| 290 |
unknown_mechanism=self.unknown_mechanism, |
| 291 |
fully_understood=self.fully_understood, |
| 292 |
fixed_entries=self.fixed_entries, |
| 293 |
fields=fields, |
| 294 |
modify_not_supported=self.modify_not_supported, |
| 295 |
) |
| 296 |
|
| 297 |
|
| 298 |
class KeyInfo(object): |
| 299 |
def __init__(self, |
| 300 |
_dummy=None, |
| 301 |
can_disable=False, |
| 302 |
remove_value=None, |
| 303 |
absent_value=None, |
| 304 |
default=None, |
| 305 |
required=False, |
| 306 |
automatically_computed_from=None, |
| 307 |
read_only=False, |
| 308 |
write_only=False, |
| 309 |
value_sanitizer=None, |
| 310 |
depr=None): |
| 311 |
if _dummy is not None: |
| 312 |
raise ValueError('KeyInfo() does not have positional arguments') |
| 313 |
if sum([required, default is not None or can_disable, automatically_computed_from is not None]) > 1: |
| 314 |
raise ValueError( |
| 315 |
'required, default, automatically_computed_from, and can_disable are mutually exclusive ' |
| 316 |
'besides default and can_disable which can be set together') |
| 317 |
if not can_disable and remove_value is not None: |
| 318 |
raise ValueError('remove_value can only be specified if can_disable=True') |
| 319 |
if absent_value is not None and any([default is not None, automatically_computed_from is not None, can_disable]): |
| 320 |
raise ValueError('absent_value can not be combined with default, automatically_computed_from, can_disable=True, or absent_value') |
| 321 |
if read_only and write_only: |
| 322 |
raise ValueError('read_only and write_only cannot be used at the same time') |
| 323 |
if read_only and any([can_disable, remove_value is not None, absent_value is not None, default is not None, required]): |
| 324 |
raise ValueError('read_only can not be combined with can_disable, remove_value, absent_value, default, or required') |
| 325 |
|
| 326 |
if value_sanitizer is not None and not callable(value_sanitizer): |
| 327 |
raise ValueError('value_sanitizer must be a callable or None') |
| 328 |
if value_sanitizer is not None and read_only: |
| 329 |
raise ValueError( |
| 330 |
'value_sanitizer cannot be combined with read_only: ' |
| 331 |
'read-only fields are never written so sanitisation has no effect' |
| 332 |
) |
| 333 |
if value_sanitizer is not None and write_only: |
| 334 |
raise ValueError( |
| 335 |
'value_sanitizer cannot be combined with write_only: ' |
| 336 |
'write-only fields cannot be read back from RouterOS so ' |
| 337 |
'the sanitised value cannot be verified' |
| 338 |
) |
| 339 |
if depr is not None and not isinstance(depr, Depr): |
| 340 |
raise ValueError('depr must be a Depr instance, but got {depr!r}'.format(depr=depr)) |
| 341 |
|
| 342 |
self.can_disable = can_disable |
| 343 |
self.remove_value = remove_value |
| 344 |
self.automatically_computed_from = automatically_computed_from |
| 345 |
self.default = default |
| 346 |
self.required = required |
| 347 |
self.absent_value = absent_value |
| 348 |
self.read_only = read_only |
| 349 |
self.write_only = write_only |
| 350 |
self.value_sanitizer = value_sanitizer |
| 351 |
self.depr = depr |
| 352 |
|
| 353 |
|
| 354 |
def split_path(path): |
| 355 |
return path.split() |
| 356 |
|
| 357 |
|
| 358 |
def join_path(path): |
| 359 |
return ' '.join(path) |
| 360 |
|
| 361 |
|
| 362 |
# How to obtain this information: |
| 363 |
# 1. Run `/export verbose` in the CLI; |
| 364 |
# 2. All attributes listed there go into the `fields` list; |
| 365 |
# attributes which can have a `!` ahead should have `canDisable=True` |
| 366 |
# 3. All bold attributes go into the `primary_keys` list -- this is not always true! |
| 367 |
|
| 368 |
PATHS = { |
| 369 |
('app',): APIData( |
| 370 |
versioned=[ |
| 371 |
('7.21', '>=', VersionedAPIData( |
| 372 |
# fixed_entries=True, |
| 373 |
fully_understood=True, |
| 374 |
has_identifier=True, |
| 375 |
# primary_keys=('numbers',), |
| 376 |
versioned_fields=[ |
| 377 |
([('7.22', '>=')], 'app-store-url', KeyInfo(read_only=True)), |
| 378 |
([('7.22', '>=')], 'category', KeyInfo(read_only=True)), |
| 379 |
([('7.22', '>=')], 'cmds', KeyInfo(read_only=True)), |
| 380 |
([('7.22', '>=')], 'containers', KeyInfo(read_only=True)), |
| 381 |
# ([('7.22', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 382 |
([('7.22', '>=')], 'custom', KeyInfo(read_only=True)), |
| 383 |
([('7.22', '>=')], 'default-credentials', KeyInfo(read_only=True)), |
| 384 |
([('7.22', '>=')], 'default-network', KeyInfo(read_only=True)), |
| 385 |
([('7.22', '>=')], 'description', KeyInfo(read_only=True)), |
| 386 |
([('7.22', '>=')], 'from-app-store', KeyInfo(read_only=True)), |
| 387 |
([('7.22', '>=')], 'interface', KeyInfo(read_only=True)), |
| 388 |
([('7.22', '>=')], 'name', KeyInfo(read_only=True)), |
| 389 |
([('7.22', '>=')], 'project-page', KeyInfo(read_only=True)), |
| 390 |
([('7.22', '>=')], 'pvid', KeyInfo()), |
| 391 |
([('7.22', '>=')], 'running', KeyInfo(read_only=True)), |
| 392 |
([('7.22', '>=')], 'status', KeyInfo(read_only=True)), |
| 393 |
([('7.22', '>=')], 'ui-url', KeyInfo(read_only=True)), |
| 394 |
([('7.22', '>=')], 'use-https', KeyInfo()), |
| 395 |
([('7.22', '>=')], 'variables-to-use-in-environment', KeyInfo(read_only=True)), |
| 396 |
([('7.22', '>=')], 'yaml', KeyInfo()), |
| 397 |
], |
| 398 |
fields={ |
| 399 |
'auto-update': KeyInfo(), |
| 400 |
'disabled': KeyInfo(), |
| 401 |
'environment': KeyInfo(), |
| 402 |
'extra-mounts': KeyInfo(), |
| 403 |
'firewall-redirects': KeyInfo(), |
| 404 |
'hw-device-access': KeyInfo(), |
| 405 |
'network': KeyInfo(), |
| 406 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 407 |
'required-mounts': KeyInfo(), |
| 408 |
}, |
| 409 |
)), |
| 410 |
], |
| 411 |
), |
| 412 |
|
| 413 |
('app', 'settings'): APIData( |
| 414 |
versioned=[ |
| 415 |
('7.21', '>=', VersionedAPIData( |
| 416 |
fixed_entries=True, |
| 417 |
fully_understood=True, |
| 418 |
single_value=True, |
| 419 |
versioned_fields=[ |
| 420 |
([('7.22', '>=')], 'app-store-urls', KeyInfo()), |
| 421 |
], |
| 422 |
fields={ |
| 423 |
'auto-update': KeyInfo(), |
| 424 |
'disk': KeyInfo(), |
| 425 |
'download-path': KeyInfo(), |
| 426 |
'lan-bridge': KeyInfo(), |
| 427 |
'media-path': KeyInfo(), |
| 428 |
'registry-mirrors': KeyInfo(), |
| 429 |
'router-ip': KeyInfo(), |
| 430 |
'show-in-webfig': KeyInfo(), |
| 431 |
}, |
| 432 |
)), |
| 433 |
], |
| 434 |
), |
| 435 |
|
| 436 |
('caps-man', 'aaa'): APIData( |
| 437 |
unversioned=VersionedAPIData( |
| 438 |
fixed_entries=True, |
| 439 |
fully_understood=True, |
| 440 |
single_value=True, |
| 441 |
fields={ |
| 442 |
'called-format': KeyInfo(default='mac:ssid'), |
| 443 |
'interim-update': KeyInfo(default='disabled'), |
| 444 |
'mac-caching': KeyInfo(default='disabled'), |
| 445 |
'mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'), |
| 446 |
'mac-mode': KeyInfo(default='as-username'), |
| 447 |
}, |
| 448 |
), |
| 449 |
), |
| 450 |
|
| 451 |
('caps-man', 'access-list'): APIData( |
| 452 |
unversioned=VersionedAPIData( |
| 453 |
fully_understood=True, |
| 454 |
versioned_fields=[ |
| 455 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 456 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 457 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 458 |
], |
| 459 |
fields={ |
| 460 |
'action': KeyInfo(can_disable=True), |
| 461 |
'allow-signal-out-of-range': KeyInfo(can_disable=True), |
| 462 |
'ap-tx-limit': KeyInfo(can_disable=True), |
| 463 |
'client-to-client-forwarding': KeyInfo(can_disable=True), |
| 464 |
'client-tx-limit': KeyInfo(can_disable=True), |
| 465 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 466 |
'disabled': KeyInfo(default=False), |
| 467 |
'interface': KeyInfo(can_disable=True), |
| 468 |
'mac-address': KeyInfo(can_disable=True), |
| 469 |
'mac-address-mask': KeyInfo(can_disable=True), |
| 470 |
'private-passphrase': KeyInfo(can_disable=True), |
| 471 |
'radius-accounting': KeyInfo(can_disable=True), |
| 472 |
'signal-range': KeyInfo(can_disable=True), |
| 473 |
'ssid-regexp': KeyInfo(), |
| 474 |
'time': KeyInfo(can_disable=True), |
| 475 |
'vlan-id': KeyInfo(can_disable=True), |
| 476 |
'vlan-mode': KeyInfo(can_disable=True), |
| 477 |
}, |
| 478 |
), |
| 479 |
), |
| 480 |
|
| 481 |
('caps-man', 'actual-interface-configuration'): APIData( |
| 482 |
versioned=[ |
| 483 |
('7.15', '>=', VersionedAPIData( |
| 484 |
# fixed_entries=True, |
| 485 |
fully_understood=True, |
| 486 |
has_identifier=True, |
| 487 |
# primary_keys=('numbers',), |
| 488 |
fields={ |
| 489 |
'arp': KeyInfo(), |
| 490 |
'arp-timeout': KeyInfo(), |
| 491 |
'channel.band': KeyInfo(), |
| 492 |
'channel.control-channel-width': KeyInfo(), |
| 493 |
'channel.extension-channel': KeyInfo(), |
| 494 |
'channel.frequency': KeyInfo(), |
| 495 |
'channel.reselect-interval': KeyInfo(), |
| 496 |
'channel.save-selected': KeyInfo(), |
| 497 |
'channel.secondary-frequency': KeyInfo(), |
| 498 |
'channel.skip-dfs-channels': KeyInfo(), |
| 499 |
'channel.tx-power': KeyInfo(), |
| 500 |
'comment': KeyInfo(), |
| 501 |
'configuration.country': KeyInfo(), |
| 502 |
'configuration.disconnect-timeout': KeyInfo(), |
| 503 |
'configuration.distance': KeyInfo(), |
| 504 |
'configuration.frame-lifetime': KeyInfo(), |
| 505 |
'configuration.guard-interval': KeyInfo(), |
| 506 |
'configuration.hide-ssid': KeyInfo(), |
| 507 |
'configuration.hw-protection-mode': KeyInfo(), |
| 508 |
'configuration.hw-retries': KeyInfo(), |
| 509 |
'configuration.installation': KeyInfo(), |
| 510 |
'configuration.keepalive-frames': KeyInfo(), |
| 511 |
'configuration.load-balancing-group': KeyInfo(), |
| 512 |
'configuration.max-sta-count': KeyInfo(), |
| 513 |
'configuration.mode': KeyInfo(), |
| 514 |
'configuration.multicast-helper': KeyInfo(), |
| 515 |
'configuration.rx-chains': KeyInfo(), |
| 516 |
'configuration.ssid': KeyInfo(), |
| 517 |
'configuration.tx-chains': KeyInfo(), |
| 518 |
'datapath.bridge': KeyInfo(), |
| 519 |
'datapath.bridge-cost': KeyInfo(), |
| 520 |
'datapath.bridge-horizon': KeyInfo(), |
| 521 |
'datapath.client-to-client-forwarding': KeyInfo(), |
| 522 |
'datapath.interface-list': KeyInfo(), |
| 523 |
'datapath.local-forwarding': KeyInfo(), |
| 524 |
'datapath.openflow-switch': KeyInfo(), |
| 525 |
'datapath.vlan-id': KeyInfo(), |
| 526 |
'datapath.vlan-mode': KeyInfo(), |
| 527 |
'disable-running-check': KeyInfo(), |
| 528 |
'disabled': KeyInfo(), |
| 529 |
'l2mtu': KeyInfo(), |
| 530 |
'mac-address': KeyInfo(), |
| 531 |
'master-interface': KeyInfo(), |
| 532 |
'mtu': KeyInfo(), |
| 533 |
'name': KeyInfo(), |
| 534 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 535 |
'radio-mac': KeyInfo(), |
| 536 |
'security.authentication-types': KeyInfo(), |
| 537 |
'security.disable-pmkid': KeyInfo(), |
| 538 |
'security.eap-methods': KeyInfo(), |
| 539 |
'security.eap-radius-accounting': KeyInfo(), |
| 540 |
'security.encryption': KeyInfo(), |
| 541 |
'security.group-encryption': KeyInfo(), |
| 542 |
'security.group-key-update': KeyInfo(), |
| 543 |
'security.passphrase': KeyInfo(), |
| 544 |
'security.tls-certificate': KeyInfo(), |
| 545 |
'security.tls-mode': KeyInfo(), |
| 546 |
}, |
| 547 |
)), |
| 548 |
], |
| 549 |
), |
| 550 |
|
| 551 |
('caps-man', 'channel'): APIData( |
| 552 |
unversioned=VersionedAPIData( |
| 553 |
fully_understood=True, |
| 554 |
primary_keys=('name',), |
| 555 |
versioned_fields=[ |
| 556 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 557 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 558 |
], |
| 559 |
fields={ |
| 560 |
'band': KeyInfo(can_disable=True), |
| 561 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 562 |
'control-channel-width': KeyInfo(can_disable=True), |
| 563 |
'extension-channel': KeyInfo(can_disable=True), |
| 564 |
'frequency': KeyInfo(can_disable=True), |
| 565 |
'name': KeyInfo(), |
| 566 |
'reselect-interval': KeyInfo(can_disable=True), |
| 567 |
'save-selected': KeyInfo(can_disable=True), |
| 568 |
'secondary-frequency': KeyInfo(can_disable=True), |
| 569 |
'skip-dfs-channels': KeyInfo(can_disable=True), |
| 570 |
'tx-power': KeyInfo(can_disable=True), |
| 571 |
}, |
| 572 |
), |
| 573 |
), |
| 574 |
|
| 575 |
('caps-man', 'configuration'): APIData( |
| 576 |
unversioned=VersionedAPIData( |
| 577 |
fully_understood=True, |
| 578 |
primary_keys=('name',), |
| 579 |
versioned_fields=[ |
| 580 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 581 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 582 |
], |
| 583 |
fields={ |
| 584 |
'channel': KeyInfo(can_disable=True), |
| 585 |
'channel.band': KeyInfo(can_disable=True), |
| 586 |
'channel.control-channel-width': KeyInfo(can_disable=True), |
| 587 |
'channel.extension-channel': KeyInfo(can_disable=True), |
| 588 |
'channel.frequency': KeyInfo(can_disable=True), |
| 589 |
'channel.reselect-interval': KeyInfo(can_disable=True), |
| 590 |
'channel.save-selected': KeyInfo(can_disable=True), |
| 591 |
'channel.secondary-frequency': KeyInfo(can_disable=True), |
| 592 |
'channel.skip-dfs-channels': KeyInfo(can_disable=True), |
| 593 |
'channel.tx-power': KeyInfo(can_disable=True), |
| 594 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 595 |
'country': KeyInfo(can_disable=True), |
| 596 |
'datapath': KeyInfo(can_disable=True), |
| 597 |
'datapath.arp': KeyInfo(), |
| 598 |
'datapath.bridge': KeyInfo(can_disable=True), |
| 599 |
'datapath.bridge-cost': KeyInfo(can_disable=True), |
| 600 |
'datapath.bridge-horizon': KeyInfo(can_disable=True), |
| 601 |
'datapath.client-to-client-forwarding': KeyInfo(can_disable=True), |
| 602 |
'datapath.interface-list': KeyInfo(can_disable=True), |
| 603 |
'datapath.l2mtu': KeyInfo(), |
| 604 |
'datapath.local-forwarding': KeyInfo(can_disable=True), |
| 605 |
'datapath.mtu': KeyInfo(), |
| 606 |
'datapath.openflow-switch': KeyInfo(can_disable=True), |
| 607 |
'datapath.vlan-id': KeyInfo(can_disable=True), |
| 608 |
'datapath.vlan-mode': KeyInfo(can_disable=True), |
| 609 |
'disconnect-timeout': KeyInfo(can_disable=True), |
| 610 |
'distance': KeyInfo(can_disable=True), |
| 611 |
'frame-lifetime': KeyInfo(can_disable=True), |
| 612 |
'guard-interval': KeyInfo(can_disable=True), |
| 613 |
'hide-ssid': KeyInfo(can_disable=True), |
| 614 |
'hw-protection-mode': KeyInfo(can_disable=True), |
| 615 |
'hw-retries': KeyInfo(can_disable=True), |
| 616 |
'installation': KeyInfo(can_disable=True), |
| 617 |
'keepalive-frames': KeyInfo(can_disable=True), |
| 618 |
'load-balancing-group': KeyInfo(can_disable=True), |
| 619 |
'max-sta-count': KeyInfo(can_disable=True), |
| 620 |
'mode': KeyInfo(can_disable=True), |
| 621 |
'multicast-helper': KeyInfo(can_disable=True), |
| 622 |
'name': KeyInfo(), |
| 623 |
'rates': KeyInfo(can_disable=True), |
| 624 |
'rates.basic': KeyInfo(can_disable=True), |
| 625 |
'rates.ht-basic-mcs': KeyInfo(can_disable=True), |
| 626 |
'rates.ht-supported-mcs': KeyInfo(can_disable=True), |
| 627 |
'rates.supported': KeyInfo(can_disable=True), |
| 628 |
'rates.vht-basic-mcs': KeyInfo(can_disable=True), |
| 629 |
'rates.vht-supported-mcs': KeyInfo(can_disable=True), |
| 630 |
'rx-chains': KeyInfo(can_disable=True), |
| 631 |
'security': KeyInfo(can_disable=True), |
| 632 |
'security.authentication-types': KeyInfo(can_disable=True), |
| 633 |
'security.disable-pmkid': KeyInfo(can_disable=True), |
| 634 |
'security.eap-methods': KeyInfo(can_disable=True), |
| 635 |
'security.eap-radius-accounting': KeyInfo(can_disable=True), |
| 636 |
'security.encryption': KeyInfo(can_disable=True), |
| 637 |
'security.group-encryption': KeyInfo(can_disable=True), |
| 638 |
'security.group-key-update': KeyInfo(), |
| 639 |
'security.passphrase': KeyInfo(can_disable=True), |
| 640 |
'security.tls-certificate': KeyInfo(), |
| 641 |
'security.tls-mode': KeyInfo(), |
| 642 |
'ssid': KeyInfo(can_disable=True), |
| 643 |
'tx-chains': KeyInfo(can_disable=True), |
| 644 |
}, |
| 645 |
), |
| 646 |
), |
| 647 |
|
| 648 |
('caps-man', 'datapath'): APIData( |
| 649 |
unversioned=VersionedAPIData( |
| 650 |
fully_understood=True, |
| 651 |
primary_keys=('name',), |
| 652 |
versioned_fields=[ |
| 653 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 654 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 655 |
], |
| 656 |
fields={ |
| 657 |
'arp': KeyInfo(), |
| 658 |
'bridge': KeyInfo(can_disable=True), |
| 659 |
'bridge-cost': KeyInfo(can_disable=True), |
| 660 |
'bridge-horizon': KeyInfo(can_disable=True), |
| 661 |
'client-to-client-forwarding': KeyInfo(can_disable=True), |
| 662 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 663 |
'interface-list': KeyInfo(can_disable=True), |
| 664 |
'l2mtu': KeyInfo(), |
| 665 |
'local-forwarding': KeyInfo(can_disable=True), |
| 666 |
'mtu': KeyInfo(), |
| 667 |
'name': KeyInfo(), |
| 668 |
'openflow-switch': KeyInfo(can_disable=True), |
| 669 |
'vlan-id': KeyInfo(can_disable=True), |
| 670 |
'vlan-mode': KeyInfo(can_disable=True), |
| 671 |
}, |
| 672 |
), |
| 673 |
), |
| 674 |
|
| 675 |
('caps-man', 'interface'): APIData( |
| 676 |
versioned=[ |
| 677 |
('7.15', '>=', VersionedAPIData( |
| 678 |
fully_understood=True, |
| 679 |
versioned_fields=[ |
| 680 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 681 |
], |
| 682 |
fields={ |
| 683 |
'arp': KeyInfo(), |
| 684 |
'arp-timeout': KeyInfo(), |
| 685 |
'channel': KeyInfo(can_disable=True), |
| 686 |
'channel.band': KeyInfo(can_disable=True), |
| 687 |
'channel.control-channel-width': KeyInfo(can_disable=True), |
| 688 |
'channel.extension-channel': KeyInfo(can_disable=True), |
| 689 |
'channel.frequency': KeyInfo(can_disable=True), |
| 690 |
'channel.reselect-interval': KeyInfo(can_disable=True), |
| 691 |
'channel.save-selected': KeyInfo(can_disable=True), |
| 692 |
'channel.secondary-frequency': KeyInfo(can_disable=True), |
| 693 |
'channel.skip-dfs-channels': KeyInfo(can_disable=True), |
| 694 |
'channel.tx-power': KeyInfo(can_disable=True), |
| 695 |
'comment': KeyInfo(), |
| 696 |
'configuration': KeyInfo(can_disable=True), |
| 697 |
'configuration.country': KeyInfo(can_disable=True), |
| 698 |
'configuration.disconnect-timeout': KeyInfo(can_disable=True), |
| 699 |
'configuration.distance': KeyInfo(can_disable=True), |
| 700 |
'configuration.frame-lifetime': KeyInfo(can_disable=True), |
| 701 |
'configuration.guard-interval': KeyInfo(can_disable=True), |
| 702 |
'configuration.hide-ssid': KeyInfo(can_disable=True), |
| 703 |
'configuration.hw-protection-mode': KeyInfo(can_disable=True), |
| 704 |
'configuration.hw-retries': KeyInfo(can_disable=True), |
| 705 |
'configuration.installation': KeyInfo(can_disable=True), |
| 706 |
'configuration.keepalive-frames': KeyInfo(can_disable=True), |
| 707 |
'configuration.load-balancing-group': KeyInfo(can_disable=True), |
| 708 |
'configuration.max-sta-count': KeyInfo(can_disable=True), |
| 709 |
'configuration.mode': KeyInfo(can_disable=True), |
| 710 |
'configuration.multicast-helper': KeyInfo(can_disable=True), |
| 711 |
'configuration.rx-chains': KeyInfo(can_disable=True), |
| 712 |
'configuration.ssid': KeyInfo(can_disable=True), |
| 713 |
'configuration.tx-chains': KeyInfo(can_disable=True), |
| 714 |
# 'copy-from': KeyInfo(write_only=True), |
| 715 |
'datapath': KeyInfo(can_disable=True), |
| 716 |
'datapath.bridge': KeyInfo(can_disable=True), |
| 717 |
'datapath.bridge-cost': KeyInfo(can_disable=True), |
| 718 |
'datapath.bridge-horizon': KeyInfo(can_disable=True), |
| 719 |
'datapath.client-to-client-forwarding': KeyInfo(can_disable=True), |
| 720 |
'datapath.interface-list': KeyInfo(can_disable=True), |
| 721 |
'datapath.local-forwarding': KeyInfo(can_disable=True), |
| 722 |
'datapath.openflow-switch': KeyInfo(can_disable=True), |
| 723 |
'datapath.vlan-id': KeyInfo(can_disable=True), |
| 724 |
'datapath.vlan-mode': KeyInfo(can_disable=True), |
| 725 |
'disable-running-check': KeyInfo(), |
| 726 |
'disabled': KeyInfo(), |
| 727 |
'l2mtu': KeyInfo(), |
| 728 |
'mac-address': KeyInfo(), |
| 729 |
'master-interface': KeyInfo(), |
| 730 |
'mtu': KeyInfo(), |
| 731 |
'name': KeyInfo(), |
| 732 |
'radio-mac': KeyInfo(), |
| 733 |
'radio-name': KeyInfo(), |
| 734 |
'rates': KeyInfo(can_disable=True), |
| 735 |
'rates.basic': KeyInfo(can_disable=True), |
| 736 |
'rates.ht-basic-mcs': KeyInfo(can_disable=True), |
| 737 |
'rates.ht-supported-mcs': KeyInfo(can_disable=True), |
| 738 |
'rates.supported': KeyInfo(can_disable=True), |
| 739 |
'rates.vht-basic-mcs': KeyInfo(can_disable=True), |
| 740 |
'rates.vht-supported-mcs': KeyInfo(can_disable=True), |
| 741 |
'security': KeyInfo(can_disable=True), |
| 742 |
'security.authentication-types': KeyInfo(can_disable=True), |
| 743 |
'security.disable-pmkid': KeyInfo(can_disable=True), |
| 744 |
'security.eap-methods': KeyInfo(can_disable=True), |
| 745 |
'security.eap-radius-accounting': KeyInfo(can_disable=True), |
| 746 |
'security.encryption': KeyInfo(can_disable=True), |
| 747 |
'security.group-encryption': KeyInfo(can_disable=True), |
| 748 |
'security.group-key-update': KeyInfo(), |
| 749 |
'security.passphrase': KeyInfo(can_disable=True), |
| 750 |
'security.tls-certificate': KeyInfo(), |
| 751 |
'security.tls-mode': KeyInfo(), |
| 752 |
}, |
| 753 |
)), |
| 754 |
], |
| 755 |
), |
| 756 |
|
| 757 |
('caps-man', 'manager'): APIData( |
| 758 |
unversioned=VersionedAPIData( |
| 759 |
fixed_entries=True, |
| 760 |
fully_understood=True, |
| 761 |
single_value=True, |
| 762 |
fields={ |
| 763 |
'ca-certificate': KeyInfo(default='none'), |
| 764 |
'certificate': KeyInfo(default='none'), |
| 765 |
'enabled': KeyInfo(default=False), |
| 766 |
'package-path': KeyInfo(default=''), |
| 767 |
'require-peer-certificate': KeyInfo(default=False), |
| 768 |
'upgrade-policy': KeyInfo(default='none'), |
| 769 |
}, |
| 770 |
), |
| 771 |
), |
| 772 |
|
| 773 |
('caps-man', 'manager', 'interface'): APIData( |
| 774 |
unversioned=VersionedAPIData( |
| 775 |
fully_understood=True, |
| 776 |
primary_keys=('interface',), |
| 777 |
versioned_fields=[ |
| 778 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 779 |
([('7.15', '<')], 'default', KeyInfo()), |
| 780 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 781 |
], |
| 782 |
fields={ |
| 783 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 784 |
'disabled': KeyInfo(default=False), |
| 785 |
'forbid': KeyInfo(default=False), |
| 786 |
'interface': KeyInfo(), |
| 787 |
}, |
| 788 |
), |
| 789 |
), |
| 790 |
|
| 791 |
('caps-man', 'provisioning'): APIData( |
| 792 |
unversioned=VersionedAPIData( |
| 793 |
fully_understood=True, |
| 794 |
versioned_fields=[ |
| 795 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 796 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 797 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 798 |
], |
| 799 |
fields={ |
| 800 |
'action': KeyInfo(default='none'), |
| 801 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 802 |
'common-name-regexp': KeyInfo(default=''), |
| 803 |
'disabled': KeyInfo(default=False), |
| 804 |
'hw-supported-modes': KeyInfo(default=''), |
| 805 |
'identity-regexp': KeyInfo(default=''), |
| 806 |
'ip-address-ranges': KeyInfo(default=''), |
| 807 |
'master-configuration': KeyInfo(default='*FFFFFFFF'), |
| 808 |
'name-format': KeyInfo(default='cap'), |
| 809 |
'name-prefix': KeyInfo(default=''), |
| 810 |
'radio-mac': KeyInfo(default='00:00:00:00:00:00'), |
| 811 |
'slave-configurations': KeyInfo(default=''), |
| 812 |
}, |
| 813 |
), |
| 814 |
), |
| 815 |
|
| 816 |
('caps-man', 'rates'): APIData( |
| 817 |
versioned=[ |
| 818 |
('7.15', '>=', VersionedAPIData( |
| 819 |
fully_understood=True, |
| 820 |
versioned_fields=[ |
| 821 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 822 |
], |
| 823 |
fields={ |
| 824 |
'basic': KeyInfo(can_disable=True), |
| 825 |
'comment': KeyInfo(), |
| 826 |
# 'copy-from': KeyInfo(write_only=True), |
| 827 |
'ht-basic-mcs': KeyInfo(can_disable=True), |
| 828 |
'ht-supported-mcs': KeyInfo(can_disable=True), |
| 829 |
'name': KeyInfo(), |
| 830 |
'supported': KeyInfo(can_disable=True), |
| 831 |
'vht-basic-mcs': KeyInfo(can_disable=True), |
| 832 |
'vht-supported-mcs': KeyInfo(can_disable=True), |
| 833 |
}, |
| 834 |
)), |
| 835 |
], |
| 836 |
), |
| 837 |
|
| 838 |
('caps-man', 'security'): APIData( |
| 839 |
unversioned=VersionedAPIData( |
| 840 |
fully_understood=True, |
| 841 |
primary_keys=('name',), |
| 842 |
versioned_fields=[ |
| 843 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 844 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 845 |
], |
| 846 |
fields={ |
| 847 |
'authentication-types': KeyInfo(can_disable=True), |
| 848 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 849 |
'disable-pmkid': KeyInfo(can_disable=True), |
| 850 |
'eap-methods': KeyInfo(can_disable=True), |
| 851 |
'eap-radius-accounting': KeyInfo(can_disable=True), |
| 852 |
'encryption': KeyInfo(can_disable=True), |
| 853 |
'group-encryption': KeyInfo(can_disable=True), |
| 854 |
'group-key-update': KeyInfo(), |
| 855 |
'name': KeyInfo(), |
| 856 |
'passphrase': KeyInfo(can_disable=True), |
| 857 |
'tls-certificate': KeyInfo(), |
| 858 |
'tls-mode': KeyInfo(), |
| 859 |
}, |
| 860 |
), |
| 861 |
), |
| 862 |
|
| 863 |
('certificate',): APIData( |
| 864 |
versioned=[ |
| 865 |
('7.15', '>=', VersionedAPIData( |
| 866 |
fully_understood=True, |
| 867 |
versioned_fields=[ |
| 868 |
([('7.21', '>=')], 'trust-store', KeyInfo()), |
| 869 |
], |
| 870 |
fields={ |
| 871 |
'common-name': KeyInfo(), |
| 872 |
# 'copy-from': KeyInfo(write_only=True), |
| 873 |
'country': KeyInfo(), |
| 874 |
'days-valid': KeyInfo(default=365), |
| 875 |
'digest-algorithm': KeyInfo(default='sha256'), |
| 876 |
'key-size': KeyInfo(default='2048'), |
| 877 |
'key-usage': KeyInfo(default='digital-signature,key-encipherment,data-encipherment,key-cert-sign,crl-sign,tls-server,tls-client'), |
| 878 |
'locality': KeyInfo(), |
| 879 |
'name': KeyInfo(), |
| 880 |
'numbers': KeyInfo(read_only=True), |
| 881 |
'organization': KeyInfo(), |
| 882 |
'state': KeyInfo(), |
| 883 |
'subject-alt-name': KeyInfo(), |
| 884 |
'trusted': KeyInfo(), |
| 885 |
'unit': KeyInfo(), |
| 886 |
}, |
| 887 |
)), |
| 888 |
], |
| 889 |
), |
| 890 |
|
| 891 |
('certificate', 'crl'): APIData( |
| 892 |
versioned=[ |
| 893 |
('7.15', '>=', VersionedAPIData( |
| 894 |
fully_understood=True, |
| 895 |
fields={ |
| 896 |
# 'copy-from': KeyInfo(write_only=True), |
| 897 |
'numbers': KeyInfo(read_only=True), |
| 898 |
'url': KeyInfo(), |
| 899 |
}, |
| 900 |
)), |
| 901 |
], |
| 902 |
), |
| 903 |
|
| 904 |
('certificate', 'scep-server'): APIData( |
| 905 |
versioned=[ |
| 906 |
('7.15', '>=', VersionedAPIData( |
| 907 |
fully_understood=True, |
| 908 |
fields={ |
| 909 |
'ca-cert': KeyInfo(), |
| 910 |
# 'copy-from': KeyInfo(write_only=True), |
| 911 |
'days-valid': KeyInfo(), |
| 912 |
'disabled': KeyInfo(), |
| 913 |
'next-ca-cert': KeyInfo(), |
| 914 |
'numbers': KeyInfo(read_only=True), |
| 915 |
'path': KeyInfo(), |
| 916 |
'request-lifetime': KeyInfo(), |
| 917 |
}, |
| 918 |
)), |
| 919 |
], |
| 920 |
), |
| 921 |
|
| 922 |
('certificate', 'scep-server', 'ra'): APIData( |
| 923 |
versioned=[ |
| 924 |
('7.15', '>=', VersionedAPIData( |
| 925 |
fully_understood=True, |
| 926 |
fields={ |
| 927 |
'ca-identity': KeyInfo(), |
| 928 |
'challenge-password': KeyInfo(), |
| 929 |
# 'copy-from': KeyInfo(write_only=True), |
| 930 |
'disabled': KeyInfo(), |
| 931 |
'fingerprint-algorithm': KeyInfo(), |
| 932 |
'name': KeyInfo(), |
| 933 |
'numbers': KeyInfo(read_only=True), |
| 934 |
'on-smart-card': KeyInfo(), |
| 935 |
'ra-path': KeyInfo(), |
| 936 |
'ra-transaction-lifetime': KeyInfo(), |
| 937 |
'server-url': KeyInfo(), |
| 938 |
'template': KeyInfo(), |
| 939 |
}, |
| 940 |
)), |
| 941 |
], |
| 942 |
), |
| 943 |
|
| 944 |
('certificate', 'settings'): APIData( |
| 945 |
unversioned=VersionedAPIData( |
| 946 |
fixed_entries=True, |
| 947 |
fully_understood=True, |
| 948 |
single_value=True, |
| 949 |
versioned_fields=[ |
| 950 |
([('7.19', '>=')], 'builtin-trust-anchors', KeyInfo()), |
| 951 |
([('7.21', '>=')], 'builtin-trust-store', KeyInfo()), |
| 952 |
([('7.22.1', '>=')], 'current-defaults', KeyInfo()), |
| 953 |
], |
| 954 |
fields={ |
| 955 |
'crl-download': KeyInfo(default=False), |
| 956 |
'crl-store': KeyInfo(default='ram'), |
| 957 |
'crl-use': KeyInfo(default=False), |
| 958 |
}, |
| 959 |
), |
| 960 |
), |
| 961 |
|
| 962 |
('console', 'settings'): APIData( |
| 963 |
versioned=[ |
| 964 |
('7.15', '>=', VersionedAPIData( |
| 965 |
fixed_entries=True, |
| 966 |
fully_understood=True, |
| 967 |
single_value=True, |
| 968 |
versioned_fields=[ |
| 969 |
([('7.18', '>=')], 'log-script-errors', KeyInfo()), |
| 970 |
([('7.20', '>=')], 'tab-width', KeyInfo()), |
| 971 |
], |
| 972 |
fields={ |
| 973 |
'sanitize-names': KeyInfo(), |
| 974 |
}, |
| 975 |
)), |
| 976 |
], |
| 977 |
), |
| 978 |
|
| 979 |
('container',): APIData( |
| 980 |
versioned=[ |
| 981 |
('7.19', '>=', VersionedAPIData( |
| 982 |
fully_understood=True, |
| 983 |
primary_keys=('name',), |
| 984 |
versioned_fields=[ |
| 985 |
([('7.20', '>=')], 'auto-restart-interval', KeyInfo()), |
| 986 |
([('7.20', '>=')], 'check-certificate', KeyInfo()), |
| 987 |
([('7.21', '>=')], 'cpu-list', KeyInfo()), |
| 988 |
([('7.20', '>=')], 'devices', KeyInfo()), |
| 989 |
([('7.21', '>=')], 'env', KeyInfo()), |
| 990 |
([('7.20', '<')], 'envlist', KeyInfo()), |
| 991 |
([('7.20', '>=')], 'envlists', KeyInfo()), |
| 992 |
([('7.22', '>=')], 'healthcheck-cmd', KeyInfo()), |
| 993 |
([('7.22', '>=')], 'healthcheck-interval', KeyInfo()), |
| 994 |
([('7.22', '>=')], 'healthcheck-retries', KeyInfo()), |
| 995 |
([('7.22', '>=')], 'healthcheck-start-interval', KeyInfo()), |
| 996 |
([('7.22', '>=')], 'healthcheck-start-period', KeyInfo()), |
| 997 |
([('7.22', '>=')], 'healthcheck-status', KeyInfo()), |
| 998 |
([('7.22', '>=')], 'healthcheck-timeout', KeyInfo()), |
| 999 |
([('7.21', '>=')], 'hosts', KeyInfo()), |
| 1000 |
([('7.21', '>=')], 'layer-dir', KeyInfo()), |
| 1001 |
([('7.20', '>=')], 'memory-high', KeyInfo()), |
| 1002 |
([('7.21', '>=')], 'mount', KeyInfo()), |
| 1003 |
([('7.21', '>=')], 'mountlists', KeyInfo()), |
| 1004 |
([('7.21', '<')], 'mounts', KeyInfo()), |
| 1005 |
([('7.21.2', '>=')], 'shm-size', KeyInfo()), |
| 1006 |
([('7.21', '>=')], 'stop-time', KeyInfo()), |
| 1007 |
([('7.21.2', '>=')], 'tmpfs', KeyInfo()), |
| 1008 |
], |
| 1009 |
fields={ |
| 1010 |
'cmd': KeyInfo(), |
| 1011 |
'comment': KeyInfo(), |
| 1012 |
# 'copy-from': KeyInfo(write_only=True), |
| 1013 |
'dns': KeyInfo(), |
| 1014 |
'domain-name': KeyInfo(), |
| 1015 |
'entrypoint': KeyInfo(), |
| 1016 |
'file': KeyInfo(), |
| 1017 |
'hostname': KeyInfo(), |
| 1018 |
'interface': KeyInfo(), |
| 1019 |
'logging': KeyInfo(), |
| 1020 |
'name': KeyInfo(), |
| 1021 |
'numbers': KeyInfo(read_only=True), |
| 1022 |
'remote-image': KeyInfo(), |
| 1023 |
'root-dir': KeyInfo(), |
| 1024 |
'start-on-boot': KeyInfo(), |
| 1025 |
'stop-signal': KeyInfo(), |
| 1026 |
'user': KeyInfo(), |
| 1027 |
'workdir': KeyInfo(), |
| 1028 |
}, |
| 1029 |
)), |
| 1030 |
('7.15', '>=', VersionedAPIData( |
| 1031 |
fully_understood=True, |
| 1032 |
fields={ |
| 1033 |
'cmd': KeyInfo(), |
| 1034 |
'comment': KeyInfo(), |
| 1035 |
# 'copy-from': KeyInfo(write_only=True), |
| 1036 |
'dns': KeyInfo(), |
| 1037 |
'domain-name': KeyInfo(), |
| 1038 |
'entrypoint': KeyInfo(), |
| 1039 |
'envlist': KeyInfo(), |
| 1040 |
'file': KeyInfo(), |
| 1041 |
'hostname': KeyInfo(), |
| 1042 |
'interface': KeyInfo(), |
| 1043 |
'logging': KeyInfo(), |
| 1044 |
'mounts': KeyInfo(), |
| 1045 |
'numbers': KeyInfo(read_only=True), |
| 1046 |
'remote-image': KeyInfo(), |
| 1047 |
'root-dir': KeyInfo(), |
| 1048 |
'start-on-boot': KeyInfo(), |
| 1049 |
'stop-signal': KeyInfo(), |
| 1050 |
'user': KeyInfo(), |
| 1051 |
'workdir': KeyInfo(), |
| 1052 |
}, |
| 1053 |
)), |
| 1054 |
], |
| 1055 |
), |
| 1056 |
|
| 1057 |
('container', 'config'): APIData( |
| 1058 |
versioned=[ |
| 1059 |
('7.15', '>=', VersionedAPIData( |
| 1060 |
fixed_entries=True, |
| 1061 |
fully_understood=True, |
| 1062 |
single_value=True, |
| 1063 |
versioned_fields=[ |
| 1064 |
([('7.20', '>=')], 'memory-high', KeyInfo()), |
| 1065 |
([('7.20', '<')], 'ram-high', KeyInfo()), |
| 1066 |
], |
| 1067 |
fields={ |
| 1068 |
'layer-dir': KeyInfo(), |
| 1069 |
'password': KeyInfo(), |
| 1070 |
'registry-url': KeyInfo(), |
| 1071 |
'tmpdir': KeyInfo(), |
| 1072 |
'username': KeyInfo(), |
| 1073 |
}, |
| 1074 |
)), |
| 1075 |
], |
| 1076 |
), |
| 1077 |
|
| 1078 |
('container', 'envs'): APIData( |
| 1079 |
versioned=[ |
| 1080 |
('7.20', '>=', VersionedAPIData( |
| 1081 |
fully_understood=True, |
| 1082 |
primary_keys=('list', 'key'), |
| 1083 |
versioned_fields=[ |
| 1084 |
([('7.21', '>=')], 'disabled', KeyInfo()), |
| 1085 |
], |
| 1086 |
fields={ |
| 1087 |
'comment': KeyInfo(), |
| 1088 |
# 'copy-from': KeyInfo(write_only=True), |
| 1089 |
'key': KeyInfo(), |
| 1090 |
'list': KeyInfo(), |
| 1091 |
'numbers': KeyInfo(read_only=True), |
| 1092 |
'value': KeyInfo(), |
| 1093 |
}, |
| 1094 |
)), |
| 1095 |
('7.20', '<', VersionedAPIData( |
| 1096 |
fully_understood=True, |
| 1097 |
fields={ |
| 1098 |
'comment': KeyInfo(), |
| 1099 |
# 'copy-from': KeyInfo(write_only=True), |
| 1100 |
'key': KeyInfo(), |
| 1101 |
'name': KeyInfo(), |
| 1102 |
'numbers': KeyInfo(read_only=True), |
| 1103 |
'value': KeyInfo(), |
| 1104 |
}, |
| 1105 |
)), |
| 1106 |
], |
| 1107 |
), |
| 1108 |
|
| 1109 |
('container', 'mounts'): APIData( |
| 1110 |
versioned=[ |
| 1111 |
('7.22', '>=', VersionedAPIData( |
| 1112 |
fully_understood=True, |
| 1113 |
primary_keys=('dst', 'list'), |
| 1114 |
fields={ |
| 1115 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 1116 |
# 'copy-from': KeyInfo(write_only=True), |
| 1117 |
'disabled': KeyInfo(default=False), |
| 1118 |
'dst': KeyInfo(value_sanitizer=_sanitize_ensure_leading_slash), |
| 1119 |
'list': KeyInfo(), |
| 1120 |
'numbers': KeyInfo(read_only=True), |
| 1121 |
'read-only': KeyInfo(default=False), |
| 1122 |
'src': KeyInfo(default='/', value_sanitizer=_sanitize_ensure_leading_slash), |
| 1123 |
}, |
| 1124 |
)), |
| 1125 |
('7.15', '>=', VersionedAPIData( |
| 1126 |
fully_understood=True, |
| 1127 |
versioned_fields=[ |
| 1128 |
([('7.21', '>=')], 'disabled', KeyInfo()), |
| 1129 |
([('7.21', '>=')], 'list', KeyInfo()), |
| 1130 |
([('7.21', '<')], 'name', KeyInfo()), |
| 1131 |
([('7.20', '>=')], 'read-only', KeyInfo()), |
| 1132 |
], |
| 1133 |
fields={ |
| 1134 |
'comment': KeyInfo(), |
| 1135 |
# 'copy-from': KeyInfo(write_only=True), |
| 1136 |
'dst': KeyInfo(), |
| 1137 |
'numbers': KeyInfo(read_only=True), |
| 1138 |
'src': KeyInfo(), |
| 1139 |
}, |
| 1140 |
)), |
| 1141 |
], |
| 1142 |
), |
| 1143 |
|
| 1144 |
('disk',): APIData( |
| 1145 |
versioned=[ |
| 1146 |
('7.15', '>=', VersionedAPIData( |
| 1147 |
fully_understood=True, |
| 1148 |
versioned_fields=[ |
| 1149 |
([('7.18', '>=')], 'compress', KeyInfo()), |
| 1150 |
([('7.17', '>=')], 'file-offset', KeyInfo()), |
| 1151 |
([('7.17', '>=')], 'file-path', KeyInfo()), |
| 1152 |
([('7.17', '>=')], 'file-size', KeyInfo()), |
| 1153 |
([('7.21', '>=')], 'iscsi-server-iqn', KeyInfo()), |
| 1154 |
([('7.21', '>=')], 'iscsi-server-port', KeyInfo()), |
| 1155 |
([('7.17', '>=')], 'mount-filesystem', KeyInfo()), |
| 1156 |
([('7.17', '>=')], 'mount-point-template', KeyInfo()), |
| 1157 |
([('7.17', '>=')], 'mount-read-only', KeyInfo()), |
| 1158 |
([('7.21', '<')], 'nvme-tcp-name', KeyInfo()), |
| 1159 |
([('7.21', '>=')], 'nvme-tcp-nqn', KeyInfo()), |
| 1160 |
([('7.21', '>=')], 'nvme-tcp-server-nqn', KeyInfo()), |
| 1161 |
([('7.21', '>=')], 'smb-server-encryption', KeyInfo()), |
| 1162 |
([('7.21', '>=')], 'smb-server-password', KeyInfo()), |
| 1163 |
([('7.21', '>=')], 'smb-server-user', KeyInfo()), |
| 1164 |
([('7.17', '>=')], 'sshfs-address', KeyInfo()), |
| 1165 |
([('7.17', '>=')], 'sshfs-password', KeyInfo()), |
| 1166 |
([('7.17', '>=')], 'sshfs-path', KeyInfo()), |
| 1167 |
([('7.17', '>=')], 'sshfs-port', KeyInfo()), |
| 1168 |
([('7.17', '>=')], 'sshfs-user', KeyInfo()), |
| 1169 |
([('7.17', '>=')], 'swap', KeyInfo()), |
| 1170 |
], |
| 1171 |
fields={ |
| 1172 |
'comment': KeyInfo(), |
| 1173 |
# 'copy-from': KeyInfo(write_only=True), |
| 1174 |
'crypted-backend': KeyInfo(), |
| 1175 |
'disabled': KeyInfo(), |
| 1176 |
'encryption-key': KeyInfo(), |
| 1177 |
'iscsi-address': KeyInfo(), |
| 1178 |
'iscsi-export': KeyInfo(), |
| 1179 |
'iscsi-iqn': KeyInfo(), |
| 1180 |
'iscsi-port': KeyInfo(), |
| 1181 |
'media-interface': KeyInfo(), |
| 1182 |
'media-sharing': KeyInfo(), |
| 1183 |
'nfs-address': KeyInfo(), |
| 1184 |
'nfs-share': KeyInfo(), |
| 1185 |
'nfs-sharing': KeyInfo(), |
| 1186 |
'numbers': KeyInfo(read_only=True), |
| 1187 |
'nvme-tcp-address': KeyInfo(), |
| 1188 |
'nvme-tcp-export': KeyInfo(), |
| 1189 |
'nvme-tcp-host-name': KeyInfo(), |
| 1190 |
'nvme-tcp-password': KeyInfo(), |
| 1191 |
'nvme-tcp-port': KeyInfo(), |
| 1192 |
'nvme-tcp-server-allow-host-name': KeyInfo(), |
| 1193 |
'nvme-tcp-server-password': KeyInfo(), |
| 1194 |
'nvme-tcp-server-port': KeyInfo(), |
| 1195 |
'parent': KeyInfo(), |
| 1196 |
'partition-number': KeyInfo(), |
| 1197 |
'partition-offset': KeyInfo(), |
| 1198 |
'partition-size': KeyInfo(), |
| 1199 |
'raid-chunk-size': KeyInfo(), |
| 1200 |
'raid-device-count': KeyInfo(), |
| 1201 |
'raid-master': KeyInfo(), |
| 1202 |
'raid-max-component-size': KeyInfo(), |
| 1203 |
'raid-member-failed': KeyInfo(), |
| 1204 |
'raid-role': KeyInfo(), |
| 1205 |
'raid-type': KeyInfo(), |
| 1206 |
'ramdisk-size': KeyInfo(), |
| 1207 |
'self-encryption-password': KeyInfo(), |
| 1208 |
'slot': KeyInfo(), |
| 1209 |
'smb-address': KeyInfo(), |
| 1210 |
'smb-encryption': KeyInfo(), |
| 1211 |
'smb-password': KeyInfo(), |
| 1212 |
'smb-share': KeyInfo(), |
| 1213 |
'smb-sharing': KeyInfo(), |
| 1214 |
'smb-user': KeyInfo(), |
| 1215 |
'tmpfs-max-size': KeyInfo(), |
| 1216 |
'type': KeyInfo(), |
| 1217 |
}, |
| 1218 |
)), |
| 1219 |
], |
| 1220 |
), |
| 1221 |
|
| 1222 |
('disk', 'btrfs', 'filesystem'): APIData( |
| 1223 |
versioned=[ |
| 1224 |
('7.18', '>=', VersionedAPIData( |
| 1225 |
# fixed_entries=True, |
| 1226 |
fully_understood=True, |
| 1227 |
has_identifier=True, |
| 1228 |
# primary_keys=('numbers',), |
| 1229 |
fields={ |
| 1230 |
'default-subvolume': KeyInfo(), |
| 1231 |
'label': KeyInfo(), |
| 1232 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1233 |
}, |
| 1234 |
)), |
| 1235 |
], |
| 1236 |
), |
| 1237 |
|
| 1238 |
('disk', 'btrfs', 'subvolume'): APIData( |
| 1239 |
versioned=[ |
| 1240 |
('7.18', '>=', VersionedAPIData( |
| 1241 |
fully_understood=True, |
| 1242 |
fields={ |
| 1243 |
# 'copy-from': KeyInfo(write_only=True), |
| 1244 |
'fs': KeyInfo(), |
| 1245 |
'mount': KeyInfo(), |
| 1246 |
'mountpoint': KeyInfo(), |
| 1247 |
'name': KeyInfo(), |
| 1248 |
'numbers': KeyInfo(read_only=True), |
| 1249 |
'parent': KeyInfo(), |
| 1250 |
'read-only': KeyInfo(), |
| 1251 |
}, |
| 1252 |
)), |
| 1253 |
], |
| 1254 |
), |
| 1255 |
|
| 1256 |
('disk', 'btrfs', 'transfer'): APIData( |
| 1257 |
versioned=[ |
| 1258 |
('7.18', '>=', VersionedAPIData( |
| 1259 |
fully_understood=True, |
| 1260 |
fields={ |
| 1261 |
# 'copy-from': KeyInfo(write_only=True), |
| 1262 |
'file': KeyInfo(), |
| 1263 |
'fs': KeyInfo(), |
| 1264 |
'send-parent': KeyInfo(), |
| 1265 |
'send-subvolumes': KeyInfo(), |
| 1266 |
'ssh-address': KeyInfo(), |
| 1267 |
'ssh-port': KeyInfo(), |
| 1268 |
'ssh-receive-mount': KeyInfo(), |
| 1269 |
'ssh-user': KeyInfo(), |
| 1270 |
'type': KeyInfo(), |
| 1271 |
}, |
| 1272 |
)), |
| 1273 |
], |
| 1274 |
), |
| 1275 |
|
| 1276 |
('disk', 'settings'): APIData( |
| 1277 |
unversioned=VersionedAPIData( |
| 1278 |
fixed_entries=True, |
| 1279 |
fully_understood=True, |
| 1280 |
single_value=True, |
| 1281 |
versioned_fields=[ |
| 1282 |
([('7.15', '<')], 'default-mount-point-template', KeyInfo(default='[slot]')), |
| 1283 |
], |
| 1284 |
fields={ |
| 1285 |
'auto-media-interface': KeyInfo(default='bridge'), |
| 1286 |
'auto-media-sharing': KeyInfo(default=True), |
| 1287 |
'auto-smb-sharing': KeyInfo(default=True), |
| 1288 |
'auto-smb-user': KeyInfo(default='guest'), |
| 1289 |
}, |
| 1290 |
), |
| 1291 |
), |
| 1292 |
|
| 1293 |
('dude',): APIData( |
| 1294 |
versioned=[ |
| 1295 |
('7.15', '>=', VersionedAPIData( |
| 1296 |
fixed_entries=True, |
| 1297 |
fully_understood=True, |
| 1298 |
single_value=True, |
| 1299 |
fields={ |
| 1300 |
'data-directory': KeyInfo(), |
| 1301 |
'enabled': KeyInfo(), |
| 1302 |
}, |
| 1303 |
)), |
| 1304 |
], |
| 1305 |
), |
| 1306 |
|
| 1307 |
('dude', 'agent'): APIData( |
| 1308 |
versioned=[ |
| 1309 |
('7.15', '>=', VersionedAPIData( |
| 1310 |
fully_understood=True, |
| 1311 |
fields={ |
| 1312 |
'comment': KeyInfo(), |
| 1313 |
# 'copy-from': KeyInfo(write_only=True), |
| 1314 |
'name': KeyInfo(), |
| 1315 |
'numbers': KeyInfo(read_only=True), |
| 1316 |
}, |
| 1317 |
)), |
| 1318 |
], |
| 1319 |
), |
| 1320 |
|
| 1321 |
('dude', 'device'): APIData( |
| 1322 |
versioned=[ |
| 1323 |
('7.15', '>=', VersionedAPIData( |
| 1324 |
fully_understood=True, |
| 1325 |
fields={ |
| 1326 |
'comment': KeyInfo(), |
| 1327 |
# 'copy-from': KeyInfo(write_only=True), |
| 1328 |
'name': KeyInfo(), |
| 1329 |
'numbers': KeyInfo(read_only=True), |
| 1330 |
}, |
| 1331 |
)), |
| 1332 |
], |
| 1333 |
), |
| 1334 |
|
| 1335 |
('dude', 'device-type'): APIData( |
| 1336 |
versioned=[ |
| 1337 |
('7.15', '>=', VersionedAPIData( |
| 1338 |
fully_understood=True, |
| 1339 |
fields={ |
| 1340 |
'comment': KeyInfo(), |
| 1341 |
# 'copy-from': KeyInfo(write_only=True), |
| 1342 |
'name': KeyInfo(), |
| 1343 |
'numbers': KeyInfo(read_only=True), |
| 1344 |
}, |
| 1345 |
)), |
| 1346 |
], |
| 1347 |
), |
| 1348 |
|
| 1349 |
('dude', 'notification'): APIData( |
| 1350 |
versioned=[ |
| 1351 |
('7.15', '>=', VersionedAPIData( |
| 1352 |
fully_understood=True, |
| 1353 |
fields={ |
| 1354 |
'comment': KeyInfo(), |
| 1355 |
# 'copy-from': KeyInfo(write_only=True), |
| 1356 |
'name': KeyInfo(), |
| 1357 |
'numbers': KeyInfo(read_only=True), |
| 1358 |
}, |
| 1359 |
)), |
| 1360 |
], |
| 1361 |
), |
| 1362 |
|
| 1363 |
('dude', 'probe'): APIData( |
| 1364 |
versioned=[ |
| 1365 |
('7.15', '>=', VersionedAPIData( |
| 1366 |
fully_understood=True, |
| 1367 |
fields={ |
| 1368 |
'comment': KeyInfo(), |
| 1369 |
# 'copy-from': KeyInfo(write_only=True), |
| 1370 |
'name': KeyInfo(), |
| 1371 |
'numbers': KeyInfo(read_only=True), |
| 1372 |
}, |
| 1373 |
)), |
| 1374 |
], |
| 1375 |
), |
| 1376 |
|
| 1377 |
('dude', 'ros', 'address'): APIData( |
| 1378 |
versioned=[ |
| 1379 |
('7.15', '>=', VersionedAPIData( |
| 1380 |
fully_understood=True, |
| 1381 |
fields={ |
| 1382 |
'address': KeyInfo(), |
| 1383 |
'broadcast': KeyInfo(), |
| 1384 |
'comment': KeyInfo(), |
| 1385 |
# 'copy-from': KeyInfo(write_only=True), |
| 1386 |
'device': KeyInfo(), |
| 1387 |
'disabled': KeyInfo(), |
| 1388 |
'interface': KeyInfo(), |
| 1389 |
'netmask': KeyInfo(), |
| 1390 |
'network': KeyInfo(), |
| 1391 |
'numbers': KeyInfo(read_only=True), |
| 1392 |
}, |
| 1393 |
)), |
| 1394 |
], |
| 1395 |
), |
| 1396 |
|
| 1397 |
('dude', 'ros', 'arp'): APIData( |
| 1398 |
versioned=[ |
| 1399 |
('7.15', '>=', VersionedAPIData( |
| 1400 |
fully_understood=True, |
| 1401 |
fields={ |
| 1402 |
'address': KeyInfo(), |
| 1403 |
'comment': KeyInfo(), |
| 1404 |
# 'copy-from': KeyInfo(write_only=True), |
| 1405 |
'device': KeyInfo(), |
| 1406 |
'disabled': KeyInfo(), |
| 1407 |
'interface': KeyInfo(), |
| 1408 |
'mac-address': KeyInfo(), |
| 1409 |
'numbers': KeyInfo(read_only=True), |
| 1410 |
'published': KeyInfo(), |
| 1411 |
}, |
| 1412 |
)), |
| 1413 |
], |
| 1414 |
), |
| 1415 |
|
| 1416 |
('dude', 'ros', 'health'): APIData( |
| 1417 |
versioned=[ |
| 1418 |
('7.15', '>=', VersionedAPIData( |
| 1419 |
# fixed_entries=True, |
| 1420 |
fully_understood=True, |
| 1421 |
has_identifier=True, |
| 1422 |
# primary_keys=('numbers',), |
| 1423 |
fields={ |
| 1424 |
'cpu-overtemp-check': KeyInfo(), |
| 1425 |
'cpu-overtemp-startup-delay': KeyInfo(), |
| 1426 |
'cpu-overtemp-threshold': KeyInfo(), |
| 1427 |
'device': KeyInfo(), |
| 1428 |
'fan-mode': KeyInfo(), |
| 1429 |
'fan-on-threshold': KeyInfo(), |
| 1430 |
'fan-switch': KeyInfo(), |
| 1431 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1432 |
'psu1-state': KeyInfo(), |
| 1433 |
'psu2-state': KeyInfo(), |
| 1434 |
'use-fan': KeyInfo(), |
| 1435 |
'use-fan2': KeyInfo(), |
| 1436 |
}, |
| 1437 |
)), |
| 1438 |
], |
| 1439 |
), |
| 1440 |
|
| 1441 |
('dude', 'ros', 'interface'): APIData( |
| 1442 |
versioned=[ |
| 1443 |
('7.15', '>=', VersionedAPIData( |
| 1444 |
# fixed_entries=True, |
| 1445 |
fully_understood=True, |
| 1446 |
has_identifier=True, |
| 1447 |
# primary_keys=('numbers',), |
| 1448 |
fields={ |
| 1449 |
'comment': KeyInfo(), |
| 1450 |
'device': KeyInfo(), |
| 1451 |
'disabled': KeyInfo(), |
| 1452 |
'l2mtu': KeyInfo(), |
| 1453 |
'mtu': KeyInfo(), |
| 1454 |
'name': KeyInfo(), |
| 1455 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1456 |
}, |
| 1457 |
)), |
| 1458 |
], |
| 1459 |
), |
| 1460 |
|
| 1461 |
('dude', 'ros', 'lease'): APIData( |
| 1462 |
versioned=[ |
| 1463 |
('7.15', '>=', VersionedAPIData( |
| 1464 |
fully_understood=True, |
| 1465 |
fields={ |
| 1466 |
'address': KeyInfo(), |
| 1467 |
'address-lists': KeyInfo(), |
| 1468 |
'always-broadcast': KeyInfo(), |
| 1469 |
'block-access': KeyInfo(), |
| 1470 |
'client-id': KeyInfo(), |
| 1471 |
'comment': KeyInfo(), |
| 1472 |
# 'copy-from': KeyInfo(write_only=True), |
| 1473 |
'device': KeyInfo(), |
| 1474 |
'dhcp-option': KeyInfo(), |
| 1475 |
'dhcp-option-set': KeyInfo(), |
| 1476 |
'disabled': KeyInfo(), |
| 1477 |
'insert-queue-before': KeyInfo(), |
| 1478 |
'lease-time': KeyInfo(), |
| 1479 |
'mac-address': KeyInfo(), |
| 1480 |
'numbers': KeyInfo(read_only=True), |
| 1481 |
'rate-limit': KeyInfo(), |
| 1482 |
'server': KeyInfo(), |
| 1483 |
'use-src-mac': KeyInfo(), |
| 1484 |
}, |
| 1485 |
)), |
| 1486 |
], |
| 1487 |
), |
| 1488 |
|
| 1489 |
('dude', 'ros', 'neighbor'): APIData( |
| 1490 |
versioned=[ |
| 1491 |
('7.15', '>=', VersionedAPIData( |
| 1492 |
# fixed_entries=True, |
| 1493 |
fully_understood=True, |
| 1494 |
has_identifier=True, |
| 1495 |
# primary_keys=('numbers',), |
| 1496 |
fields={ |
| 1497 |
'device': KeyInfo(), |
| 1498 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1499 |
}, |
| 1500 |
)), |
| 1501 |
], |
| 1502 |
), |
| 1503 |
|
| 1504 |
('dude', 'ros', 'queue'): APIData( |
| 1505 |
versioned=[ |
| 1506 |
('7.15', '>=', VersionedAPIData( |
| 1507 |
fully_understood=True, |
| 1508 |
fields={ |
| 1509 |
'bucket-size': KeyInfo(), |
| 1510 |
'burst-limit': KeyInfo(), |
| 1511 |
'burst-threshold': KeyInfo(), |
| 1512 |
'burst-time': KeyInfo(), |
| 1513 |
'comment': KeyInfo(), |
| 1514 |
# 'copy-from': KeyInfo(write_only=True), |
| 1515 |
'device': KeyInfo(), |
| 1516 |
'disabled': KeyInfo(), |
| 1517 |
'dst': KeyInfo(), |
| 1518 |
'limit-at': KeyInfo(), |
| 1519 |
'max-limit': KeyInfo(), |
| 1520 |
'name': KeyInfo(), |
| 1521 |
'numbers': KeyInfo(read_only=True), |
| 1522 |
'packet-marks': KeyInfo(), |
| 1523 |
'parent': KeyInfo(), |
| 1524 |
'priority': KeyInfo(), |
| 1525 |
'queue': KeyInfo(), |
| 1526 |
'target': KeyInfo(), |
| 1527 |
'time': KeyInfo(), |
| 1528 |
'total-bucket-size': KeyInfo(), |
| 1529 |
'total-burst-limit': KeyInfo(), |
| 1530 |
'total-burst-threshold': KeyInfo(), |
| 1531 |
'total-burst-time': KeyInfo(), |
| 1532 |
'total-limit-at': KeyInfo(), |
| 1533 |
'total-max-limit': KeyInfo(), |
| 1534 |
'total-priority': KeyInfo(), |
| 1535 |
'total-queue': KeyInfo(), |
| 1536 |
}, |
| 1537 |
)), |
| 1538 |
], |
| 1539 |
), |
| 1540 |
|
| 1541 |
('dude', 'ros', 'resource'): APIData( |
| 1542 |
versioned=[ |
| 1543 |
('7.15', '>=', VersionedAPIData( |
| 1544 |
# fixed_entries=True, |
| 1545 |
fully_understood=True, |
| 1546 |
has_identifier=True, |
| 1547 |
# primary_keys=('numbers',), |
| 1548 |
fields={ |
| 1549 |
'device': KeyInfo(), |
| 1550 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1551 |
}, |
| 1552 |
)), |
| 1553 |
], |
| 1554 |
), |
| 1555 |
|
| 1556 |
('dude', 'ros', 'route'): APIData( |
| 1557 |
versioned=[ |
| 1558 |
('7.15', '>=', VersionedAPIData( |
| 1559 |
fully_understood=True, |
| 1560 |
fields={ |
| 1561 |
'bgp-as-path': KeyInfo(), |
| 1562 |
'bgp-atomic-aggregate': KeyInfo(), |
| 1563 |
'bgp-communities': KeyInfo(), |
| 1564 |
'bgp-local-pref': KeyInfo(), |
| 1565 |
'bgp-med': KeyInfo(), |
| 1566 |
'bgp-origin': KeyInfo(), |
| 1567 |
'bgp-prepend': KeyInfo(), |
| 1568 |
'check-gateway': KeyInfo(), |
| 1569 |
'comment': KeyInfo(), |
| 1570 |
# 'copy-from': KeyInfo(write_only=True), |
| 1571 |
'device': KeyInfo(), |
| 1572 |
'disabled': KeyInfo(), |
| 1573 |
'distance': KeyInfo(), |
| 1574 |
'dst-address': KeyInfo(), |
| 1575 |
'gateway': KeyInfo(), |
| 1576 |
'numbers': KeyInfo(read_only=True), |
| 1577 |
'pref-src': KeyInfo(), |
| 1578 |
'route-tag': KeyInfo(), |
| 1579 |
'routing-mark': KeyInfo(), |
| 1580 |
'scope': KeyInfo(), |
| 1581 |
'target-scope': KeyInfo(), |
| 1582 |
'type': KeyInfo(), |
| 1583 |
'vrf-interface': KeyInfo(), |
| 1584 |
}, |
| 1585 |
)), |
| 1586 |
], |
| 1587 |
), |
| 1588 |
|
| 1589 |
('dude', 'ros', 'routerboard'): APIData( |
| 1590 |
versioned=[ |
| 1591 |
('7.15', '>=', VersionedAPIData( |
| 1592 |
# fixed_entries=True, |
| 1593 |
fully_understood=True, |
| 1594 |
has_identifier=True, |
| 1595 |
# primary_keys=('numbers',), |
| 1596 |
fields={ |
| 1597 |
'device': KeyInfo(), |
| 1598 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1599 |
}, |
| 1600 |
)), |
| 1601 |
], |
| 1602 |
), |
| 1603 |
|
| 1604 |
('dude', 'service'): APIData( |
| 1605 |
versioned=[ |
| 1606 |
('7.15', '>=', VersionedAPIData( |
| 1607 |
fully_understood=True, |
| 1608 |
fields={ |
| 1609 |
'comment': KeyInfo(), |
| 1610 |
# 'copy-from': KeyInfo(write_only=True), |
| 1611 |
'name': KeyInfo(), |
| 1612 |
'numbers': KeyInfo(read_only=True), |
| 1613 |
}, |
| 1614 |
)), |
| 1615 |
], |
| 1616 |
), |
| 1617 |
|
| 1618 |
('file',): APIData( |
| 1619 |
versioned=[ |
| 1620 |
('7.15', '>=', VersionedAPIData( |
| 1621 |
fully_understood=True, |
| 1622 |
# versioned_fields=[ |
| 1623 |
# ([('7.21.2', '<'), ('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 1624 |
# ], |
| 1625 |
fields={ |
| 1626 |
'contents': KeyInfo(), |
| 1627 |
'name': KeyInfo(), |
| 1628 |
'numbers': KeyInfo(read_only=True), |
| 1629 |
'type': KeyInfo(default='file'), |
| 1630 |
}, |
| 1631 |
)), |
| 1632 |
], |
| 1633 |
), |
| 1634 |
|
| 1635 |
('file', 'rsync-daemon'): APIData( |
| 1636 |
versioned=[ |
| 1637 |
('7.16', '>=', VersionedAPIData( |
| 1638 |
fixed_entries=True, |
| 1639 |
fully_understood=True, |
| 1640 |
single_value=True, |
| 1641 |
fields={ |
| 1642 |
'enabled': KeyInfo(), |
| 1643 |
}, |
| 1644 |
)), |
| 1645 |
], |
| 1646 |
), |
| 1647 |
|
| 1648 |
('file', 'sync'): APIData( |
| 1649 |
versioned=[ |
| 1650 |
('7.15', '>=', VersionedAPIData( |
| 1651 |
fully_understood=True, |
| 1652 |
versioned_fields=[ |
| 1653 |
([('7.16', '>=')], 'remote-address', KeyInfo()), |
| 1654 |
([('7.16', '<')], 'remote-addrs', KeyInfo()), |
| 1655 |
([('7.16', '<')], 'status', KeyInfo()), |
| 1656 |
], |
| 1657 |
fields={ |
| 1658 |
'comment': KeyInfo(), |
| 1659 |
# 'copy-from': KeyInfo(write_only=True), |
| 1660 |
'disabled': KeyInfo(), |
| 1661 |
'local-path': KeyInfo(), |
| 1662 |
'mode': KeyInfo(), |
| 1663 |
'numbers': KeyInfo(read_only=True), |
| 1664 |
'password': KeyInfo(), |
| 1665 |
'remote-path': KeyInfo(), |
| 1666 |
'user': KeyInfo(), |
| 1667 |
}, |
| 1668 |
)), |
| 1669 |
], |
| 1670 |
), |
| 1671 |
|
| 1672 |
('interface',): APIData( |
| 1673 |
versioned=[ |
| 1674 |
('7.15', '>=', VersionedAPIData( |
| 1675 |
# fixed_entries=True, |
| 1676 |
fully_understood=True, |
| 1677 |
has_identifier=True, |
| 1678 |
# primary_keys=('numbers',), |
| 1679 |
fields={ |
| 1680 |
'comment': KeyInfo(), |
| 1681 |
'disabled': KeyInfo(), |
| 1682 |
'l2mtu': KeyInfo(), |
| 1683 |
'mtu': KeyInfo(), |
| 1684 |
'name': KeyInfo(), |
| 1685 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 1686 |
}, |
| 1687 |
)), |
| 1688 |
], |
| 1689 |
), |
| 1690 |
|
| 1691 |
('interface', '6to4'): APIData( |
| 1692 |
unversioned=VersionedAPIData( |
| 1693 |
fully_understood=True, |
| 1694 |
primary_keys=('name',), |
| 1695 |
versioned_fields=[ |
| 1696 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 1697 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 1698 |
], |
| 1699 |
fields={ |
| 1700 |
'clamp-tcp-mss': KeyInfo(default=True), |
| 1701 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 1702 |
'disabled': KeyInfo(default=False), |
| 1703 |
'dont-fragment': KeyInfo(default=False), |
| 1704 |
'dscp': KeyInfo(default='inherit'), |
| 1705 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 1706 |
'keepalive': KeyInfo(can_disable=True, default='10s,10'), |
| 1707 |
'local-address': KeyInfo(default='0.0.0.0'), |
| 1708 |
'mtu': KeyInfo(default='auto'), |
| 1709 |
'name': KeyInfo(), |
| 1710 |
'remote-address': KeyInfo(required=True), |
| 1711 |
}, |
| 1712 |
), |
| 1713 |
), |
| 1714 |
|
| 1715 |
('interface', 'amt'): APIData( |
| 1716 |
versioned=[ |
| 1717 |
('7.19', '>=', 'Not supported anymore in version >= 7.19'), |
| 1718 |
('7.18', '>=', VersionedAPIData( |
| 1719 |
fully_understood=True, |
| 1720 |
fields={ |
| 1721 |
'comment': KeyInfo(), |
| 1722 |
# 'copy-from': KeyInfo(write_only=True), |
| 1723 |
'disabled': KeyInfo(), |
| 1724 |
'discovery-ip': KeyInfo(), |
| 1725 |
'dont-fragment': KeyInfo(), |
| 1726 |
'gateway-port': KeyInfo(), |
| 1727 |
'interface': KeyInfo(), |
| 1728 |
'local-ip': KeyInfo(), |
| 1729 |
'mac-address': KeyInfo(), |
| 1730 |
'max-tunnels': KeyInfo(), |
| 1731 |
'mode': KeyInfo(), |
| 1732 |
'name': KeyInfo(), |
| 1733 |
'numbers': KeyInfo(read_only=True), |
| 1734 |
'relay-port': KeyInfo(), |
| 1735 |
}, |
| 1736 |
)), |
| 1737 |
], |
| 1738 |
), |
| 1739 |
|
| 1740 |
('interface', 'bonding'): APIData( |
| 1741 |
unversioned=VersionedAPIData( |
| 1742 |
fully_understood=True, |
| 1743 |
primary_keys=('name',), |
| 1744 |
versioned_fields=[ |
| 1745 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 1746 |
([('7.19', '>=')], 'lacp-mode', KeyInfo()), |
| 1747 |
([('7.21', '>=')], 'lacp-system-id', KeyInfo()), |
| 1748 |
([('7.21', '>=')], 'lacp-system-priority', KeyInfo()), |
| 1749 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 1750 |
], |
| 1751 |
fields={ |
| 1752 |
'arp': KeyInfo(default='enabled'), |
| 1753 |
'arp-interval': KeyInfo(default='100ms'), |
| 1754 |
'arp-ip-targets': KeyInfo(default=''), |
| 1755 |
'arp-timeout': KeyInfo(default='auto'), |
| 1756 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 1757 |
'disabled': KeyInfo(default=False), |
| 1758 |
'down-delay': KeyInfo(default='0ms'), |
| 1759 |
'forced-mac-address': KeyInfo(can_disable=True), |
| 1760 |
'lacp-rate': KeyInfo(default='30secs'), |
| 1761 |
'lacp-user-key': KeyInfo(can_disable=True, remove_value=0), |
| 1762 |
'link-monitoring': KeyInfo(default='mii'), |
| 1763 |
'mii-interval': KeyInfo(default='100ms'), |
| 1764 |
'min-links': KeyInfo(default=0), |
| 1765 |
'mlag-id': KeyInfo(can_disable=True, remove_value=0), |
| 1766 |
'mode': KeyInfo(default='balance-rr'), |
| 1767 |
'mtu': KeyInfo(default=1500), |
| 1768 |
'name': KeyInfo(), |
| 1769 |
'primary': KeyInfo(default='none'), |
| 1770 |
'slaves': KeyInfo(required=True), |
| 1771 |
'transmit-hash-policy': KeyInfo(default='layer-2'), |
| 1772 |
'up-delay': KeyInfo(default='0ms'), |
| 1773 |
}, |
| 1774 |
), |
| 1775 |
), |
| 1776 |
|
| 1777 |
('interface', 'bridge'): APIData( |
| 1778 |
unversioned=VersionedAPIData( |
| 1779 |
fully_understood=True, |
| 1780 |
primary_keys=('name',), |
| 1781 |
versioned_fields=[ |
| 1782 |
([('7.20', '>=')], 'add-dhcp-option82', KeyInfo(default=False)), |
| 1783 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 1784 |
([('7.16', '>=')], 'forward-reserved-addresses', KeyInfo(default=False)), |
| 1785 |
([('7.20', '>=')], 'igmp-version', KeyInfo(default=2)), |
| 1786 |
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)), |
| 1787 |
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)), |
| 1788 |
([('7.20', '>=')], 'last-member-interval', KeyInfo(default='1s')), |
| 1789 |
([('7.20', '>=')], 'last-member-query-count', KeyInfo(default=2)), |
| 1790 |
([('7.20', '>=')], 'max-hops', KeyInfo(default=20)), |
| 1791 |
([('7.16', '>=')], 'max-learned-entries', KeyInfo(default='auto')), |
| 1792 |
([('7.20', '>=')], 'membership-interval', KeyInfo(default='4m20s')), |
| 1793 |
([('7.22', '>=')], 'mlag-heartbeat', KeyInfo()), |
| 1794 |
([('7.22', '>=')], 'mlag-peer-port', KeyInfo()), |
| 1795 |
([('7.22', '>=')], 'mlag-priority', KeyInfo()), |
| 1796 |
([('7.20', '>=')], 'multicast-router', KeyInfo(default='temporary-query')), |
| 1797 |
([('7.20', '>=')], 'mvrp', KeyInfo(default=False)), |
| 1798 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 1799 |
([('7.13', '>=')], 'port-cost-mode', KeyInfo(default='long')), |
| 1800 |
([('7.20', '>=')], 'querier-interval', KeyInfo(default='4m15s')), |
| 1801 |
([('7.20', '>=')], 'query-interval', KeyInfo(default='2m5s')), |
| 1802 |
([('7.20', '>=')], 'query-response-interval', KeyInfo(default='10s')), |
| 1803 |
([('7.22', '>=')], 'ra-guard', KeyInfo()), |
| 1804 |
([('7.20', '>=')], 'region-name', KeyInfo(default='')), |
| 1805 |
([('7.20', '>=')], 'region-revision', KeyInfo(default=0)), |
| 1806 |
([('7.20', '>=')], 'startup-query-count', KeyInfo(default=2)), |
| 1807 |
([('7.20', '>=')], 'startup-query-interval', KeyInfo(default='31s250ms')), |
| 1808 |
], |
| 1809 |
fields={ |
| 1810 |
'admin-mac': KeyInfo(default=''), |
| 1811 |
'ageing-time': KeyInfo(default='5m'), |
| 1812 |
'arp': KeyInfo(default='enabled'), |
| 1813 |
'arp-timeout': KeyInfo(default='auto'), |
| 1814 |
'auto-mac': KeyInfo(default=True), |
| 1815 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 1816 |
'dhcp-snooping': KeyInfo(default=False), |
| 1817 |
'disabled': KeyInfo(default=False), |
| 1818 |
'ether-type': KeyInfo(default='0x8100'), |
| 1819 |
'fast-forward': KeyInfo(default=True), |
| 1820 |
'forward-delay': KeyInfo(default='15s'), |
| 1821 |
'frame-types': KeyInfo(default='admit-all'), |
| 1822 |
'igmp-snooping': KeyInfo(default=False), |
| 1823 |
'max-message-age': KeyInfo(default='20s'), |
| 1824 |
'mld-version': KeyInfo(default=1), |
| 1825 |
'mtu': KeyInfo(default='auto'), |
| 1826 |
'multicast-querier': KeyInfo(default=False), |
| 1827 |
'name': KeyInfo(), |
| 1828 |
'priority': KeyInfo(default='0x8000'), |
| 1829 |
'protocol-mode': KeyInfo(default='rstp'), |
| 1830 |
'pvid': KeyInfo(default=1), |
| 1831 |
'transmit-hold-count': KeyInfo(default=6), |
| 1832 |
'vlan-filtering': KeyInfo(default=False), |
| 1833 |
}, |
| 1834 |
), |
| 1835 |
), |
| 1836 |
|
| 1837 |
('interface', 'bridge', 'calea'): APIData( |
| 1838 |
versioned=[ |
| 1839 |
('7.15', '>=', VersionedAPIData( |
| 1840 |
fully_understood=True, |
| 1841 |
fields={ |
| 1842 |
'802.3-sap': KeyInfo(can_disable=True), |
| 1843 |
'802.3-type': KeyInfo(can_disable=True), |
| 1844 |
'action': KeyInfo(), |
| 1845 |
'arp-dst-address': KeyInfo(can_disable=True), |
| 1846 |
'arp-dst-mac-address': KeyInfo(can_disable=True), |
| 1847 |
'arp-gratuitous': KeyInfo(can_disable=True), |
| 1848 |
'arp-hardware-type': KeyInfo(can_disable=True), |
| 1849 |
'arp-opcode': KeyInfo(can_disable=True), |
| 1850 |
'arp-packet-type': KeyInfo(can_disable=True), |
| 1851 |
'arp-src-address': KeyInfo(can_disable=True), |
| 1852 |
'arp-src-mac-address': KeyInfo(can_disable=True), |
| 1853 |
'chain': KeyInfo(), |
| 1854 |
'comment': KeyInfo(), |
| 1855 |
# 'copy-from': KeyInfo(write_only=True), |
| 1856 |
'disabled': KeyInfo(), |
| 1857 |
'dst-address': KeyInfo(can_disable=True), |
| 1858 |
'dst-address6': KeyInfo(can_disable=True), |
| 1859 |
'dst-mac-address': KeyInfo(can_disable=True), |
| 1860 |
'dst-port': KeyInfo(can_disable=True), |
| 1861 |
'in-bridge': KeyInfo(can_disable=True), |
| 1862 |
'in-bridge-list': KeyInfo(can_disable=True), |
| 1863 |
'in-interface': KeyInfo(can_disable=True), |
| 1864 |
'in-interface-list': KeyInfo(can_disable=True), |
| 1865 |
'ingress-priority': KeyInfo(can_disable=True), |
| 1866 |
'ip-protocol': KeyInfo(can_disable=True), |
| 1867 |
'limit': KeyInfo(can_disable=True), |
| 1868 |
'log': KeyInfo(), |
| 1869 |
'log-prefix': KeyInfo(), |
| 1870 |
'mac-protocol': KeyInfo(can_disable=True), |
| 1871 |
'numbers': KeyInfo(read_only=True), |
| 1872 |
'out-bridge': KeyInfo(can_disable=True), |
| 1873 |
'out-bridge-list': KeyInfo(can_disable=True), |
| 1874 |
'out-interface': KeyInfo(can_disable=True), |
| 1875 |
'out-interface-list': KeyInfo(can_disable=True), |
| 1876 |
'packet-mark': KeyInfo(can_disable=True), |
| 1877 |
'packet-type': KeyInfo(can_disable=True), |
| 1878 |
# 'place-before': KeyInfo(write_only=True), |
| 1879 |
'sniff-id': KeyInfo(), |
| 1880 |
'sniff-target': KeyInfo(), |
| 1881 |
'sniff-target-port': KeyInfo(), |
| 1882 |
'src-address': KeyInfo(can_disable=True), |
| 1883 |
'src-address6': KeyInfo(can_disable=True), |
| 1884 |
'src-mac-address': KeyInfo(can_disable=True), |
| 1885 |
'src-port': KeyInfo(can_disable=True), |
| 1886 |
'stp-flags': KeyInfo(can_disable=True), |
| 1887 |
'stp-forward-delay': KeyInfo(can_disable=True), |
| 1888 |
'stp-hello-time': KeyInfo(can_disable=True), |
| 1889 |
'stp-max-age': KeyInfo(can_disable=True), |
| 1890 |
'stp-msg-age': KeyInfo(can_disable=True), |
| 1891 |
'stp-port': KeyInfo(can_disable=True), |
| 1892 |
'stp-root-address': KeyInfo(can_disable=True), |
| 1893 |
'stp-root-cost': KeyInfo(can_disable=True), |
| 1894 |
'stp-root-priority': KeyInfo(can_disable=True), |
| 1895 |
'stp-sender-address': KeyInfo(can_disable=True), |
| 1896 |
'stp-sender-priority': KeyInfo(can_disable=True), |
| 1897 |
'stp-type': KeyInfo(can_disable=True), |
| 1898 |
'tls-host': KeyInfo(can_disable=True), |
| 1899 |
'vlan-encap': KeyInfo(can_disable=True), |
| 1900 |
'vlan-id': KeyInfo(can_disable=True), |
| 1901 |
'vlan-priority': KeyInfo(can_disable=True), |
| 1902 |
}, |
| 1903 |
)), |
| 1904 |
], |
| 1905 |
), |
| 1906 |
|
| 1907 |
('interface', 'bridge', 'filter'): APIData( |
| 1908 |
versioned=[ |
| 1909 |
('7.15', '>=', VersionedAPIData( |
| 1910 |
fully_understood=True, |
| 1911 |
fields={ |
| 1912 |
'802.3-sap': KeyInfo(can_disable=True), |
| 1913 |
'802.3-type': KeyInfo(can_disable=True), |
| 1914 |
'action': KeyInfo(), |
| 1915 |
'arp-dst-address': KeyInfo(can_disable=True), |
| 1916 |
'arp-dst-mac-address': KeyInfo(can_disable=True), |
| 1917 |
'arp-gratuitous': KeyInfo(can_disable=True), |
| 1918 |
'arp-hardware-type': KeyInfo(can_disable=True), |
| 1919 |
'arp-opcode': KeyInfo(can_disable=True), |
| 1920 |
'arp-packet-type': KeyInfo(can_disable=True), |
| 1921 |
'arp-src-address': KeyInfo(can_disable=True), |
| 1922 |
'arp-src-mac-address': KeyInfo(can_disable=True), |
| 1923 |
'chain': KeyInfo(), |
| 1924 |
'comment': KeyInfo(), |
| 1925 |
# 'copy-from': KeyInfo(write_only=True), |
| 1926 |
'disabled': KeyInfo(), |
| 1927 |
'dst-address': KeyInfo(can_disable=True), |
| 1928 |
'dst-address6': KeyInfo(can_disable=True), |
| 1929 |
'dst-mac-address': KeyInfo(can_disable=True), |
| 1930 |
'dst-port': KeyInfo(can_disable=True), |
| 1931 |
'in-bridge': KeyInfo(can_disable=True), |
| 1932 |
'in-bridge-list': KeyInfo(can_disable=True), |
| 1933 |
'in-interface': KeyInfo(can_disable=True), |
| 1934 |
'in-interface-list': KeyInfo(can_disable=True), |
| 1935 |
'ingress-priority': KeyInfo(can_disable=True), |
| 1936 |
'ip-protocol': KeyInfo(can_disable=True), |
| 1937 |
'jump-target': KeyInfo(), |
| 1938 |
'limit': KeyInfo(can_disable=True), |
| 1939 |
'log': KeyInfo(), |
| 1940 |
'log-prefix': KeyInfo(), |
| 1941 |
'mac-protocol': KeyInfo(can_disable=True), |
| 1942 |
'new-packet-mark': KeyInfo(), |
| 1943 |
'new-priority': KeyInfo(), |
| 1944 |
'numbers': KeyInfo(read_only=True), |
| 1945 |
'out-bridge': KeyInfo(can_disable=True), |
| 1946 |
'out-bridge-list': KeyInfo(can_disable=True), |
| 1947 |
'out-interface': KeyInfo(can_disable=True), |
| 1948 |
'out-interface-list': KeyInfo(can_disable=True), |
| 1949 |
'packet-mark': KeyInfo(can_disable=True), |
| 1950 |
'packet-type': KeyInfo(can_disable=True), |
| 1951 |
'passthrough': KeyInfo(), |
| 1952 |
# 'place-before': KeyInfo(write_only=True), |
| 1953 |
'src-address': KeyInfo(can_disable=True), |
| 1954 |
'src-address6': KeyInfo(can_disable=True), |
| 1955 |
'src-mac-address': KeyInfo(can_disable=True), |
| 1956 |
'src-port': KeyInfo(can_disable=True), |
| 1957 |
'stp-flags': KeyInfo(can_disable=True), |
| 1958 |
'stp-forward-delay': KeyInfo(can_disable=True), |
| 1959 |
'stp-hello-time': KeyInfo(can_disable=True), |
| 1960 |
'stp-max-age': KeyInfo(can_disable=True), |
| 1961 |
'stp-msg-age': KeyInfo(can_disable=True), |
| 1962 |
'stp-port': KeyInfo(can_disable=True), |
| 1963 |
'stp-root-address': KeyInfo(can_disable=True), |
| 1964 |
'stp-root-cost': KeyInfo(can_disable=True), |
| 1965 |
'stp-root-priority': KeyInfo(can_disable=True), |
| 1966 |
'stp-sender-address': KeyInfo(can_disable=True), |
| 1967 |
'stp-sender-priority': KeyInfo(can_disable=True), |
| 1968 |
'stp-type': KeyInfo(can_disable=True), |
| 1969 |
'tls-host': KeyInfo(can_disable=True), |
| 1970 |
'vlan-encap': KeyInfo(can_disable=True), |
| 1971 |
'vlan-id': KeyInfo(can_disable=True), |
| 1972 |
'vlan-priority': KeyInfo(can_disable=True), |
| 1973 |
}, |
| 1974 |
)), |
| 1975 |
], |
| 1976 |
), |
| 1977 |
|
| 1978 |
('interface', 'bridge', 'host'): APIData( |
| 1979 |
versioned=[ |
| 1980 |
('7.15', '>=', VersionedAPIData( |
| 1981 |
fully_understood=True, |
| 1982 |
fields={ |
| 1983 |
'bridge': KeyInfo(), |
| 1984 |
'comment': KeyInfo(), |
| 1985 |
# 'copy-from': KeyInfo(write_only=True), |
| 1986 |
'disabled': KeyInfo(), |
| 1987 |
'interface': KeyInfo(), |
| 1988 |
'mac-address': KeyInfo(), |
| 1989 |
'numbers': KeyInfo(read_only=True), |
| 1990 |
'vid': KeyInfo(can_disable=True), |
| 1991 |
}, |
| 1992 |
)), |
| 1993 |
], |
| 1994 |
), |
| 1995 |
|
| 1996 |
('interface', 'bridge', 'mdb'): APIData( |
| 1997 |
versioned=[ |
| 1998 |
('7.15', '>=', VersionedAPIData( |
| 1999 |
fully_understood=True, |
| 2000 |
versioned_fields=[ |
| 2001 |
([('7.19', '>=')], 'interface', KeyInfo()), |
| 2002 |
([('7.19', '<')], 'ports', KeyInfo()), |
| 2003 |
], |
| 2004 |
fields={ |
| 2005 |
'bridge': KeyInfo(), |
| 2006 |
'comment': KeyInfo(), |
| 2007 |
# 'copy-from': KeyInfo(write_only=True), |
| 2008 |
'disabled': KeyInfo(), |
| 2009 |
'group': KeyInfo(), |
| 2010 |
'numbers': KeyInfo(read_only=True), |
| 2011 |
'vid': KeyInfo(can_disable=True), |
| 2012 |
}, |
| 2013 |
)), |
| 2014 |
], |
| 2015 |
), |
| 2016 |
|
| 2017 |
('interface', 'bridge', 'mlag'): APIData( |
| 2018 |
unversioned=VersionedAPIData( |
| 2019 |
fixed_entries=True, |
| 2020 |
fully_understood=True, |
| 2021 |
single_value=True, |
| 2022 |
versioned_fields=[ |
| 2023 |
([('7.18', '>=')], 'heartbeat', KeyInfo()), |
| 2024 |
([('7.17', '>=')], 'priority', KeyInfo()), |
| 2025 |
], |
| 2026 |
fields={ |
| 2027 |
'bridge': KeyInfo(default='none'), |
| 2028 |
'peer-port': KeyInfo(default='none'), |
| 2029 |
}, |
| 2030 |
), |
| 2031 |
), |
| 2032 |
|
| 2033 |
('interface', 'bridge', 'msti'): APIData( |
| 2034 |
versioned=[ |
| 2035 |
('7.15', '>=', VersionedAPIData( |
| 2036 |
fully_understood=True, |
| 2037 |
fields={ |
| 2038 |
'bridge': KeyInfo(), |
| 2039 |
'comment': KeyInfo(), |
| 2040 |
# 'copy-from': KeyInfo(write_only=True), |
| 2041 |
'disabled': KeyInfo(), |
| 2042 |
'identifier': KeyInfo(), |
| 2043 |
'numbers': KeyInfo(read_only=True), |
| 2044 |
'priority': KeyInfo(), |
| 2045 |
'vlan-mapping': KeyInfo(), |
| 2046 |
}, |
| 2047 |
)), |
| 2048 |
], |
| 2049 |
), |
| 2050 |
|
| 2051 |
('interface', 'bridge', 'nat'): APIData( |
| 2052 |
versioned=[ |
| 2053 |
('7.15', '>=', VersionedAPIData( |
| 2054 |
fully_understood=True, |
| 2055 |
fields={ |
| 2056 |
'802.3-sap': KeyInfo(can_disable=True), |
| 2057 |
'802.3-type': KeyInfo(can_disable=True), |
| 2058 |
'action': KeyInfo(), |
| 2059 |
'arp-dst-address': KeyInfo(can_disable=True), |
| 2060 |
'arp-dst-mac-address': KeyInfo(can_disable=True), |
| 2061 |
'arp-gratuitous': KeyInfo(can_disable=True), |
| 2062 |
'arp-hardware-type': KeyInfo(can_disable=True), |
| 2063 |
'arp-opcode': KeyInfo(can_disable=True), |
| 2064 |
'arp-packet-type': KeyInfo(can_disable=True), |
| 2065 |
'arp-src-address': KeyInfo(can_disable=True), |
| 2066 |
'arp-src-mac-address': KeyInfo(can_disable=True), |
| 2067 |
'chain': KeyInfo(), |
| 2068 |
'comment': KeyInfo(), |
| 2069 |
# 'copy-from': KeyInfo(write_only=True), |
| 2070 |
'disabled': KeyInfo(), |
| 2071 |
'dst-address': KeyInfo(can_disable=True), |
| 2072 |
'dst-address6': KeyInfo(can_disable=True), |
| 2073 |
'dst-mac-address': KeyInfo(can_disable=True), |
| 2074 |
'dst-port': KeyInfo(can_disable=True), |
| 2075 |
'in-bridge': KeyInfo(can_disable=True), |
| 2076 |
'in-bridge-list': KeyInfo(can_disable=True), |
| 2077 |
'in-interface': KeyInfo(can_disable=True), |
| 2078 |
'in-interface-list': KeyInfo(can_disable=True), |
| 2079 |
'ingress-priority': KeyInfo(can_disable=True), |
| 2080 |
'ip-protocol': KeyInfo(can_disable=True), |
| 2081 |
'jump-target': KeyInfo(), |
| 2082 |
'limit': KeyInfo(can_disable=True), |
| 2083 |
'log': KeyInfo(), |
| 2084 |
'log-prefix': KeyInfo(), |
| 2085 |
'mac-protocol': KeyInfo(can_disable=True), |
| 2086 |
'new-packet-mark': KeyInfo(), |
| 2087 |
'new-priority': KeyInfo(), |
| 2088 |
'numbers': KeyInfo(read_only=True), |
| 2089 |
'out-bridge': KeyInfo(can_disable=True), |
| 2090 |
'out-bridge-list': KeyInfo(can_disable=True), |
| 2091 |
'out-interface': KeyInfo(can_disable=True), |
| 2092 |
'out-interface-list': KeyInfo(can_disable=True), |
| 2093 |
'packet-mark': KeyInfo(can_disable=True), |
| 2094 |
'packet-type': KeyInfo(can_disable=True), |
| 2095 |
'passthrough': KeyInfo(), |
| 2096 |
# 'place-before': KeyInfo(write_only=True), |
| 2097 |
'src-address': KeyInfo(can_disable=True), |
| 2098 |
'src-address6': KeyInfo(can_disable=True), |
| 2099 |
'src-mac-address': KeyInfo(can_disable=True), |
| 2100 |
'src-port': KeyInfo(can_disable=True), |
| 2101 |
'stp-flags': KeyInfo(can_disable=True), |
| 2102 |
'stp-forward-delay': KeyInfo(can_disable=True), |
| 2103 |
'stp-hello-time': KeyInfo(can_disable=True), |
| 2104 |
'stp-max-age': KeyInfo(can_disable=True), |
| 2105 |
'stp-msg-age': KeyInfo(can_disable=True), |
| 2106 |
'stp-port': KeyInfo(can_disable=True), |
| 2107 |
'stp-root-address': KeyInfo(can_disable=True), |
| 2108 |
'stp-root-cost': KeyInfo(can_disable=True), |
| 2109 |
'stp-root-priority': KeyInfo(can_disable=True), |
| 2110 |
'stp-sender-address': KeyInfo(can_disable=True), |
| 2111 |
'stp-sender-priority': KeyInfo(can_disable=True), |
| 2112 |
'stp-type': KeyInfo(can_disable=True), |
| 2113 |
'tls-host': KeyInfo(can_disable=True), |
| 2114 |
'to-arp-reply-mac-address': KeyInfo(), |
| 2115 |
'to-dst-mac-address': KeyInfo(), |
| 2116 |
'to-src-mac-address': KeyInfo(), |
| 2117 |
'vlan-encap': KeyInfo(can_disable=True), |
| 2118 |
'vlan-id': KeyInfo(can_disable=True), |
| 2119 |
'vlan-priority': KeyInfo(can_disable=True), |
| 2120 |
}, |
| 2121 |
)), |
| 2122 |
], |
| 2123 |
), |
| 2124 |
|
| 2125 |
('interface', 'bridge', 'port'): APIData( |
| 2126 |
unversioned=VersionedAPIData( |
| 2127 |
fully_understood=True, |
| 2128 |
primary_keys=('interface',), |
| 2129 |
versioned_fields=[ |
| 2130 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 2131 |
([('7.0', '<')], 'ingress-filtering', KeyInfo(default=False)), |
| 2132 |
([('7.0', '>=')], 'ingress-filtering', KeyInfo(default=True)), |
| 2133 |
([('7.13', '<')], 'internal-path-cost', KeyInfo(default=10)), |
| 2134 |
([('7.13', '>=')], 'internal-path-cost', KeyInfo(can_disable=True)), |
| 2135 |
([('7.20', '>=')], 'mvrp-applicant-state', KeyInfo(default='normal-participant')), |
| 2136 |
([('7.20', '>=')], 'mvrp-registrar-state', KeyInfo(default='normal')), |
| 2137 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2138 |
([('7.13', '<')], 'path-cost', KeyInfo(default=10)), |
| 2139 |
([('7.13', '>=')], 'path-cost', KeyInfo(can_disable=True)), |
| 2140 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 2141 |
([('7.22', '>=')], 'trusted-ra', KeyInfo()), |
| 2142 |
], |
| 2143 |
fields={ |
| 2144 |
'auto-isolate': KeyInfo(default=False), |
| 2145 |
'bpdu-guard': KeyInfo(default=False), |
| 2146 |
'bridge': KeyInfo(required=True), |
| 2147 |
'broadcast-flood': KeyInfo(default=True), |
| 2148 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2149 |
'disabled': KeyInfo(default=False), |
| 2150 |
'edge': KeyInfo(default='auto'), |
| 2151 |
'fast-leave': KeyInfo(default=False), |
| 2152 |
'frame-types': KeyInfo(default='admit-all'), |
| 2153 |
'horizon': KeyInfo(default='none'), |
| 2154 |
'hw': KeyInfo(default=True), |
| 2155 |
'interface': KeyInfo(), |
| 2156 |
'learn': KeyInfo(default='auto'), |
| 2157 |
'multicast-router': KeyInfo(default='temporary-query'), |
| 2158 |
'point-to-point': KeyInfo(default='auto'), |
| 2159 |
'priority': KeyInfo(default='0x80'), |
| 2160 |
'pvid': KeyInfo(default=1), |
| 2161 |
'restricted-role': KeyInfo(default=False), |
| 2162 |
'restricted-tcn': KeyInfo(default=False), |
| 2163 |
'tag-stacking': KeyInfo(default=False), |
| 2164 |
'trusted': KeyInfo(default=False), |
| 2165 |
'unknown-multicast-flood': KeyInfo(default=True), |
| 2166 |
'unknown-unicast-flood': KeyInfo(default=True), |
| 2167 |
}, |
| 2168 |
), |
| 2169 |
), |
| 2170 |
|
| 2171 |
('interface', 'bridge', 'port', 'mst-override'): APIData( |
| 2172 |
versioned=[ |
| 2173 |
('7.15', '>=', VersionedAPIData( |
| 2174 |
fully_understood=True, |
| 2175 |
fields={ |
| 2176 |
'comment': KeyInfo(), |
| 2177 |
# 'copy-from': KeyInfo(write_only=True), |
| 2178 |
'disabled': KeyInfo(), |
| 2179 |
'identifier': KeyInfo(), |
| 2180 |
'interface': KeyInfo(), |
| 2181 |
'internal-path-cost': KeyInfo(can_disable=True), |
| 2182 |
'numbers': KeyInfo(read_only=True), |
| 2183 |
'priority': KeyInfo(), |
| 2184 |
}, |
| 2185 |
)), |
| 2186 |
], |
| 2187 |
), |
| 2188 |
|
| 2189 |
('interface', 'bridge', 'port-controller'): APIData( |
| 2190 |
versioned=[ |
| 2191 |
('7.18', '>=', 'Not supported anymore in version >= 7.18'), |
| 2192 |
('7.18', '<', VersionedAPIData( |
| 2193 |
fixed_entries=True, |
| 2194 |
fully_understood=True, |
| 2195 |
single_value=True, |
| 2196 |
fields={ |
| 2197 |
'bridge': KeyInfo(default='none'), |
| 2198 |
'cascade-ports': KeyInfo(default=''), |
| 2199 |
'switch': KeyInfo(default='none'), |
| 2200 |
}, |
| 2201 |
)), |
| 2202 |
], |
| 2203 |
), |
| 2204 |
|
| 2205 |
('interface', 'bridge', 'port-controller', 'device'): APIData( |
| 2206 |
versioned=[ |
| 2207 |
('7.18', '>=', 'Not supported anymore in version >= 7.18'), |
| 2208 |
('7.15', '>=', VersionedAPIData( |
| 2209 |
fully_understood=True, |
| 2210 |
fields={ |
| 2211 |
# 'copy-from': KeyInfo(write_only=True), |
| 2212 |
'name': KeyInfo(), |
| 2213 |
'numbers': KeyInfo(read_only=True), |
| 2214 |
}, |
| 2215 |
)), |
| 2216 |
], |
| 2217 |
), |
| 2218 |
|
| 2219 |
('interface', 'bridge', 'port-controller', 'port'): APIData( |
| 2220 |
versioned=[ |
| 2221 |
('7.18', '>=', 'Not supported anymore in version >= 7.18'), |
| 2222 |
('7.15', '>=', VersionedAPIData( |
| 2223 |
# fixed_entries=True, |
| 2224 |
fully_understood=True, |
| 2225 |
has_identifier=True, |
| 2226 |
# primary_keys=('numbers',), |
| 2227 |
fields={ |
| 2228 |
'disabled': KeyInfo(), |
| 2229 |
'name': KeyInfo(), |
| 2230 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 2231 |
}, |
| 2232 |
)), |
| 2233 |
], |
| 2234 |
), |
| 2235 |
|
| 2236 |
('interface', 'bridge', 'port-extender'): APIData( |
| 2237 |
versioned=[ |
| 2238 |
('7.18', '>=', 'Not supported anymore in version >= 7.18'), |
| 2239 |
('7.18', '<', VersionedAPIData( |
| 2240 |
fixed_entries=True, |
| 2241 |
fully_understood=True, |
| 2242 |
single_value=True, |
| 2243 |
fields={ |
| 2244 |
'control-ports': KeyInfo(default=''), |
| 2245 |
'excluded-ports': KeyInfo(default=''), |
| 2246 |
'switch': KeyInfo(default='none'), |
| 2247 |
}, |
| 2248 |
)), |
| 2249 |
], |
| 2250 |
), |
| 2251 |
|
| 2252 |
('interface', 'bridge', 'settings'): APIData( |
| 2253 |
unversioned=VersionedAPIData( |
| 2254 |
fixed_entries=True, |
| 2255 |
fully_understood=True, |
| 2256 |
single_value=True, |
| 2257 |
fields={ |
| 2258 |
'allow-fast-path': KeyInfo(default=True), |
| 2259 |
'use-ip-firewall': KeyInfo(default=False), |
| 2260 |
'use-ip-firewall-for-pppoe': KeyInfo(default=False), |
| 2261 |
'use-ip-firewall-for-vlan': KeyInfo(default=False), |
| 2262 |
}, |
| 2263 |
), |
| 2264 |
), |
| 2265 |
|
| 2266 |
('interface', 'bridge', 'vlan'): APIData( |
| 2267 |
unversioned=VersionedAPIData( |
| 2268 |
fully_understood=True, |
| 2269 |
primary_keys=('bridge', 'vlan-ids'), |
| 2270 |
versioned_fields=[ |
| 2271 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 2272 |
([('7.15', '>=')], 'mvrp-forbidden', KeyInfo(default='')), |
| 2273 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2274 |
], |
| 2275 |
fields={ |
| 2276 |
'bridge': KeyInfo(), |
| 2277 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2278 |
'disabled': KeyInfo(default=False), |
| 2279 |
'tagged': KeyInfo(default=''), |
| 2280 |
'untagged': KeyInfo(default=''), |
| 2281 |
'vlan-ids': KeyInfo(), |
| 2282 |
}, |
| 2283 |
), |
| 2284 |
), |
| 2285 |
|
| 2286 |
('interface', 'detect-internet'): APIData( |
| 2287 |
unversioned=VersionedAPIData( |
| 2288 |
fixed_entries=True, |
| 2289 |
fully_understood=True, |
| 2290 |
single_value=True, |
| 2291 |
versioned_fields=[ |
| 2292 |
([('7.22', '>=')], 'request-interval', KeyInfo()), |
| 2293 |
], |
| 2294 |
fields={ |
| 2295 |
'detect-interface-list': KeyInfo(default='none'), |
| 2296 |
'internet-interface-list': KeyInfo(default='none'), |
| 2297 |
'lan-interface-list': KeyInfo(default='none'), |
| 2298 |
'wan-interface-list': KeyInfo(default='none'), |
| 2299 |
}, |
| 2300 |
), |
| 2301 |
), |
| 2302 |
|
| 2303 |
('interface', 'dot1x', 'client'): APIData( |
| 2304 |
unversioned=VersionedAPIData( |
| 2305 |
fully_understood=True, |
| 2306 |
primary_keys=('eap-methods', 'identity', 'interface'), |
| 2307 |
versioned_fields=[ |
| 2308 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 2309 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2310 |
([('7.15', '>=')], 'password', KeyInfo()), |
| 2311 |
], |
| 2312 |
fields={ |
| 2313 |
'anon-identity': KeyInfo(default=''), |
| 2314 |
'certificate': KeyInfo(default='none'), |
| 2315 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2316 |
'disabled': KeyInfo(default=False), |
| 2317 |
'eap-methods': KeyInfo(), |
| 2318 |
'identity': KeyInfo(), |
| 2319 |
'interface': KeyInfo(), |
| 2320 |
}, |
| 2321 |
), |
| 2322 |
), |
| 2323 |
|
| 2324 |
('interface', 'dot1x', 'server'): APIData( |
| 2325 |
unversioned=VersionedAPIData( |
| 2326 |
fully_understood=True, |
| 2327 |
stratify_keys=('interface',), |
| 2328 |
versioned_fields=[ |
| 2329 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 2330 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2331 |
], |
| 2332 |
fields={ |
| 2333 |
'accounting': KeyInfo(default=True), |
| 2334 |
'auth-timeout': KeyInfo(default='1m'), |
| 2335 |
'auth-types': KeyInfo(default='dot1x'), |
| 2336 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2337 |
'disabled': KeyInfo(default=False), |
| 2338 |
'guest-vlan-id': KeyInfo(can_disable=True), |
| 2339 |
'interface': KeyInfo(), |
| 2340 |
'interim-update': KeyInfo(default='0s'), |
| 2341 |
'mac-auth-mode': KeyInfo(default='mac-as-username'), |
| 2342 |
'radius-mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'), |
| 2343 |
'reauth-timeout': KeyInfo(can_disable=True), |
| 2344 |
'reject-vlan-id': KeyInfo(can_disable=True), |
| 2345 |
'retrans-timeout': KeyInfo(default='30s'), |
| 2346 |
'server-fail-vlan-id': KeyInfo(can_disable=True), |
| 2347 |
}, |
| 2348 |
), |
| 2349 |
), |
| 2350 |
|
| 2351 |
('interface', 'dot1x', 'server', 'active'): APIData( |
| 2352 |
versioned=[ |
| 2353 |
('7.15', '>=', VersionedAPIData( |
| 2354 |
fully_understood=True, |
| 2355 |
modify_not_supported=True, |
| 2356 |
fields={ |
| 2357 |
# 'copy-from': KeyInfo(write_only=True), |
| 2358 |
'auth-info': KeyInfo(read_only=True), |
| 2359 |
'client-mac': KeyInfo(read_only=True), |
| 2360 |
'interface': KeyInfo(read_only=True), |
| 2361 |
'session-id': KeyInfo(read_only=True), |
| 2362 |
'username': KeyInfo(read_only=True), |
| 2363 |
'vlan-id': KeyInfo(read_only=True), |
| 2364 |
}, |
| 2365 |
)), |
| 2366 |
], |
| 2367 |
), |
| 2368 |
|
| 2369 |
('interface', 'eoip'): APIData( |
| 2370 |
unversioned=VersionedAPIData( |
| 2371 |
fully_understood=True, |
| 2372 |
primary_keys=('name',), |
| 2373 |
versioned_fields=[ |
| 2374 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 2375 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2376 |
], |
| 2377 |
fields={ |
| 2378 |
'allow-fast-path': KeyInfo(default=True), |
| 2379 |
'arp': KeyInfo(default='enabled'), |
| 2380 |
'arp-timeout': KeyInfo(default='auto'), |
| 2381 |
'clamp-tcp-mss': KeyInfo(default=True), |
| 2382 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2383 |
'disabled': KeyInfo(default=False), |
| 2384 |
'dont-fragment': KeyInfo(default=False), |
| 2385 |
'dscp': KeyInfo(default='inherit'), |
| 2386 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 2387 |
'keepalive': KeyInfo(can_disable=True, default='10s,10'), |
| 2388 |
'local-address': KeyInfo(default='0.0.0.0'), |
| 2389 |
'loop-protect': KeyInfo(default='default'), |
| 2390 |
'loop-protect-disable-time': KeyInfo(default='5m'), |
| 2391 |
'loop-protect-send-interval': KeyInfo(default='5s'), |
| 2392 |
'mac-address': KeyInfo(), |
| 2393 |
'mtu': KeyInfo(default='auto'), |
| 2394 |
'name': KeyInfo(), |
| 2395 |
'remote-address': KeyInfo(required=True), |
| 2396 |
'tunnel-id': KeyInfo(required=True), |
| 2397 |
}, |
| 2398 |
), |
| 2399 |
), |
| 2400 |
|
| 2401 |
('interface', 'eoipv6'): APIData( |
| 2402 |
versioned=[ |
| 2403 |
('7.15', '>=', VersionedAPIData( |
| 2404 |
fully_understood=True, |
| 2405 |
versioned_fields=[ |
| 2406 |
([('7.21', '>=')], 'dont-fragment', KeyInfo()), |
| 2407 |
], |
| 2408 |
fields={ |
| 2409 |
'arp': KeyInfo(), |
| 2410 |
'arp-timeout': KeyInfo(), |
| 2411 |
'clamp-tcp-mss': KeyInfo(), |
| 2412 |
'comment': KeyInfo(), |
| 2413 |
# 'copy-from': KeyInfo(write_only=True), |
| 2414 |
'disabled': KeyInfo(), |
| 2415 |
'dscp': KeyInfo(), |
| 2416 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 2417 |
'keepalive': KeyInfo(can_disable=True), |
| 2418 |
'local-address': KeyInfo(), |
| 2419 |
'loop-protect': KeyInfo(), |
| 2420 |
'loop-protect-disable-time': KeyInfo(), |
| 2421 |
'loop-protect-send-interval': KeyInfo(), |
| 2422 |
'mac-address': KeyInfo(), |
| 2423 |
'mtu': KeyInfo(), |
| 2424 |
'name': KeyInfo(), |
| 2425 |
'numbers': KeyInfo(read_only=True), |
| 2426 |
'remote-address': KeyInfo(), |
| 2427 |
'tunnel-id': KeyInfo(), |
| 2428 |
}, |
| 2429 |
)), |
| 2430 |
], |
| 2431 |
), |
| 2432 |
|
| 2433 |
('interface', 'ethernet'): APIData( |
| 2434 |
unversioned=VersionedAPIData( |
| 2435 |
fixed_entries=True, |
| 2436 |
fully_understood=True, |
| 2437 |
primary_keys=('default-name',), |
| 2438 |
versioned_fields=[ |
| 2439 |
([('7.15.3', '>=')], 'cable-settings', KeyInfo()), |
| 2440 |
([('7.15.3', '>=')], 'disable-running-check', KeyInfo()), |
| 2441 |
([('7.15', '<')], 'full-duplex', KeyInfo(default=True)), |
| 2442 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 2443 |
([('7.15', '>=')], 'sfp-ignore-rx-los', KeyInfo()), |
| 2444 |
], |
| 2445 |
fields={ |
| 2446 |
'advertise': KeyInfo(), |
| 2447 |
'arp': KeyInfo(default='enabled'), |
| 2448 |
'arp-timeout': KeyInfo(default='auto'), |
| 2449 |
'auto-negotiation': KeyInfo(default=True), |
| 2450 |
'bandwidth': KeyInfo(default='unlimited/unlimited'), |
| 2451 |
'combo-mode': KeyInfo(can_disable=True), |
| 2452 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 2453 |
'default-name': KeyInfo(), |
| 2454 |
'disabled': KeyInfo(default=False), |
| 2455 |
'fec-mode': KeyInfo(can_disable=True, remove_value='auto'), |
| 2456 |
'l2mtu': KeyInfo(), |
| 2457 |
'loop-protect': KeyInfo(default='default'), |
| 2458 |
'loop-protect-disable-time': KeyInfo(default='5m'), |
| 2459 |
'loop-protect-send-interval': KeyInfo(default='5s'), |
| 2460 |
'mac-address': KeyInfo(), |
| 2461 |
'mdix-enable': KeyInfo(), |
| 2462 |
'mtu': KeyInfo(default=1500), |
| 2463 |
'name': KeyInfo(), |
| 2464 |
'orig-mac-address': KeyInfo(), |
| 2465 |
'poe-out': KeyInfo(can_disable=True, remove_value='auto-on'), |
| 2466 |
'poe-priority': KeyInfo(can_disable=True, remove_value=10), |
| 2467 |
'poe-voltage': KeyInfo(can_disable=True), |
| 2468 |
'power-cycle-interval': KeyInfo(), |
| 2469 |
'power-cycle-ping-address': KeyInfo(can_disable=True), |
| 2470 |
'power-cycle-ping-enabled': KeyInfo(), |
| 2471 |
'power-cycle-ping-timeout': KeyInfo(can_disable=True), |
| 2472 |
'rx-flow-control': KeyInfo(default='off'), |
| 2473 |
'sfp-rate-select': KeyInfo(default='high'), |
| 2474 |
'sfp-shutdown-temperature': KeyInfo(can_disable=True, default=95), |
| 2475 |
'speed': KeyInfo(), |
| 2476 |
'tx-flow-control': KeyInfo(default='off'), |
| 2477 |
}, |
| 2478 |
), |
| 2479 |
), |
| 2480 |
|
| 2481 |
('interface', 'ethernet', 'poe'): APIData( |
| 2482 |
unversioned=VersionedAPIData( |
| 2483 |
fixed_entries=True, |
| 2484 |
fully_understood=True, |
| 2485 |
primary_keys=('name',), |
| 2486 |
versioned_fields=[ |
| 2487 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 2488 |
], |
| 2489 |
fields={ |
| 2490 |
'name': KeyInfo(), |
| 2491 |
'poe-out': KeyInfo(default='auto-on'), |
| 2492 |
'poe-priority': KeyInfo(default=10), |
| 2493 |
'poe-voltage': KeyInfo(default='auto'), |
| 2494 |
'power-cycle-interval': KeyInfo(default='none'), |
| 2495 |
'power-cycle-ping-address': KeyInfo(can_disable=True), |
| 2496 |
'power-cycle-ping-enabled': KeyInfo(default=False), |
| 2497 |
'power-cycle-ping-timeout': KeyInfo(can_disable=True), |
| 2498 |
}, |
| 2499 |
), |
| 2500 |
), |
| 2501 |
|
| 2502 |
('interface', 'ethernet', 'switch'): APIData( |
| 2503 |
hardware_detect='switch_chip_type', |
| 2504 |
hardware_variants={ |
| 2505 |
'single_entry_switch': APIData( |
| 2506 |
versioned=[ |
| 2507 |
('7.15', '>=', VersionedAPIData( |
| 2508 |
fixed_entries=True, |
| 2509 |
fully_understood=True, |
| 2510 |
single_value=True, |
| 2511 |
fields={ |
| 2512 |
'bridge-type': KeyInfo(), |
| 2513 |
'bypass-ingress-port-policing-for': KeyInfo(), |
| 2514 |
'bypass-l2-security-check-filter-for': KeyInfo(), |
| 2515 |
'bypass-vlan-ingress-filter-for': KeyInfo(), |
| 2516 |
'drop-if-invalid-or-src-port-not-member-of-vlan-on-ports': KeyInfo(), |
| 2517 |
'drop-if-no-vlan-assignment-on-ports': KeyInfo(), |
| 2518 |
'egress-mirror-ratio': KeyInfo(), |
| 2519 |
'egress-mirror0': KeyInfo(), |
| 2520 |
'egress-mirror1': KeyInfo(), |
| 2521 |
'fdb-uses': KeyInfo(), |
| 2522 |
'forward-unknown-vlan': KeyInfo(), |
| 2523 |
'ingress-mirror-ratio': KeyInfo(), |
| 2524 |
'ingress-mirror0': KeyInfo(), |
| 2525 |
'ingress-mirror1': KeyInfo(), |
| 2526 |
'mac-level-isolation': KeyInfo(), |
| 2527 |
'mirror-egress-if-ingress-mirrored': KeyInfo(), |
| 2528 |
'mirror-tx-on-mirror-port': KeyInfo(), |
| 2529 |
'mirrored-packet-drop-precedence': KeyInfo(), |
| 2530 |
'mirrored-packet-qos-priority': KeyInfo(), |
| 2531 |
'multicast-lookup-mode': KeyInfo(), |
| 2532 |
'name': KeyInfo(), |
| 2533 |
'override-existing-when-ufdb-full': KeyInfo(), |
| 2534 |
'unicast-fdb-timeout': KeyInfo(), |
| 2535 |
'unknown-vlan-lookup-mode': KeyInfo(), |
| 2536 |
'use-cvid-in-one2one-vlan-lookup': KeyInfo(), |
| 2537 |
'use-svid-in-one2one-vlan-lookup': KeyInfo(), |
| 2538 |
'vlan-uses': KeyInfo(), |
| 2539 |
}, |
| 2540 |
)), |
| 2541 |
], |
| 2542 |
), |
| 2543 |
'multi_entry_switch': APIData( |
| 2544 |
unversioned=VersionedAPIData( |
| 2545 |
fixed_entries=True, |
| 2546 |
fully_understood=True, |
| 2547 |
primary_keys=('name',), |
| 2548 |
versioned_fields=[ |
| 2549 |
([('7.15', '>=')], 'l3-hw-offloading', KeyInfo()), |
| 2550 |
([('7.15', '>=')], 'mirror-egress-target', KeyInfo()), |
| 2551 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 2552 |
([('7.15', '>=')], 'qos-hw-offloading', KeyInfo()), |
| 2553 |
([('7.15', '>=')], 'rspan', KeyInfo()), |
| 2554 |
([('7.15', '>=')], 'rspan-egress-vlan-id', KeyInfo()), |
| 2555 |
([('7.15', '>=')], 'rspan-ingress-vlan-id', KeyInfo()), |
| 2556 |
([('7.15', '>=')], 'switch-all-ports', KeyInfo()), |
| 2557 |
], |
| 2558 |
fields={ |
| 2559 |
'cpu-flow-control': KeyInfo(default=True), |
| 2560 |
'mirror-source': KeyInfo(default='none'), |
| 2561 |
'mirror-target': KeyInfo(default='none'), |
| 2562 |
'name': KeyInfo(), |
| 2563 |
}, |
| 2564 |
), |
| 2565 |
), |
| 2566 |
}, |
| 2567 |
), |
| 2568 |
|
| 2569 |
('interface', 'ethernet', 'switch', 'acl'): APIData( |
| 2570 |
versioned=[ |
| 2571 |
('7.15', '>=', VersionedAPIData( |
| 2572 |
fully_understood=True, |
| 2573 |
fields={ |
| 2574 |
'action': KeyInfo(), |
| 2575 |
'attack-filter-bypass': KeyInfo(), |
| 2576 |
'comment': KeyInfo(), |
| 2577 |
# 'copy-from': KeyInfo(write_only=True), |
| 2578 |
'custom-fields': KeyInfo(), |
| 2579 |
'customer-dei': KeyInfo(), |
| 2580 |
'customer-pcp': KeyInfo(), |
| 2581 |
'customer-tag': KeyInfo(), |
| 2582 |
'customer-vid': KeyInfo(), |
| 2583 |
'disabled': KeyInfo(), |
| 2584 |
'drop-precedence': KeyInfo(), |
| 2585 |
'dscp': KeyInfo(), |
| 2586 |
'dst-addr-registered': KeyInfo(), |
| 2587 |
'dst-l3-port': KeyInfo(), |
| 2588 |
'dst-ports': KeyInfo(), |
| 2589 |
'ecn': KeyInfo(), |
| 2590 |
'egress-vlan-filter-bypass': KeyInfo(), |
| 2591 |
'egress-vlan-translate-bypass': KeyInfo(), |
| 2592 |
'first-fragment': KeyInfo(), |
| 2593 |
'flow-id': KeyInfo(), |
| 2594 |
'fragmented': KeyInfo(), |
| 2595 |
'ingress-vlan-filter-bypass': KeyInfo(), |
| 2596 |
'invert-match': KeyInfo(), |
| 2597 |
'ip-dst': KeyInfo(), |
| 2598 |
'ip-protocol': KeyInfo(), |
| 2599 |
'ip-src': KeyInfo(), |
| 2600 |
'ipv6-dst': KeyInfo(), |
| 2601 |
'ipv6-src': KeyInfo(), |
| 2602 |
'isolation-filter-bypass': KeyInfo(), |
| 2603 |
'lookup-vid': KeyInfo(), |
| 2604 |
'mac-dst-address': KeyInfo(), |
| 2605 |
'mac-isolation-profile': KeyInfo(), |
| 2606 |
'mac-protocol': KeyInfo(), |
| 2607 |
'mac-src-address': KeyInfo(), |
| 2608 |
'mirror-to': KeyInfo(), |
| 2609 |
'new-customer-dei': KeyInfo(), |
| 2610 |
'new-customer-pcp': KeyInfo(), |
| 2611 |
'new-customer-vid': KeyInfo(), |
| 2612 |
'new-drop-precedence': KeyInfo(), |
| 2613 |
'new-dscp': KeyInfo(), |
| 2614 |
'new-dst-ports': KeyInfo(), |
| 2615 |
'new-flow-id': KeyInfo(), |
| 2616 |
'new-priority': KeyInfo(), |
| 2617 |
'new-registered-state': KeyInfo(), |
| 2618 |
'new-service-dei': KeyInfo(), |
| 2619 |
'new-service-pcp': KeyInfo(), |
| 2620 |
'new-service-vid': KeyInfo(), |
| 2621 |
'numbers': KeyInfo(), |
| 2622 |
# 'place-before': KeyInfo(write_only=True), |
| 2623 |
'policer': KeyInfo(), |
| 2624 |
'priority': KeyInfo(), |
| 2625 |
'service-dei': KeyInfo(), |
| 2626 |
'service-pcp': KeyInfo(), |
| 2627 |
'service-tag': KeyInfo(), |
| 2628 |
'service-vid': KeyInfo(), |
| 2629 |
'src-l3-port': KeyInfo(), |
| 2630 |
'src-mac-addr-state': KeyInfo(), |
| 2631 |
'src-mac-learn': KeyInfo(), |
| 2632 |
'src-ports': KeyInfo(), |
| 2633 |
'table': KeyInfo(), |
| 2634 |
'ttl': KeyInfo(), |
| 2635 |
}, |
| 2636 |
)), |
| 2637 |
], |
| 2638 |
), |
| 2639 |
|
| 2640 |
('interface', 'ethernet', 'switch', 'acl', 'policer'): APIData( |
| 2641 |
versioned=[ |
| 2642 |
('7.15', '>=', VersionedAPIData( |
| 2643 |
fully_understood=True, |
| 2644 |
fields={ |
| 2645 |
'bucket-coupling': KeyInfo(), |
| 2646 |
'color-awareness': KeyInfo(), |
| 2647 |
# 'copy-from': KeyInfo(write_only=True), |
| 2648 |
'meter-len': KeyInfo(), |
| 2649 |
'meter-unit': KeyInfo(), |
| 2650 |
'name': KeyInfo(), |
| 2651 |
'new-dei-for-red': KeyInfo(), |
| 2652 |
'new-dei-for-yellow': KeyInfo(), |
| 2653 |
'new-dscp-for-red': KeyInfo(), |
| 2654 |
'new-dscp-for-yellow': KeyInfo(), |
| 2655 |
'new-pcp-for-red': KeyInfo(), |
| 2656 |
'new-pcp-for-yellow': KeyInfo(), |
| 2657 |
'numbers': KeyInfo(), |
| 2658 |
'red-action': KeyInfo(), |
| 2659 |
'red-burst': KeyInfo(), |
| 2660 |
'red-rate': KeyInfo(), |
| 2661 |
'yellow-action': KeyInfo(), |
| 2662 |
'yellow-burst': KeyInfo(), |
| 2663 |
'yellow-rate': KeyInfo(), |
| 2664 |
}, |
| 2665 |
)), |
| 2666 |
], |
| 2667 |
), |
| 2668 |
|
| 2669 |
('interface', 'ethernet', 'switch', 'dscp-qos-map'): APIData( |
| 2670 |
versioned=[ |
| 2671 |
('7.15', '>=', VersionedAPIData( |
| 2672 |
# fixed_entries=True, |
| 2673 |
fully_understood=True, |
| 2674 |
fields={ |
| 2675 |
'dei': KeyInfo(), |
| 2676 |
'drop-precedence': KeyInfo(), |
| 2677 |
'numbers': KeyInfo(), |
| 2678 |
'pcp': KeyInfo(), |
| 2679 |
'priority': KeyInfo(), |
| 2680 |
}, |
| 2681 |
)), |
| 2682 |
], |
| 2683 |
), |
| 2684 |
|
| 2685 |
('interface', 'ethernet', 'switch', 'dscp-to-dscp'): APIData( |
| 2686 |
versioned=[ |
| 2687 |
('7.15', '>=', VersionedAPIData( |
| 2688 |
# fixed_entries=True, |
| 2689 |
fully_understood=True, |
| 2690 |
fields={ |
| 2691 |
'new-dscp': KeyInfo(), |
| 2692 |
'numbers': KeyInfo(), |
| 2693 |
}, |
| 2694 |
)), |
| 2695 |
], |
| 2696 |
), |
| 2697 |
|
| 2698 |
('interface', 'ethernet', 'switch', 'egress-vlan-tag'): APIData( |
| 2699 |
versioned=[ |
| 2700 |
('7.15', '>=', VersionedAPIData( |
| 2701 |
fully_understood=True, |
| 2702 |
fields={ |
| 2703 |
'comment': KeyInfo(), |
| 2704 |
# 'copy-from': KeyInfo(write_only=True), |
| 2705 |
'disabled': KeyInfo(), |
| 2706 |
'numbers': KeyInfo(), |
| 2707 |
'tagged-ports': KeyInfo(), |
| 2708 |
'vlan-id': KeyInfo(), |
| 2709 |
}, |
| 2710 |
)), |
| 2711 |
], |
| 2712 |
), |
| 2713 |
|
| 2714 |
('interface', 'ethernet', 'switch', 'egress-vlan-translation'): APIData( |
| 2715 |
versioned=[ |
| 2716 |
('7.15', '>=', VersionedAPIData( |
| 2717 |
fully_understood=True, |
| 2718 |
fields={ |
| 2719 |
'comment': KeyInfo(), |
| 2720 |
# 'copy-from': KeyInfo(write_only=True), |
| 2721 |
'customer-dei': KeyInfo(), |
| 2722 |
'customer-pcp': KeyInfo(), |
| 2723 |
'customer-vid': KeyInfo(), |
| 2724 |
'customer-vlan-format': KeyInfo(), |
| 2725 |
'disabled': KeyInfo(), |
| 2726 |
'new-customer-vid': KeyInfo(), |
| 2727 |
'new-service-vid': KeyInfo(), |
| 2728 |
'numbers': KeyInfo(), |
| 2729 |
'pcp-propagation': KeyInfo(), |
| 2730 |
# 'place-before': KeyInfo(write_only=True), |
| 2731 |
'ports': KeyInfo(), |
| 2732 |
'service-dei': KeyInfo(), |
| 2733 |
'service-pcp': KeyInfo(), |
| 2734 |
'service-vid': KeyInfo(), |
| 2735 |
'service-vlan-format': KeyInfo(), |
| 2736 |
'swap-vids': KeyInfo(), |
| 2737 |
}, |
| 2738 |
)), |
| 2739 |
], |
| 2740 |
), |
| 2741 |
|
| 2742 |
('interface', 'ethernet', 'switch', 'host'): APIData( |
| 2743 |
versioned=[ |
| 2744 |
('7.15', '>=', VersionedAPIData( |
| 2745 |
fully_understood=True, |
| 2746 |
versioned_fields=[ |
| 2747 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 2748 |
], |
| 2749 |
fields={ |
| 2750 |
# 'copy-from': KeyInfo(write_only=True), |
| 2751 |
'copy-to-cpu': KeyInfo(), |
| 2752 |
'drop': KeyInfo(), |
| 2753 |
'mac-address': KeyInfo(), |
| 2754 |
'mirror': KeyInfo(), |
| 2755 |
'ports': KeyInfo(), |
| 2756 |
'redirect-to-cpu': KeyInfo(), |
| 2757 |
'share-vlan-learned': KeyInfo(), |
| 2758 |
'switch': KeyInfo(), |
| 2759 |
'vlan-id': KeyInfo(), |
| 2760 |
}, |
| 2761 |
)), |
| 2762 |
], |
| 2763 |
), |
| 2764 |
|
| 2765 |
('interface', 'ethernet', 'switch', 'ingress-port-policer'): APIData( |
| 2766 |
versioned=[ |
| 2767 |
('7.15', '>=', VersionedAPIData( |
| 2768 |
fully_understood=True, |
| 2769 |
fields={ |
| 2770 |
'burst': KeyInfo(), |
| 2771 |
# 'copy-from': KeyInfo(write_only=True), |
| 2772 |
'disabled': KeyInfo(), |
| 2773 |
'meter-len': KeyInfo(), |
| 2774 |
'meter-unit': KeyInfo(), |
| 2775 |
'new-dei-for-yellow': KeyInfo(), |
| 2776 |
'new-dscp-for-yellow': KeyInfo(), |
| 2777 |
'new-pcp-for-yellow': KeyInfo(), |
| 2778 |
'numbers': KeyInfo(), |
| 2779 |
'packet-types': KeyInfo(), |
| 2780 |
'port': KeyInfo(), |
| 2781 |
'rate': KeyInfo(), |
| 2782 |
'yellow-action': KeyInfo(), |
| 2783 |
}, |
| 2784 |
)), |
| 2785 |
], |
| 2786 |
), |
| 2787 |
|
| 2788 |
('interface', 'ethernet', 'switch', 'ingress-vlan-translation'): APIData( |
| 2789 |
versioned=[ |
| 2790 |
('7.15', '>=', VersionedAPIData( |
| 2791 |
fully_understood=True, |
| 2792 |
fields={ |
| 2793 |
'comment': KeyInfo(), |
| 2794 |
# 'copy-from': KeyInfo(write_only=True), |
| 2795 |
'customer-dei': KeyInfo(), |
| 2796 |
'customer-pcp': KeyInfo(), |
| 2797 |
'customer-vid': KeyInfo(), |
| 2798 |
'customer-vlan-format': KeyInfo(), |
| 2799 |
'disabled': KeyInfo(), |
| 2800 |
'new-customer-vid': KeyInfo(), |
| 2801 |
'new-service-vid': KeyInfo(), |
| 2802 |
'numbers': KeyInfo(), |
| 2803 |
'pcp-propagation': KeyInfo(), |
| 2804 |
# 'place-before': KeyInfo(write_only=True), |
| 2805 |
'ports': KeyInfo(), |
| 2806 |
'protocol': KeyInfo(), |
| 2807 |
'sa-learning': KeyInfo(), |
| 2808 |
'service-dei': KeyInfo(), |
| 2809 |
'service-pcp': KeyInfo(), |
| 2810 |
'service-vid': KeyInfo(), |
| 2811 |
'service-vlan-format': KeyInfo(), |
| 2812 |
'swap-vids': KeyInfo(), |
| 2813 |
}, |
| 2814 |
)), |
| 2815 |
], |
| 2816 |
), |
| 2817 |
|
| 2818 |
('interface', 'ethernet', 'switch', 'l3hw-settings'): APIData( |
| 2819 |
versioned=[ |
| 2820 |
('7.15', '>=', VersionedAPIData( |
| 2821 |
fixed_entries=True, |
| 2822 |
fully_understood=True, |
| 2823 |
single_value=True, |
| 2824 |
versioned_fields=[ |
| 2825 |
([('7.16', '<')], 'fasttrack-hw', KeyInfo()), |
| 2826 |
], |
| 2827 |
fields={ |
| 2828 |
'autorestart': KeyInfo(), |
| 2829 |
'icmp-reply-on-error': KeyInfo(), |
| 2830 |
'ipv6-hw': KeyInfo(), |
| 2831 |
}, |
| 2832 |
)), |
| 2833 |
], |
| 2834 |
), |
| 2835 |
|
| 2836 |
('interface', 'ethernet', 'switch', 'l3hw-settings', 'advanced'): APIData( |
| 2837 |
versioned=[ |
| 2838 |
('7.15', '>=', VersionedAPIData( |
| 2839 |
fixed_entries=True, |
| 2840 |
fully_understood=True, |
| 2841 |
single_value=True, |
| 2842 |
versioned_fields=[ |
| 2843 |
([('7.18', '>=')], 'neigh-dump-retries', KeyInfo()), |
| 2844 |
([('7.18', '<')], 'partial-offload-chunk', KeyInfo()), |
| 2845 |
], |
| 2846 |
fields={ |
| 2847 |
'neigh-discovery-burst-delay': KeyInfo(), |
| 2848 |
'neigh-discovery-burst-limit': KeyInfo(), |
| 2849 |
'neigh-discovery-interval': KeyInfo(), |
| 2850 |
'neigh-keepalive-interval': KeyInfo(), |
| 2851 |
'route-index-delay-max': KeyInfo(), |
| 2852 |
'route-index-delay-min': KeyInfo(), |
| 2853 |
'route-queue-limit-high': KeyInfo(), |
| 2854 |
'route-queue-limit-low': KeyInfo(), |
| 2855 |
'shwp-reset-counter': KeyInfo(), |
| 2856 |
}, |
| 2857 |
)), |
| 2858 |
], |
| 2859 |
), |
| 2860 |
|
| 2861 |
('interface', 'ethernet', 'switch', 'mac-based-vlan'): APIData( |
| 2862 |
versioned=[ |
| 2863 |
('7.15', '>=', VersionedAPIData( |
| 2864 |
fully_understood=True, |
| 2865 |
fields={ |
| 2866 |
'comment': KeyInfo(), |
| 2867 |
# 'copy-from': KeyInfo(write_only=True), |
| 2868 |
'disabled': KeyInfo(), |
| 2869 |
'new-customer-vid': KeyInfo(), |
| 2870 |
'new-service-vid': KeyInfo(), |
| 2871 |
'numbers': KeyInfo(), |
| 2872 |
'src-mac-address': KeyInfo(), |
| 2873 |
}, |
| 2874 |
)), |
| 2875 |
], |
| 2876 |
), |
| 2877 |
|
| 2878 |
('interface', 'ethernet', 'switch', 'multicast-fdb'): APIData( |
| 2879 |
versioned=[ |
| 2880 |
('7.15', '>=', VersionedAPIData( |
| 2881 |
fully_understood=True, |
| 2882 |
fields={ |
| 2883 |
'address': KeyInfo(), |
| 2884 |
'bypass-vlan-filter': KeyInfo(), |
| 2885 |
'comment': KeyInfo(), |
| 2886 |
# 'copy-from': KeyInfo(write_only=True), |
| 2887 |
'disabled': KeyInfo(), |
| 2888 |
'numbers': KeyInfo(), |
| 2889 |
'ports': KeyInfo(), |
| 2890 |
'qos-group': KeyInfo(), |
| 2891 |
'svl': KeyInfo(), |
| 2892 |
'vlan-id': KeyInfo(), |
| 2893 |
}, |
| 2894 |
)), |
| 2895 |
], |
| 2896 |
), |
| 2897 |
|
| 2898 |
('interface', 'ethernet', 'switch', 'one2one-vlan-switching'): APIData( |
| 2899 |
versioned=[ |
| 2900 |
('7.15', '>=', VersionedAPIData( |
| 2901 |
fully_understood=True, |
| 2902 |
fields={ |
| 2903 |
'comment': KeyInfo(), |
| 2904 |
# 'copy-from': KeyInfo(write_only=True), |
| 2905 |
'customer-vid': KeyInfo(), |
| 2906 |
'disabled': KeyInfo(), |
| 2907 |
'dst-port': KeyInfo(), |
| 2908 |
'numbers': KeyInfo(), |
| 2909 |
'service-vid': KeyInfo(), |
| 2910 |
}, |
| 2911 |
)), |
| 2912 |
], |
| 2913 |
), |
| 2914 |
|
| 2915 |
('interface', 'ethernet', 'switch', 'policer-qos-map'): APIData( |
| 2916 |
versioned=[ |
| 2917 |
('7.15', '>=', VersionedAPIData( |
| 2918 |
# fixed_entries=True, |
| 2919 |
fully_understood=True, |
| 2920 |
fields={ |
| 2921 |
'dei-for-red': KeyInfo(), |
| 2922 |
'dei-for-yellow': KeyInfo(), |
| 2923 |
'dscp-for-red': KeyInfo(), |
| 2924 |
'dscp-for-yellow': KeyInfo(), |
| 2925 |
'numbers': KeyInfo(), |
| 2926 |
'pcp-for-red': KeyInfo(), |
| 2927 |
'pcp-for-yellow': KeyInfo(), |
| 2928 |
}, |
| 2929 |
)), |
| 2930 |
], |
| 2931 |
), |
| 2932 |
|
| 2933 |
('interface', 'ethernet', 'switch', 'port'): APIData( |
| 2934 |
unversioned=VersionedAPIData( |
| 2935 |
fixed_entries=True, |
| 2936 |
fully_understood=True, |
| 2937 |
primary_keys=('name',), |
| 2938 |
versioned_fields=[ |
| 2939 |
([('7.15', '>=')], 'action-on-static-station-move', KeyInfo()), |
| 2940 |
([('7.15', '>=')], 'allow-fdb-based-vlan-translate', KeyInfo()), |
| 2941 |
([('7.15', '>=')], 'allow-mac-based-customer-vlan-assignment-for', KeyInfo()), |
| 2942 |
([('7.15', '>=')], 'allow-mac-based-service-vlan-assignment-for', KeyInfo()), |
| 2943 |
([('7.15', '>=')], 'allow-multicast-loopback', KeyInfo()), |
| 2944 |
([('7.15', '>=')], 'allow-unicast-loopback', KeyInfo()), |
| 2945 |
([('7.15', '>=')], 'custom-drop-counter-includes', KeyInfo()), |
| 2946 |
([('7.15', '>=')], 'default-customer-pcp', KeyInfo()), |
| 2947 |
([('7.15', '>=')], 'default-service-pcp', KeyInfo()), |
| 2948 |
([('7.15', '>=')], 'drop-dynamic-mac-move', KeyInfo()), |
| 2949 |
([('7.15', '>=')], 'drop-secure-static-mac-move', KeyInfo()), |
| 2950 |
([('7.15', '>=')], 'drop-when-ufdb-entry-src-drop', KeyInfo()), |
| 2951 |
([('7.15', '>=')], 'dscp-based-qos-dscp-to-dscp-mapping', KeyInfo()), |
| 2952 |
([('7.15', '>=')], 'egress-customer-tpid-override', KeyInfo()), |
| 2953 |
([('7.15', '>=')], 'egress-mirror-to', KeyInfo()), |
| 2954 |
([('7.15', '>=')], 'egress-pcp-propagation', KeyInfo()), |
| 2955 |
([('7.15', '>=')], 'egress-rate', KeyInfo()), |
| 2956 |
([('7.15', '>=')], 'egress-service-tpid-override', KeyInfo()), |
| 2957 |
([('7.15', '>=')], 'egress-vlan-mode', KeyInfo()), |
| 2958 |
([('7.15', '>=')], 'egress-vlan-tag-table-lookup-key', KeyInfo()), |
| 2959 |
([('7.15', '>=')], 'filter-priority-tagged-frame', KeyInfo()), |
| 2960 |
([('7.15', '>=')], 'filter-tagged-frame', KeyInfo()), |
| 2961 |
([('7.15', '>=')], 'filter-untagged-frame', KeyInfo()), |
| 2962 |
([('7.15', '>=')], 'ingress-customer-tpid-override', KeyInfo()), |
| 2963 |
([('7.15', '>=')], 'ingress-mirror-to', KeyInfo()), |
| 2964 |
([('7.15', '>=')], 'ingress-mirroring-according-to-vlan', KeyInfo()), |
| 2965 |
([('7.15', '>=')], 'ingress-rate', KeyInfo()), |
| 2966 |
([('7.15', '>=')], 'ingress-service-tpid-override', KeyInfo()), |
| 2967 |
([('7.15', '>=')], 'isolation-leakage-profile-override', KeyInfo()), |
| 2968 |
([('7.15', '>=')], 'l3-hw-offloading', KeyInfo()), |
| 2969 |
([('7.15', '>=')], 'learn-limit', KeyInfo()), |
| 2970 |
([('7.15', '>=')], 'limit-broadcasts', KeyInfo()), |
| 2971 |
([('7.15', '>=')], 'limit-unknown-multicasts', KeyInfo()), |
| 2972 |
([('7.15', '>=')], 'limit-unknown-unicasts', KeyInfo()), |
| 2973 |
([('7.15', '>=')], 'mirror-egress', KeyInfo()), |
| 2974 |
([('7.15', '>=')], 'mirror-ingress', KeyInfo()), |
| 2975 |
([('7.15', '>=')], 'mirror-ingress-target', KeyInfo()), |
| 2976 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 2977 |
([('7.15', '>=')], 'pcp-based-qos-dei-mapping', KeyInfo()), |
| 2978 |
([('7.15', '>=')], 'pcp-based-qos-drop-precedence-mapping', KeyInfo()), |
| 2979 |
([('7.15', '>=')], 'pcp-based-qos-dscp-mapping', KeyInfo()), |
| 2980 |
([('7.15', '>=')], 'pcp-based-qos-pcp-mapping', KeyInfo()), |
| 2981 |
([('7.15', '>=')], 'pcp-based-qos-priority-mapping', KeyInfo()), |
| 2982 |
([('7.15', '>=')], 'pcp-or-dscp-based-qos-change-dei', KeyInfo()), |
| 2983 |
([('7.15', '>=')], 'pcp-or-dscp-based-qos-change-dscp', KeyInfo()), |
| 2984 |
([('7.15', '>=')], 'pcp-or-dscp-based-qos-change-pcp', KeyInfo()), |
| 2985 |
([('7.15', '>=')], 'pcp-propagation-for-initial-pcp', KeyInfo()), |
| 2986 |
([('7.15', '>=')], 'per-queue-scheduling', KeyInfo()), |
| 2987 |
([('7.15', '>=')], 'policy-drop-counter-includes', KeyInfo()), |
| 2988 |
([('7.15', '>=')], 'priority-to-queue', KeyInfo()), |
| 2989 |
([('7.15', '>=')], 'qos-scheme-precedence', KeyInfo()), |
| 2990 |
([('7.15', '>=')], 'queue-custom-drop-counter0-includes', KeyInfo()), |
| 2991 |
([('7.15', '>=')], 'queue-custom-drop-counter1-includes', KeyInfo()), |
| 2992 |
([('7.15', '>=')], 'storm-rate', KeyInfo()), |
| 2993 |
([('7.15', '>=')], 'vlan-type', KeyInfo()), |
| 2994 |
], |
| 2995 |
fields={ |
| 2996 |
'default-vlan-id': KeyInfo(), |
| 2997 |
'name': KeyInfo(), |
| 2998 |
'vlan-header': KeyInfo(default='leave-as-is'), |
| 2999 |
'vlan-mode': KeyInfo(default='disabled'), |
| 3000 |
}, |
| 3001 |
), |
| 3002 |
), |
| 3003 |
|
| 3004 |
('interface', 'ethernet', 'switch', 'port-isolation'): APIData( |
| 3005 |
hardware_detect='switch_chip_type', |
| 3006 |
hardware_variants={ |
| 3007 |
'single_entry_switch': APIData( |
| 3008 |
versioned=[ |
| 3009 |
('7.15', '>=', VersionedAPIData( |
| 3010 |
fully_understood=True, |
| 3011 |
fields={ |
| 3012 |
'comment': KeyInfo(), |
| 3013 |
# 'copy-from': KeyInfo(write_only=True), |
| 3014 |
'disabled': KeyInfo(), |
| 3015 |
'flow-id': KeyInfo(), |
| 3016 |
'forwarding-type': KeyInfo(), |
| 3017 |
'mac-profile': KeyInfo(), |
| 3018 |
# 'place-before': KeyInfo(write_only=True), |
| 3019 |
'port-profile': KeyInfo(), |
| 3020 |
'ports': KeyInfo(), |
| 3021 |
'protocol-type': KeyInfo(), |
| 3022 |
'registration-status': KeyInfo(), |
| 3023 |
'traffic-type': KeyInfo(), |
| 3024 |
'type': KeyInfo(), |
| 3025 |
'vlan-profile': KeyInfo(), |
| 3026 |
}, |
| 3027 |
)), |
| 3028 |
], |
| 3029 |
), |
| 3030 |
'multi_entry_switch': APIData( |
| 3031 |
versioned=[ |
| 3032 |
('6.43', '>=', VersionedAPIData( |
| 3033 |
fixed_entries=True, |
| 3034 |
fully_understood=True, |
| 3035 |
primary_keys=('name', ), |
| 3036 |
versioned_fields=[ |
| 3037 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3038 |
], |
| 3039 |
fields={ |
| 3040 |
'forwarding-override': KeyInfo(), |
| 3041 |
'name': KeyInfo(), |
| 3042 |
}, |
| 3043 |
)), |
| 3044 |
], |
| 3045 |
), |
| 3046 |
}, |
| 3047 |
), |
| 3048 |
|
| 3049 |
('interface', 'ethernet', 'switch', 'port-leakage'): APIData( |
| 3050 |
versioned=[ |
| 3051 |
('7.15', '>=', VersionedAPIData( |
| 3052 |
fully_understood=True, |
| 3053 |
fields={ |
| 3054 |
'comment': KeyInfo(), |
| 3055 |
# 'copy-from': KeyInfo(write_only=True), |
| 3056 |
'disabled': KeyInfo(), |
| 3057 |
'flow-id': KeyInfo(), |
| 3058 |
'forwarding-type': KeyInfo(), |
| 3059 |
'mac-profile': KeyInfo(), |
| 3060 |
'numbers': KeyInfo(), |
| 3061 |
# 'place-before': KeyInfo(write_only=True), |
| 3062 |
'port-profile': KeyInfo(), |
| 3063 |
'ports': KeyInfo(), |
| 3064 |
'protocol-type': KeyInfo(), |
| 3065 |
'registration-status': KeyInfo(), |
| 3066 |
'traffic-type': KeyInfo(), |
| 3067 |
'type': KeyInfo(), |
| 3068 |
'vlan-profile': KeyInfo(), |
| 3069 |
}, |
| 3070 |
)), |
| 3071 |
], |
| 3072 |
), |
| 3073 |
|
| 3074 |
('interface', 'ethernet', 'switch', 'protocol-based-vlan'): APIData( |
| 3075 |
versioned=[ |
| 3076 |
('7.15', '>=', VersionedAPIData( |
| 3077 |
fully_understood=True, |
| 3078 |
fields={ |
| 3079 |
'comment': KeyInfo(), |
| 3080 |
# 'copy-from': KeyInfo(write_only=True), |
| 3081 |
'disabled': KeyInfo(), |
| 3082 |
'frame-type': KeyInfo(), |
| 3083 |
'new-customer-vid': KeyInfo(), |
| 3084 |
'new-service-vid': KeyInfo(), |
| 3085 |
'numbers': KeyInfo(), |
| 3086 |
'ports': KeyInfo(), |
| 3087 |
'protocol': KeyInfo(), |
| 3088 |
'qos-group': KeyInfo(), |
| 3089 |
'set-customer-vid-for': KeyInfo(), |
| 3090 |
'set-qos-for': KeyInfo(), |
| 3091 |
'set-service-vid-for': KeyInfo(), |
| 3092 |
}, |
| 3093 |
)), |
| 3094 |
], |
| 3095 |
), |
| 3096 |
|
| 3097 |
('interface', 'ethernet', 'switch', 'qos', 'map'): APIData( |
| 3098 |
versioned=[ |
| 3099 |
('7.15', '>=', VersionedAPIData( |
| 3100 |
fully_understood=True, |
| 3101 |
versioned_fields=[ |
| 3102 |
([('7.21', '>=')], 'disabled', KeyInfo()), |
| 3103 |
], |
| 3104 |
fields={ |
| 3105 |
'comment': KeyInfo(), |
| 3106 |
# 'copy-from': KeyInfo(write_only=True), |
| 3107 |
'name': KeyInfo(), |
| 3108 |
'numbers': KeyInfo(read_only=True), |
| 3109 |
}, |
| 3110 |
)), |
| 3111 |
], |
| 3112 |
), |
| 3113 |
|
| 3114 |
('interface', 'ethernet', 'switch', 'qos', 'map', 'ip'): APIData( |
| 3115 |
versioned=[ |
| 3116 |
('7.15', '>=', VersionedAPIData( |
| 3117 |
fully_understood=True, |
| 3118 |
fields={ |
| 3119 |
'comment': KeyInfo(), |
| 3120 |
# 'copy-from': KeyInfo(write_only=True), |
| 3121 |
'disabled': KeyInfo(), |
| 3122 |
'dscp': KeyInfo(), |
| 3123 |
'map': KeyInfo(), |
| 3124 |
'numbers': KeyInfo(read_only=True), |
| 3125 |
'profile': KeyInfo(), |
| 3126 |
}, |
| 3127 |
)), |
| 3128 |
], |
| 3129 |
), |
| 3130 |
|
| 3131 |
('interface', 'ethernet', 'switch', 'qos', 'map', 'vlan'): APIData( |
| 3132 |
versioned=[ |
| 3133 |
('7.15', '>=', VersionedAPIData( |
| 3134 |
fully_understood=True, |
| 3135 |
fields={ |
| 3136 |
'comment': KeyInfo(), |
| 3137 |
# 'copy-from': KeyInfo(write_only=True), |
| 3138 |
'dei-only': KeyInfo(), |
| 3139 |
'disabled': KeyInfo(), |
| 3140 |
'map': KeyInfo(), |
| 3141 |
'numbers': KeyInfo(read_only=True), |
| 3142 |
'pcp': KeyInfo(), |
| 3143 |
'profile': KeyInfo(), |
| 3144 |
}, |
| 3145 |
)), |
| 3146 |
], |
| 3147 |
), |
| 3148 |
|
| 3149 |
('interface', 'ethernet', 'switch', 'qos', 'port'): APIData( |
| 3150 |
versioned=[ |
| 3151 |
('7.15', '>=', VersionedAPIData( |
| 3152 |
# fixed_entries=True, |
| 3153 |
fully_understood=True, |
| 3154 |
has_identifier=True, |
| 3155 |
# primary_keys=('numbers',), |
| 3156 |
versioned_fields=[ |
| 3157 |
([('7.16', '<')], 'pfc', KeyInfo()), |
| 3158 |
], |
| 3159 |
fields={ |
| 3160 |
'egress-rate-queue0': KeyInfo(), |
| 3161 |
'egress-rate-queue1': KeyInfo(), |
| 3162 |
'egress-rate-queue2': KeyInfo(), |
| 3163 |
'egress-rate-queue3': KeyInfo(), |
| 3164 |
'egress-rate-queue4': KeyInfo(), |
| 3165 |
'egress-rate-queue5': KeyInfo(), |
| 3166 |
'egress-rate-queue6': KeyInfo(), |
| 3167 |
'egress-rate-queue7': KeyInfo(), |
| 3168 |
'map': KeyInfo(), |
| 3169 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 3170 |
'profile': KeyInfo(), |
| 3171 |
'trust-l2': KeyInfo(), |
| 3172 |
'trust-l3': KeyInfo(), |
| 3173 |
'tx-manager': KeyInfo(), |
| 3174 |
}, |
| 3175 |
)), |
| 3176 |
], |
| 3177 |
), |
| 3178 |
|
| 3179 |
('interface', 'ethernet', 'switch', 'qos', 'priority-flow-control'): APIData( |
| 3180 |
versioned=[ |
| 3181 |
('7.16', '>=', 'Not supported anymore in version >= 7.16'), |
| 3182 |
('7.15', '>=', VersionedAPIData( |
| 3183 |
fully_understood=True, |
| 3184 |
fields={ |
| 3185 |
'comment': KeyInfo(), |
| 3186 |
# 'copy-from': KeyInfo(write_only=True), |
| 3187 |
'name': KeyInfo(), |
| 3188 |
'numbers': KeyInfo(read_only=True), |
| 3189 |
'pause-threshold': KeyInfo(), |
| 3190 |
'resume-threshold': KeyInfo(), |
| 3191 |
'rx': KeyInfo(), |
| 3192 |
'traffic-class': KeyInfo(), |
| 3193 |
'tx': KeyInfo(), |
| 3194 |
}, |
| 3195 |
)), |
| 3196 |
], |
| 3197 |
), |
| 3198 |
|
| 3199 |
('interface', 'ethernet', 'switch', 'qos', 'profile'): APIData( |
| 3200 |
versioned=[ |
| 3201 |
('7.15', '>=', VersionedAPIData( |
| 3202 |
fully_understood=True, |
| 3203 |
versioned_fields=[ |
| 3204 |
([('7.16', '<')], 'color', KeyInfo()), |
| 3205 |
([('7.17', '>=')], 'disabled', KeyInfo()), |
| 3206 |
], |
| 3207 |
fields={ |
| 3208 |
'comment': KeyInfo(), |
| 3209 |
# 'copy-from': KeyInfo(write_only=True), |
| 3210 |
'dscp': KeyInfo(), |
| 3211 |
'name': KeyInfo(), |
| 3212 |
'numbers': KeyInfo(read_only=True), |
| 3213 |
'pcp': KeyInfo(), |
| 3214 |
'traffic-class': KeyInfo(), |
| 3215 |
}, |
| 3216 |
)), |
| 3217 |
], |
| 3218 |
), |
| 3219 |
|
| 3220 |
('interface', 'ethernet', 'switch', 'qos', 'settings'): APIData( |
| 3221 |
versioned=[ |
| 3222 |
('7.15', '>=', VersionedAPIData( |
| 3223 |
fixed_entries=True, |
| 3224 |
fully_understood=True, |
| 3225 |
single_value=True, |
| 3226 |
versioned_fields=[ |
| 3227 |
([('7.20', '>=')], 'mirror-buffers', KeyInfo()), |
| 3228 |
([('7.21', '>=')], 'mirror-profile', KeyInfo()), |
| 3229 |
([('7.16', '<')], 'shared-buffers-color', KeyInfo()), |
| 3230 |
([('7.16', '<')], 'shared-pool0', KeyInfo()), |
| 3231 |
([('7.16', '<')], 'shared-pool1', KeyInfo()), |
| 3232 |
([('7.16', '<')], 'shared-pool2', KeyInfo()), |
| 3233 |
([('7.16', '<')], 'shared-pool3', KeyInfo()), |
| 3234 |
([('7.16', '<')], 'shared-pool4', KeyInfo()), |
| 3235 |
([('7.16', '<')], 'shared-pool5', KeyInfo()), |
| 3236 |
([('7.16', '<')], 'shared-pool6', KeyInfo()), |
| 3237 |
([('7.16', '<')], 'shared-pool7', KeyInfo()), |
| 3238 |
([('7.16', '<')], 'treat-yellow-as', KeyInfo()), |
| 3239 |
([('7.16', '<')], 'wred-shared-threshold', KeyInfo()), |
| 3240 |
([('7.16', '<')], 'wred-threshold', KeyInfo()), |
| 3241 |
], |
| 3242 |
fields={ |
| 3243 |
'multicast-buffers': KeyInfo(), |
| 3244 |
'shared-buffers': KeyInfo(), |
| 3245 |
}, |
| 3246 |
)), |
| 3247 |
], |
| 3248 |
), |
| 3249 |
|
| 3250 |
('interface', 'ethernet', 'switch', 'qos', 'tx-manager'): APIData( |
| 3251 |
versioned=[ |
| 3252 |
('7.15', '>=', VersionedAPIData( |
| 3253 |
fully_understood=True, |
| 3254 |
versioned_fields=[ |
| 3255 |
([('7.21', '>=')], 'disabled', KeyInfo()), |
| 3256 |
([('7.16', '<')], 'ecn', KeyInfo()), |
| 3257 |
([('7.16', '>=')], 'queue-buffers', KeyInfo()), |
| 3258 |
], |
| 3259 |
fields={ |
| 3260 |
'comment': KeyInfo(), |
| 3261 |
# 'copy-from': KeyInfo(write_only=True), |
| 3262 |
'name': KeyInfo(), |
| 3263 |
'numbers': KeyInfo(read_only=True), |
| 3264 |
}, |
| 3265 |
)), |
| 3266 |
], |
| 3267 |
), |
| 3268 |
|
| 3269 |
('interface', 'ethernet', 'switch', 'qos', 'tx-manager', 'queue'): APIData( |
| 3270 |
versioned=[ |
| 3271 |
('7.15', '>=', VersionedAPIData( |
| 3272 |
# fixed_entries=True, |
| 3273 |
fully_understood=True, |
| 3274 |
has_identifier=True, |
| 3275 |
# primary_keys=('numbers',), |
| 3276 |
versioned_fields=[ |
| 3277 |
([('7.16', '<')], 'shared-pool-index', KeyInfo()), |
| 3278 |
([('7.16', '<')], 'wred', KeyInfo()), |
| 3279 |
], |
| 3280 |
fields={ |
| 3281 |
'comment': KeyInfo(), |
| 3282 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 3283 |
'queue-buffers': KeyInfo(), |
| 3284 |
'schedule': KeyInfo(), |
| 3285 |
'use-shared-buffers': KeyInfo(), |
| 3286 |
'weight': KeyInfo(), |
| 3287 |
}, |
| 3288 |
)), |
| 3289 |
], |
| 3290 |
), |
| 3291 |
|
| 3292 |
('interface', 'ethernet', 'switch', 'qos-group'): APIData( |
| 3293 |
versioned=[ |
| 3294 |
('7.15', '>=', VersionedAPIData( |
| 3295 |
fully_understood=True, |
| 3296 |
fields={ |
| 3297 |
# 'copy-from': KeyInfo(write_only=True), |
| 3298 |
'dei': KeyInfo(), |
| 3299 |
'disabled': KeyInfo(), |
| 3300 |
'drop-precedence': KeyInfo(), |
| 3301 |
'dscp': KeyInfo(), |
| 3302 |
'name': KeyInfo(), |
| 3303 |
'numbers': KeyInfo(), |
| 3304 |
'pcp': KeyInfo(), |
| 3305 |
'priority': KeyInfo(), |
| 3306 |
}, |
| 3307 |
)), |
| 3308 |
], |
| 3309 |
), |
| 3310 |
|
| 3311 |
('interface', 'ethernet', 'switch', 'reserved-fdb'): APIData( |
| 3312 |
versioned=[ |
| 3313 |
('7.15', '>=', VersionedAPIData( |
| 3314 |
fully_understood=True, |
| 3315 |
fields={ |
| 3316 |
'action': KeyInfo(), |
| 3317 |
'bypass-ingress-port-policing': KeyInfo(), |
| 3318 |
'bypass-ingress-vlan-filter': KeyInfo(), |
| 3319 |
'comment': KeyInfo(), |
| 3320 |
# 'copy-from': KeyInfo(write_only=True), |
| 3321 |
'disabled': KeyInfo(), |
| 3322 |
'mac-address': KeyInfo(), |
| 3323 |
'numbers': KeyInfo(), |
| 3324 |
'qos-group': KeyInfo(), |
| 3325 |
}, |
| 3326 |
)), |
| 3327 |
], |
| 3328 |
), |
| 3329 |
|
| 3330 |
('interface', 'ethernet', 'switch', 'rule'): APIData( |
| 3331 |
versioned=[ |
| 3332 |
('7.15', '>=', VersionedAPIData( |
| 3333 |
fully_understood=True, |
| 3334 |
fields={ |
| 3335 |
'comment': KeyInfo(), |
| 3336 |
# 'copy-from': KeyInfo(write_only=True), |
| 3337 |
'copy-to-cpu': KeyInfo(), |
| 3338 |
'disabled': KeyInfo(), |
| 3339 |
'dscp': KeyInfo(can_disable=True), |
| 3340 |
'dst-address': KeyInfo(can_disable=True), |
| 3341 |
'dst-address6': KeyInfo(can_disable=True), |
| 3342 |
'dst-mac-address': KeyInfo(can_disable=True), |
| 3343 |
'dst-port': KeyInfo(can_disable=True), |
| 3344 |
'flow-label': KeyInfo(can_disable=True), |
| 3345 |
'keep-qos-fields': KeyInfo(), |
| 3346 |
'mac-protocol': KeyInfo(can_disable=True), |
| 3347 |
'mirror': KeyInfo(), |
| 3348 |
'mirror-ports': KeyInfo(), |
| 3349 |
'new-dst-ports': KeyInfo(can_disable=True), |
| 3350 |
'new-qos-profile': KeyInfo(), |
| 3351 |
'new-vlan-id': KeyInfo(can_disable=True), |
| 3352 |
'new-vlan-priority': KeyInfo(can_disable=True), |
| 3353 |
'numbers': KeyInfo(read_only=True), |
| 3354 |
# 'place-before': KeyInfo(write_only=True), |
| 3355 |
'ports': KeyInfo(can_disable=True), |
| 3356 |
'protocol': KeyInfo(can_disable=True), |
| 3357 |
'rate': KeyInfo(can_disable=True), |
| 3358 |
'redirect-to-cpu': KeyInfo(), |
| 3359 |
'src-address': KeyInfo(can_disable=True), |
| 3360 |
'src-address6': KeyInfo(can_disable=True), |
| 3361 |
'src-mac-address': KeyInfo(can_disable=True), |
| 3362 |
'src-port': KeyInfo(can_disable=True), |
| 3363 |
'switch': KeyInfo(), |
| 3364 |
'traffic-class': KeyInfo(can_disable=True), |
| 3365 |
'vlan-header': KeyInfo(can_disable=True), |
| 3366 |
'vlan-id': KeyInfo(can_disable=True), |
| 3367 |
'vlan-priority': KeyInfo(can_disable=True), |
| 3368 |
}, |
| 3369 |
)), |
| 3370 |
], |
| 3371 |
), |
| 3372 |
|
| 3373 |
('interface', 'ethernet', 'switch', 'shaper'): APIData( |
| 3374 |
versioned=[ |
| 3375 |
('7.15', '>=', VersionedAPIData( |
| 3376 |
fully_understood=True, |
| 3377 |
fields={ |
| 3378 |
'burst': KeyInfo(), |
| 3379 |
'comment': KeyInfo(), |
| 3380 |
# 'copy-from': KeyInfo(write_only=True), |
| 3381 |
'disabled': KeyInfo(), |
| 3382 |
'meter-unit': KeyInfo(), |
| 3383 |
'numbers': KeyInfo(), |
| 3384 |
'port': KeyInfo(), |
| 3385 |
'rate': KeyInfo(), |
| 3386 |
'target': KeyInfo(), |
| 3387 |
}, |
| 3388 |
)), |
| 3389 |
], |
| 3390 |
), |
| 3391 |
|
| 3392 |
('interface', 'ethernet', 'switch', 'stats'): APIData( |
| 3393 |
versioned=[ |
| 3394 |
('7.15', '>=', VersionedAPIData( |
| 3395 |
fully_understood=True, |
| 3396 |
modify_not_supported=True, |
| 3397 |
fields={ |
| 3398 |
'driver-rx-byte': KeyInfo(read_only=True), |
| 3399 |
'driver-rx-packet': KeyInfo(read_only=True), |
| 3400 |
'driver-tx-byte': KeyInfo(read_only=True), |
| 3401 |
'driver-tx-packet': KeyInfo(read_only=True), |
| 3402 |
'rx-1024-1518': KeyInfo(read_only=True), |
| 3403 |
'rx-128-255': KeyInfo(read_only=True), |
| 3404 |
'rx-1519-max': KeyInfo(read_only=True), |
| 3405 |
'rx-256-511': KeyInfo(read_only=True), |
| 3406 |
'rx-512-1023': KeyInfo(read_only=True), |
| 3407 |
'rx-64': KeyInfo(read_only=True), |
| 3408 |
'rx-65-127': KeyInfo(read_only=True), |
| 3409 |
'rx-align-error': KeyInfo(read_only=True), |
| 3410 |
'rx-broadcast': KeyInfo(read_only=True), |
| 3411 |
'rx-bytes': KeyInfo(read_only=True), |
| 3412 |
'rx-control': KeyInfo(read_only=True), |
| 3413 |
'rx-fcs-error': KeyInfo(read_only=True), |
| 3414 |
'rx-fragment': KeyInfo(read_only=True), |
| 3415 |
'rx-length-error': KeyInfo(read_only=True), |
| 3416 |
'rx-multicast': KeyInfo(read_only=True), |
| 3417 |
'rx-overflow': KeyInfo(read_only=True), |
| 3418 |
'rx-packet': KeyInfo(read_only=True), |
| 3419 |
'rx-pause': KeyInfo(read_only=True), |
| 3420 |
'rx-too-long': KeyInfo(read_only=True), |
| 3421 |
'rx-too-short': KeyInfo(read_only=True), |
| 3422 |
'tx-1024-1518': KeyInfo(read_only=True), |
| 3423 |
'tx-128-255': KeyInfo(read_only=True), |
| 3424 |
'tx-1519-max': KeyInfo(read_only=True), |
| 3425 |
'tx-256-511': KeyInfo(read_only=True), |
| 3426 |
'tx-512-1023': KeyInfo(read_only=True), |
| 3427 |
'tx-64': KeyInfo(read_only=True), |
| 3428 |
'tx-65-127': KeyInfo(read_only=True), |
| 3429 |
'tx-broadcast': KeyInfo(read_only=True), |
| 3430 |
'tx-bytes': KeyInfo(read_only=True), |
| 3431 |
'tx-control': KeyInfo(read_only=True), |
| 3432 |
'tx-deferred': KeyInfo(read_only=True), |
| 3433 |
'tx-excessive-collision': KeyInfo(read_only=True), |
| 3434 |
'tx-excessive-deferred': KeyInfo(read_only=True), |
| 3435 |
'tx-late-collision': KeyInfo(read_only=True), |
| 3436 |
'tx-multicast': KeyInfo(read_only=True), |
| 3437 |
'tx-multiple-collision': KeyInfo(read_only=True), |
| 3438 |
'tx-packet': KeyInfo(read_only=True), |
| 3439 |
'tx-pause': KeyInfo(read_only=True), |
| 3440 |
'tx-single-collision': KeyInfo(read_only=True), |
| 3441 |
'tx-too-long': KeyInfo(read_only=True), |
| 3442 |
'tx-underrun': KeyInfo(read_only=True), |
| 3443 |
}, |
| 3444 |
)), |
| 3445 |
], |
| 3446 |
), |
| 3447 |
|
| 3448 |
('interface', 'ethernet', 'switch', 'trunk'): APIData( |
| 3449 |
versioned=[ |
| 3450 |
('7.15', '>=', VersionedAPIData( |
| 3451 |
fully_understood=True, |
| 3452 |
fields={ |
| 3453 |
'comment': KeyInfo(), |
| 3454 |
# 'copy-from': KeyInfo(write_only=True), |
| 3455 |
'disabled': KeyInfo(), |
| 3456 |
'member-ports': KeyInfo(), |
| 3457 |
'name': KeyInfo(), |
| 3458 |
'numbers': KeyInfo(), |
| 3459 |
}, |
| 3460 |
)), |
| 3461 |
], |
| 3462 |
), |
| 3463 |
|
| 3464 |
('interface', 'ethernet', 'switch', 'unicast-fdb'): APIData( |
| 3465 |
versioned=[ |
| 3466 |
('7.15', '>=', VersionedAPIData( |
| 3467 |
fully_understood=True, |
| 3468 |
fields={ |
| 3469 |
'action': KeyInfo(), |
| 3470 |
'comment': KeyInfo(), |
| 3471 |
# 'copy-from': KeyInfo(write_only=True), |
| 3472 |
'disabled': KeyInfo(), |
| 3473 |
'isolation-profile': KeyInfo(), |
| 3474 |
'mac-address': KeyInfo(), |
| 3475 |
'mirror': KeyInfo(), |
| 3476 |
'numbers': KeyInfo(), |
| 3477 |
'port': KeyInfo(), |
| 3478 |
'qos-group': KeyInfo(), |
| 3479 |
'svl': KeyInfo(), |
| 3480 |
'vlan-id': KeyInfo(), |
| 3481 |
}, |
| 3482 |
)), |
| 3483 |
], |
| 3484 |
), |
| 3485 |
|
| 3486 |
('interface', 'ethernet', 'switch', 'vlan'): APIData( |
| 3487 |
versioned=[ |
| 3488 |
('7.15', '>=', VersionedAPIData( |
| 3489 |
fully_understood=True, |
| 3490 |
versioned_fields=[ |
| 3491 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3492 |
], |
| 3493 |
fields={ |
| 3494 |
'comment': KeyInfo(), |
| 3495 |
# 'copy-from': KeyInfo(write_only=True), |
| 3496 |
'disabled': KeyInfo(), |
| 3497 |
'flood': KeyInfo(), |
| 3498 |
'independent-learning': KeyInfo(), |
| 3499 |
'ingress-mirror': KeyInfo(), |
| 3500 |
'learn': KeyInfo(), |
| 3501 |
'ports': KeyInfo(), |
| 3502 |
'qos-group': KeyInfo(), |
| 3503 |
'svl': KeyInfo(), |
| 3504 |
'switch': KeyInfo(), |
| 3505 |
'vlan-id': KeyInfo(), |
| 3506 |
}, |
| 3507 |
)), |
| 3508 |
], |
| 3509 |
), |
| 3510 |
|
| 3511 |
('interface', 'gre'): APIData( |
| 3512 |
unversioned=VersionedAPIData( |
| 3513 |
fully_understood=True, |
| 3514 |
primary_keys=('name',), |
| 3515 |
versioned_fields=[ |
| 3516 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3517 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3518 |
], |
| 3519 |
fields={ |
| 3520 |
'allow-fast-path': KeyInfo(default=True), |
| 3521 |
'clamp-tcp-mss': KeyInfo(default=True), |
| 3522 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3523 |
'disabled': KeyInfo(default=False), |
| 3524 |
'dont-fragment': KeyInfo(default=False), |
| 3525 |
'dscp': KeyInfo(default='inherit'), |
| 3526 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 3527 |
'keepalive': KeyInfo(can_disable=True, default='10s,10'), |
| 3528 |
'local-address': KeyInfo(default='0.0.0.0'), |
| 3529 |
'mtu': KeyInfo(default='auto'), |
| 3530 |
'name': KeyInfo(), |
| 3531 |
'remote-address': KeyInfo(required=True), |
| 3532 |
}, |
| 3533 |
), |
| 3534 |
), |
| 3535 |
|
| 3536 |
('interface', 'gre6'): APIData( |
| 3537 |
unversioned=VersionedAPIData( |
| 3538 |
fully_understood=True, |
| 3539 |
primary_keys=('name',), |
| 3540 |
versioned_fields=[ |
| 3541 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3542 |
([('7.21', '>=')], 'dont-fragment', KeyInfo()), |
| 3543 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3544 |
], |
| 3545 |
fields={ |
| 3546 |
'clamp-tcp-mss': KeyInfo(default=True), |
| 3547 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3548 |
'disabled': KeyInfo(default=False), |
| 3549 |
'dscp': KeyInfo(default='inherit'), |
| 3550 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 3551 |
'keepalive': KeyInfo(can_disable=True, default='10s,10'), |
| 3552 |
'local-address': KeyInfo(default='::'), |
| 3553 |
'mtu': KeyInfo(default='auto'), |
| 3554 |
'name': KeyInfo(), |
| 3555 |
'remote-address': KeyInfo(required=True), |
| 3556 |
}, |
| 3557 |
), |
| 3558 |
), |
| 3559 |
|
| 3560 |
('interface', 'ipip'): APIData( |
| 3561 |
versioned=[ |
| 3562 |
('7.15', '>=', VersionedAPIData( |
| 3563 |
fully_understood=True, |
| 3564 |
fields={ |
| 3565 |
'allow-fast-path': KeyInfo(), |
| 3566 |
'clamp-tcp-mss': KeyInfo(), |
| 3567 |
'comment': KeyInfo(), |
| 3568 |
# 'copy-from': KeyInfo(write_only=True), |
| 3569 |
'disabled': KeyInfo(), |
| 3570 |
'dont-fragment': KeyInfo(), |
| 3571 |
'dscp': KeyInfo(), |
| 3572 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 3573 |
'keepalive': KeyInfo(can_disable=True), |
| 3574 |
'local-address': KeyInfo(), |
| 3575 |
'mtu': KeyInfo(), |
| 3576 |
'name': KeyInfo(), |
| 3577 |
'numbers': KeyInfo(read_only=True), |
| 3578 |
'remote-address': KeyInfo(), |
| 3579 |
}, |
| 3580 |
)), |
| 3581 |
], |
| 3582 |
), |
| 3583 |
|
| 3584 |
('interface', 'ipipv6'): APIData( |
| 3585 |
versioned=[ |
| 3586 |
('7.15', '>=', VersionedAPIData( |
| 3587 |
fully_understood=True, |
| 3588 |
versioned_fields=[ |
| 3589 |
([('7.21', '>=')], 'dont-fragment', KeyInfo()), |
| 3590 |
], |
| 3591 |
fields={ |
| 3592 |
'clamp-tcp-mss': KeyInfo(), |
| 3593 |
'comment': KeyInfo(), |
| 3594 |
# 'copy-from': KeyInfo(write_only=True), |
| 3595 |
'disabled': KeyInfo(), |
| 3596 |
'dscp': KeyInfo(), |
| 3597 |
'ipsec-secret': KeyInfo(can_disable=True), |
| 3598 |
'keepalive': KeyInfo(can_disable=True), |
| 3599 |
'local-address': KeyInfo(), |
| 3600 |
'mtu': KeyInfo(), |
| 3601 |
'name': KeyInfo(), |
| 3602 |
'numbers': KeyInfo(read_only=True), |
| 3603 |
'remote-address': KeyInfo(), |
| 3604 |
}, |
| 3605 |
)), |
| 3606 |
], |
| 3607 |
), |
| 3608 |
|
| 3609 |
('interface', 'l2tp-client'): APIData( |
| 3610 |
unversioned=VersionedAPIData( |
| 3611 |
fully_understood=True, |
| 3612 |
primary_keys=('name',), |
| 3613 |
versioned_fields=[ |
| 3614 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3615 |
([('7.15', '>=')], 'l2tpv3-circuit-id', KeyInfo()), |
| 3616 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3617 |
([('7.18', '>=')], 'random-source-port', KeyInfo()), |
| 3618 |
], |
| 3619 |
fields={ |
| 3620 |
'add-default-route': KeyInfo(default=False), |
| 3621 |
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 3622 |
'allow-fast-path': KeyInfo(default=False), |
| 3623 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3624 |
'connect-to': KeyInfo(required=True), |
| 3625 |
'default-route-distance': KeyInfo(default=False), |
| 3626 |
'dial-on-demand': KeyInfo(default=False), |
| 3627 |
'disabled': KeyInfo(default=True), |
| 3628 |
'ipsec-secret': KeyInfo(default=''), |
| 3629 |
'keepalive-timeout': KeyInfo(default=60), |
| 3630 |
'l2tp-proto-version': KeyInfo(default='l2tpv2'), |
| 3631 |
'l2tpv3-cookie-length': KeyInfo(default=0), |
| 3632 |
'l2tpv3-digest-hash': KeyInfo(default='md5'), |
| 3633 |
'max-mru': KeyInfo(default=1450), |
| 3634 |
'max-mtu': KeyInfo(default=1450), |
| 3635 |
'mrru': KeyInfo(default='disabled'), |
| 3636 |
'name': KeyInfo(required=True), |
| 3637 |
'password': KeyInfo(), |
| 3638 |
'profile': KeyInfo(default='default-encryption'), |
| 3639 |
'src-address': KeyInfo(), |
| 3640 |
'use-ipsec': KeyInfo(default=False), |
| 3641 |
'use-peer-dns': KeyInfo(default=False), |
| 3642 |
'user': KeyInfo(required=True), |
| 3643 |
}, |
| 3644 |
), |
| 3645 |
), |
| 3646 |
|
| 3647 |
('interface', 'l2tp-ether'): APIData( |
| 3648 |
versioned=[ |
| 3649 |
('7.15', '>=', VersionedAPIData( |
| 3650 |
fully_understood=True, |
| 3651 |
fields={ |
| 3652 |
'allow-fast-path': KeyInfo(), |
| 3653 |
'circuit-id': KeyInfo(), |
| 3654 |
'comment': KeyInfo(), |
| 3655 |
'connect-to': KeyInfo(), |
| 3656 |
'cookie-length': KeyInfo(), |
| 3657 |
# 'copy-from': KeyInfo(write_only=True), |
| 3658 |
'digest-hash': KeyInfo(), |
| 3659 |
'disabled': KeyInfo(), |
| 3660 |
'ipsec-secret': KeyInfo(), |
| 3661 |
'l2tp-proto-version': KeyInfo(), |
| 3662 |
'local-address': KeyInfo(), |
| 3663 |
'local-session-id': KeyInfo(), |
| 3664 |
'local-tunnel-id': KeyInfo(), |
| 3665 |
'mac-address': KeyInfo(can_disable=True), |
| 3666 |
'mtu': KeyInfo(), |
| 3667 |
'name': KeyInfo(), |
| 3668 |
'numbers': KeyInfo(read_only=True), |
| 3669 |
'peer-cookie': KeyInfo(), |
| 3670 |
'remote-session-id': KeyInfo(), |
| 3671 |
'remote-tunnel-id': KeyInfo(), |
| 3672 |
'send-cookie': KeyInfo(), |
| 3673 |
'unmanaged-mode': KeyInfo(), |
| 3674 |
'use-ipsec': KeyInfo(), |
| 3675 |
'use-l2-specific-sublayer': KeyInfo(), |
| 3676 |
}, |
| 3677 |
)), |
| 3678 |
], |
| 3679 |
), |
| 3680 |
|
| 3681 |
('interface', 'l2tp-server'): APIData( |
| 3682 |
versioned=[ |
| 3683 |
('7.15', '>=', VersionedAPIData( |
| 3684 |
fully_understood=True, |
| 3685 |
fields={ |
| 3686 |
'comment': KeyInfo(), |
| 3687 |
# 'copy-from': KeyInfo(write_only=True), |
| 3688 |
'disabled': KeyInfo(), |
| 3689 |
'name': KeyInfo(), |
| 3690 |
'numbers': KeyInfo(read_only=True), |
| 3691 |
'user': KeyInfo(), |
| 3692 |
}, |
| 3693 |
)), |
| 3694 |
], |
| 3695 |
), |
| 3696 |
|
| 3697 |
('interface', 'l2tp-server', 'server'): APIData( |
| 3698 |
unversioned=VersionedAPIData( |
| 3699 |
fixed_entries=True, |
| 3700 |
fully_understood=True, |
| 3701 |
single_value=True, |
| 3702 |
versioned_fields=[ |
| 3703 |
([('7.15', '>=')], 'accept-proto-version', KeyInfo()), |
| 3704 |
([('7.15', '>=')], 'accept-pseudowire-type', KeyInfo()), |
| 3705 |
([('7.15', '>=')], 'l2tpv3-circuit-id', KeyInfo()), |
| 3706 |
([('7.15', '>=')], 'l2tpv3-cookie-length', KeyInfo()), |
| 3707 |
([('7.15', '>=')], 'l2tpv3-digest-hash', KeyInfo()), |
| 3708 |
([('7.15', '>=')], 'l2tpv3-ether-interface-list', KeyInfo(can_disable=True)), |
| 3709 |
], |
| 3710 |
fields={ |
| 3711 |
'allow-fast-path': KeyInfo(default=False), |
| 3712 |
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 3713 |
'caller-id-type': KeyInfo(default='ip-address'), |
| 3714 |
'default-profile': KeyInfo(default='default-encryption'), |
| 3715 |
'enabled': KeyInfo(default=False), |
| 3716 |
'ipsec-secret': KeyInfo(default=''), |
| 3717 |
'keepalive-timeout': KeyInfo(default=30), |
| 3718 |
'max-mru': KeyInfo(default=1450), |
| 3719 |
'max-mtu': KeyInfo(default=1450), |
| 3720 |
'max-sessions': KeyInfo(default='unlimited'), |
| 3721 |
'mrru': KeyInfo(default='disabled'), |
| 3722 |
'one-session-per-host': KeyInfo(default=False), |
| 3723 |
'use-ipsec': KeyInfo(default=False), |
| 3724 |
}, |
| 3725 |
), |
| 3726 |
), |
| 3727 |
|
| 3728 |
('interface', 'list'): APIData( |
| 3729 |
unversioned=VersionedAPIData( |
| 3730 |
fully_understood=True, |
| 3731 |
primary_keys=('name',), |
| 3732 |
versioned_fields=[ |
| 3733 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3734 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3735 |
], |
| 3736 |
fields={ |
| 3737 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3738 |
'exclude': KeyInfo(default=''), |
| 3739 |
'include': KeyInfo(default=''), |
| 3740 |
'name': KeyInfo(), |
| 3741 |
}, |
| 3742 |
), |
| 3743 |
), |
| 3744 |
|
| 3745 |
('interface', 'list', 'member'): APIData( |
| 3746 |
unversioned=VersionedAPIData( |
| 3747 |
fully_understood=True, |
| 3748 |
primary_keys=('list', 'interface'), |
| 3749 |
versioned_fields=[ |
| 3750 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3751 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3752 |
], |
| 3753 |
fields={ |
| 3754 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3755 |
'disabled': KeyInfo(default=False), |
| 3756 |
'interface': KeyInfo(), |
| 3757 |
'list': KeyInfo(), |
| 3758 |
}, |
| 3759 |
), |
| 3760 |
), |
| 3761 |
|
| 3762 |
('interface', 'lte'): APIData( |
| 3763 |
versioned=[ |
| 3764 |
('7.15', '>=', VersionedAPIData( |
| 3765 |
# fixed_entries=True, |
| 3766 |
fully_understood=True, |
| 3767 |
has_identifier=True, |
| 3768 |
# primary_keys=('numbers',), |
| 3769 |
versioned_fields=[ |
| 3770 |
([('7.16', '>=')], 'sms-protocol', KeyInfo()), |
| 3771 |
], |
| 3772 |
fields={ |
| 3773 |
'allow-roaming': KeyInfo(can_disable=True), |
| 3774 |
'apn-profiles': KeyInfo(), |
| 3775 |
'band': KeyInfo(), |
| 3776 |
'comment': KeyInfo(), |
| 3777 |
'disabled': KeyInfo(), |
| 3778 |
'modem-init': KeyInfo(can_disable=True), |
| 3779 |
'mtu': KeyInfo(), |
| 3780 |
'name': KeyInfo(), |
| 3781 |
'network-mode': KeyInfo(can_disable=True), |
| 3782 |
'nr-band': KeyInfo(), |
| 3783 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 3784 |
'operator': KeyInfo(), |
| 3785 |
'pin': KeyInfo(), |
| 3786 |
'sms-read': KeyInfo(), |
| 3787 |
}, |
| 3788 |
)), |
| 3789 |
], |
| 3790 |
), |
| 3791 |
|
| 3792 |
('interface', 'lte', 'apn'): APIData( |
| 3793 |
unversioned=VersionedAPIData( |
| 3794 |
fully_understood=True, |
| 3795 |
versioned_fields=[ |
| 3796 |
([('7.15', '>=')], 'authentication', KeyInfo()), |
| 3797 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 3798 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3799 |
([('7.15', '<')], 'default', KeyInfo()), |
| 3800 |
([('7.15', '>=')], 'ip-type', KeyInfo()), |
| 3801 |
([('7.15', '>=')], 'ipv6-interface', KeyInfo()), |
| 3802 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3803 |
([('7.15', '>=')], 'passthrough-interface', KeyInfo()), |
| 3804 |
([('7.15', '>=')], 'passthrough-mac', KeyInfo()), |
| 3805 |
([('7.15', '>=')], 'passthrough-subnet-size', KeyInfo()), |
| 3806 |
([('7.15', '>=')], 'password', KeyInfo()), |
| 3807 |
([('7.15', '>=')], 'use-network-apn', KeyInfo()), |
| 3808 |
([('7.15', '>=')], 'user', KeyInfo()), |
| 3809 |
], |
| 3810 |
fields={ |
| 3811 |
'add-default-route': KeyInfo(), |
| 3812 |
'apn': KeyInfo(required=True), |
| 3813 |
'default-route-distance': KeyInfo(), |
| 3814 |
'name': KeyInfo(), |
| 3815 |
'use-peer-dns': KeyInfo(), |
| 3816 |
}, |
| 3817 |
), |
| 3818 |
), |
| 3819 |
|
| 3820 |
('interface', 'lte', 'settings'): APIData( |
| 3821 |
versioned=[ |
| 3822 |
('7.15', '>=', VersionedAPIData( |
| 3823 |
fixed_entries=True, |
| 3824 |
fully_understood=True, |
| 3825 |
single_value=True, |
| 3826 |
versioned_fields=[ |
| 3827 |
([('7.17', '>=')], 'esim-channel', KeyInfo()), |
| 3828 |
([('7.19', '>=')], 'link-recovery-timer', KeyInfo()), |
| 3829 |
], |
| 3830 |
fields={ |
| 3831 |
'firmware-path': KeyInfo(), |
| 3832 |
'info-polling-interval': KeyInfo(), |
| 3833 |
'mode': KeyInfo(), |
| 3834 |
}, |
| 3835 |
)), |
| 3836 |
], |
| 3837 |
), |
| 3838 |
|
| 3839 |
('interface', 'macsec'): APIData( |
| 3840 |
versioned=[ |
| 3841 |
('7.15', '>=', VersionedAPIData( |
| 3842 |
fully_understood=True, |
| 3843 |
fields={ |
| 3844 |
'cak': KeyInfo(), |
| 3845 |
'ckn': KeyInfo(), |
| 3846 |
'comment': KeyInfo(), |
| 3847 |
# 'copy-from': KeyInfo(write_only=True), |
| 3848 |
'disabled': KeyInfo(), |
| 3849 |
'interface': KeyInfo(), |
| 3850 |
'mtu': KeyInfo(), |
| 3851 |
'name': KeyInfo(), |
| 3852 |
'numbers': KeyInfo(read_only=True), |
| 3853 |
'profile': KeyInfo(), |
| 3854 |
}, |
| 3855 |
)), |
| 3856 |
], |
| 3857 |
), |
| 3858 |
|
| 3859 |
('interface', 'macsec', 'profile'): APIData( |
| 3860 |
versioned=[ |
| 3861 |
('7.15', '>=', VersionedAPIData( |
| 3862 |
fully_understood=True, |
| 3863 |
fields={ |
| 3864 |
# 'copy-from': KeyInfo(write_only=True), |
| 3865 |
'name': KeyInfo(), |
| 3866 |
'numbers': KeyInfo(read_only=True), |
| 3867 |
'server-priority': KeyInfo(), |
| 3868 |
}, |
| 3869 |
)), |
| 3870 |
], |
| 3871 |
), |
| 3872 |
|
| 3873 |
('interface', 'macvlan'): APIData( |
| 3874 |
versioned=[ |
| 3875 |
('7.15', '>=', VersionedAPIData( |
| 3876 |
fully_understood=True, |
| 3877 |
fields={ |
| 3878 |
'arp': KeyInfo(), |
| 3879 |
'arp-timeout': KeyInfo(), |
| 3880 |
'comment': KeyInfo(), |
| 3881 |
# 'copy-from': KeyInfo(write_only=True), |
| 3882 |
'disabled': KeyInfo(), |
| 3883 |
'interface': KeyInfo(), |
| 3884 |
'loop-protect': KeyInfo(), |
| 3885 |
'loop-protect-disable-time': KeyInfo(), |
| 3886 |
'loop-protect-send-interval': KeyInfo(), |
| 3887 |
'mac-address': KeyInfo(), |
| 3888 |
'mode': KeyInfo(), |
| 3889 |
'mtu': KeyInfo(), |
| 3890 |
'name': KeyInfo(), |
| 3891 |
'numbers': KeyInfo(read_only=True), |
| 3892 |
}, |
| 3893 |
)), |
| 3894 |
], |
| 3895 |
), |
| 3896 |
|
| 3897 |
('interface', 'mesh'): APIData( |
| 3898 |
versioned=[ |
| 3899 |
('7.15', '>=', VersionedAPIData( |
| 3900 |
fully_understood=True, |
| 3901 |
fields={ |
| 3902 |
'admin-mac': KeyInfo(), |
| 3903 |
'arp': KeyInfo(), |
| 3904 |
'arp-timeout': KeyInfo(), |
| 3905 |
'auto-mac': KeyInfo(), |
| 3906 |
'comment': KeyInfo(), |
| 3907 |
# 'copy-from': KeyInfo(write_only=True), |
| 3908 |
'disabled': KeyInfo(), |
| 3909 |
'hwmp-default-hoplimit': KeyInfo(), |
| 3910 |
'hwmp-prep-lifetime': KeyInfo(), |
| 3911 |
'hwmp-preq-destination-only': KeyInfo(), |
| 3912 |
'hwmp-preq-reply-and-forward': KeyInfo(), |
| 3913 |
'hwmp-preq-retries': KeyInfo(), |
| 3914 |
'hwmp-preq-waiting-time': KeyInfo(), |
| 3915 |
'hwmp-rann-interval': KeyInfo(), |
| 3916 |
'hwmp-rann-lifetime': KeyInfo(), |
| 3917 |
'hwmp-rann-propagation-delay': KeyInfo(), |
| 3918 |
'mesh-portal': KeyInfo(), |
| 3919 |
'mtu': KeyInfo(), |
| 3920 |
'name': KeyInfo(), |
| 3921 |
'numbers': KeyInfo(read_only=True), |
| 3922 |
'reoptimize-paths': KeyInfo(), |
| 3923 |
}, |
| 3924 |
)), |
| 3925 |
], |
| 3926 |
), |
| 3927 |
|
| 3928 |
('interface', 'mesh', 'port'): APIData( |
| 3929 |
versioned=[ |
| 3930 |
('7.15', '>=', VersionedAPIData( |
| 3931 |
fully_understood=True, |
| 3932 |
fields={ |
| 3933 |
'comment': KeyInfo(), |
| 3934 |
# 'copy-from': KeyInfo(write_only=True), |
| 3935 |
'disabled': KeyInfo(), |
| 3936 |
'hello-interval': KeyInfo(), |
| 3937 |
'interface': KeyInfo(), |
| 3938 |
'mesh': KeyInfo(), |
| 3939 |
'numbers': KeyInfo(read_only=True), |
| 3940 |
'path-cost': KeyInfo(), |
| 3941 |
'port-type': KeyInfo(), |
| 3942 |
}, |
| 3943 |
)), |
| 3944 |
], |
| 3945 |
), |
| 3946 |
|
| 3947 |
('interface', 'ovpn-client'): APIData( |
| 3948 |
unversioned=VersionedAPIData( |
| 3949 |
fully_understood=True, |
| 3950 |
primary_keys=('name',), |
| 3951 |
versioned_fields=[ |
| 3952 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 3953 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 3954 |
], |
| 3955 |
fields={ |
| 3956 |
'add-default-route': KeyInfo(default=False), |
| 3957 |
'auth': KeyInfo(default='sha1'), |
| 3958 |
'certificate': KeyInfo(), |
| 3959 |
'cipher': KeyInfo(default='blowfish128'), |
| 3960 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 3961 |
'connect-to': KeyInfo(), |
| 3962 |
'disabled': KeyInfo(default=True), |
| 3963 |
'disconnect-notify': KeyInfo(), |
| 3964 |
'mac-address': KeyInfo(), |
| 3965 |
'max-mtu': KeyInfo(default=1500), |
| 3966 |
'mode': KeyInfo(default='ip'), |
| 3967 |
'name': KeyInfo(), |
| 3968 |
'password': KeyInfo(), |
| 3969 |
'port': KeyInfo(default=1194), |
| 3970 |
'profile': KeyInfo(default='default'), |
| 3971 |
'protocol': KeyInfo(default='tcp'), |
| 3972 |
'route-nopull': KeyInfo(default=False), |
| 3973 |
'tls-version': KeyInfo(default='any'), |
| 3974 |
'use-peer-dns': KeyInfo(default=True), |
| 3975 |
'user': KeyInfo(), |
| 3976 |
'verify-server-certificate': KeyInfo(default=False), |
| 3977 |
}, |
| 3978 |
), |
| 3979 |
), |
| 3980 |
|
| 3981 |
('interface', 'ovpn-server'): APIData( |
| 3982 |
versioned=[ |
| 3983 |
('7.15', '>=', VersionedAPIData( |
| 3984 |
fully_understood=True, |
| 3985 |
fields={ |
| 3986 |
'comment': KeyInfo(), |
| 3987 |
# 'copy-from': KeyInfo(write_only=True), |
| 3988 |
'disabled': KeyInfo(), |
| 3989 |
'name': KeyInfo(), |
| 3990 |
'numbers': KeyInfo(read_only=True), |
| 3991 |
'user': KeyInfo(), |
| 3992 |
}, |
| 3993 |
)), |
| 3994 |
], |
| 3995 |
), |
| 3996 |
|
| 3997 |
('interface', 'ovpn-server', 'server'): APIData( |
| 3998 |
versioned=[ |
| 3999 |
('7.17', '>=', VersionedAPIData( |
| 4000 |
fully_understood=True, |
| 4001 |
versioned_fields=[ |
| 4002 |
([('7.21', '>=')], 'push-routes-ipv6', KeyInfo()), |
| 4003 |
], |
| 4004 |
fields={ |
| 4005 |
'auth': KeyInfo(), |
| 4006 |
'certificate': KeyInfo(), |
| 4007 |
'cipher': KeyInfo(), |
| 4008 |
'comment': KeyInfo(), |
| 4009 |
# 'copy-from': KeyInfo(write_only=True), |
| 4010 |
'default-profile': KeyInfo(default='default'), |
| 4011 |
'disabled': KeyInfo(), |
| 4012 |
'enable-tun-ipv6': KeyInfo(), |
| 4013 |
'ipv6-prefix-len': KeyInfo(), |
| 4014 |
'keepalive-timeout': KeyInfo(default=60), |
| 4015 |
'mac-address': KeyInfo(), |
| 4016 |
'max-mtu': KeyInfo(default=1500), |
| 4017 |
'mode': KeyInfo(default='ip'), |
| 4018 |
'name': KeyInfo(default=''), |
| 4019 |
'netmask': KeyInfo(default=24), |
| 4020 |
'numbers': KeyInfo(read_only=True), |
| 4021 |
'port': KeyInfo(default=1194), |
| 4022 |
'protocol': KeyInfo(default='tcp'), |
| 4023 |
'push-routes': KeyInfo(), |
| 4024 |
'redirect-gateway': KeyInfo(), |
| 4025 |
'reneg-sec': KeyInfo(), |
| 4026 |
'require-client-certificate': KeyInfo(default=False), |
| 4027 |
'tls-version': KeyInfo(), |
| 4028 |
'tun-server-ipv6': KeyInfo(), |
| 4029 |
'user-auth-method': KeyInfo(), |
| 4030 |
'vrf': KeyInfo(default='main'), |
| 4031 |
}, |
| 4032 |
)), |
| 4033 |
('7.17', '<', VersionedAPIData( |
| 4034 |
fully_understood=True, |
| 4035 |
single_value=True, |
| 4036 |
versioned_fields=[ |
| 4037 |
([('7.15', '>=')], 'certificate', KeyInfo()), |
| 4038 |
([('7.15', '>=')], 'enable-tun-ipv6', KeyInfo()), |
| 4039 |
([('7.15', '>=')], 'ipv6-prefix-len', KeyInfo()), |
| 4040 |
([('7.15', '<')], 'name', KeyInfo(default='')), |
| 4041 |
([('7.15', '>=')], 'push-routes', KeyInfo()), |
| 4042 |
([('7.15', '>=')], 'redirect-gateway', KeyInfo()), |
| 4043 |
([('7.15', '>=')], 'reneg-sec', KeyInfo()), |
| 4044 |
([('7.15', '>=')], 'tls-version', KeyInfo()), |
| 4045 |
([('7.15', '>=')], 'tun-server-ipv6', KeyInfo()), |
| 4046 |
], |
| 4047 |
fields={ |
| 4048 |
'auth': KeyInfo(), |
| 4049 |
'cipher': KeyInfo(), |
| 4050 |
'default-profile': KeyInfo(default='default'), |
| 4051 |
'enabled': KeyInfo(default=False), |
| 4052 |
'keepalive-timeout': KeyInfo(default=60), |
| 4053 |
'mac-address': KeyInfo(), |
| 4054 |
'max-mtu': KeyInfo(default=1500), |
| 4055 |
'mode': KeyInfo(default='ip'), |
| 4056 |
'netmask': KeyInfo(default=24), |
| 4057 |
'port': KeyInfo(default=1194), |
| 4058 |
'protocol': KeyInfo(default='tcp'), |
| 4059 |
'require-client-certificate': KeyInfo(default=False), |
| 4060 |
}, |
| 4061 |
)), |
| 4062 |
], |
| 4063 |
), |
| 4064 |
|
| 4065 |
('interface', 'ppp-client'): APIData( |
| 4066 |
unversioned=VersionedAPIData( |
| 4067 |
fully_understood=True, |
| 4068 |
primary_keys=('name',), |
| 4069 |
versioned_fields=[ |
| 4070 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4071 |
([('7.20', '>=')], 'network-mode', KeyInfo(can_disable=True)), |
| 4072 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4073 |
([('7.15', '>=')], 'remote-address', KeyInfo()), |
| 4074 |
], |
| 4075 |
fields={ |
| 4076 |
'add-default-route': KeyInfo(default=True), |
| 4077 |
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4078 |
'apn': KeyInfo(default='internet'), |
| 4079 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4080 |
'data-channel': KeyInfo(default=0), |
| 4081 |
'default-route-distance': KeyInfo(default=1), |
| 4082 |
'dial-command': KeyInfo(default='ATDT'), |
| 4083 |
'dial-on-demand': KeyInfo(default=True), |
| 4084 |
'disabled': KeyInfo(default=True), |
| 4085 |
'info-channel': KeyInfo(default=0), |
| 4086 |
'keepalive-timeout': KeyInfo(default=30), |
| 4087 |
'max-mru': KeyInfo(default=1500), |
| 4088 |
'max-mtu': KeyInfo(default=1500), |
| 4089 |
'modem-init': KeyInfo(default=''), |
| 4090 |
'mrru': KeyInfo(default='disabled'), |
| 4091 |
'name': KeyInfo(), |
| 4092 |
'null-modem': KeyInfo(default=False), |
| 4093 |
'password': KeyInfo(default=''), |
| 4094 |
'phone': KeyInfo(default=''), |
| 4095 |
'pin': KeyInfo(default=''), |
| 4096 |
'port': KeyInfo(), |
| 4097 |
'profile': KeyInfo(default='default'), |
| 4098 |
'use-peer-dns': KeyInfo(default=True), |
| 4099 |
'user': KeyInfo(default=''), |
| 4100 |
}, |
| 4101 |
), |
| 4102 |
), |
| 4103 |
|
| 4104 |
('interface', 'ppp-server'): APIData( |
| 4105 |
versioned=[ |
| 4106 |
('7.15', '>=', VersionedAPIData( |
| 4107 |
fully_understood=True, |
| 4108 |
fields={ |
| 4109 |
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4110 |
'comment': KeyInfo(), |
| 4111 |
# 'copy-from': KeyInfo(write_only=True), |
| 4112 |
'data-channel': KeyInfo(default=0), |
| 4113 |
'disabled': KeyInfo(default=True), |
| 4114 |
'max-mru': KeyInfo(default=1500), |
| 4115 |
'max-mtu': KeyInfo(default=1500), |
| 4116 |
'modem-init': KeyInfo(default=''), |
| 4117 |
'mrru': KeyInfo(default='disabled'), |
| 4118 |
'name': KeyInfo(), |
| 4119 |
'null-modem': KeyInfo(default=False), |
| 4120 |
'numbers': KeyInfo(read_only=True), |
| 4121 |
'port': KeyInfo(default='*FFFFFFFF'), |
| 4122 |
'profile': KeyInfo(default='default'), |
| 4123 |
'ring-count': KeyInfo(default=1), |
| 4124 |
}, |
| 4125 |
)), |
| 4126 |
], |
| 4127 |
), |
| 4128 |
|
| 4129 |
('interface', 'pppoe-client'): APIData( |
| 4130 |
unversioned=VersionedAPIData( |
| 4131 |
fully_understood=True, |
| 4132 |
primary_keys=('name',), |
| 4133 |
versioned_fields=[ |
| 4134 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4135 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4136 |
], |
| 4137 |
fields={ |
| 4138 |
'ac-name': KeyInfo(default=''), |
| 4139 |
'add-default-route': KeyInfo(default=False), |
| 4140 |
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4141 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4142 |
'default-route-distance': KeyInfo(default=1), |
| 4143 |
'dial-on-demand': KeyInfo(default=False), |
| 4144 |
'disabled': KeyInfo(default=True), |
| 4145 |
'host-uniq': KeyInfo(can_disable=True), |
| 4146 |
'interface': KeyInfo(required=True), |
| 4147 |
'keepalive-timeout': KeyInfo(default=10), |
| 4148 |
'max-mru': KeyInfo(default='auto'), |
| 4149 |
'max-mtu': KeyInfo(default='auto'), |
| 4150 |
'mrru': KeyInfo(default='disabled'), |
| 4151 |
'name': KeyInfo(), |
| 4152 |
'password': KeyInfo(default=''), |
| 4153 |
'profile': KeyInfo(default='default'), |
| 4154 |
'service-name': KeyInfo(default=''), |
| 4155 |
'use-peer-dns': KeyInfo(default=False), |
| 4156 |
'user': KeyInfo(default=''), |
| 4157 |
}, |
| 4158 |
), |
| 4159 |
), |
| 4160 |
|
| 4161 |
('interface', 'pppoe-server'): APIData( |
| 4162 |
versioned=[ |
| 4163 |
('7.15', '>=', VersionedAPIData( |
| 4164 |
fully_understood=True, |
| 4165 |
fields={ |
| 4166 |
'comment': KeyInfo(), |
| 4167 |
# 'copy-from': KeyInfo(write_only=True), |
| 4168 |
'disabled': KeyInfo(), |
| 4169 |
'name': KeyInfo(), |
| 4170 |
'numbers': KeyInfo(read_only=True), |
| 4171 |
'service': KeyInfo(), |
| 4172 |
'user': KeyInfo(), |
| 4173 |
}, |
| 4174 |
)), |
| 4175 |
], |
| 4176 |
), |
| 4177 |
|
| 4178 |
('interface', 'pppoe-server', 'server'): APIData( |
| 4179 |
unversioned=VersionedAPIData( |
| 4180 |
fully_understood=True, |
| 4181 |
primary_keys=('interface',), |
| 4182 |
versioned_fields=[ |
| 4183 |
([('7.20', '>=')], 'accept-untagged', KeyInfo(default=True)), |
| 4184 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4185 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4186 |
([('7.17', '>=')], 'pppoe-over-vlan-range', KeyInfo(default='')), |
| 4187 |
], |
| 4188 |
fields={ |
| 4189 |
'accept-empty-service': KeyInfo(default=True), |
| 4190 |
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4191 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4192 |
'default-profile': KeyInfo(default='default'), |
| 4193 |
'disabled': KeyInfo(default=True), |
| 4194 |
'interface': KeyInfo(required=True), |
| 4195 |
'keepalive-timeout': KeyInfo(default=10), |
| 4196 |
'max-mru': KeyInfo(default='auto'), |
| 4197 |
'max-mtu': KeyInfo(default='auto'), |
| 4198 |
'max-sessions': KeyInfo(default='unlimited'), |
| 4199 |
'mrru': KeyInfo(default='disabled'), |
| 4200 |
'one-session-per-host': KeyInfo(default=False), |
| 4201 |
'pado-delay': KeyInfo(default=0), |
| 4202 |
'service-name': KeyInfo(default=''), |
| 4203 |
}, |
| 4204 |
), |
| 4205 |
), |
| 4206 |
|
| 4207 |
('interface', 'pptp-client'): APIData( |
| 4208 |
versioned=[ |
| 4209 |
('7.15', '>=', VersionedAPIData( |
| 4210 |
fully_understood=True, |
| 4211 |
fields={ |
| 4212 |
'add-default-route': KeyInfo(default=False), |
| 4213 |
'allow': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4214 |
'comment': KeyInfo(), |
| 4215 |
'connect-to': KeyInfo(required=True), |
| 4216 |
# 'copy-from': KeyInfo(write_only=True), |
| 4217 |
'default-route-distance': KeyInfo(default=1), |
| 4218 |
'dial-on-demand': KeyInfo(default=False), |
| 4219 |
'disabled': KeyInfo(default=True), |
| 4220 |
'keepalive-timeout': KeyInfo(default=60), |
| 4221 |
'max-mru': KeyInfo(default=1450), |
| 4222 |
'max-mtu': KeyInfo(default=1450), |
| 4223 |
'mrru': KeyInfo(default='disabled'), |
| 4224 |
'name': KeyInfo(), |
| 4225 |
'numbers': KeyInfo(read_only=True), |
| 4226 |
'password': KeyInfo(default=''), |
| 4227 |
'profile': KeyInfo(default='default-encryption'), |
| 4228 |
'use-peer-dns': KeyInfo(default=False), |
| 4229 |
'user': KeyInfo(required=True), |
| 4230 |
}, |
| 4231 |
)), |
| 4232 |
], |
| 4233 |
), |
| 4234 |
|
| 4235 |
('interface', 'pptp-server'): APIData( |
| 4236 |
versioned=[ |
| 4237 |
('7.15', '>=', VersionedAPIData( |
| 4238 |
fully_understood=True, |
| 4239 |
fields={ |
| 4240 |
'comment': KeyInfo(), |
| 4241 |
# 'copy-from': KeyInfo(write_only=True), |
| 4242 |
'disabled': KeyInfo(default=False), |
| 4243 |
'name': KeyInfo(), |
| 4244 |
'numbers': KeyInfo(read_only=True), |
| 4245 |
'user': KeyInfo(required=True), |
| 4246 |
}, |
| 4247 |
)), |
| 4248 |
], |
| 4249 |
), |
| 4250 |
|
| 4251 |
('interface', 'pptp-server', 'server'): APIData( |
| 4252 |
unversioned=VersionedAPIData( |
| 4253 |
fixed_entries=True, |
| 4254 |
fully_understood=True, |
| 4255 |
single_value=True, |
| 4256 |
fields={ |
| 4257 |
'authentication': KeyInfo(default='mschap1,mschap2'), |
| 4258 |
'default-profile': KeyInfo(default='default-encryption'), |
| 4259 |
'enabled': KeyInfo(default=False), |
| 4260 |
'keepalive-timeout': KeyInfo(default=30), |
| 4261 |
'max-mru': KeyInfo(default=1450), |
| 4262 |
'max-mtu': KeyInfo(default=1450), |
| 4263 |
'mrru': KeyInfo(default='disabled'), |
| 4264 |
}, |
| 4265 |
), |
| 4266 |
), |
| 4267 |
|
| 4268 |
('interface', 'sstp-client'): APIData( |
| 4269 |
versioned=[ |
| 4270 |
('7.15', '>=', VersionedAPIData( |
| 4271 |
fully_understood=True, |
| 4272 |
fields={ |
| 4273 |
'add-default-route': KeyInfo(default=False), |
| 4274 |
'add-sni': KeyInfo(default=False), |
| 4275 |
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4276 |
'certificate': KeyInfo(default='none'), |
| 4277 |
'ciphers': KeyInfo(default='aes256-sha'), |
| 4278 |
'comment': KeyInfo(), |
| 4279 |
'connect-to': KeyInfo(required=True), |
| 4280 |
# 'copy-from': KeyInfo(write_only=True), |
| 4281 |
'default-route-distance': KeyInfo(default=1), |
| 4282 |
'dial-on-demand': KeyInfo(default=False), |
| 4283 |
'disabled': KeyInfo(default=True), |
| 4284 |
'http-proxy': KeyInfo(default='::'), |
| 4285 |
'keepalive-timeout': KeyInfo(default=60), |
| 4286 |
'max-mru': KeyInfo(default=1460), |
| 4287 |
'max-mtu': KeyInfo(default=1460), |
| 4288 |
'mrru': KeyInfo(default=False), |
| 4289 |
'name': KeyInfo(), |
| 4290 |
'numbers': KeyInfo(read_only=True), |
| 4291 |
'password': KeyInfo(default=''), |
| 4292 |
'pfs': KeyInfo(default=False), |
| 4293 |
'port': KeyInfo(default=443), |
| 4294 |
'profile': KeyInfo(default='default'), |
| 4295 |
'proxy-port': KeyInfo(default=443), |
| 4296 |
'tls-version': KeyInfo(default='any'), |
| 4297 |
'user': KeyInfo(required=True), |
| 4298 |
'verify-server-address-from-certificate': KeyInfo(default=False), |
| 4299 |
'verify-server-certificate': KeyInfo(default=False), |
| 4300 |
}, |
| 4301 |
)), |
| 4302 |
], |
| 4303 |
), |
| 4304 |
|
| 4305 |
('interface', 'sstp-server'): APIData( |
| 4306 |
versioned=[ |
| 4307 |
('7.15', '>=', VersionedAPIData( |
| 4308 |
fully_understood=True, |
| 4309 |
fields={ |
| 4310 |
'comment': KeyInfo(), |
| 4311 |
# 'copy-from': KeyInfo(write_only=True), |
| 4312 |
'disabled': KeyInfo(default=False), |
| 4313 |
'name': KeyInfo(), |
| 4314 |
'numbers': KeyInfo(read_only=True), |
| 4315 |
'user': KeyInfo(required=True), |
| 4316 |
}, |
| 4317 |
)), |
| 4318 |
], |
| 4319 |
), |
| 4320 |
|
| 4321 |
('interface', 'sstp-server', 'server'): APIData( |
| 4322 |
unversioned=VersionedAPIData( |
| 4323 |
fixed_entries=True, |
| 4324 |
fully_understood=True, |
| 4325 |
single_value=True, |
| 4326 |
versioned_fields=[ |
| 4327 |
([('7.15', '>=')], 'ciphers', KeyInfo(default='aes256-sha,aes256-gcm-sha384')), |
| 4328 |
([('7.15', '<')], 'force-aes', KeyInfo(default=False)), |
| 4329 |
], |
| 4330 |
fields={ |
| 4331 |
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'), |
| 4332 |
'certificate': KeyInfo(default='none'), |
| 4333 |
'default-profile': KeyInfo(default='default'), |
| 4334 |
'enabled': KeyInfo(default=False), |
| 4335 |
'keepalive-timeout': KeyInfo(default=60), |
| 4336 |
'max-mru': KeyInfo(default=1500), |
| 4337 |
'max-mtu': KeyInfo(default=1500), |
| 4338 |
'mrru': KeyInfo(default='disabled'), |
| 4339 |
'pfs': KeyInfo(default=False), |
| 4340 |
'port': KeyInfo(default=443), |
| 4341 |
'tls-version': KeyInfo(default='any'), |
| 4342 |
'verify-client-certificate': KeyInfo(default='no'), |
| 4343 |
}, |
| 4344 |
), |
| 4345 |
), |
| 4346 |
|
| 4347 |
('interface', 'veth'): APIData( |
| 4348 |
versioned=[ |
| 4349 |
('7.15', '>=', VersionedAPIData( |
| 4350 |
fully_understood=True, |
| 4351 |
primary_keys=('name',), |
| 4352 |
versioned_fields=[ |
| 4353 |
([('7.21', '>=')], 'container-mac-address', KeyInfo(default='00:00:00:00:00:00')), |
| 4354 |
([('7.20', '>=')], 'dhcp', KeyInfo(default=False)), |
| 4355 |
([('7.20', '>=')], 'mac-address', KeyInfo(default='00:00:00:00:00:00')), |
| 4356 |
], |
| 4357 |
fields={ |
| 4358 |
'address': KeyInfo(default=''), |
| 4359 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4360 |
# 'copy-from': KeyInfo(write_only=True), |
| 4361 |
'disabled': KeyInfo(default=False), |
| 4362 |
'gateway': KeyInfo(default=''), |
| 4363 |
'gateway6': KeyInfo(default=''), |
| 4364 |
'name': KeyInfo(), |
| 4365 |
'numbers': KeyInfo(read_only=True), |
| 4366 |
}, |
| 4367 |
)), |
| 4368 |
], |
| 4369 |
), |
| 4370 |
|
| 4371 |
('interface', 'vlan'): APIData( |
| 4372 |
unversioned=VersionedAPIData( |
| 4373 |
fully_understood=True, |
| 4374 |
primary_keys=('name',), |
| 4375 |
versioned_fields=[ |
| 4376 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4377 |
([('7.21', '>=')], 'l3-hw-offloading', KeyInfo()), |
| 4378 |
([('7.15', '>=')], 'mvrp', KeyInfo(default=False)), |
| 4379 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4380 |
], |
| 4381 |
fields={ |
| 4382 |
'arp': KeyInfo(default='enabled'), |
| 4383 |
'arp-timeout': KeyInfo(default='auto'), |
| 4384 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4385 |
'disabled': KeyInfo(default=False), |
| 4386 |
'interface': KeyInfo(required=True), |
| 4387 |
'loop-protect': KeyInfo(default='default'), |
| 4388 |
'loop-protect-disable-time': KeyInfo(default='5m'), |
| 4389 |
'loop-protect-send-interval': KeyInfo(default='5s'), |
| 4390 |
'mtu': KeyInfo(default=1500), |
| 4391 |
'name': KeyInfo(), |
| 4392 |
'use-service-tag': KeyInfo(default=False), |
| 4393 |
'vlan-id': KeyInfo(required=True), |
| 4394 |
}, |
| 4395 |
), |
| 4396 |
), |
| 4397 |
|
| 4398 |
('interface', 'vpls'): APIData( |
| 4399 |
versioned=[ |
| 4400 |
('7.15', '>=', VersionedAPIData( |
| 4401 |
fully_understood=True, |
| 4402 |
required_one_of=[['cisco-static-id', 'vpls-id']], |
| 4403 |
versioned_fields=[ |
| 4404 |
([('7.17', '>=')], 'bridge-pvid', KeyInfo(can_disable=True, default=1)), |
| 4405 |
], |
| 4406 |
fields={ |
| 4407 |
'arp': KeyInfo(default='enabled'), |
| 4408 |
'arp-timeout': KeyInfo(default='auto'), |
| 4409 |
'bridge': KeyInfo(can_disable=True), |
| 4410 |
'bridge-cost': KeyInfo(can_disable=True, default=1), |
| 4411 |
'bridge-horizon': KeyInfo(can_disable=True, default='none'), |
| 4412 |
'cisco-static-id': KeyInfo(can_disable=True), |
| 4413 |
'comment': KeyInfo(), |
| 4414 |
# 'copy-from': KeyInfo(write_only=True), |
| 4415 |
'disable-running-check': KeyInfo(default=False), |
| 4416 |
'disabled': KeyInfo(default=True), |
| 4417 |
'mac-address': KeyInfo(), |
| 4418 |
'mtu': KeyInfo(default=1500), |
| 4419 |
'name': KeyInfo(), |
| 4420 |
'numbers': KeyInfo(read_only=True), |
| 4421 |
'peer': KeyInfo(required=True), |
| 4422 |
'pw-control-word': KeyInfo(can_disable=True, default='default'), |
| 4423 |
'pw-l2mtu': KeyInfo(can_disable=True, default=1500), |
| 4424 |
'pw-type': KeyInfo(can_disable=True, default='raw-ethernet'), |
| 4425 |
'vpls-id': KeyInfo(can_disable=True), |
| 4426 |
}, |
| 4427 |
)), |
| 4428 |
], |
| 4429 |
), |
| 4430 |
|
| 4431 |
('interface', 'vrrp'): APIData( |
| 4432 |
unversioned=VersionedAPIData( |
| 4433 |
fully_understood=True, |
| 4434 |
primary_keys=('name',), |
| 4435 |
versioned_fields=[ |
| 4436 |
([('7.20', '>=')], 'connection-tracking-mode', KeyInfo(default='passive-active')), |
| 4437 |
([('7.20', '>=')], 'connection-tracking-port', KeyInfo(default=8275)), |
| 4438 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4439 |
([('7.11', '>=')], 'group-authority', KeyInfo(default='')), |
| 4440 |
([('7.11', '<')], 'group-master', KeyInfo(default='')), |
| 4441 |
([('7.11', '>=')], 'group-master', KeyInfo(write_only=True)), |
| 4442 |
([('7.20', '<')], 'mtu', KeyInfo(default=1500)), |
| 4443 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4444 |
], |
| 4445 |
fields={ |
| 4446 |
'arp': KeyInfo(default='enabled'), |
| 4447 |
'arp-timeout': KeyInfo(default='auto'), |
| 4448 |
'authentication': KeyInfo(default='none'), |
| 4449 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4450 |
'disabled': KeyInfo(default=False), |
| 4451 |
'interface': KeyInfo(required=True), |
| 4452 |
'interval': KeyInfo(default='1s'), |
| 4453 |
'name': KeyInfo(), |
| 4454 |
'on-backup': KeyInfo(default=''), |
| 4455 |
'on-fail': KeyInfo(default=''), |
| 4456 |
'on-master': KeyInfo(default=''), |
| 4457 |
'password': KeyInfo(default=''), |
| 4458 |
'preemption-mode': KeyInfo(default=True), |
| 4459 |
'priority': KeyInfo(default=100), |
| 4460 |
'remote-address': KeyInfo(), |
| 4461 |
'sync-connection-tracking': KeyInfo(default=False), |
| 4462 |
'v3-protocol': KeyInfo(default='ipv4'), |
| 4463 |
'version': KeyInfo(default=3), |
| 4464 |
'vrid': KeyInfo(default=1), |
| 4465 |
}, |
| 4466 |
), |
| 4467 |
), |
| 4468 |
|
| 4469 |
('interface', 'vxlan'): APIData( |
| 4470 |
versioned=[ |
| 4471 |
('7.15', '>=', VersionedAPIData( |
| 4472 |
fully_understood=True, |
| 4473 |
versioned_fields=[ |
| 4474 |
([('7.18', '>=')], 'bridge', KeyInfo(can_disable=True)), |
| 4475 |
([('7.18', '>=')], 'bridge-pvid', KeyInfo(default=1)), |
| 4476 |
([('7.20', '>=')], 'checksum', KeyInfo(default=False)), |
| 4477 |
([('7.18', '>=')], 'hw', KeyInfo(default=True)), |
| 4478 |
([('7.20', '>=')], 'learning', KeyInfo(default=True)), |
| 4479 |
([('7.20', '>=')], 'rem-csum', KeyInfo(default='none')), |
| 4480 |
([('7.18', '>=')], 'ttl', KeyInfo(default='auto')), |
| 4481 |
([('7.20', '<')], 'vrf', KeyInfo()), |
| 4482 |
([('7.20', '>=')], 'vtep-vrf', KeyInfo(default='main')), |
| 4483 |
], |
| 4484 |
fields={ |
| 4485 |
'allow-fast-path': KeyInfo(default=True), |
| 4486 |
'arp': KeyInfo(default='enabled'), |
| 4487 |
'arp-timeout': KeyInfo(default='auto'), |
| 4488 |
'comment': KeyInfo(), |
| 4489 |
# 'copy-from': KeyInfo(write_only=True), |
| 4490 |
'disabled': KeyInfo(default=False), |
| 4491 |
'dont-fragment': KeyInfo(default='auto'), |
| 4492 |
'group': KeyInfo(can_disable=True), |
| 4493 |
'interface': KeyInfo(can_disable=True), |
| 4494 |
'local-address': KeyInfo(can_disable=True), |
| 4495 |
'loop-protect': KeyInfo(default='default'), |
| 4496 |
'loop-protect-disable-time': KeyInfo(default='5m'), |
| 4497 |
'loop-protect-send-interval': KeyInfo(default='5s'), |
| 4498 |
'mac-address': KeyInfo(), |
| 4499 |
'max-fdb-size': KeyInfo(default=4096), |
| 4500 |
'mtu': KeyInfo(default=1500), |
| 4501 |
'name': KeyInfo(default='vxlan1'), |
| 4502 |
'numbers': KeyInfo(read_only=True), |
| 4503 |
'port': KeyInfo(default=4789), |
| 4504 |
'vni': KeyInfo(required=True), |
| 4505 |
'vteps-ip-version': KeyInfo(default='ipv4'), |
| 4506 |
}, |
| 4507 |
)), |
| 4508 |
], |
| 4509 |
), |
| 4510 |
|
| 4511 |
('interface', 'vxlan', 'vteps'): APIData( |
| 4512 |
versioned=[ |
| 4513 |
('7.15', '>=', VersionedAPIData( |
| 4514 |
fully_understood=True, |
| 4515 |
versioned_fields=[ |
| 4516 |
([('7.16', '>=')], 'comment', KeyInfo()), |
| 4517 |
([('7.18', '>=')], 'disabled', KeyInfo()), |
| 4518 |
([('7.18', '<')], 'port', KeyInfo()), |
| 4519 |
], |
| 4520 |
fields={ |
| 4521 |
# 'copy-from': KeyInfo(write_only=True), |
| 4522 |
'interface': KeyInfo(), |
| 4523 |
'numbers': KeyInfo(read_only=True), |
| 4524 |
'remote-ip': KeyInfo(), |
| 4525 |
}, |
| 4526 |
)), |
| 4527 |
], |
| 4528 |
), |
| 4529 |
|
| 4530 |
('interface', 'wifi'): APIData( |
| 4531 |
versioned=[ |
| 4532 |
('7.15', '>=', VersionedAPIData( |
| 4533 |
fully_understood=True, |
| 4534 |
primary_keys=('name',), |
| 4535 |
required_one_of=[['radio-mac', 'master-interface']], |
| 4536 |
versioned_fields=[ |
| 4537 |
([('7.20', '>=')], 'channel.deprioritize-unii-3-4', KeyInfo(can_disable=True)), |
| 4538 |
([('7.22', '>=')], 'channel.preamble-puncturing', KeyInfo()), |
| 4539 |
([('7.19', '>=')], 'channel.reselect-time', KeyInfo(can_disable=True)), |
| 4540 |
([('7.21', '>=')], 'configuration.hw-protection-mode', KeyInfo()), |
| 4541 |
([('7.17', '>=')], 'configuration.installation', KeyInfo(can_disable=True)), |
| 4542 |
([('7.18', '>=')], 'configuration.max-clients', KeyInfo(can_disable=True)), |
| 4543 |
([('7.17', '>=')], 'configuration.station-roaming', KeyInfo(can_disable=True)), |
| 4544 |
([('7.20', '>=')], 'datapath.openflow-switch', KeyInfo()), |
| 4545 |
([('7.19', '>=')], 'datapath.traffic-processing', KeyInfo(can_disable=True)), |
| 4546 |
([('7.21', '>=')], 'interworking.3gpp-info-raw', KeyInfo()), |
| 4547 |
([('7.21', '>=')], 'interworking.realms-raw', KeyInfo()), |
| 4548 |
([('7.22', '>=')], 'mld-interface', KeyInfo()), |
| 4549 |
([('7.22', '>=')], 'mld-name', KeyInfo()), |
| 4550 |
([('7.21', '>=')], 'security.beacon-protection', KeyInfo()), |
| 4551 |
([('7.17', '>=')], 'security.multi-passphrase-group', KeyInfo(can_disable=True)), |
| 4552 |
([('7.18', '>=')], 'steering.2g-probe-delay', KeyInfo(can_disable=True)), |
| 4553 |
([('7.21', '>=')], 'steering.transition-request-count', KeyInfo()), |
| 4554 |
([('7.21', '>=')], 'steering.transition-request-period', KeyInfo()), |
| 4555 |
([('7.21', '>=')], 'steering.transition-threshold', KeyInfo()), |
| 4556 |
([('7.21', '>=')], 'steering.transition-threshold-time', KeyInfo()), |
| 4557 |
([('7.21', '>=')], 'steering.transition-time', KeyInfo()), |
| 4558 |
], |
| 4559 |
fields={ |
| 4560 |
'aaa': KeyInfo(), |
| 4561 |
'aaa.called-format': KeyInfo(), |
| 4562 |
'aaa.calling-format': KeyInfo(), |
| 4563 |
'aaa.interim-update': KeyInfo(), |
| 4564 |
'aaa.mac-caching': KeyInfo(), |
| 4565 |
'aaa.nas-identifier': KeyInfo(), |
| 4566 |
'aaa.password-format': KeyInfo(), |
| 4567 |
'aaa.username-format': KeyInfo(), |
| 4568 |
'arp': KeyInfo(), |
| 4569 |
'arp-timeout': KeyInfo(), |
| 4570 |
'channel': KeyInfo(), |
| 4571 |
'channel.band': KeyInfo(), |
| 4572 |
'channel.frequency': KeyInfo(), |
| 4573 |
'channel.reselect-interval': KeyInfo(), |
| 4574 |
'channel.secondary-frequency': KeyInfo(), |
| 4575 |
'channel.skip-dfs-channels': KeyInfo(), |
| 4576 |
'channel.width': KeyInfo(), |
| 4577 |
'comment': KeyInfo(), |
| 4578 |
'configuration': KeyInfo(), |
| 4579 |
'configuration.antenna-gain': KeyInfo(), |
| 4580 |
'configuration.beacon-interval': KeyInfo(), |
| 4581 |
'configuration.chains': KeyInfo(), |
| 4582 |
'configuration.country': KeyInfo(), |
| 4583 |
'configuration.distance': KeyInfo(), |
| 4584 |
'configuration.dtim-period': KeyInfo(), |
| 4585 |
'configuration.hide-ssid': KeyInfo(), |
| 4586 |
'configuration.manager': KeyInfo(), |
| 4587 |
'configuration.mode': KeyInfo(), |
| 4588 |
'configuration.multicast-enhance': KeyInfo(), |
| 4589 |
'configuration.qos-classifier': KeyInfo(), |
| 4590 |
'configuration.ssid': KeyInfo(), |
| 4591 |
'configuration.tx-chains': KeyInfo(), |
| 4592 |
'configuration.tx-power': KeyInfo(), |
| 4593 |
# 'copy-from': KeyInfo(write_only=True), |
| 4594 |
'datapath': KeyInfo(), |
| 4595 |
'datapath.bridge': KeyInfo(), |
| 4596 |
'datapath.bridge-cost': KeyInfo(), |
| 4597 |
'datapath.bridge-horizon': KeyInfo(), |
| 4598 |
'datapath.client-isolation': KeyInfo(), |
| 4599 |
'datapath.interface-list': KeyInfo(), |
| 4600 |
'datapath.vlan-id': KeyInfo(), |
| 4601 |
'disable-running-check': KeyInfo(), |
| 4602 |
'disabled': KeyInfo(), |
| 4603 |
'interworking': KeyInfo(), |
| 4604 |
'interworking.3gpp-info': KeyInfo(), |
| 4605 |
'interworking.authentication-types': KeyInfo(), |
| 4606 |
'interworking.connection-capabilities': KeyInfo(), |
| 4607 |
'interworking.domain-names': KeyInfo(), |
| 4608 |
'interworking.esr': KeyInfo(), |
| 4609 |
'interworking.hessid': KeyInfo(), |
| 4610 |
'interworking.hotspot20': KeyInfo(), |
| 4611 |
'interworking.hotspot20-dgaf': KeyInfo(), |
| 4612 |
'interworking.internet': KeyInfo(), |
| 4613 |
'interworking.ipv4-availability': KeyInfo(), |
| 4614 |
'interworking.ipv6-availability': KeyInfo(), |
| 4615 |
'interworking.network-type': KeyInfo(), |
| 4616 |
'interworking.operational-classes': KeyInfo(), |
| 4617 |
'interworking.operator-names': KeyInfo(), |
| 4618 |
'interworking.realms': KeyInfo(), |
| 4619 |
'interworking.roaming-ois': KeyInfo(), |
| 4620 |
'interworking.uesa': KeyInfo(), |
| 4621 |
'interworking.venue': KeyInfo(), |
| 4622 |
'interworking.venue-names': KeyInfo(), |
| 4623 |
'interworking.wan-at-capacity': KeyInfo(), |
| 4624 |
'interworking.wan-downlink': KeyInfo(), |
| 4625 |
'interworking.wan-downlink-load': KeyInfo(), |
| 4626 |
'interworking.wan-measurement-duration': KeyInfo(), |
| 4627 |
'interworking.wan-status': KeyInfo(), |
| 4628 |
'interworking.wan-symmetric': KeyInfo(), |
| 4629 |
'interworking.wan-uplink': KeyInfo(), |
| 4630 |
'interworking.wan-uplink-load': KeyInfo(), |
| 4631 |
'l2mtu': KeyInfo(), |
| 4632 |
'mac-address': KeyInfo(), |
| 4633 |
'master-interface': KeyInfo(), |
| 4634 |
'mtu': KeyInfo(), |
| 4635 |
'name': KeyInfo(), |
| 4636 |
'numbers': KeyInfo(read_only=True), |
| 4637 |
'radio-mac': KeyInfo(), |
| 4638 |
'security': KeyInfo(), |
| 4639 |
'security.authentication-types': KeyInfo(), |
| 4640 |
'security.connect-group': KeyInfo(), |
| 4641 |
'security.connect-priority': KeyInfo(), |
| 4642 |
'security.dh-groups': KeyInfo(), |
| 4643 |
'security.disable-pmkid': KeyInfo(), |
| 4644 |
'security.eap-accounting': KeyInfo(), |
| 4645 |
'security.eap-anonymous-identity': KeyInfo(), |
| 4646 |
'security.eap-certificate-mode': KeyInfo(), |
| 4647 |
'security.eap-methods': KeyInfo(), |
| 4648 |
'security.eap-password': KeyInfo(), |
| 4649 |
'security.eap-tls-certificate': KeyInfo(), |
| 4650 |
'security.eap-username': KeyInfo(), |
| 4651 |
'security.encryption': KeyInfo(), |
| 4652 |
'security.ft': KeyInfo(), |
| 4653 |
'security.ft-mobility-domain': KeyInfo(), |
| 4654 |
'security.ft-nas-identifier': KeyInfo(), |
| 4655 |
'security.ft-over-ds': KeyInfo(), |
| 4656 |
'security.ft-preserve-vlanid': KeyInfo(), |
| 4657 |
'security.ft-r0-key-lifetime': KeyInfo(), |
| 4658 |
'security.ft-reassociation-deadline': KeyInfo(), |
| 4659 |
'security.group-encryption': KeyInfo(), |
| 4660 |
'security.group-key-update': KeyInfo(), |
| 4661 |
'security.management-encryption': KeyInfo(), |
| 4662 |
'security.management-protection': KeyInfo(), |
| 4663 |
'security.owe-transition-interface': KeyInfo(), |
| 4664 |
'security.passphrase': KeyInfo(), |
| 4665 |
'security.sae-anti-clogging-threshold': KeyInfo(), |
| 4666 |
'security.sae-max-failure-rate': KeyInfo(), |
| 4667 |
'security.sae-pwe': KeyInfo(), |
| 4668 |
'security.wps': KeyInfo(), |
| 4669 |
'steering': KeyInfo(), |
| 4670 |
'steering.neighbor-group': KeyInfo(), |
| 4671 |
'steering.rrm': KeyInfo(), |
| 4672 |
'steering.wnm': KeyInfo(), |
| 4673 |
}, |
| 4674 |
)), |
| 4675 |
('7.13', '>=', VersionedAPIData( |
| 4676 |
fully_understood=True, |
| 4677 |
primary_keys=('name',), |
| 4678 |
required_one_of=[['default-name', 'radio-mac', 'master-interface']], |
| 4679 |
versioned_fields=[ |
| 4680 |
([('7.15', '<')], 'configuration.tx-chain', KeyInfo(can_disable=True)), |
| 4681 |
], |
| 4682 |
fields={ |
| 4683 |
'aaa': KeyInfo(can_disable=True), |
| 4684 |
'aaa.called-format': KeyInfo(can_disable=True), |
| 4685 |
'aaa.calling-format': KeyInfo(can_disable=True), |
| 4686 |
'aaa.interim-update': KeyInfo(can_disable=True), |
| 4687 |
'aaa.mac-caching': KeyInfo(can_disable=True), |
| 4688 |
'aaa.nas-identifier': KeyInfo(can_disable=True), |
| 4689 |
'aaa.password-format': KeyInfo(can_disable=True), |
| 4690 |
'aaa.username-format': KeyInfo(can_disable=True), |
| 4691 |
'arp': KeyInfo(can_disable=True), |
| 4692 |
'arp-timeout': KeyInfo(default='auto'), |
| 4693 |
'channel': KeyInfo(can_disable=True), |
| 4694 |
'channel.band': KeyInfo(can_disable=True), |
| 4695 |
'channel.frequency': KeyInfo(can_disable=True), |
| 4696 |
'channel.secondary-frequency': KeyInfo(can_disable=True), |
| 4697 |
'channel.skip-dfs-channels': KeyInfo(can_disable=True), |
| 4698 |
'channel.width': KeyInfo(can_disable=True), |
| 4699 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4700 |
'configuration': KeyInfo(can_disable=True), |
| 4701 |
'configuration.antenna-gain': KeyInfo(can_disable=True), |
| 4702 |
'configuration.beacon-interval': KeyInfo(can_disable=True), |
| 4703 |
'configuration.chains': KeyInfo(can_disable=True), |
| 4704 |
'configuration.country': KeyInfo(can_disable=True), |
| 4705 |
'configuration.dtim-period': KeyInfo(can_disable=True), |
| 4706 |
'configuration.hide-ssid': KeyInfo(can_disable=True), |
| 4707 |
'configuration.manager': KeyInfo(can_disable=True), |
| 4708 |
'configuration.mode': KeyInfo(can_disable=True), |
| 4709 |
'configuration.multicast-enhance': KeyInfo(can_disable=True), |
| 4710 |
'configuration.qos-classifier': KeyInfo(can_disable=True), |
| 4711 |
'configuration.ssid': KeyInfo(can_disable=True), |
| 4712 |
'configuration.tx-power': KeyInfo(can_disable=True), |
| 4713 |
'datapath': KeyInfo(can_disable=True), |
| 4714 |
'datapath.bridge': KeyInfo(can_disable=True), |
| 4715 |
'datapath.bridge-cost': KeyInfo(can_disable=True), |
| 4716 |
'datapath.bridge-horizon': KeyInfo(can_disable=True), |
| 4717 |
'datapath.client-isolation': KeyInfo(can_disable=True), |
| 4718 |
'datapath.interface-list': KeyInfo(can_disable=True), |
| 4719 |
'datapath.vlan-id': KeyInfo(can_disable=True), |
| 4720 |
'default-name': KeyInfo(), |
| 4721 |
'disable-running-check': KeyInfo(can_disable=True), |
| 4722 |
'disabled': KeyInfo(default=True), |
| 4723 |
'interworking': KeyInfo(can_disable=True), |
| 4724 |
'interworking.3gpp-info': KeyInfo(can_disable=True), |
| 4725 |
'interworking.authentication-types': KeyInfo(can_disable=True), |
| 4726 |
'interworking.connection-capabilities': KeyInfo(can_disable=True), |
| 4727 |
'interworking.domain-names': KeyInfo(can_disable=True), |
| 4728 |
'interworking.esr': KeyInfo(can_disable=True), |
| 4729 |
'interworking.hessid': KeyInfo(can_disable=True), |
| 4730 |
'interworking.hotspot20': KeyInfo(can_disable=True), |
| 4731 |
'interworking.hotspot20-dgaf': KeyInfo(can_disable=True), |
| 4732 |
'interworking.internet': KeyInfo(can_disable=True), |
| 4733 |
'interworking.ipv4-availability': KeyInfo(can_disable=True), |
| 4734 |
'interworking.ipv6-availability': KeyInfo(can_disable=True), |
| 4735 |
'interworking.network-type': KeyInfo(can_disable=True), |
| 4736 |
'interworking.operational-classes': KeyInfo(can_disable=True), |
| 4737 |
'interworking.operator-names': KeyInfo(can_disable=True), |
| 4738 |
'interworking.realms': KeyInfo(can_disable=True), |
| 4739 |
'interworking.roaming-ois': KeyInfo(can_disable=True), |
| 4740 |
'interworking.uesa': KeyInfo(can_disable=True), |
| 4741 |
'interworking.venue': KeyInfo(can_disable=True), |
| 4742 |
'interworking.venue-names': KeyInfo(can_disable=True), |
| 4743 |
'interworking.wan-at-capacity': KeyInfo(can_disable=True), |
| 4744 |
'interworking.wan-downlink': KeyInfo(can_disable=True), |
| 4745 |
'interworking.wan-downlink-load': KeyInfo(can_disable=True), |
| 4746 |
'interworking.wan-measurement-duration': KeyInfo(can_disable=True), |
| 4747 |
'interworking.wan-status': KeyInfo(can_disable=True), |
| 4748 |
'interworking.wan-symmetric': KeyInfo(can_disable=True), |
| 4749 |
'interworking.wan-uplink': KeyInfo(can_disable=True), |
| 4750 |
'interworking.wan-uplink-load': KeyInfo(can_disable=True), |
| 4751 |
'l2mtu': KeyInfo(can_disable=True, default=1560), |
| 4752 |
'mac-address': KeyInfo(), |
| 4753 |
'master-interface': KeyInfo(can_disable=True), |
| 4754 |
'mtu': KeyInfo(can_disable=True, default=1500), |
| 4755 |
'name': KeyInfo(), |
| 4756 |
'radio-mac': KeyInfo(can_disable=True), |
| 4757 |
'security': KeyInfo(can_disable=True), |
| 4758 |
'security.authentication-types': KeyInfo(can_disable=True), |
| 4759 |
'security.connect-group': KeyInfo(can_disable=True), |
| 4760 |
'security.connect-priority': KeyInfo(can_disable=True), |
| 4761 |
'security.dh-groups': KeyInfo(can_disable=True), |
| 4762 |
'security.disable-pmkid': KeyInfo(can_disable=True), |
| 4763 |
'security.eap-accounting': KeyInfo(can_disable=True), |
| 4764 |
'security.eap-anonymous-identity': KeyInfo(can_disable=True), |
| 4765 |
'security.eap-certificate-mode': KeyInfo(can_disable=True), |
| 4766 |
'security.eap-methods': KeyInfo(can_disable=True), |
| 4767 |
'security.eap-password': KeyInfo(can_disable=True), |
| 4768 |
'security.eap-tls-certificate': KeyInfo(can_disable=True), |
| 4769 |
'security.eap-username': KeyInfo(can_disable=True), |
| 4770 |
'security.encryption': KeyInfo(can_disable=True), |
| 4771 |
'security.ft': KeyInfo(can_disable=True), |
| 4772 |
'security.ft-mobility-domain': KeyInfo(can_disable=True), |
| 4773 |
'security.ft-nas-identifier': KeyInfo(can_disable=True), |
| 4774 |
'security.ft-over-ds': KeyInfo(can_disable=True), |
| 4775 |
'security.ft-preserve-vlanid': KeyInfo(can_disable=True), |
| 4776 |
'security.ft-r0-key-lifetime': KeyInfo(can_disable=True), |
| 4777 |
'security.ft-reassociation-deadline': KeyInfo(can_disable=True), |
| 4778 |
'security.group-encryption': KeyInfo(can_disable=True), |
| 4779 |
'security.group-key-update': KeyInfo(can_disable=True), |
| 4780 |
'security.management-encryption': KeyInfo(can_disable=True), |
| 4781 |
'security.management-protection': KeyInfo(can_disable=True), |
| 4782 |
'security.owe-transition-interface': KeyInfo(can_disable=True), |
| 4783 |
'security.passphrase': KeyInfo(can_disable=True), |
| 4784 |
'security.sae-anti-clogging-threshold': KeyInfo(can_disable=True), |
| 4785 |
'security.sae-max-failure-rate': KeyInfo(can_disable=True), |
| 4786 |
'security.sae-pwe': KeyInfo(can_disable=True), |
| 4787 |
'security.wps': KeyInfo(can_disable=True), |
| 4788 |
'steering': KeyInfo(can_disable=True), |
| 4789 |
'steering.neighbor-group': KeyInfo(can_disable=True), |
| 4790 |
'steering.rrm': KeyInfo(can_disable=True), |
| 4791 |
'steering.wnm': KeyInfo(can_disable=True), |
| 4792 |
}, |
| 4793 |
)), |
| 4794 |
], |
| 4795 |
), |
| 4796 |
|
| 4797 |
('interface', 'wifi', 'aaa'): APIData( |
| 4798 |
versioned=[ |
| 4799 |
('7.13', '>=', VersionedAPIData( |
| 4800 |
fully_understood=True, |
| 4801 |
primary_keys=('name',), |
| 4802 |
versioned_fields=[ |
| 4803 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4804 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4805 |
], |
| 4806 |
fields={ |
| 4807 |
'called-format': KeyInfo(can_disable=True), |
| 4808 |
'calling-format': KeyInfo(can_disable=True), |
| 4809 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4810 |
'disabled': KeyInfo(default=False), |
| 4811 |
'interim-update': KeyInfo(can_disable=True), |
| 4812 |
'mac-caching': KeyInfo(can_disable=True), |
| 4813 |
'name': KeyInfo(), |
| 4814 |
'nas-identifier': KeyInfo(can_disable=True), |
| 4815 |
'password-format': KeyInfo(can_disable=True), |
| 4816 |
'username-format': KeyInfo(can_disable=True), |
| 4817 |
}, |
| 4818 |
)), |
| 4819 |
], |
| 4820 |
), |
| 4821 |
|
| 4822 |
('interface', 'wifi', 'access-list'): APIData( |
| 4823 |
versioned=[ |
| 4824 |
('7.13', '>=', VersionedAPIData( |
| 4825 |
fully_understood=True, |
| 4826 |
versioned_fields=[ |
| 4827 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4828 |
([('7.21', '>=')], 'days', KeyInfo()), |
| 4829 |
([('7.17', '>=')], 'multi-passphrase-group', KeyInfo(can_disable=True)), |
| 4830 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4831 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 4832 |
], |
| 4833 |
fields={ |
| 4834 |
'action': KeyInfo(can_disable=True, default='accept'), |
| 4835 |
'allow-signal-out-of-range': KeyInfo(can_disable=True), |
| 4836 |
'client-isolation': KeyInfo(can_disable=True), |
| 4837 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4838 |
'disabled': KeyInfo(default=False), |
| 4839 |
'interface': KeyInfo(can_disable=True), |
| 4840 |
'mac-address': KeyInfo(can_disable=True), |
| 4841 |
'mac-address-mask': KeyInfo(can_disable=True), |
| 4842 |
'passphrase': KeyInfo(can_disable=True), |
| 4843 |
'radius-accounting': KeyInfo(can_disable=True), |
| 4844 |
'signal-range': KeyInfo(can_disable=True), |
| 4845 |
'ssid-regexp': KeyInfo(can_disable=True), |
| 4846 |
'time': KeyInfo(can_disable=True), |
| 4847 |
'vlan-id': KeyInfo(can_disable=True), |
| 4848 |
}, |
| 4849 |
)), |
| 4850 |
], |
| 4851 |
), |
| 4852 |
|
| 4853 |
('interface', 'wifi', 'cap'): APIData( |
| 4854 |
versioned=[ |
| 4855 |
('7.13', '>=', VersionedAPIData( |
| 4856 |
fixed_entries=True, |
| 4857 |
fully_understood=True, |
| 4858 |
single_value=True, |
| 4859 |
versioned_fields=[ |
| 4860 |
([('7.22.1', '>=')], 'mld-datapath', KeyInfo()), |
| 4861 |
([('7.22', '>=')], 'mld-static', KeyInfo()), |
| 4862 |
], |
| 4863 |
fields={ |
| 4864 |
'caps-man-addresses': KeyInfo(can_disable=True, default=''), |
| 4865 |
'caps-man-certificate-common-names': KeyInfo(can_disable=True, default=''), |
| 4866 |
'caps-man-names': KeyInfo(can_disable=True, default=''), |
| 4867 |
'certificate': KeyInfo(can_disable=True, default='none'), |
| 4868 |
'discovery-interfaces': KeyInfo(can_disable=True, default=''), |
| 4869 |
'enabled': KeyInfo(default=False), |
| 4870 |
'lock-to-caps-man': KeyInfo(can_disable=True, default=False), |
| 4871 |
'slaves-datapath': KeyInfo(can_disable=True), |
| 4872 |
'slaves-static': KeyInfo(can_disable=True), |
| 4873 |
}, |
| 4874 |
)), |
| 4875 |
], |
| 4876 |
), |
| 4877 |
|
| 4878 |
('interface', 'wifi', 'capsman'): APIData( |
| 4879 |
versioned=[ |
| 4880 |
('7.13', '>=', VersionedAPIData( |
| 4881 |
fixed_entries=True, |
| 4882 |
fully_understood=True, |
| 4883 |
single_value=True, |
| 4884 |
fields={ |
| 4885 |
'ca-certificate': KeyInfo(can_disable=True, default=''), |
| 4886 |
'certificate': KeyInfo(can_disable=True, default='none'), |
| 4887 |
'enabled': KeyInfo(default=False), |
| 4888 |
'interfaces': KeyInfo(can_disable=True, default=''), |
| 4889 |
'package-path': KeyInfo(default=''), |
| 4890 |
'require-peer-certificate': KeyInfo(default=False), |
| 4891 |
'upgrade-policy': KeyInfo(default='none'), |
| 4892 |
}, |
| 4893 |
)), |
| 4894 |
], |
| 4895 |
), |
| 4896 |
|
| 4897 |
('interface', 'wifi', 'channel'): APIData( |
| 4898 |
versioned=[ |
| 4899 |
('7.13', '>=', VersionedAPIData( |
| 4900 |
fully_understood=True, |
| 4901 |
primary_keys=('name',), |
| 4902 |
versioned_fields=[ |
| 4903 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4904 |
([('7.20', '>=')], 'deprioritize-unii-3-4', KeyInfo(can_disable=True)), |
| 4905 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4906 |
([('7.22', '>=')], 'preamble-puncturing', KeyInfo()), |
| 4907 |
([('7.18', '>=')], 'reselect-interval', KeyInfo(can_disable=True)), |
| 4908 |
([('7.19', '>=')], 'reselect-time', KeyInfo(can_disable=True)), |
| 4909 |
], |
| 4910 |
fields={ |
| 4911 |
'band': KeyInfo(can_disable=True), |
| 4912 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 4913 |
'disabled': KeyInfo(default=False), |
| 4914 |
'frequency': KeyInfo(can_disable=True), |
| 4915 |
'name': KeyInfo(), |
| 4916 |
'secondary-frequency': KeyInfo(can_disable=True), |
| 4917 |
'skip-dfs-channels': KeyInfo(can_disable=True), |
| 4918 |
'width': KeyInfo(can_disable=True), |
| 4919 |
}, |
| 4920 |
)), |
| 4921 |
], |
| 4922 |
), |
| 4923 |
|
| 4924 |
('interface', 'wifi', 'configuration'): APIData( |
| 4925 |
versioned=[ |
| 4926 |
('7.13', '>=', VersionedAPIData( |
| 4927 |
fully_understood=True, |
| 4928 |
primary_keys=('name',), |
| 4929 |
versioned_fields=[ |
| 4930 |
([('7.13', '>=')], 'aaa.called-format', KeyInfo(can_disable=True)), |
| 4931 |
([('7.13', '>=')], 'aaa.calling-format', KeyInfo(can_disable=True)), |
| 4932 |
([('7.13', '>=')], 'aaa.interim-update', KeyInfo(can_disable=True)), |
| 4933 |
([('7.13', '>=')], 'aaa.mac-caching', KeyInfo(can_disable=True)), |
| 4934 |
([('7.13', '>=')], 'aaa.nas-identifier', KeyInfo(can_disable=True)), |
| 4935 |
([('7.13', '>=')], 'aaa.password-format', KeyInfo(can_disable=True)), |
| 4936 |
([('7.13', '>=')], 'aaa.username-format', KeyInfo(can_disable=True)), |
| 4937 |
([('7.13', '>=')], 'channel.band', KeyInfo(can_disable=True)), |
| 4938 |
([('7.20', '>=')], 'channel.deprioritize-unii-3-4', KeyInfo(can_disable=True)), |
| 4939 |
([('7.13', '>=')], 'channel.frequency', KeyInfo(can_disable=True)), |
| 4940 |
([('7.22', '>=')], 'channel.preamble-puncturing', KeyInfo()), |
| 4941 |
([('7.18', '>=')], 'channel.reselect-interval', KeyInfo(can_disable=True)), |
| 4942 |
([('7.19', '>=')], 'channel.reselect-time', KeyInfo(can_disable=True)), |
| 4943 |
([('7.13', '>=')], 'channel.secondary-frequency', KeyInfo(can_disable=True)), |
| 4944 |
([('7.13', '>=')], 'channel.skip-dfs-channels', KeyInfo(can_disable=True)), |
| 4945 |
([('7.13', '>=')], 'channel.width', KeyInfo(can_disable=True)), |
| 4946 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 4947 |
([('7.13', '>=')], 'datapath.bridge', KeyInfo(can_disable=True)), |
| 4948 |
([('7.13', '>=')], 'datapath.bridge-cost', KeyInfo(can_disable=True)), |
| 4949 |
([('7.13', '>=')], 'datapath.bridge-horizon', KeyInfo(can_disable=True)), |
| 4950 |
([('7.13', '>=')], 'datapath.client-isolation', KeyInfo(can_disable=True)), |
| 4951 |
([('7.13', '>=')], 'datapath.interface-list', KeyInfo(can_disable=True)), |
| 4952 |
([('7.20', '>=')], 'datapath.openflow-switch', KeyInfo()), |
| 4953 |
([('7.19', '>=')], 'datapath.traffic-processing', KeyInfo(can_disable=True)), |
| 4954 |
([('7.13', '>=')], 'datapath.vlan-id', KeyInfo(can_disable=True)), |
| 4955 |
([('7.15', '>=')], 'distance', KeyInfo(can_disable=True)), |
| 4956 |
([('7.21', '>=')], 'hw-protection-mode', KeyInfo()), |
| 4957 |
([('7.17', '>=')], 'installation', KeyInfo(can_disable=True)), |
| 4958 |
([('7.13', '>=')], 'interworking.3gpp-info', KeyInfo(can_disable=True)), |
| 4959 |
([('7.21', '>=')], 'interworking.3gpp-info-raw', KeyInfo()), |
| 4960 |
([('7.13', '>=')], 'interworking.authentication-types', KeyInfo(can_disable=True)), |
| 4961 |
([('7.13', '>=')], 'interworking.connection-capabilities', KeyInfo(can_disable=True)), |
| 4962 |
([('7.13', '>=')], 'interworking.domain-names', KeyInfo(can_disable=True)), |
| 4963 |
([('7.13', '>=')], 'interworking.esr', KeyInfo(can_disable=True)), |
| 4964 |
([('7.13', '>=')], 'interworking.hessid', KeyInfo(can_disable=True)), |
| 4965 |
([('7.13', '>=')], 'interworking.hotspot20', KeyInfo(can_disable=True)), |
| 4966 |
([('7.13', '>=')], 'interworking.hotspot20-dgaf', KeyInfo(can_disable=True)), |
| 4967 |
([('7.13', '>=')], 'interworking.internet', KeyInfo(can_disable=True)), |
| 4968 |
([('7.13', '>=')], 'interworking.ipv4-availability', KeyInfo(can_disable=True)), |
| 4969 |
([('7.13', '>=')], 'interworking.ipv6-availability', KeyInfo(can_disable=True)), |
| 4970 |
([('7.13', '>=')], 'interworking.network-type', KeyInfo(can_disable=True)), |
| 4971 |
([('7.13', '>=')], 'interworking.operational-classes', KeyInfo(can_disable=True)), |
| 4972 |
([('7.13', '>=')], 'interworking.operator-names', KeyInfo(can_disable=True)), |
| 4973 |
([('7.13', '>=')], 'interworking.realms', KeyInfo(can_disable=True)), |
| 4974 |
([('7.21', '>=')], 'interworking.realms-raw', KeyInfo()), |
| 4975 |
([('7.13', '>=')], 'interworking.roaming-ois', KeyInfo(can_disable=True)), |
| 4976 |
([('7.13', '>=')], 'interworking.uesa', KeyInfo(can_disable=True)), |
| 4977 |
([('7.13', '>=')], 'interworking.venue', KeyInfo(can_disable=True)), |
| 4978 |
([('7.13', '>=')], 'interworking.venue-names', KeyInfo(can_disable=True)), |
| 4979 |
([('7.13', '>=')], 'interworking.wan-at-capacity', KeyInfo(can_disable=True)), |
| 4980 |
([('7.13', '>=')], 'interworking.wan-downlink', KeyInfo(can_disable=True)), |
| 4981 |
([('7.13', '>=')], 'interworking.wan-downlink-load', KeyInfo(can_disable=True)), |
| 4982 |
([('7.13', '>=')], 'interworking.wan-measurement-duration', KeyInfo(can_disable=True)), |
| 4983 |
([('7.13', '>=')], 'interworking.wan-status', KeyInfo(can_disable=True)), |
| 4984 |
([('7.15', '>=')], 'interworking.wan-symmetric', KeyInfo(can_disable=True)), |
| 4985 |
([('7.13', '>=')], 'interworking.wan-uplink', KeyInfo(can_disable=True)), |
| 4986 |
([('7.13', '>=')], 'interworking.wan-uplink-load', KeyInfo(can_disable=True)), |
| 4987 |
([('7.18', '>=')], 'max-clients', KeyInfo(can_disable=True)), |
| 4988 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 4989 |
([('7.13', '>=')], 'security.authentication-types', KeyInfo(can_disable=True)), |
| 4990 |
([('7.21', '>=')], 'security.beacon-protection', KeyInfo()), |
| 4991 |
([('7.13', '>=')], 'security.connect-group', KeyInfo(can_disable=True)), |
| 4992 |
([('7.13', '>=')], 'security.connect-priority', KeyInfo(can_disable=True)), |
| 4993 |
([('7.13', '>=')], 'security.dh-groups', KeyInfo(can_disable=True)), |
| 4994 |
([('7.13', '>=')], 'security.disable-pmkid', KeyInfo(can_disable=True)), |
| 4995 |
([('7.13', '>=')], 'security.eap-accounting', KeyInfo(can_disable=True)), |
| 4996 |
([('7.13', '>=')], 'security.eap-anonymous-identity', KeyInfo(can_disable=True)), |
| 4997 |
([('7.13', '>=')], 'security.eap-certificate-mode', KeyInfo(can_disable=True)), |
| 4998 |
([('7.13', '>=')], 'security.eap-methods', KeyInfo(can_disable=True)), |
| 4999 |
([('7.13', '>=')], 'security.eap-password', KeyInfo(can_disable=True)), |
| 5000 |
([('7.13', '>=')], 'security.eap-tls-certificate', KeyInfo(can_disable=True)), |
| 5001 |
([('7.13', '>=')], 'security.eap-username', KeyInfo(can_disable=True)), |
| 5002 |
([('7.13', '>=')], 'security.encryption', KeyInfo(can_disable=True)), |
| 5003 |
([('7.13', '>=')], 'security.ft', KeyInfo(can_disable=True)), |
| 5004 |
([('7.13', '>=')], 'security.ft-mobility-domain', KeyInfo(can_disable=True)), |
| 5005 |
([('7.13', '>=')], 'security.ft-nas-identifier', KeyInfo(can_disable=True)), |
| 5006 |
([('7.13', '>=')], 'security.ft-over-ds', KeyInfo(can_disable=True)), |
| 5007 |
([('7.13', '>=')], 'security.ft-preserve-vlanid', KeyInfo(can_disable=True)), |
| 5008 |
([('7.13', '>=')], 'security.ft-r0-key-lifetime', KeyInfo(can_disable=True)), |
| 5009 |
([('7.13', '>=')], 'security.ft-reassociation-deadline', KeyInfo(can_disable=True)), |
| 5010 |
([('7.13', '>=')], 'security.group-encryption', KeyInfo(can_disable=True)), |
| 5011 |
([('7.13', '>=')], 'security.group-key-update', KeyInfo(can_disable=True)), |
| 5012 |
([('7.13', '>=')], 'security.management-encryption', KeyInfo(can_disable=True)), |
| 5013 |
([('7.13', '>=')], 'security.management-protection', KeyInfo(can_disable=True)), |
| 5014 |
([('7.17', '>=')], 'security.multi-passphrase-group', KeyInfo(can_disable=True)), |
| 5015 |
([('7.13', '>=')], 'security.owe-transition-interface', KeyInfo(can_disable=True)), |
| 5016 |
([('7.13', '>=')], 'security.passphrase', KeyInfo(can_disable=True)), |
| 5017 |
([('7.13', '>=')], 'security.sae-anti-clogging-threshold', KeyInfo(can_disable=True)), |
| 5018 |
([('7.13', '>=')], 'security.sae-max-failure-rate', KeyInfo(can_disable=True)), |
| 5019 |
([('7.13', '>=')], 'security.sae-pwe', KeyInfo(can_disable=True)), |
| 5020 |
([('7.13', '>=')], 'security.wps', KeyInfo(can_disable=True)), |
| 5021 |
([('7.17', '>=')], 'station-roaming', KeyInfo(can_disable=True)), |
| 5022 |
([('7.18', '>=')], 'steering.2g-probe-delay', KeyInfo(can_disable=True)), |
| 5023 |
([('7.13', '>=')], 'steering.neighbor-group', KeyInfo(can_disable=True)), |
| 5024 |
([('7.13', '>=')], 'steering.rrm', KeyInfo(can_disable=True)), |
| 5025 |
([('7.21', '>=')], 'steering.transition-request-count', KeyInfo()), |
| 5026 |
([('7.21', '>=')], 'steering.transition-request-period', KeyInfo()), |
| 5027 |
([('7.21', '>=')], 'steering.transition-threshold', KeyInfo()), |
| 5028 |
([('7.21', '>=')], 'steering.transition-threshold-time', KeyInfo()), |
| 5029 |
([('7.21', '>=')], 'steering.transition-time', KeyInfo()), |
| 5030 |
([('7.13', '>=')], 'steering.wnm', KeyInfo(can_disable=True)), |
| 5031 |
], |
| 5032 |
fields={ |
| 5033 |
'aaa': KeyInfo(can_disable=True), |
| 5034 |
'antenna-gain': KeyInfo(can_disable=True), |
| 5035 |
'beacon-interval': KeyInfo(can_disable=True), |
| 5036 |
'chains': KeyInfo(can_disable=True), |
| 5037 |
'channel': KeyInfo(can_disable=True), |
| 5038 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5039 |
'country': KeyInfo(can_disable=True), |
| 5040 |
'datapath': KeyInfo(can_disable=True), |
| 5041 |
'disabled': KeyInfo(default=False), |
| 5042 |
'dtim-period': KeyInfo(can_disable=True), |
| 5043 |
'hide-ssid': KeyInfo(default=False), |
| 5044 |
'interworking': KeyInfo(can_disable=True), |
| 5045 |
'manager': KeyInfo(can_disable=True), |
| 5046 |
'mode': KeyInfo(can_disable=True), |
| 5047 |
'multicast-enhance': KeyInfo(can_disable=True), |
| 5048 |
'name': KeyInfo(), |
| 5049 |
'qos-classifier': KeyInfo(can_disable=True), |
| 5050 |
'security': KeyInfo(can_disable=True), |
| 5051 |
'ssid': KeyInfo(can_disable=True), |
| 5052 |
'steering': KeyInfo(can_disable=True), |
| 5053 |
'tx-chains': KeyInfo(can_disable=True), |
| 5054 |
'tx-power': KeyInfo(can_disable=True), |
| 5055 |
}, |
| 5056 |
)), |
| 5057 |
], |
| 5058 |
), |
| 5059 |
|
| 5060 |
('interface', 'wifi', 'datapath'): APIData( |
| 5061 |
versioned=[ |
| 5062 |
('7.13', '>=', VersionedAPIData( |
| 5063 |
fully_understood=True, |
| 5064 |
primary_keys=('name',), |
| 5065 |
versioned_fields=[ |
| 5066 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5067 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5068 |
([('7.20', '>=')], 'openflow-switch', KeyInfo()), |
| 5069 |
([('7.19', '>=')], 'traffic-processing', KeyInfo(can_disable=True)), |
| 5070 |
], |
| 5071 |
fields={ |
| 5072 |
'bridge': KeyInfo(can_disable=True), |
| 5073 |
'bridge-cost': KeyInfo(can_disable=True), |
| 5074 |
'bridge-horizon': KeyInfo(can_disable=True), |
| 5075 |
'client-isolation': KeyInfo(can_disable=True), |
| 5076 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5077 |
'disabled': KeyInfo(default=False), |
| 5078 |
'interface-list': KeyInfo(can_disable=True), |
| 5079 |
'name': KeyInfo(), |
| 5080 |
'vlan-id': KeyInfo(can_disable=True), |
| 5081 |
}, |
| 5082 |
)), |
| 5083 |
], |
| 5084 |
), |
| 5085 |
|
| 5086 |
('interface', 'wifi', 'interworking'): APIData( |
| 5087 |
versioned=[ |
| 5088 |
('7.13', '>=', VersionedAPIData( |
| 5089 |
fully_understood=True, |
| 5090 |
primary_keys=('name',), |
| 5091 |
versioned_fields=[ |
| 5092 |
([('7.21', '>=')], '3gpp-info-raw', KeyInfo()), |
| 5093 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5094 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5095 |
([('7.21', '>=')], 'realms-raw', KeyInfo()), |
| 5096 |
], |
| 5097 |
fields={ |
| 5098 |
'3gpp-info': KeyInfo(can_disable=True), |
| 5099 |
'authentication-types': KeyInfo(can_disable=True), |
| 5100 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5101 |
'connection-capabilities': KeyInfo(can_disable=True), |
| 5102 |
'disabled': KeyInfo(default=False), |
| 5103 |
'domain-names': KeyInfo(can_disable=True), |
| 5104 |
'esr': KeyInfo(can_disable=True), |
| 5105 |
'hessid': KeyInfo(can_disable=True), |
| 5106 |
'hotspot20': KeyInfo(can_disable=True), |
| 5107 |
'hotspot20-dgaf': KeyInfo(can_disable=True), |
| 5108 |
'internet': KeyInfo(can_disable=True), |
| 5109 |
'ipv4-availability': KeyInfo(can_disable=True), |
| 5110 |
'ipv6-availability': KeyInfo(can_disable=True), |
| 5111 |
'name': KeyInfo(), |
| 5112 |
'network-type': KeyInfo(can_disable=True), |
| 5113 |
'operational-classes': KeyInfo(can_disable=True), |
| 5114 |
'operator-names': KeyInfo(can_disable=True), |
| 5115 |
'realms': KeyInfo(can_disable=True), |
| 5116 |
'roaming-ois': KeyInfo(can_disable=True), |
| 5117 |
'uesa': KeyInfo(can_disable=True), |
| 5118 |
'venue': KeyInfo(can_disable=True), |
| 5119 |
'venue-names': KeyInfo(can_disable=True), |
| 5120 |
'wan-at-capacity': KeyInfo(can_disable=True), |
| 5121 |
'wan-downlink': KeyInfo(can_disable=True), |
| 5122 |
'wan-downlink-load': KeyInfo(can_disable=True), |
| 5123 |
'wan-measurement-duration': KeyInfo(can_disable=True), |
| 5124 |
'wan-status': KeyInfo(can_disable=True), |
| 5125 |
'wan-symmetric': KeyInfo(can_disable=True), |
| 5126 |
'wan-uplink': KeyInfo(can_disable=True), |
| 5127 |
'wan-uplink-load': KeyInfo(can_disable=True), |
| 5128 |
}, |
| 5129 |
)), |
| 5130 |
], |
| 5131 |
), |
| 5132 |
|
| 5133 |
('interface', 'wifi', 'network'): APIData( |
| 5134 |
versioned=[ |
| 5135 |
('7.22', '>=', VersionedAPIData( |
| 5136 |
fully_understood=True, |
| 5137 |
fields={ |
| 5138 |
'beacon-interval': KeyInfo(), |
| 5139 |
'comment': KeyInfo(), |
| 5140 |
# 'copy-from': KeyInfo(write_only=True), |
| 5141 |
'datapath.bridge': KeyInfo(), |
| 5142 |
'datapath.bridge-cost': KeyInfo(), |
| 5143 |
'datapath.bridge-horizon': KeyInfo(), |
| 5144 |
'datapath.client-isolation': KeyInfo(), |
| 5145 |
'datapath.interface-list': KeyInfo(), |
| 5146 |
'datapath.openflow-switch': KeyInfo(), |
| 5147 |
'datapath.traffic-processing': KeyInfo(), |
| 5148 |
'datapath.vlan-id': KeyInfo(), |
| 5149 |
'disabled': KeyInfo(), |
| 5150 |
'dtim-period': KeyInfo(), |
| 5151 |
'hide-ssid': KeyInfo(), |
| 5152 |
'hw-protection-mode': KeyInfo(), |
| 5153 |
'labels': KeyInfo(), |
| 5154 |
'max-clients': KeyInfo(), |
| 5155 |
'mlo': KeyInfo(), |
| 5156 |
'mode': KeyInfo(), |
| 5157 |
'multicast-enhance': KeyInfo(), |
| 5158 |
'numbers': KeyInfo(read_only=True), |
| 5159 |
'qos-classifier': KeyInfo(), |
| 5160 |
'security.authentication-types': KeyInfo(), |
| 5161 |
'security.beacon-protection': KeyInfo(), |
| 5162 |
'security.connect-group': KeyInfo(), |
| 5163 |
'security.connect-priority': KeyInfo(), |
| 5164 |
'security.dh-groups': KeyInfo(), |
| 5165 |
'security.disable-pmkid': KeyInfo(), |
| 5166 |
'security.eap-accounting': KeyInfo(), |
| 5167 |
'security.eap-anonymous-identity': KeyInfo(), |
| 5168 |
'security.eap-certificate-mode': KeyInfo(), |
| 5169 |
'security.eap-methods': KeyInfo(), |
| 5170 |
'security.eap-password': KeyInfo(), |
| 5171 |
'security.eap-tls-certificate': KeyInfo(), |
| 5172 |
'security.eap-username': KeyInfo(), |
| 5173 |
'security.encryption': KeyInfo(), |
| 5174 |
'security.ft': KeyInfo(), |
| 5175 |
'security.ft-mobility-domain': KeyInfo(), |
| 5176 |
'security.ft-nas-identifier': KeyInfo(), |
| 5177 |
'security.ft-over-ds': KeyInfo(), |
| 5178 |
'security.ft-preserve-vlanid': KeyInfo(), |
| 5179 |
'security.ft-r0-key-lifetime': KeyInfo(), |
| 5180 |
'security.ft-reassociation-deadline': KeyInfo(), |
| 5181 |
'security.group-encryption': KeyInfo(), |
| 5182 |
'security.group-key-update': KeyInfo(), |
| 5183 |
'security.management-encryption': KeyInfo(), |
| 5184 |
'security.management-protection': KeyInfo(), |
| 5185 |
'security.multi-passphrase-group': KeyInfo(), |
| 5186 |
'security.owe-transition-interface': KeyInfo(), |
| 5187 |
'security.passphrase': KeyInfo(), |
| 5188 |
'security.sae-anti-clogging-threshold': KeyInfo(), |
| 5189 |
'security.sae-max-failure-rate': KeyInfo(), |
| 5190 |
'security.sae-pwe': KeyInfo(), |
| 5191 |
'security.wps': KeyInfo(), |
| 5192 |
'ssid': KeyInfo(), |
| 5193 |
'station-roaming': KeyInfo(), |
| 5194 |
}, |
| 5195 |
)), |
| 5196 |
], |
| 5197 |
), |
| 5198 |
|
| 5199 |
('interface', 'wifi', 'network', 'radio'): APIData( |
| 5200 |
versioned=[ |
| 5201 |
('7.22', '>=', VersionedAPIData( |
| 5202 |
fully_understood=True, |
| 5203 |
fields={ |
| 5204 |
'channel.band': KeyInfo(), |
| 5205 |
'channel.deprioritize-unii-3-4': KeyInfo(), |
| 5206 |
'channel.frequency': KeyInfo(), |
| 5207 |
'channel.preamble-puncturing': KeyInfo(), |
| 5208 |
'channel.reselect-interval': KeyInfo(), |
| 5209 |
'channel.reselect-time': KeyInfo(), |
| 5210 |
'channel.secondary-frequency': KeyInfo(), |
| 5211 |
'channel.skip-dfs-channels': KeyInfo(), |
| 5212 |
'channel.width': KeyInfo(), |
| 5213 |
'comment': KeyInfo(), |
| 5214 |
'configuration.antenna-gain': KeyInfo(), |
| 5215 |
'configuration.chains': KeyInfo(), |
| 5216 |
'configuration.country': KeyInfo(), |
| 5217 |
'configuration.distance': KeyInfo(), |
| 5218 |
'configuration.installation': KeyInfo(), |
| 5219 |
'configuration.tx-chains': KeyInfo(), |
| 5220 |
'configuration.tx-power': KeyInfo(), |
| 5221 |
# 'copy-from': KeyInfo(write_only=True), |
| 5222 |
'disabled': KeyInfo(), |
| 5223 |
'extra-labels': KeyInfo(), |
| 5224 |
'labels': KeyInfo(), |
| 5225 |
'numbers': KeyInfo(read_only=True), |
| 5226 |
'security.authentication-types': KeyInfo(), |
| 5227 |
}, |
| 5228 |
)), |
| 5229 |
], |
| 5230 |
), |
| 5231 |
|
| 5232 |
('interface', 'wifi', 'provisioning'): APIData( |
| 5233 |
versioned=[ |
| 5234 |
('7.13', '>=', VersionedAPIData( |
| 5235 |
fully_understood=True, |
| 5236 |
versioned_fields=[ |
| 5237 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5238 |
([('7.22', '>=')], 'multi-link-mode', KeyInfo()), |
| 5239 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5240 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 5241 |
([('7.16', '>=')], 'slave-name-format', KeyInfo()), |
| 5242 |
([('7.22', '>=')], 'supported-hw-caps', KeyInfo()), |
| 5243 |
], |
| 5244 |
fields={ |
| 5245 |
'action': KeyInfo(default='none'), |
| 5246 |
'address-ranges': KeyInfo(can_disable=True), |
| 5247 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5248 |
'common-name-regexp': KeyInfo(can_disable=True), |
| 5249 |
'disabled': KeyInfo(default=False), |
| 5250 |
'identity-regexp': KeyInfo(can_disable=True), |
| 5251 |
'master-configuration': KeyInfo(can_disable=True), |
| 5252 |
'name-format': KeyInfo(), |
| 5253 |
'radio-mac': KeyInfo(can_disable=True), |
| 5254 |
'slave-configurations': KeyInfo(can_disable=True), |
| 5255 |
'supported-bands': KeyInfo(can_disable=True), |
| 5256 |
}, |
| 5257 |
)), |
| 5258 |
], |
| 5259 |
), |
| 5260 |
|
| 5261 |
('interface', 'wifi', 'radio', 'settings'): APIData( |
| 5262 |
versioned=[ |
| 5263 |
('7.17', '>=', VersionedAPIData( |
| 5264 |
fixed_entries=True, |
| 5265 |
fully_understood=True, |
| 5266 |
single_value=True, |
| 5267 |
fields={ |
| 5268 |
'external-antenna': KeyInfo(can_disable=True), |
| 5269 |
'wifi-band': KeyInfo(can_disable=True), |
| 5270 |
}, |
| 5271 |
)), |
| 5272 |
], |
| 5273 |
), |
| 5274 |
|
| 5275 |
('interface', 'wifi', 'security'): APIData( |
| 5276 |
versioned=[ |
| 5277 |
('7.13', '>=', VersionedAPIData( |
| 5278 |
fully_understood=True, |
| 5279 |
primary_keys=('name',), |
| 5280 |
versioned_fields=[ |
| 5281 |
([('7.21', '>=')], 'beacon-protection', KeyInfo()), |
| 5282 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5283 |
([('7.17', '>=')], 'multi-passphrase-group', KeyInfo(can_disable=True)), |
| 5284 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5285 |
], |
| 5286 |
fields={ |
| 5287 |
'authentication-types': KeyInfo(can_disable=True), |
| 5288 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5289 |
'connect-group': KeyInfo(can_disable=True), |
| 5290 |
'connect-priority': KeyInfo(can_disable=True), |
| 5291 |
'dh-groups': KeyInfo(can_disable=True), |
| 5292 |
'disable-pmkid': KeyInfo(can_disable=True), |
| 5293 |
'disabled': KeyInfo(default=False), |
| 5294 |
'eap-accounting': KeyInfo(can_disable=True), |
| 5295 |
'eap-anonymous-identity': KeyInfo(can_disable=True), |
| 5296 |
'eap-certificate-mode': KeyInfo(can_disable=True), |
| 5297 |
'eap-methods': KeyInfo(can_disable=True), |
| 5298 |
'eap-password': KeyInfo(can_disable=True), |
| 5299 |
'eap-tls-certificate': KeyInfo(can_disable=True), |
| 5300 |
'eap-username': KeyInfo(can_disable=True), |
| 5301 |
'encryption': KeyInfo(can_disable=True), |
| 5302 |
'ft': KeyInfo(can_disable=True), |
| 5303 |
'ft-mobility-domain': KeyInfo(can_disable=True), |
| 5304 |
'ft-nas-identifier': KeyInfo(can_disable=True), |
| 5305 |
'ft-over-ds': KeyInfo(can_disable=True), |
| 5306 |
'ft-preserve-vlanid': KeyInfo(can_disable=True), |
| 5307 |
'ft-r0-key-lifetime': KeyInfo(can_disable=True), |
| 5308 |
'ft-reassociation-deadline': KeyInfo(can_disable=True), |
| 5309 |
'group-encryption': KeyInfo(can_disable=True), |
| 5310 |
'group-key-update': KeyInfo(can_disable=True), |
| 5311 |
'management-encryption': KeyInfo(can_disable=True), |
| 5312 |
'management-protection': KeyInfo(can_disable=True), |
| 5313 |
'name': KeyInfo(), |
| 5314 |
'owe-transition-interface': KeyInfo(can_disable=True), |
| 5315 |
'passphrase': KeyInfo(can_disable=True), |
| 5316 |
'sae-anti-clogging-threshold': KeyInfo(can_disable=True), |
| 5317 |
'sae-max-failure-rate': KeyInfo(can_disable=True), |
| 5318 |
'sae-pwe': KeyInfo(can_disable=True), |
| 5319 |
'wps': KeyInfo(can_disable=True), |
| 5320 |
}, |
| 5321 |
)), |
| 5322 |
], |
| 5323 |
), |
| 5324 |
|
| 5325 |
('interface', 'wifi', 'security', 'multi-passphrase'): APIData( |
| 5326 |
versioned=[ |
| 5327 |
('7.17', '>=', VersionedAPIData( |
| 5328 |
fully_understood=True, |
| 5329 |
fields={ |
| 5330 |
'comment': KeyInfo(), |
| 5331 |
# 'copy-from': KeyInfo(write_only=True), |
| 5332 |
'disabled': KeyInfo(), |
| 5333 |
'expires': KeyInfo(can_disable=True), |
| 5334 |
'group': KeyInfo(), |
| 5335 |
'isolation': KeyInfo(can_disable=True), |
| 5336 |
'numbers': KeyInfo(read_only=True), |
| 5337 |
'passphrase': KeyInfo(), |
| 5338 |
'vlan-id': KeyInfo(can_disable=True), |
| 5339 |
}, |
| 5340 |
)), |
| 5341 |
], |
| 5342 |
), |
| 5343 |
|
| 5344 |
('interface', 'wifi', 'steering'): APIData( |
| 5345 |
versioned=[ |
| 5346 |
('7.13', '>=', VersionedAPIData( |
| 5347 |
fully_understood=True, |
| 5348 |
primary_keys=('name',), |
| 5349 |
versioned_fields=[ |
| 5350 |
([('7.18', '>=')], '2g-probe-delay', KeyInfo(can_disable=True)), |
| 5351 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5352 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5353 |
([('7.21', '>=')], 'transition-request-count', KeyInfo()), |
| 5354 |
([('7.21', '>=')], 'transition-request-period', KeyInfo()), |
| 5355 |
([('7.21', '>=')], 'transition-threshold', KeyInfo()), |
| 5356 |
([('7.21', '>=')], 'transition-threshold-time', KeyInfo()), |
| 5357 |
([('7.21', '>=')], 'transition-time', KeyInfo()), |
| 5358 |
], |
| 5359 |
fields={ |
| 5360 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5361 |
'disabled': KeyInfo(default=False), |
| 5362 |
'name': KeyInfo(), |
| 5363 |
'neighbor-group': KeyInfo(can_disable=True), |
| 5364 |
'rrm': KeyInfo(can_disable=True), |
| 5365 |
'wnm': KeyInfo(can_disable=True), |
| 5366 |
}, |
| 5367 |
)), |
| 5368 |
], |
| 5369 |
), |
| 5370 |
|
| 5371 |
('interface', 'wifi', 'steering', 'neighbor-group'): APIData( |
| 5372 |
versioned=[ |
| 5373 |
('7.15', '>=', VersionedAPIData( |
| 5374 |
# fixed_entries=True, |
| 5375 |
fully_understood=True, |
| 5376 |
has_identifier=True, |
| 5377 |
modify_not_supported=True, |
| 5378 |
# primary_keys=('numbers',), |
| 5379 |
fields={ |
| 5380 |
'comment': KeyInfo(), |
| 5381 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 5382 |
}, |
| 5383 |
)), |
| 5384 |
], |
| 5385 |
), |
| 5386 |
|
| 5387 |
('interface', 'wifiwave2'): APIData( |
| 5388 |
versioned=[ |
| 5389 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5390 |
('7.8', '>=', VersionedAPIData( |
| 5391 |
fully_understood=True, |
| 5392 |
primary_keys=('name',), |
| 5393 |
required_one_of=[['default-name', 'master-interface']], |
| 5394 |
fields={ |
| 5395 |
'aaa': KeyInfo(), |
| 5396 |
'arp': KeyInfo(default='enabled'), |
| 5397 |
'arp-timeout': KeyInfo(default='auto'), |
| 5398 |
'channel': KeyInfo(), |
| 5399 |
'configuration': KeyInfo(), |
| 5400 |
'datapath': KeyInfo(), |
| 5401 |
'default-name': KeyInfo(), |
| 5402 |
'disable-running-check': KeyInfo(default=False), |
| 5403 |
'interworking': KeyInfo(), |
| 5404 |
'l2mtu': KeyInfo(default=1600), |
| 5405 |
'mac-address': KeyInfo(), |
| 5406 |
'master-interface': KeyInfo(), |
| 5407 |
'mtu': KeyInfo(default=1500), |
| 5408 |
'name': KeyInfo(), |
| 5409 |
'security': KeyInfo(), |
| 5410 |
'steering': KeyInfo(), |
| 5411 |
}, |
| 5412 |
)), |
| 5413 |
], |
| 5414 |
), |
| 5415 |
|
| 5416 |
('interface', 'wifiwave2', 'aaa'): APIData( |
| 5417 |
versioned=[ |
| 5418 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5419 |
('7.8', '>=', VersionedAPIData( |
| 5420 |
fully_understood=True, |
| 5421 |
primary_keys=('name',), |
| 5422 |
fields={ |
| 5423 |
'called-format': KeyInfo(can_disable=True), |
| 5424 |
'calling-format': KeyInfo(can_disable=True), |
| 5425 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5426 |
'disabled': KeyInfo(default=True), |
| 5427 |
'interim-update': KeyInfo(can_disable=True), |
| 5428 |
'mac-caching': KeyInfo(can_disable=True), |
| 5429 |
'name': KeyInfo(), |
| 5430 |
'nas-identifier': KeyInfo(can_disable=True), |
| 5431 |
'password-format': KeyInfo(can_disable=True), |
| 5432 |
'username-format': KeyInfo(can_disable=True), |
| 5433 |
}, |
| 5434 |
)), |
| 5435 |
], |
| 5436 |
), |
| 5437 |
|
| 5438 |
('interface', 'wifiwave2', 'access-list'): APIData( |
| 5439 |
versioned=[ |
| 5440 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5441 |
('7.8', '>=', VersionedAPIData( |
| 5442 |
fully_understood=True, |
| 5443 |
fields={ |
| 5444 |
'action': KeyInfo(can_disable=True), |
| 5445 |
'allow-signal-out-of-range': KeyInfo(can_disable=True), |
| 5446 |
'client-isolation': KeyInfo(can_disable=True), |
| 5447 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5448 |
'disabled': KeyInfo(default=True), |
| 5449 |
'interface': KeyInfo(can_disable=True), |
| 5450 |
'mac-address': KeyInfo(can_disable=True), |
| 5451 |
'mac-address-mask': KeyInfo(can_disable=True), |
| 5452 |
'passphrase': KeyInfo(can_disable=True), |
| 5453 |
'radius-accounting': KeyInfo(can_disable=True), |
| 5454 |
'signal-range': KeyInfo(can_disable=True), |
| 5455 |
'ssid-regexp': KeyInfo(), |
| 5456 |
'time': KeyInfo(can_disable=True), |
| 5457 |
'vlan-id': KeyInfo(can_disable=True), |
| 5458 |
}, |
| 5459 |
)), |
| 5460 |
], |
| 5461 |
), |
| 5462 |
|
| 5463 |
('interface', 'wifiwave2', 'cap'): APIData( |
| 5464 |
versioned=[ |
| 5465 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5466 |
('7.8', '>=', VersionedAPIData( |
| 5467 |
fully_understood=True, |
| 5468 |
single_value=True, |
| 5469 |
fields={ |
| 5470 |
'caps-man-addresses': KeyInfo(default=''), |
| 5471 |
'caps-man-certificate-common-names': KeyInfo(default=''), |
| 5472 |
'caps-man-names': KeyInfo(default=''), |
| 5473 |
'certificate': KeyInfo(default='none'), |
| 5474 |
'discovery-interfaces': KeyInfo(default=''), |
| 5475 |
'enabled': KeyInfo(default=False), |
| 5476 |
'lock-to-caps-man': KeyInfo(default=False), |
| 5477 |
'slaves-datapath': KeyInfo(), |
| 5478 |
'slaves-static': KeyInfo(), |
| 5479 |
}, |
| 5480 |
)), |
| 5481 |
], |
| 5482 |
), |
| 5483 |
|
| 5484 |
('interface', 'wifiwave2', 'capsman'): APIData( |
| 5485 |
versioned=[ |
| 5486 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5487 |
('7.8', '>=', VersionedAPIData( |
| 5488 |
fully_understood=True, |
| 5489 |
single_value=True, |
| 5490 |
fields={ |
| 5491 |
'ca-certificate': KeyInfo(default=''), |
| 5492 |
'certificate': KeyInfo(default='none'), |
| 5493 |
'enabled': KeyInfo(default=False), |
| 5494 |
'interfaces': KeyInfo(default=''), |
| 5495 |
'package-path': KeyInfo(default=''), |
| 5496 |
'require-peer-certificate': KeyInfo(default=False), |
| 5497 |
'upgrade-policy': KeyInfo(default='none'), |
| 5498 |
}, |
| 5499 |
)), |
| 5500 |
], |
| 5501 |
), |
| 5502 |
|
| 5503 |
('interface', 'wifiwave2', 'channel'): APIData( |
| 5504 |
versioned=[ |
| 5505 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5506 |
('7.8', '>=', VersionedAPIData( |
| 5507 |
fully_understood=True, |
| 5508 |
primary_keys=('name',), |
| 5509 |
fields={ |
| 5510 |
'band': KeyInfo(), |
| 5511 |
'frequency': KeyInfo(), |
| 5512 |
'name': KeyInfo(), |
| 5513 |
'secondary-frequency': KeyInfo(), |
| 5514 |
'skip-dfs-channels': KeyInfo(default='disabled'), |
| 5515 |
'width': KeyInfo(), |
| 5516 |
}, |
| 5517 |
)), |
| 5518 |
], |
| 5519 |
), |
| 5520 |
|
| 5521 |
('interface', 'wifiwave2', 'configuration'): APIData( |
| 5522 |
versioned=[ |
| 5523 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5524 |
('7.8', '>=', VersionedAPIData( |
| 5525 |
fully_understood=True, |
| 5526 |
primary_keys=('name',), |
| 5527 |
fields={ |
| 5528 |
'aaa': KeyInfo(), |
| 5529 |
'antenna-gain': KeyInfo(), |
| 5530 |
'beacon-interval': KeyInfo(default=100), |
| 5531 |
'chains': KeyInfo(), |
| 5532 |
'channel': KeyInfo(), |
| 5533 |
'country': KeyInfo(default='United States'), |
| 5534 |
'datapath': KeyInfo(), |
| 5535 |
'dtim-period': KeyInfo(default=1), |
| 5536 |
'hide-ssid': KeyInfo(default=False), |
| 5537 |
'interworking': KeyInfo(), |
| 5538 |
'manager': KeyInfo(), |
| 5539 |
'mode': KeyInfo(default='ap'), |
| 5540 |
'name': KeyInfo(), |
| 5541 |
'security': KeyInfo(), |
| 5542 |
'ssid': KeyInfo(), |
| 5543 |
'steering': KeyInfo(), |
| 5544 |
'tx-chains': KeyInfo(), |
| 5545 |
'tx-power': KeyInfo(), |
| 5546 |
}, |
| 5547 |
)), |
| 5548 |
], |
| 5549 |
), |
| 5550 |
|
| 5551 |
('interface', 'wifiwave2', 'datapath'): APIData( |
| 5552 |
versioned=[ |
| 5553 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5554 |
('7.8', '>=', VersionedAPIData( |
| 5555 |
fully_understood=True, |
| 5556 |
primary_keys=('name',), |
| 5557 |
fields={ |
| 5558 |
'bridge': KeyInfo(), |
| 5559 |
'bridge-cost': KeyInfo(), |
| 5560 |
'bridge-horizon': KeyInfo(), |
| 5561 |
'client-isolation': KeyInfo(default=False), |
| 5562 |
'interface-list': KeyInfo(), |
| 5563 |
'name': KeyInfo(), |
| 5564 |
'openflow-switch': KeyInfo(), |
| 5565 |
'vlan-id': KeyInfo(), |
| 5566 |
}, |
| 5567 |
)), |
| 5568 |
], |
| 5569 |
), |
| 5570 |
|
| 5571 |
('interface', 'wifiwave2', 'interworking'): APIData( |
| 5572 |
versioned=[ |
| 5573 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5574 |
('7.8', '>=', VersionedAPIData( |
| 5575 |
fully_understood=True, |
| 5576 |
primary_keys=('name',), |
| 5577 |
fields={ |
| 5578 |
'3gpp-info': KeyInfo(), |
| 5579 |
'authentication-types': KeyInfo(), |
| 5580 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5581 |
'connection-capabilities': KeyInfo(), |
| 5582 |
'disabled': KeyInfo(default=False), |
| 5583 |
'domain-names': KeyInfo(), |
| 5584 |
'esr': KeyInfo(), |
| 5585 |
'hessid': KeyInfo(), |
| 5586 |
'hotspot20': KeyInfo(), |
| 5587 |
'hotspot20-dgaf': KeyInfo(), |
| 5588 |
'internet': KeyInfo(), |
| 5589 |
'ipv4-availability': KeyInfo(), |
| 5590 |
'ipv6-availability': KeyInfo(), |
| 5591 |
'name': KeyInfo(), |
| 5592 |
'network-type': KeyInfo(), |
| 5593 |
'operational-classes': KeyInfo(), |
| 5594 |
'operator-names': KeyInfo(), |
| 5595 |
'realms': KeyInfo(), |
| 5596 |
'roaming-ois': KeyInfo(), |
| 5597 |
'uesa': KeyInfo(), |
| 5598 |
'venue': KeyInfo(), |
| 5599 |
'venue-names': KeyInfo(), |
| 5600 |
'wan-at-capacity': KeyInfo(), |
| 5601 |
'wan-downlink': KeyInfo(), |
| 5602 |
'wan-downlink-load': KeyInfo(), |
| 5603 |
'wan-measurement-duration': KeyInfo(), |
| 5604 |
'wan-status': KeyInfo(), |
| 5605 |
'wan-symmetric': KeyInfo(), |
| 5606 |
'wan-uplink': KeyInfo(), |
| 5607 |
'wan-uplink-load': KeyInfo(), |
| 5608 |
}, |
| 5609 |
)), |
| 5610 |
], |
| 5611 |
), |
| 5612 |
|
| 5613 |
('interface', 'wifiwave2', 'provisioning'): APIData( |
| 5614 |
versioned=[ |
| 5615 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5616 |
('7.8', '>=', VersionedAPIData( |
| 5617 |
fully_understood=True, |
| 5618 |
primary_keys=('action',), |
| 5619 |
fields={ |
| 5620 |
'action': KeyInfo(default='none'), |
| 5621 |
'address-ranges': KeyInfo(), |
| 5622 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5623 |
'common-name-regexp': KeyInfo(), |
| 5624 |
'disabled': KeyInfo(default=False), |
| 5625 |
'identity-regexp': KeyInfo(), |
| 5626 |
'master-configuration': KeyInfo(), |
| 5627 |
'name-format': KeyInfo(), |
| 5628 |
'radio-mac': KeyInfo(), |
| 5629 |
'slave-configurations': KeyInfo(), |
| 5630 |
'supported-bands': KeyInfo(), |
| 5631 |
}, |
| 5632 |
)), |
| 5633 |
], |
| 5634 |
), |
| 5635 |
|
| 5636 |
('interface', 'wifiwave2', 'security'): APIData( |
| 5637 |
versioned=[ |
| 5638 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5639 |
('7.8', '>=', VersionedAPIData( |
| 5640 |
fully_understood=True, |
| 5641 |
primary_keys=('name',), |
| 5642 |
fields={ |
| 5643 |
'authentication-types': KeyInfo(), |
| 5644 |
'connect-group': KeyInfo(can_disable=True), |
| 5645 |
'connect-priority': KeyInfo(), |
| 5646 |
'dh-groups': KeyInfo(), |
| 5647 |
'disable-pmkid': KeyInfo(default=False), |
| 5648 |
'eap-accounting': KeyInfo(default=False), |
| 5649 |
'eap-anonymous-identity': KeyInfo(), |
| 5650 |
'eap-certificate-mode': KeyInfo(default='dont-verify-certificate'), |
| 5651 |
'eap-methods': KeyInfo(), |
| 5652 |
'eap-password': KeyInfo(), |
| 5653 |
'eap-tls-certificate': KeyInfo(), |
| 5654 |
'eap-username': KeyInfo(), |
| 5655 |
'encryption': KeyInfo(default='ccmp'), |
| 5656 |
'ft': KeyInfo(default=False), |
| 5657 |
'ft-mobility-domain': KeyInfo(default=44484), |
| 5658 |
'ft-nas-identifier': KeyInfo(), |
| 5659 |
'ft-over-ds': KeyInfo(default=False), |
| 5660 |
'ft-preserve-vlanid': KeyInfo(default=True), |
| 5661 |
'ft-r0-key-lifetime': KeyInfo(default='600000s'), |
| 5662 |
'ft-reassociation-deadline': KeyInfo(default='20s'), |
| 5663 |
'group-encryption': KeyInfo(default='ccmp'), |
| 5664 |
'group-key-update': KeyInfo(default='24h'), |
| 5665 |
'management-encryption': KeyInfo(default='cmac'), |
| 5666 |
'management-protection': KeyInfo(), |
| 5667 |
'name': KeyInfo(), |
| 5668 |
'owe-transition-interface': KeyInfo(), |
| 5669 |
'passphrase': KeyInfo(default=''), |
| 5670 |
'sae-anti-clogging-threshold': KeyInfo(can_disable=True), |
| 5671 |
'sae-max-failure-rate': KeyInfo(can_disable=True), |
| 5672 |
'sae-pwe': KeyInfo(default='both'), |
| 5673 |
'wps': KeyInfo(default='push-button'), |
| 5674 |
}, |
| 5675 |
)), |
| 5676 |
], |
| 5677 |
), |
| 5678 |
|
| 5679 |
('interface', 'wifiwave2', 'steering'): APIData( |
| 5680 |
versioned=[ |
| 5681 |
('7.13', '>=', 'RouterOS 7.13 uses WiFi package'), |
| 5682 |
('7.8', '>=', VersionedAPIData( |
| 5683 |
fully_understood=True, |
| 5684 |
primary_keys=('name',), |
| 5685 |
fields={ |
| 5686 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5687 |
'disabled': KeyInfo(default=False), |
| 5688 |
'name': KeyInfo(), |
| 5689 |
'neighbor-group': KeyInfo(), |
| 5690 |
'rrm': KeyInfo(), |
| 5691 |
'wnm': KeyInfo(), |
| 5692 |
}, |
| 5693 |
)), |
| 5694 |
], |
| 5695 |
), |
| 5696 |
|
| 5697 |
('interface', 'wireguard'): APIData( |
| 5698 |
unversioned=VersionedAPIData( |
| 5699 |
fully_understood=True, |
| 5700 |
primary_keys=('name',), |
| 5701 |
versioned_fields=[ |
| 5702 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5703 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5704 |
([('7.21', '>=')], 'vrf', KeyInfo()), |
| 5705 |
], |
| 5706 |
fields={ |
| 5707 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5708 |
'disabled': KeyInfo(default=False), |
| 5709 |
'listen-port': KeyInfo(), |
| 5710 |
'mtu': KeyInfo(default=1420), |
| 5711 |
'name': KeyInfo(), |
| 5712 |
'private-key': KeyInfo(), |
| 5713 |
}, |
| 5714 |
), |
| 5715 |
), |
| 5716 |
|
| 5717 |
('interface', 'wireguard', 'peers'): APIData( |
| 5718 |
unversioned=VersionedAPIData( |
| 5719 |
fully_understood=True, |
| 5720 |
primary_keys=('public-key', 'interface'), |
| 5721 |
versioned_fields=[ |
| 5722 |
([('7.15', '>=')], 'client-address', KeyInfo()), |
| 5723 |
([('7.21', '>=')], 'client-allowed-address', KeyInfo()), |
| 5724 |
([('7.15', '>=')], 'client-dns', KeyInfo()), |
| 5725 |
([('7.15', '>=')], 'client-endpoint', KeyInfo()), |
| 5726 |
([('7.15', '>=')], 'client-keepalive', KeyInfo()), |
| 5727 |
([('7.15', '>=')], 'client-listen-port', KeyInfo()), |
| 5728 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5729 |
([('7.17', '<'), ('7.15', '>=')], 'is-responder', KeyInfo()), |
| 5730 |
([('7.15', '>=')], 'name', KeyInfo()), |
| 5731 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5732 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 5733 |
([('7.15', '>=')], 'private-key', KeyInfo()), |
| 5734 |
([('7.17', '>=')], 'responder', KeyInfo()), |
| 5735 |
], |
| 5736 |
fields={ |
| 5737 |
'allowed-address': KeyInfo(required=True), |
| 5738 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5739 |
'disabled': KeyInfo(default=False), |
| 5740 |
'endpoint-address': KeyInfo(default=''), |
| 5741 |
'endpoint-port': KeyInfo(default=0), |
| 5742 |
'interface': KeyInfo(), |
| 5743 |
'persistent-keepalive': KeyInfo(can_disable=True, remove_value=0), |
| 5744 |
'preshared-key': KeyInfo(can_disable=True, remove_value=''), |
| 5745 |
'public-key': KeyInfo(), |
| 5746 |
}, |
| 5747 |
), |
| 5748 |
), |
| 5749 |
|
| 5750 |
('interface', 'wireless'): APIData( |
| 5751 |
unversioned=VersionedAPIData( |
| 5752 |
fully_understood=True, |
| 5753 |
primary_keys=('name',), |
| 5754 |
required_one_of=[['default-name', 'master-interface']], |
| 5755 |
versioned_fields=[ |
| 5756 |
([('7.15', '>=')], 'burst-time', KeyInfo()), |
| 5757 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5758 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5759 |
([('7.15', '>=')], 'prism-cardtype', KeyInfo()), |
| 5760 |
([('7.15', '>=')], 'vht-basic-mcs', KeyInfo()), |
| 5761 |
([('7.15', '>=')], 'vht-supported-mcs', KeyInfo()), |
| 5762 |
], |
| 5763 |
fields={ |
| 5764 |
'adaptive-noise-immunity': KeyInfo(default='none'), |
| 5765 |
'allow-sharedkey': KeyInfo(default=False), |
| 5766 |
'ampdu-priorities': KeyInfo(default=0), |
| 5767 |
'amsdu-limit': KeyInfo(default=8192), |
| 5768 |
'amsdu-threshold': KeyInfo(default=8192), |
| 5769 |
'antenna-gain': KeyInfo(default=0), |
| 5770 |
'antenna-mode': KeyInfo(), |
| 5771 |
'area': KeyInfo(default=''), |
| 5772 |
'arp': KeyInfo(default='enabled'), |
| 5773 |
'arp-timeout': KeyInfo(default='auto'), |
| 5774 |
'band': KeyInfo(), |
| 5775 |
'basic-rates-a/g': KeyInfo(default='6Mbps'), |
| 5776 |
'basic-rates-b': KeyInfo(default='1Mbps'), |
| 5777 |
'bridge-mode': KeyInfo(default='enabled'), |
| 5778 |
'channel-width': KeyInfo(default='20mhz'), |
| 5779 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5780 |
'compression': KeyInfo(default=False), |
| 5781 |
'country': KeyInfo(default='etsi'), |
| 5782 |
'default-ap-tx-limit': KeyInfo(default=0), |
| 5783 |
'default-authentication': KeyInfo(default=True), |
| 5784 |
'default-client-tx-limit': KeyInfo(default=0), |
| 5785 |
'default-forwarding': KeyInfo(default=True), |
| 5786 |
'default-name': KeyInfo(), |
| 5787 |
'disable-running-check': KeyInfo(default=False), |
| 5788 |
'disabled': KeyInfo(default=True), |
| 5789 |
'disconnect-timeout': KeyInfo(default='3s'), |
| 5790 |
'distance': KeyInfo(default='dynamic'), |
| 5791 |
'frame-lifetime': KeyInfo(default=0), |
| 5792 |
'frequency': KeyInfo(), |
| 5793 |
'frequency-mode': KeyInfo(default='regulatory-domain'), |
| 5794 |
'frequency-offset': KeyInfo(default=0), |
| 5795 |
'guard-interval': KeyInfo(default='any'), |
| 5796 |
'hide-ssid': KeyInfo(default=False), |
| 5797 |
'ht-basic-mcs': KeyInfo(), |
| 5798 |
'ht-supported-mcs': KeyInfo(), |
| 5799 |
'hw-fragmentation-threshold': KeyInfo(default='disabled'), |
| 5800 |
'hw-protection-mode': KeyInfo(default='none'), |
| 5801 |
'hw-protection-threshold': KeyInfo(default=0), |
| 5802 |
'hw-retries': KeyInfo(default=7), |
| 5803 |
'installation': KeyInfo(default='any'), |
| 5804 |
'interworking-profile': KeyInfo(default='disabled'), |
| 5805 |
'keepalive-frames': KeyInfo(default='enabled'), |
| 5806 |
'l2mtu': KeyInfo(default=1600), |
| 5807 |
'mac-address': KeyInfo(), |
| 5808 |
'master-interface': KeyInfo(), |
| 5809 |
'max-station-count': KeyInfo(default=2007), |
| 5810 |
'mode': KeyInfo(default='ap-bridge'), |
| 5811 |
'mtu': KeyInfo(default=1500), |
| 5812 |
'multicast-buffering': KeyInfo(default='enabled'), |
| 5813 |
'multicast-helper': KeyInfo(default='default'), |
| 5814 |
'name': KeyInfo(), |
| 5815 |
'noise-floor-threshold': KeyInfo(default='default'), |
| 5816 |
'nv2-cell-radius': KeyInfo(default=30), |
| 5817 |
'nv2-downlink-ratio': KeyInfo(default=50), |
| 5818 |
'nv2-mode': KeyInfo(default='dynamic-downlink'), |
| 5819 |
'nv2-noise-floor-offset': KeyInfo(default='default'), |
| 5820 |
'nv2-preshared-key': KeyInfo(default=''), |
| 5821 |
'nv2-qos': KeyInfo(default='default'), |
| 5822 |
'nv2-queue-count': KeyInfo(default=2), |
| 5823 |
'nv2-security': KeyInfo(default='disabled'), |
| 5824 |
'nv2-sync-secret': KeyInfo(default=''), |
| 5825 |
'on-fail-retry-time': KeyInfo(default='100ms'), |
| 5826 |
'preamble-mode': KeyInfo(default='both'), |
| 5827 |
'radio-name': KeyInfo(), |
| 5828 |
'rate-selection': KeyInfo(default='advanced'), |
| 5829 |
'rate-set': KeyInfo(default='default'), |
| 5830 |
'running': KeyInfo(read_only=True), |
| 5831 |
'rx-chains': KeyInfo(default='0,1'), |
| 5832 |
'scan-list': KeyInfo(default='default'), |
| 5833 |
'secondary-frequency': KeyInfo(default=''), |
| 5834 |
'security-profile': KeyInfo(default='default'), |
| 5835 |
'skip-dfs-channels': KeyInfo(default='disabled'), |
| 5836 |
'ssid': KeyInfo(required=True), |
| 5837 |
'station-bridge-clone-mac': KeyInfo(), |
| 5838 |
'station-roaming': KeyInfo(default='disabled'), |
| 5839 |
'supported-rates-a/g': KeyInfo(), |
| 5840 |
'supported-rates-b': KeyInfo(), |
| 5841 |
'tdma-period-size': KeyInfo(default=2), |
| 5842 |
'tx-chains': KeyInfo(), |
| 5843 |
'tx-power': KeyInfo(default=''), |
| 5844 |
'tx-power-mode': KeyInfo(default='default'), |
| 5845 |
'update-stats-interval': KeyInfo(default='disabled'), |
| 5846 |
'vlan-id': KeyInfo(default=1), |
| 5847 |
'vlan-mode': KeyInfo(default='no-tag'), |
| 5848 |
'wds-cost-range': KeyInfo(default='50-150'), |
| 5849 |
'wds-default-bridge': KeyInfo(default='none'), |
| 5850 |
'wds-default-cost': KeyInfo(default=100), |
| 5851 |
'wds-ignore-ssid': KeyInfo(default=False), |
| 5852 |
'wds-mode': KeyInfo(default='disabled'), |
| 5853 |
'wireless-protocol': KeyInfo(default='any'), |
| 5854 |
'wmm-support': KeyInfo(default='disabled'), |
| 5855 |
'wps-mode': KeyInfo(default='push-button'), |
| 5856 |
}, |
| 5857 |
), |
| 5858 |
), |
| 5859 |
|
| 5860 |
('interface', 'wireless', 'access-list'): APIData( |
| 5861 |
unversioned=VersionedAPIData( |
| 5862 |
fully_understood=True, |
| 5863 |
versioned_fields=[ |
| 5864 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5865 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5866 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 5867 |
], |
| 5868 |
fields={ |
| 5869 |
'allow-signal-out-of-range': KeyInfo(default='10s'), |
| 5870 |
'ap-tx-limit': KeyInfo(default=0), |
| 5871 |
'authentication': KeyInfo(default=True), |
| 5872 |
'client-tx-limit': KeyInfo(default=0), |
| 5873 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5874 |
'disabled': KeyInfo(default=False), |
| 5875 |
'forwarding': KeyInfo(default=True), |
| 5876 |
'interface': KeyInfo(default='any'), |
| 5877 |
'mac-address': KeyInfo(default='00:00:00:00:00:00'), |
| 5878 |
'management-protection-key': KeyInfo(default=''), |
| 5879 |
'private-algo': KeyInfo(default='none'), |
| 5880 |
'private-key': KeyInfo(default=''), |
| 5881 |
'private-pre-shared-key': KeyInfo(default=''), |
| 5882 |
'signal-range': KeyInfo(default='-120..120'), |
| 5883 |
'time': KeyInfo(can_disable=True), |
| 5884 |
'vlan-id': KeyInfo(default=1), |
| 5885 |
'vlan-mode': KeyInfo(default='default'), |
| 5886 |
}, |
| 5887 |
), |
| 5888 |
), |
| 5889 |
|
| 5890 |
('interface', 'wireless', 'align'): APIData( |
| 5891 |
unversioned=VersionedAPIData( |
| 5892 |
fixed_entries=True, |
| 5893 |
fully_understood=True, |
| 5894 |
single_value=True, |
| 5895 |
fields={ |
| 5896 |
'active-mode': KeyInfo(default=True), |
| 5897 |
'audio-max': KeyInfo(default=-20), |
| 5898 |
'audio-min': KeyInfo(default=-100), |
| 5899 |
'audio-monitor': KeyInfo(default='00:00:00:00:00:00'), |
| 5900 |
'filter-mac': KeyInfo(default='00:00:00:00:00:00'), |
| 5901 |
'frame-size': KeyInfo(default=300), |
| 5902 |
'frames-per-second': KeyInfo(default=25), |
| 5903 |
'receive-all': KeyInfo(default=False), |
| 5904 |
'ssid-all': KeyInfo(default=False), |
| 5905 |
}, |
| 5906 |
), |
| 5907 |
), |
| 5908 |
|
| 5909 |
('interface', 'wireless', 'cap'): APIData( |
| 5910 |
unversioned=VersionedAPIData( |
| 5911 |
fixed_entries=True, |
| 5912 |
fully_understood=True, |
| 5913 |
single_value=True, |
| 5914 |
fields={ |
| 5915 |
'bridge': KeyInfo(default='none'), |
| 5916 |
'caps-man-addresses': KeyInfo(default=''), |
| 5917 |
'caps-man-certificate-common-names': KeyInfo(default=''), |
| 5918 |
'caps-man-names': KeyInfo(default=''), |
| 5919 |
'certificate': KeyInfo(default='none'), |
| 5920 |
'discovery-interfaces': KeyInfo(default=''), |
| 5921 |
'enabled': KeyInfo(default=False), |
| 5922 |
'interfaces': KeyInfo(default=''), |
| 5923 |
'lock-to-caps-man': KeyInfo(default=False), |
| 5924 |
'static-virtual': KeyInfo(default=False), |
| 5925 |
}, |
| 5926 |
), |
| 5927 |
), |
| 5928 |
|
| 5929 |
('interface', 'wireless', 'channels'): APIData( |
| 5930 |
versioned=[ |
| 5931 |
('7.15', '>=', VersionedAPIData( |
| 5932 |
fully_understood=True, |
| 5933 |
versioned_fields=[ |
| 5934 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5935 |
], |
| 5936 |
fields={ |
| 5937 |
'band': KeyInfo(), |
| 5938 |
'comment': KeyInfo(), |
| 5939 |
# 'copy-from': KeyInfo(write_only=True), |
| 5940 |
'disabled': KeyInfo(), |
| 5941 |
'extension-channel': KeyInfo(), |
| 5942 |
'frequency': KeyInfo(), |
| 5943 |
'list': KeyInfo(), |
| 5944 |
'name': KeyInfo(), |
| 5945 |
# 'place-before': KeyInfo(write_only=True), |
| 5946 |
'width': KeyInfo(), |
| 5947 |
}, |
| 5948 |
)), |
| 5949 |
], |
| 5950 |
), |
| 5951 |
|
| 5952 |
('interface', 'wireless', 'connect-list'): APIData( |
| 5953 |
unversioned=VersionedAPIData( |
| 5954 |
fully_understood=True, |
| 5955 |
versioned_fields=[ |
| 5956 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 5957 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5958 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 5959 |
], |
| 5960 |
fields={ |
| 5961 |
'3gpp': KeyInfo(default=''), |
| 5962 |
'allow-signal-out-of-range': KeyInfo(default='10s'), |
| 5963 |
'area-prefix': KeyInfo(default=''), |
| 5964 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 5965 |
'connect': KeyInfo(default=True), |
| 5966 |
'disabled': KeyInfo(default=False), |
| 5967 |
'interface': KeyInfo(required=True), |
| 5968 |
'interworking': KeyInfo(default='any'), |
| 5969 |
'iw-asra': KeyInfo(default='any'), |
| 5970 |
'iw-authentication-types': KeyInfo(), |
| 5971 |
'iw-connection-capabilities': KeyInfo(), |
| 5972 |
'iw-esr': KeyInfo(default='any'), |
| 5973 |
'iw-hessid': KeyInfo(default='00:00:00:00:00:00'), |
| 5974 |
'iw-hotspot20': KeyInfo(default='any'), |
| 5975 |
'iw-hotspot20-dgaf': KeyInfo(default='any'), |
| 5976 |
'iw-internet': KeyInfo(default='any'), |
| 5977 |
'iw-ipv4-availability': KeyInfo(default='any'), |
| 5978 |
'iw-ipv6-availability': KeyInfo(default='any'), |
| 5979 |
'iw-network-type': KeyInfo(default='wildcard'), |
| 5980 |
'iw-realms': KeyInfo(), |
| 5981 |
'iw-roaming-ois': KeyInfo(default=''), |
| 5982 |
'iw-uesa': KeyInfo(default='any'), |
| 5983 |
'iw-venue': KeyInfo(default='any'), |
| 5984 |
'mac-address': KeyInfo(default='00:00:00:00:00:00'), |
| 5985 |
'security-profile': KeyInfo(default='none'), |
| 5986 |
'signal-range': KeyInfo(default='-120..120'), |
| 5987 |
'ssid': KeyInfo(default=''), |
| 5988 |
'wireless-protocol': KeyInfo(default='any'), |
| 5989 |
}, |
| 5990 |
), |
| 5991 |
), |
| 5992 |
|
| 5993 |
('interface', 'wireless', 'interworking-profiles'): APIData( |
| 5994 |
versioned=[ |
| 5995 |
('7.15', '>=', VersionedAPIData( |
| 5996 |
fully_understood=True, |
| 5997 |
versioned_fields=[ |
| 5998 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 5999 |
], |
| 6000 |
fields={ |
| 6001 |
'3gpp-info': KeyInfo(), |
| 6002 |
'3gpp-raw': KeyInfo(), |
| 6003 |
'asra': KeyInfo(), |
| 6004 |
'authentication-types': KeyInfo(), |
| 6005 |
'comment': KeyInfo(), |
| 6006 |
'connection-capabilities': KeyInfo(), |
| 6007 |
# 'copy-from': KeyInfo(write_only=True), |
| 6008 |
'domain-names': KeyInfo(), |
| 6009 |
'esr': KeyInfo(), |
| 6010 |
'hessid': KeyInfo(), |
| 6011 |
'hotspot20': KeyInfo(), |
| 6012 |
'hotspot20-dgaf': KeyInfo(), |
| 6013 |
'internet': KeyInfo(), |
| 6014 |
'ipv4-availability': KeyInfo(), |
| 6015 |
'ipv6-availability': KeyInfo(), |
| 6016 |
'name': KeyInfo(), |
| 6017 |
'network-type': KeyInfo(), |
| 6018 |
'operational-classes': KeyInfo(), |
| 6019 |
'operator-names': KeyInfo(), |
| 6020 |
'realms': KeyInfo(), |
| 6021 |
'realms-raw': KeyInfo(), |
| 6022 |
'roaming-ois': KeyInfo(), |
| 6023 |
'uesa': KeyInfo(), |
| 6024 |
'venue': KeyInfo(), |
| 6025 |
'venue-names': KeyInfo(), |
| 6026 |
'wan-at-capacity': KeyInfo(), |
| 6027 |
'wan-downlink': KeyInfo(), |
| 6028 |
'wan-downlink-load': KeyInfo(), |
| 6029 |
'wan-measurement-duration': KeyInfo(), |
| 6030 |
'wan-status': KeyInfo(), |
| 6031 |
'wan-symmetric': KeyInfo(), |
| 6032 |
'wan-uplink': KeyInfo(), |
| 6033 |
'wan-uplink-load': KeyInfo(), |
| 6034 |
}, |
| 6035 |
)), |
| 6036 |
], |
| 6037 |
), |
| 6038 |
|
| 6039 |
('interface', 'wireless', 'manual-tx-power-table'): APIData( |
| 6040 |
versioned=[ |
| 6041 |
('7.15', '>=', VersionedAPIData( |
| 6042 |
# fixed_entries=True, |
| 6043 |
fully_understood=True, |
| 6044 |
has_identifier=True, |
| 6045 |
# primary_keys=('numbers',), |
| 6046 |
fields={ |
| 6047 |
'comment': KeyInfo(), |
| 6048 |
'manual-tx-powers': KeyInfo(), |
| 6049 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6050 |
}, |
| 6051 |
)), |
| 6052 |
], |
| 6053 |
), |
| 6054 |
|
| 6055 |
('interface', 'wireless', 'nstreme'): APIData( |
| 6056 |
versioned=[ |
| 6057 |
('7.15', '>=', VersionedAPIData( |
| 6058 |
# fixed_entries=True, |
| 6059 |
fully_understood=True, |
| 6060 |
has_identifier=True, |
| 6061 |
# primary_keys=('numbers',), |
| 6062 |
fields={ |
| 6063 |
'comment': KeyInfo(), |
| 6064 |
'disable-csma': KeyInfo(), |
| 6065 |
'enable-nstreme': KeyInfo(), |
| 6066 |
'enable-polling': KeyInfo(), |
| 6067 |
'framer-limit': KeyInfo(), |
| 6068 |
'framer-policy': KeyInfo(), |
| 6069 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6070 |
}, |
| 6071 |
)), |
| 6072 |
], |
| 6073 |
), |
| 6074 |
|
| 6075 |
('interface', 'wireless', 'nstreme-dual'): APIData( |
| 6076 |
versioned=[ |
| 6077 |
('7.15', '>=', VersionedAPIData( |
| 6078 |
fully_understood=True, |
| 6079 |
versioned_fields=[ |
| 6080 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6081 |
], |
| 6082 |
fields={ |
| 6083 |
'arp': KeyInfo(), |
| 6084 |
'arp-timeout': KeyInfo(), |
| 6085 |
'comment': KeyInfo(), |
| 6086 |
# 'copy-from': KeyInfo(write_only=True), |
| 6087 |
'disable-csma': KeyInfo(), |
| 6088 |
'disable-running-check': KeyInfo(), |
| 6089 |
'disabled': KeyInfo(), |
| 6090 |
'framer-limit': KeyInfo(), |
| 6091 |
'framer-policy': KeyInfo(), |
| 6092 |
'ht-channel-width': KeyInfo(), |
| 6093 |
'ht-guard-interval': KeyInfo(), |
| 6094 |
'ht-rates': KeyInfo(), |
| 6095 |
'ht-streams': KeyInfo(), |
| 6096 |
'l2mtu': KeyInfo(), |
| 6097 |
'mtu': KeyInfo(), |
| 6098 |
'name': KeyInfo(), |
| 6099 |
'rates-a/g': KeyInfo(), |
| 6100 |
'rates-b': KeyInfo(), |
| 6101 |
'remote-mac': KeyInfo(), |
| 6102 |
'rx-band': KeyInfo(), |
| 6103 |
'rx-channel-width': KeyInfo(), |
| 6104 |
'rx-frequency': KeyInfo(), |
| 6105 |
'rx-radio': KeyInfo(), |
| 6106 |
'tx-band': KeyInfo(), |
| 6107 |
'tx-channel-width': KeyInfo(), |
| 6108 |
'tx-frequency': KeyInfo(), |
| 6109 |
'tx-radio': KeyInfo(), |
| 6110 |
}, |
| 6111 |
)), |
| 6112 |
], |
| 6113 |
), |
| 6114 |
|
| 6115 |
('interface', 'wireless', 'security-profiles'): APIData( |
| 6116 |
unversioned=VersionedAPIData( |
| 6117 |
fully_understood=True, |
| 6118 |
primary_keys=('name',), |
| 6119 |
versioned_fields=[ |
| 6120 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 6121 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6122 |
([('7.15', '<')], 'disabled', KeyInfo(default=True)), |
| 6123 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6124 |
], |
| 6125 |
fields={ |
| 6126 |
'authentication-types': KeyInfo(), |
| 6127 |
'disable-pmkid': KeyInfo(default=False), |
| 6128 |
'eap-methods': KeyInfo(), |
| 6129 |
'group-ciphers': KeyInfo(), |
| 6130 |
'group-key-update': KeyInfo(default='5m'), |
| 6131 |
'interim-update': KeyInfo(), |
| 6132 |
'management-protection': KeyInfo(default='disabled'), |
| 6133 |
'management-protection-key': KeyInfo(default=''), |
| 6134 |
'mode': KeyInfo(default='none'), |
| 6135 |
'mschapv2-password': KeyInfo(default=''), |
| 6136 |
'mschapv2-username': KeyInfo(default=''), |
| 6137 |
'name': KeyInfo(), |
| 6138 |
'radius-called-format': KeyInfo(), |
| 6139 |
'radius-eap-accounting': KeyInfo(default=False), |
| 6140 |
'radius-mac-accounting': KeyInfo(default=False), |
| 6141 |
'radius-mac-authentication': KeyInfo(default=False), |
| 6142 |
'radius-mac-caching': KeyInfo(default='disabled'), |
| 6143 |
'radius-mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'), |
| 6144 |
'radius-mac-mode': KeyInfo(default='as-username'), |
| 6145 |
'static-algo-0': KeyInfo(default='none'), |
| 6146 |
'static-algo-1': KeyInfo(default='none'), |
| 6147 |
'static-algo-2': KeyInfo(default='none'), |
| 6148 |
'static-algo-3': KeyInfo(default='none'), |
| 6149 |
'static-key-0': KeyInfo(), |
| 6150 |
'static-key-1': KeyInfo(), |
| 6151 |
'static-key-2': KeyInfo(), |
| 6152 |
'static-key-3': KeyInfo(), |
| 6153 |
'static-sta-private-algo': KeyInfo(default='none'), |
| 6154 |
'static-sta-private-key': KeyInfo(), |
| 6155 |
'static-transmit-key': KeyInfo(), |
| 6156 |
'supplicant-identity': KeyInfo(default='MikroTik'), |
| 6157 |
'tls-certificate': KeyInfo(default='none'), |
| 6158 |
'tls-mode': KeyInfo(), |
| 6159 |
'unicast-ciphers': KeyInfo(), |
| 6160 |
'wpa-pre-shared-key': KeyInfo(), |
| 6161 |
'wpa2-pre-shared-key': KeyInfo(), |
| 6162 |
}, |
| 6163 |
), |
| 6164 |
), |
| 6165 |
|
| 6166 |
('interface', 'wireless', 'sniffer'): APIData( |
| 6167 |
unversioned=VersionedAPIData( |
| 6168 |
fixed_entries=True, |
| 6169 |
fully_understood=True, |
| 6170 |
single_value=True, |
| 6171 |
fields={ |
| 6172 |
'channel-time': KeyInfo(default='200ms'), |
| 6173 |
'file-limit': KeyInfo(default=10), |
| 6174 |
'file-name': KeyInfo(default=''), |
| 6175 |
'memory-limit': KeyInfo(default=10), |
| 6176 |
'multiple-channels': KeyInfo(default=False), |
| 6177 |
'only-headers': KeyInfo(default=False), |
| 6178 |
'receive-errors': KeyInfo(default=False), |
| 6179 |
'streaming-enabled': KeyInfo(default=False), |
| 6180 |
'streaming-max-rate': KeyInfo(default=0), |
| 6181 |
'streaming-server': KeyInfo(default='0.0.0.0'), |
| 6182 |
}, |
| 6183 |
), |
| 6184 |
), |
| 6185 |
|
| 6186 |
('interface', 'wireless', 'snooper'): APIData( |
| 6187 |
unversioned=VersionedAPIData( |
| 6188 |
fixed_entries=True, |
| 6189 |
fully_understood=True, |
| 6190 |
single_value=True, |
| 6191 |
fields={ |
| 6192 |
'channel-time': KeyInfo(default='200ms'), |
| 6193 |
'multiple-channels': KeyInfo(default=True), |
| 6194 |
'receive-errors': KeyInfo(default=False), |
| 6195 |
}, |
| 6196 |
), |
| 6197 |
), |
| 6198 |
|
| 6199 |
('interface', 'wireless', 'wds'): APIData( |
| 6200 |
versioned=[ |
| 6201 |
('7.15', '>=', VersionedAPIData( |
| 6202 |
fully_understood=True, |
| 6203 |
versioned_fields=[ |
| 6204 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6205 |
], |
| 6206 |
fields={ |
| 6207 |
'arp': KeyInfo(), |
| 6208 |
'arp-timeout': KeyInfo(), |
| 6209 |
'comment': KeyInfo(), |
| 6210 |
# 'copy-from': KeyInfo(write_only=True), |
| 6211 |
'disable-running-check': KeyInfo(), |
| 6212 |
'disabled': KeyInfo(), |
| 6213 |
'l2mtu': KeyInfo(), |
| 6214 |
'master-interface': KeyInfo(), |
| 6215 |
'mtu': KeyInfo(), |
| 6216 |
'name': KeyInfo(), |
| 6217 |
'wds-address': KeyInfo(), |
| 6218 |
}, |
| 6219 |
)), |
| 6220 |
], |
| 6221 |
), |
| 6222 |
|
| 6223 |
('iot', 'bluetooth'): APIData( |
| 6224 |
versioned=[ |
| 6225 |
('7.15', '>=', VersionedAPIData( |
| 6226 |
# fixed_entries=True, |
| 6227 |
fully_understood=True, |
| 6228 |
has_identifier=True, |
| 6229 |
# primary_keys=('numbers',), |
| 6230 |
fields={ |
| 6231 |
'antenna': KeyInfo(), |
| 6232 |
'name': KeyInfo(), |
| 6233 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6234 |
'random-static-address': KeyInfo(), |
| 6235 |
}, |
| 6236 |
)), |
| 6237 |
], |
| 6238 |
), |
| 6239 |
|
| 6240 |
('iot', 'bluetooth', 'advertisers'): APIData( |
| 6241 |
versioned=[ |
| 6242 |
('7.15', '>=', VersionedAPIData( |
| 6243 |
# fixed_entries=True, |
| 6244 |
fully_understood=True, |
| 6245 |
has_identifier=True, |
| 6246 |
# primary_keys=('numbers',), |
| 6247 |
versioned_fields=[ |
| 6248 |
([('7.21', '>=')], 'legacy', KeyInfo()), |
| 6249 |
([('7.21', '>=')], 'phy', KeyInfo()), |
| 6250 |
], |
| 6251 |
fields={ |
| 6252 |
'ad-structures': KeyInfo(), |
| 6253 |
'channel-map': KeyInfo(), |
| 6254 |
'disabled': KeyInfo(), |
| 6255 |
'max-interval': KeyInfo(), |
| 6256 |
'min-interval': KeyInfo(), |
| 6257 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6258 |
'own-address-type': KeyInfo(), |
| 6259 |
}, |
| 6260 |
)), |
| 6261 |
], |
| 6262 |
), |
| 6263 |
|
| 6264 |
('iot', 'bluetooth', 'advertisers', 'ad-structures'): APIData( |
| 6265 |
versioned=[ |
| 6266 |
('7.15', '>=', VersionedAPIData( |
| 6267 |
fully_understood=True, |
| 6268 |
fields={ |
| 6269 |
# 'copy-from': KeyInfo(write_only=True), |
| 6270 |
'data': KeyInfo(), |
| 6271 |
'name': KeyInfo(), |
| 6272 |
'numbers': KeyInfo(read_only=True), |
| 6273 |
'type': KeyInfo(), |
| 6274 |
}, |
| 6275 |
)), |
| 6276 |
], |
| 6277 |
), |
| 6278 |
|
| 6279 |
('iot', 'bluetooth', 'peripheral-devices'): APIData( |
| 6280 |
versioned=[ |
| 6281 |
('7.15', '>=', VersionedAPIData( |
| 6282 |
# fixed_entries=True, |
| 6283 |
fully_understood=True, |
| 6284 |
has_identifier=True, |
| 6285 |
# primary_keys=('numbers',), |
| 6286 |
fields={ |
| 6287 |
'address': KeyInfo(), |
| 6288 |
'address-type': KeyInfo(), |
| 6289 |
'mtik-key': KeyInfo(), |
| 6290 |
'name': KeyInfo(), |
| 6291 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6292 |
'persist': KeyInfo(), |
| 6293 |
}, |
| 6294 |
)), |
| 6295 |
], |
| 6296 |
), |
| 6297 |
|
| 6298 |
('iot', 'bluetooth', 'scanners'): APIData( |
| 6299 |
versioned=[ |
| 6300 |
('7.15', '>=', VersionedAPIData( |
| 6301 |
# fixed_entries=True, |
| 6302 |
fully_understood=True, |
| 6303 |
has_identifier=True, |
| 6304 |
# primary_keys=('numbers',), |
| 6305 |
versioned_fields=[ |
| 6306 |
([('7.21', '>=')], 'phy', KeyInfo()), |
| 6307 |
], |
| 6308 |
fields={ |
| 6309 |
'disabled': KeyInfo(), |
| 6310 |
'filter-duplicates': KeyInfo(), |
| 6311 |
'filter-policy': KeyInfo(), |
| 6312 |
'interval': KeyInfo(), |
| 6313 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6314 |
'own-address-type': KeyInfo(), |
| 6315 |
'type': KeyInfo(), |
| 6316 |
'window': KeyInfo(), |
| 6317 |
}, |
| 6318 |
)), |
| 6319 |
], |
| 6320 |
), |
| 6321 |
|
| 6322 |
('iot', 'bluetooth', 'whitelist'): APIData( |
| 6323 |
versioned=[ |
| 6324 |
('7.15', '>=', VersionedAPIData( |
| 6325 |
fully_understood=True, |
| 6326 |
fields={ |
| 6327 |
'address': KeyInfo(), |
| 6328 |
'address-type': KeyInfo(), |
| 6329 |
'comment': KeyInfo(), |
| 6330 |
# 'copy-from': KeyInfo(write_only=True), |
| 6331 |
'device': KeyInfo(), |
| 6332 |
'disabled': KeyInfo(), |
| 6333 |
'numbers': KeyInfo(read_only=True), |
| 6334 |
}, |
| 6335 |
)), |
| 6336 |
], |
| 6337 |
), |
| 6338 |
|
| 6339 |
('iot', 'lora'): APIData( |
| 6340 |
versioned=[ |
| 6341 |
('7.15', '>=', VersionedAPIData( |
| 6342 |
# fixed_entries=True, |
| 6343 |
fully_understood=True, |
| 6344 |
has_identifier=True, |
| 6345 |
# primary_keys=('numbers',), |
| 6346 |
versioned_fields=[ |
| 6347 |
([('7.16', '>=')], 'alt', KeyInfo()), |
| 6348 |
([('7.16', '>=')], 'lat', KeyInfo()), |
| 6349 |
([('7.16', '>=')], 'long', KeyInfo()), |
| 6350 |
([('7.19', '<')], 'src-address', KeyInfo()), |
| 6351 |
], |
| 6352 |
fields={ |
| 6353 |
'antenna': KeyInfo(), |
| 6354 |
'antenna-gain': KeyInfo(), |
| 6355 |
'channel-plan': KeyInfo(), |
| 6356 |
'disabled': KeyInfo(), |
| 6357 |
'forward': KeyInfo(), |
| 6358 |
'gateway-id': KeyInfo(), |
| 6359 |
'lbt-enabled': KeyInfo(), |
| 6360 |
'listen-time': KeyInfo(), |
| 6361 |
'name': KeyInfo(), |
| 6362 |
'network': KeyInfo(), |
| 6363 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6364 |
'rssi-threshold': KeyInfo(), |
| 6365 |
'servers': KeyInfo(), |
| 6366 |
'spoof-gps': KeyInfo(), |
| 6367 |
}, |
| 6368 |
)), |
| 6369 |
], |
| 6370 |
), |
| 6371 |
|
| 6372 |
('iot', 'lora', 'channels'): APIData( |
| 6373 |
versioned=[ |
| 6374 |
('7.15', '>=', VersionedAPIData( |
| 6375 |
# fixed_entries=True, |
| 6376 |
fully_understood=True, |
| 6377 |
has_identifier=True, |
| 6378 |
# primary_keys=('numbers',), |
| 6379 |
fields={ |
| 6380 |
'bandwidth': KeyInfo(), |
| 6381 |
'datarate': KeyInfo(), |
| 6382 |
'disabled': KeyInfo(), |
| 6383 |
'freq-off': KeyInfo(), |
| 6384 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6385 |
'radio': KeyInfo(), |
| 6386 |
'spread-factor': KeyInfo(), |
| 6387 |
}, |
| 6388 |
)), |
| 6389 |
], |
| 6390 |
), |
| 6391 |
|
| 6392 |
('iot', 'lora', 'joineui'): APIData( |
| 6393 |
versioned=[ |
| 6394 |
('7.15', '>=', VersionedAPIData( |
| 6395 |
fully_understood=True, |
| 6396 |
versioned_fields=[ |
| 6397 |
([('7.16', '>=')], 'logging', KeyInfo()), |
| 6398 |
([('7.19', '>=')], 'type', KeyInfo()), |
| 6399 |
], |
| 6400 |
fields={ |
| 6401 |
# 'copy-from': KeyInfo(write_only=True), |
| 6402 |
'joineuis': KeyInfo(), |
| 6403 |
'name': KeyInfo(), |
| 6404 |
'numbers': KeyInfo(read_only=True), |
| 6405 |
}, |
| 6406 |
)), |
| 6407 |
], |
| 6408 |
), |
| 6409 |
|
| 6410 |
('iot', 'lora', 'netid'): APIData( |
| 6411 |
versioned=[ |
| 6412 |
('7.15', '>=', VersionedAPIData( |
| 6413 |
fully_understood=True, |
| 6414 |
versioned_fields=[ |
| 6415 |
([('7.16', '>=')], 'logging', KeyInfo()), |
| 6416 |
([('7.19', '>=')], 'type', KeyInfo()), |
| 6417 |
], |
| 6418 |
fields={ |
| 6419 |
# 'copy-from': KeyInfo(write_only=True), |
| 6420 |
'name': KeyInfo(), |
| 6421 |
'netids': KeyInfo(), |
| 6422 |
'numbers': KeyInfo(read_only=True), |
| 6423 |
}, |
| 6424 |
)), |
| 6425 |
], |
| 6426 |
), |
| 6427 |
|
| 6428 |
('iot', 'lora', 'radios'): APIData( |
| 6429 |
versioned=[ |
| 6430 |
('7.15', '>=', VersionedAPIData( |
| 6431 |
# fixed_entries=True, |
| 6432 |
fully_understood=True, |
| 6433 |
has_identifier=True, |
| 6434 |
# primary_keys=('numbers',), |
| 6435 |
versioned_fields=[ |
| 6436 |
([('7.17', '<')], 'rssi-off', KeyInfo()), |
| 6437 |
([('7.17', '<')], 'tx-enabled', KeyInfo()), |
| 6438 |
], |
| 6439 |
fields={ |
| 6440 |
'center-freq': KeyInfo(), |
| 6441 |
'disabled': KeyInfo(), |
| 6442 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 6443 |
'tx-freq-max': KeyInfo(), |
| 6444 |
'tx-freq-min': KeyInfo(), |
| 6445 |
}, |
| 6446 |
)), |
| 6447 |
], |
| 6448 |
), |
| 6449 |
|
| 6450 |
('iot', 'lora', 'servers'): APIData( |
| 6451 |
versioned=[ |
| 6452 |
('7.15', '>=', VersionedAPIData( |
| 6453 |
fully_understood=True, |
| 6454 |
fields={ |
| 6455 |
'address': KeyInfo(), |
| 6456 |
'certificate': KeyInfo(), |
| 6457 |
# 'copy-from': KeyInfo(write_only=True), |
| 6458 |
'down-port': KeyInfo(), |
| 6459 |
'interval': KeyInfo(), |
| 6460 |
'joineui': KeyInfo(), |
| 6461 |
'key': KeyInfo(), |
| 6462 |
'name': KeyInfo(), |
| 6463 |
'netid': KeyInfo(), |
| 6464 |
'numbers': KeyInfo(read_only=True), |
| 6465 |
'port': KeyInfo(), |
| 6466 |
'protocol': KeyInfo(), |
| 6467 |
'ssl': KeyInfo(), |
| 6468 |
'up-port': KeyInfo(), |
| 6469 |
}, |
| 6470 |
)), |
| 6471 |
], |
| 6472 |
), |
| 6473 |
|
| 6474 |
('iot', 'lora', 'traffic', 'options'): APIData( |
| 6475 |
versioned=[ |
| 6476 |
('7.17', '>=', VersionedAPIData( |
| 6477 |
fixed_entries=True, |
| 6478 |
fully_understood=True, |
| 6479 |
single_value=True, |
| 6480 |
versioned_fields=[ |
| 6481 |
([('7.19', '>=')], 'pckt-limit', KeyInfo()), |
| 6482 |
], |
| 6483 |
fields={ |
| 6484 |
'crc-errors': KeyInfo(), |
| 6485 |
}, |
| 6486 |
)), |
| 6487 |
], |
| 6488 |
), |
| 6489 |
|
| 6490 |
('iot', 'modbus'): APIData( |
| 6491 |
unversioned=VersionedAPIData( |
| 6492 |
fixed_entries=True, |
| 6493 |
fully_understood=True, |
| 6494 |
single_value=True, |
| 6495 |
versioned_fields=[ |
| 6496 |
([('7.15', '>=')], 'disable-security-rules', KeyInfo()), |
| 6497 |
([('7.22', '>=')], 'interframe-gap', KeyInfo()), |
| 6498 |
([('7.21', '>=')], 'rx-switch-offset', KeyInfo()), |
| 6499 |
], |
| 6500 |
fields={ |
| 6501 |
'disabled': KeyInfo(default=True), |
| 6502 |
'hardware-port': KeyInfo(default='modbus'), |
| 6503 |
'tcp-port': KeyInfo(default=502), |
| 6504 |
'timeout': KeyInfo(default=1000), |
| 6505 |
}, |
| 6506 |
), |
| 6507 |
), |
| 6508 |
|
| 6509 |
('iot', 'modbus', 'security-rules'): APIData( |
| 6510 |
versioned=[ |
| 6511 |
('7.15', '>=', VersionedAPIData( |
| 6512 |
fully_understood=True, |
| 6513 |
fields={ |
| 6514 |
'allowed-function-codes': KeyInfo(), |
| 6515 |
'comment': KeyInfo(), |
| 6516 |
# 'copy-from': KeyInfo(write_only=True), |
| 6517 |
'disabled': KeyInfo(), |
| 6518 |
'ip-range': KeyInfo(), |
| 6519 |
'numbers': KeyInfo(read_only=True), |
| 6520 |
}, |
| 6521 |
)), |
| 6522 |
], |
| 6523 |
), |
| 6524 |
|
| 6525 |
('iot', 'mqtt', 'brokers'): APIData( |
| 6526 |
versioned=[ |
| 6527 |
('7.15', '>=', VersionedAPIData( |
| 6528 |
fully_understood=True, |
| 6529 |
versioned_fields=[ |
| 6530 |
([('7.20', '>=')], 'will-message', KeyInfo()), |
| 6531 |
([('7.20', '>=')], 'will-qos', KeyInfo()), |
| 6532 |
([('7.20', '>=')], 'will-retain', KeyInfo()), |
| 6533 |
([('7.20', '>=')], 'will-topic', KeyInfo()), |
| 6534 |
], |
| 6535 |
fields={ |
| 6536 |
'address': KeyInfo(), |
| 6537 |
'auto-connect': KeyInfo(), |
| 6538 |
'certificate': KeyInfo(), |
| 6539 |
'client-id': KeyInfo(), |
| 6540 |
# 'copy-from': KeyInfo(write_only=True), |
| 6541 |
'keep-alive': KeyInfo(), |
| 6542 |
'name': KeyInfo(), |
| 6543 |
'numbers': KeyInfo(read_only=True), |
| 6544 |
'parallel-scripts-limit': KeyInfo(), |
| 6545 |
'password': KeyInfo(), |
| 6546 |
'port': KeyInfo(), |
| 6547 |
'ssl': KeyInfo(), |
| 6548 |
'username': KeyInfo(), |
| 6549 |
}, |
| 6550 |
)), |
| 6551 |
], |
| 6552 |
), |
| 6553 |
|
| 6554 |
('iot', 'mqtt', 'subscriptions'): APIData( |
| 6555 |
versioned=[ |
| 6556 |
('7.15', '>=', VersionedAPIData( |
| 6557 |
fully_understood=True, |
| 6558 |
fields={ |
| 6559 |
'broker': KeyInfo(), |
| 6560 |
# 'copy-from': KeyInfo(write_only=True), |
| 6561 |
'numbers': KeyInfo(read_only=True), |
| 6562 |
'on-message': KeyInfo(), |
| 6563 |
'qos': KeyInfo(), |
| 6564 |
'topic': KeyInfo(), |
| 6565 |
}, |
| 6566 |
)), |
| 6567 |
], |
| 6568 |
), |
| 6569 |
|
| 6570 |
('ip', 'accounting'): APIData( |
| 6571 |
versioned=[ |
| 6572 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 6573 |
('7.15', '<', VersionedAPIData( |
| 6574 |
fully_understood=True, |
| 6575 |
single_value=True, |
| 6576 |
fields={ |
| 6577 |
'account-local-traffic': KeyInfo(default=False), |
| 6578 |
'enabled': KeyInfo(default=False), |
| 6579 |
'threshold': KeyInfo(default=256), |
| 6580 |
}, |
| 6581 |
)), |
| 6582 |
], |
| 6583 |
), |
| 6584 |
|
| 6585 |
('ip', 'accounting', 'web-access'): APIData( |
| 6586 |
versioned=[ |
| 6587 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 6588 |
('7.15', '<', VersionedAPIData( |
| 6589 |
fully_understood=True, |
| 6590 |
single_value=True, |
| 6591 |
fields={ |
| 6592 |
'accessible-via-web': KeyInfo(default=False), |
| 6593 |
'address': KeyInfo(default='0.0.0.0/0'), |
| 6594 |
}, |
| 6595 |
)), |
| 6596 |
], |
| 6597 |
), |
| 6598 |
|
| 6599 |
('ip', 'address'): APIData( |
| 6600 |
unversioned=VersionedAPIData( |
| 6601 |
fully_understood=True, |
| 6602 |
primary_keys=('address', 'interface'), |
| 6603 |
versioned_fields=[ |
| 6604 |
([('7.15', '>=')], 'broadcast', KeyInfo()), |
| 6605 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6606 |
([('7.15', '>=')], 'netmask', KeyInfo()), |
| 6607 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6608 |
], |
| 6609 |
fields={ |
| 6610 |
'address': KeyInfo(), |
| 6611 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6612 |
'disabled': KeyInfo(default=False), |
| 6613 |
'interface': KeyInfo(), |
| 6614 |
'network': KeyInfo(automatically_computed_from=('address',)), |
| 6615 |
}, |
| 6616 |
), |
| 6617 |
), |
| 6618 |
|
| 6619 |
('ip', 'arp'): APIData( |
| 6620 |
unversioned=VersionedAPIData( |
| 6621 |
fully_understood=True, |
| 6622 |
versioned_fields=[ |
| 6623 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6624 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6625 |
], |
| 6626 |
fields={ |
| 6627 |
'address': KeyInfo(default='0.0.0.0'), |
| 6628 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6629 |
'disabled': KeyInfo(default=False), |
| 6630 |
'interface': KeyInfo(required=True), |
| 6631 |
'mac-address': KeyInfo(default='00:00:00:00:00:00'), |
| 6632 |
'published': KeyInfo(default=False), |
| 6633 |
}, |
| 6634 |
), |
| 6635 |
), |
| 6636 |
|
| 6637 |
('ip', 'cloud'): APIData( |
| 6638 |
unversioned=VersionedAPIData( |
| 6639 |
fixed_entries=True, |
| 6640 |
fully_understood=True, |
| 6641 |
single_value=True, |
| 6642 |
versioned_fields=[ |
| 6643 |
([('7.15', '>=')], 'back-to-home-vpn', KeyInfo()), |
| 6644 |
([('7.17', '<')], 'ddns-enabled', KeyInfo(default=False)), |
| 6645 |
([('7.17', '>=')], 'ddns-enabled', KeyInfo(default='auto')), |
| 6646 |
([('7.15', '>=')], 'vpn-prefer-relay-code', KeyInfo()), |
| 6647 |
], |
| 6648 |
fields={ |
| 6649 |
'ddns-update-interval': KeyInfo(default='none'), |
| 6650 |
'update-time': KeyInfo(default=True), |
| 6651 |
}, |
| 6652 |
), |
| 6653 |
), |
| 6654 |
|
| 6655 |
('ip', 'cloud', 'advanced'): APIData( |
| 6656 |
unversioned=VersionedAPIData( |
| 6657 |
fixed_entries=True, |
| 6658 |
fully_understood=True, |
| 6659 |
single_value=True, |
| 6660 |
fields={ |
| 6661 |
'use-local-address': KeyInfo(default=False), |
| 6662 |
}, |
| 6663 |
), |
| 6664 |
), |
| 6665 |
|
| 6666 |
('ip', 'cloud', 'back-to-home-file'): APIData( |
| 6667 |
versioned=[ |
| 6668 |
('7.18', '>=', VersionedAPIData( |
| 6669 |
fully_understood=True, |
| 6670 |
fields={ |
| 6671 |
'allow-uploads': KeyInfo(), |
| 6672 |
'comment': KeyInfo(), |
| 6673 |
# 'copy-from': KeyInfo(write_only=True), |
| 6674 |
'disabled': KeyInfo(), |
| 6675 |
'expires': KeyInfo(), |
| 6676 |
'numbers': KeyInfo(read_only=True), |
| 6677 |
'path': KeyInfo(), |
| 6678 |
}, |
| 6679 |
)), |
| 6680 |
], |
| 6681 |
), |
| 6682 |
|
| 6683 |
('ip', 'cloud', 'back-to-home-file', 'settings'): APIData( |
| 6684 |
versioned=[ |
| 6685 |
('7.18', '>=', VersionedAPIData( |
| 6686 |
fixed_entries=True, |
| 6687 |
fully_understood=True, |
| 6688 |
single_value=True, |
| 6689 |
fields={ |
| 6690 |
'prefer-relay-code': KeyInfo(), |
| 6691 |
}, |
| 6692 |
)), |
| 6693 |
], |
| 6694 |
), |
| 6695 |
|
| 6696 |
('ip', 'cloud', 'back-to-home-user'): APIData( |
| 6697 |
versioned=[ |
| 6698 |
('7.18', '>=', VersionedAPIData( |
| 6699 |
fully_understood=True, |
| 6700 |
fields={ |
| 6701 |
'allow-lan': KeyInfo(), |
| 6702 |
'comment': KeyInfo(), |
| 6703 |
# 'copy-from': KeyInfo(write_only=True), |
| 6704 |
'disabled': KeyInfo(), |
| 6705 |
'expires': KeyInfo(), |
| 6706 |
'file-access': KeyInfo(), |
| 6707 |
'file-access-path': KeyInfo(), |
| 6708 |
'name': KeyInfo(), |
| 6709 |
'numbers': KeyInfo(read_only=True), |
| 6710 |
'private-key': KeyInfo(), |
| 6711 |
'public-key': KeyInfo(), |
| 6712 |
}, |
| 6713 |
)), |
| 6714 |
], |
| 6715 |
), |
| 6716 |
|
| 6717 |
('ip', 'cloud', 'back-to-home-users'): APIData( |
| 6718 |
versioned=[ |
| 6719 |
('7.18', '>=', 'Not supported anymore in version >= 7.18'), |
| 6720 |
('7.15', '>=', VersionedAPIData( |
| 6721 |
fully_understood=True, |
| 6722 |
versioned_fields=[ |
| 6723 |
([('7.17', '>=')], 'file-access', KeyInfo()), |
| 6724 |
([('7.17', '>=')], 'file-access-path', KeyInfo()), |
| 6725 |
], |
| 6726 |
fields={ |
| 6727 |
'allow-lan': KeyInfo(), |
| 6728 |
'comment': KeyInfo(), |
| 6729 |
# 'copy-from': KeyInfo(write_only=True), |
| 6730 |
'disabled': KeyInfo(), |
| 6731 |
'expires': KeyInfo(), |
| 6732 |
'name': KeyInfo(), |
| 6733 |
'numbers': KeyInfo(read_only=True), |
| 6734 |
'private-key': KeyInfo(), |
| 6735 |
'public-key': KeyInfo(), |
| 6736 |
}, |
| 6737 |
)), |
| 6738 |
], |
| 6739 |
), |
| 6740 |
|
| 6741 |
('ip', 'dhcp-client'): APIData( |
| 6742 |
unversioned=VersionedAPIData( |
| 6743 |
fully_understood=True, |
| 6744 |
primary_keys=('interface',), |
| 6745 |
versioned_fields=[ |
| 6746 |
([('7.19', '>=')], 'allow-reconfigure', KeyInfo(default=False)), |
| 6747 |
([('7.19', '>=')], 'check-gateway', KeyInfo(default='none')), |
| 6748 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6749 |
([('7.18', '>=')], 'default-route-tables', KeyInfo()), |
| 6750 |
([('7.20', '>=')], 'dscp', KeyInfo(default=0)), |
| 6751 |
([('7.22', '>=')], 'name', KeyInfo()), |
| 6752 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6753 |
([('7.20', '>=')], 'use-broadcast', KeyInfo(default='both')), |
| 6754 |
([('7.20', '>=')], 'vlan-priority', KeyInfo(default=0)), |
| 6755 |
], |
| 6756 |
fields={ |
| 6757 |
'add-default-route': KeyInfo(default=True), |
| 6758 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6759 |
'default-route-distance': KeyInfo(default=1), |
| 6760 |
'dhcp-options': KeyInfo(can_disable=True, default='hostname,clientid', remove_value=''), |
| 6761 |
'disabled': KeyInfo(default=False), |
| 6762 |
'interface': KeyInfo(), |
| 6763 |
'script': KeyInfo(), |
| 6764 |
'use-peer-dns': KeyInfo(default=True), |
| 6765 |
'use-peer-ntp': KeyInfo(default=True), |
| 6766 |
}, |
| 6767 |
), |
| 6768 |
), |
| 6769 |
|
| 6770 |
('ip', 'dhcp-client', 'option'): APIData( |
| 6771 |
unversioned=VersionedAPIData( |
| 6772 |
fully_understood=True, |
| 6773 |
primary_keys=('name',), |
| 6774 |
versioned_fields=[ |
| 6775 |
([('7.16', '>=')], 'comment', KeyInfo()), |
| 6776 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6777 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6778 |
], |
| 6779 |
fields={ |
| 6780 |
'code': KeyInfo(), |
| 6781 |
'name': KeyInfo(), |
| 6782 |
'value': KeyInfo(), |
| 6783 |
}, |
| 6784 |
), |
| 6785 |
), |
| 6786 |
|
| 6787 |
('ip', 'dhcp-relay'): APIData( |
| 6788 |
unversioned=VersionedAPIData( |
| 6789 |
fully_understood=True, |
| 6790 |
primary_keys=('name',), |
| 6791 |
versioned_fields=[ |
| 6792 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6793 |
([('7.15', '>=')], 'dhcp-server-vrf', KeyInfo()), |
| 6794 |
([('7.17', '>=')], 'local-address-as-src-ip', KeyInfo()), |
| 6795 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6796 |
], |
| 6797 |
fields={ |
| 6798 |
'add-relay-info': KeyInfo(default=False), |
| 6799 |
'delay-threshold': KeyInfo(can_disable=True, remove_value='none'), |
| 6800 |
'dhcp-server': KeyInfo(required=True), |
| 6801 |
'disabled': KeyInfo(default=False), |
| 6802 |
'interface': KeyInfo(required=True), |
| 6803 |
'local-address': KeyInfo(can_disable=True, remove_value='0.0.0.0'), |
| 6804 |
'name': KeyInfo(), |
| 6805 |
'relay-info-remote-id': KeyInfo(can_disable=True), |
| 6806 |
}, |
| 6807 |
), |
| 6808 |
), |
| 6809 |
|
| 6810 |
('ip', 'dhcp-server'): APIData( |
| 6811 |
unversioned=VersionedAPIData( |
| 6812 |
fully_understood=True, |
| 6813 |
primary_keys=('name',), |
| 6814 |
versioned_fields=[ |
| 6815 |
([('7.15', '>=')], 'add-arp', KeyInfo()), |
| 6816 |
([('7.17', '>=')], 'address-lists', KeyInfo()), |
| 6817 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6818 |
([('7.21', '>=')], 'dynamic-lease-identifiers', KeyInfo()), |
| 6819 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6820 |
([('7.21', '>=')], 'support-broadband-tr101', KeyInfo()), |
| 6821 |
([('7.19', '>=')], 'use-reconfigure', KeyInfo()), |
| 6822 |
], |
| 6823 |
fields={ |
| 6824 |
'address-pool': KeyInfo(default='static-only'), |
| 6825 |
'allow-dual-stack-queue': KeyInfo(can_disable=True, remove_value=True), |
| 6826 |
'always-broadcast': KeyInfo(can_disable=True, remove_value=False), |
| 6827 |
'authoritative': KeyInfo(default=True), |
| 6828 |
'bootp-lease-time': KeyInfo(default='forever'), |
| 6829 |
'bootp-support': KeyInfo(can_disable=True, remove_value='static'), |
| 6830 |
'client-mac-limit': KeyInfo(can_disable=True, remove_value='unlimited'), |
| 6831 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6832 |
'conflict-detection': KeyInfo(can_disable=True, remove_value=True), |
| 6833 |
'delay-threshold': KeyInfo(can_disable=True, remove_value='none'), |
| 6834 |
'dhcp-option-set': KeyInfo(can_disable=True, remove_value='none'), |
| 6835 |
'disabled': KeyInfo(default=False), |
| 6836 |
'insert-queue-before': KeyInfo(can_disable=True, remove_value='first'), |
| 6837 |
'interface': KeyInfo(required=True), |
| 6838 |
'lease-script': KeyInfo(default=''), |
| 6839 |
'lease-time': KeyInfo(default='10m'), |
| 6840 |
'name': KeyInfo(), |
| 6841 |
'parent-queue': KeyInfo(can_disable=True, remove_value='none'), |
| 6842 |
'relay': KeyInfo(can_disable=True, remove_value='0.0.0.0'), |
| 6843 |
'server-address': KeyInfo(can_disable=True, remove_value='0.0.0.0'), |
| 6844 |
'use-framed-as-classless': KeyInfo(can_disable=True, remove_value=True), |
| 6845 |
'use-radius': KeyInfo(default=False), |
| 6846 |
}, |
| 6847 |
), |
| 6848 |
), |
| 6849 |
|
| 6850 |
('ip', 'dhcp-server', 'alert'): APIData( |
| 6851 |
versioned=[ |
| 6852 |
('7.15', '>=', VersionedAPIData( |
| 6853 |
fully_understood=True, |
| 6854 |
fields={ |
| 6855 |
'alert-timeout': KeyInfo(), |
| 6856 |
'comment': KeyInfo(), |
| 6857 |
# 'copy-from': KeyInfo(write_only=True), |
| 6858 |
'disabled': KeyInfo(), |
| 6859 |
'interface': KeyInfo(), |
| 6860 |
'numbers': KeyInfo(read_only=True), |
| 6861 |
'on-alert': KeyInfo(), |
| 6862 |
'valid-server': KeyInfo(), |
| 6863 |
}, |
| 6864 |
)), |
| 6865 |
], |
| 6866 |
), |
| 6867 |
|
| 6868 |
('ip', 'dhcp-server', 'config'): APIData( |
| 6869 |
unversioned=VersionedAPIData( |
| 6870 |
fixed_entries=True, |
| 6871 |
fully_understood=True, |
| 6872 |
single_value=True, |
| 6873 |
versioned_fields=[ |
| 6874 |
([('7.15', '>=')], 'radius-password', KeyInfo()), |
| 6875 |
], |
| 6876 |
fields={ |
| 6877 |
'accounting': KeyInfo(default=True), |
| 6878 |
'interim-update': KeyInfo(default='0s'), |
| 6879 |
'store-leases-disk': KeyInfo(default='5m'), |
| 6880 |
}, |
| 6881 |
), |
| 6882 |
), |
| 6883 |
|
| 6884 |
('ip', 'dhcp-server', 'lease'): APIData( |
| 6885 |
unversioned=VersionedAPIData( |
| 6886 |
fully_understood=True, |
| 6887 |
primary_keys=('server', 'address'), |
| 6888 |
versioned_fields=[ |
| 6889 |
([('7.21', '>=')], 'agent-circuit-id', KeyInfo()), |
| 6890 |
([('7.21', '>=')], 'agent-remote-id', KeyInfo()), |
| 6891 |
([('7.15', '>=')], 'allow-dual-stack-queue', KeyInfo(can_disable=True)), |
| 6892 |
([('7.15', '>=')], 'block-access', KeyInfo()), |
| 6893 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6894 |
([('7.15', '>=')], 'dhcp-option-set', KeyInfo()), |
| 6895 |
([('7.15', '>=')], 'lease-time', KeyInfo()), |
| 6896 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6897 |
([('7.15', '>=')], 'parent-queue', KeyInfo(can_disable=True)), |
| 6898 |
([('7.15', '>=')], 'queue-type', KeyInfo(can_disable=True)), |
| 6899 |
([('7.15', '>=')], 'rate-limit', KeyInfo()), |
| 6900 |
([('7.15', '>=')], 'routes', KeyInfo()), |
| 6901 |
([('7.15', '>=')], 'use-src-mac', KeyInfo()), |
| 6902 |
], |
| 6903 |
fields={ |
| 6904 |
'address': KeyInfo(), |
| 6905 |
'address-lists': KeyInfo(default=''), |
| 6906 |
'always-broadcast': KeyInfo(), |
| 6907 |
'client-id': KeyInfo(can_disable=True, remove_value=''), |
| 6908 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6909 |
'dhcp-option': KeyInfo(default=''), |
| 6910 |
'disabled': KeyInfo(default=False), |
| 6911 |
'insert-queue-before': KeyInfo(can_disable=True), |
| 6912 |
'mac-address': KeyInfo(can_disable=True, remove_value=''), |
| 6913 |
'server': KeyInfo(absent_value='all'), |
| 6914 |
}, |
| 6915 |
), |
| 6916 |
), |
| 6917 |
|
| 6918 |
('ip', 'dhcp-server', 'matcher'): APIData( |
| 6919 |
versioned=[ |
| 6920 |
('7.4', '>=', VersionedAPIData( |
| 6921 |
fully_understood=True, |
| 6922 |
primary_keys=('name',), |
| 6923 |
versioned_fields=[ |
| 6924 |
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), |
| 6925 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6926 |
([('7.16', '>=')], 'matching-type', KeyInfo()), |
| 6927 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6928 |
], |
| 6929 |
fields={ |
| 6930 |
'address-pool': KeyInfo(default='none'), |
| 6931 |
'code': KeyInfo(required=True), |
| 6932 |
'disabled': KeyInfo(default=False), |
| 6933 |
'name': KeyInfo(required=True), |
| 6934 |
'option-set': KeyInfo(), |
| 6935 |
'server': KeyInfo(default='all'), |
| 6936 |
'value': KeyInfo(required=True), |
| 6937 |
}, |
| 6938 |
)), |
| 6939 |
], |
| 6940 |
), |
| 6941 |
|
| 6942 |
('ip', 'dhcp-server', 'network'): APIData( |
| 6943 |
unversioned=VersionedAPIData( |
| 6944 |
fully_understood=True, |
| 6945 |
primary_keys=('address',), |
| 6946 |
versioned_fields=[ |
| 6947 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6948 |
([('7.20', '>=')], 'ntp-none', KeyInfo()), |
| 6949 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6950 |
], |
| 6951 |
fields={ |
| 6952 |
'address': KeyInfo(), |
| 6953 |
'boot-file-name': KeyInfo(default=''), |
| 6954 |
'caps-manager': KeyInfo(default=''), |
| 6955 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 6956 |
'dhcp-option': KeyInfo(default=''), |
| 6957 |
'dhcp-option-set': KeyInfo(default=''), |
| 6958 |
'dns-none': KeyInfo(default=False), |
| 6959 |
'dns-server': KeyInfo(default=''), |
| 6960 |
'domain': KeyInfo(default=''), |
| 6961 |
'gateway': KeyInfo(default=''), |
| 6962 |
'netmask': KeyInfo(can_disable=True, remove_value=0), |
| 6963 |
'next-server': KeyInfo(can_disable=True), |
| 6964 |
'ntp-server': KeyInfo(default=''), |
| 6965 |
'wins-server': KeyInfo(default=''), |
| 6966 |
}, |
| 6967 |
), |
| 6968 |
), |
| 6969 |
|
| 6970 |
('ip', 'dhcp-server', 'option'): APIData( |
| 6971 |
unversioned=VersionedAPIData( |
| 6972 |
fully_understood=True, |
| 6973 |
primary_keys=('name',), |
| 6974 |
versioned_fields=[ |
| 6975 |
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), |
| 6976 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6977 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6978 |
], |
| 6979 |
fields={ |
| 6980 |
'code': KeyInfo(required=True), |
| 6981 |
'force': KeyInfo(default=False), |
| 6982 |
'name': KeyInfo(), |
| 6983 |
'value': KeyInfo(default=''), |
| 6984 |
}, |
| 6985 |
), |
| 6986 |
), |
| 6987 |
|
| 6988 |
('ip', 'dhcp-server', 'option', 'sets'): APIData( |
| 6989 |
unversioned=VersionedAPIData( |
| 6990 |
fully_understood=True, |
| 6991 |
primary_keys=('name',), |
| 6992 |
versioned_fields=[ |
| 6993 |
([('7.16', '>=')], 'comment', KeyInfo(can_disable=True, remove_value='')), |
| 6994 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 6995 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 6996 |
], |
| 6997 |
fields={ |
| 6998 |
'name': KeyInfo(required=True), |
| 6999 |
'options': KeyInfo(), |
| 7000 |
}, |
| 7001 |
), |
| 7002 |
), |
| 7003 |
|
| 7004 |
('ip', 'dns'): APIData( |
| 7005 |
unversioned=VersionedAPIData( |
| 7006 |
fixed_entries=True, |
| 7007 |
fully_understood=True, |
| 7008 |
single_value=True, |
| 7009 |
versioned_fields=[ |
| 7010 |
([('7.15', '>=')], 'address-list-extra-time', KeyInfo()), |
| 7011 |
([('7.8', '>=')], 'doh-max-concurrent-queries', KeyInfo(default=50)), |
| 7012 |
([('7.8', '>=')], 'doh-max-server-connections', KeyInfo(default=5)), |
| 7013 |
([('7.8', '>=')], 'doh-timeout', KeyInfo(default='5s')), |
| 7014 |
([('7.16', '>=')], 'mdns-repeat-ifaces', KeyInfo()), |
| 7015 |
([('7.15', '>=')], 'vrf', KeyInfo()), |
| 7016 |
], |
| 7017 |
fields={ |
| 7018 |
'allow-remote-requests': KeyInfo(), |
| 7019 |
'cache-max-ttl': KeyInfo(default='1w'), |
| 7020 |
'cache-size': KeyInfo(default='2048KiB'), |
| 7021 |
'max-concurrent-queries': KeyInfo(default=100), |
| 7022 |
'max-concurrent-tcp-sessions': KeyInfo(default=20), |
| 7023 |
'max-udp-packet-size': KeyInfo(default=4096), |
| 7024 |
'query-server-timeout': KeyInfo(default='2s'), |
| 7025 |
'query-total-timeout': KeyInfo(default='10s'), |
| 7026 |
'servers': KeyInfo(default=''), |
| 7027 |
'use-doh-server': KeyInfo(default=''), |
| 7028 |
'verify-doh-cert': KeyInfo(default=False), |
| 7029 |
}, |
| 7030 |
), |
| 7031 |
), |
| 7032 |
|
| 7033 |
('ip', 'dns', 'adlist'): APIData( |
| 7034 |
versioned=[ |
| 7035 |
('7.15', '>=', VersionedAPIData( |
| 7036 |
fully_understood=True, |
| 7037 |
fields={ |
| 7038 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7039 |
# 'copy-from': KeyInfo(write_only=True), |
| 7040 |
'disabled': KeyInfo(default=False), |
| 7041 |
'file': KeyInfo(default=''), |
| 7042 |
'match-count': KeyInfo(read_only=True), |
| 7043 |
'name-count': KeyInfo(read_only=True), |
| 7044 |
'numbers': KeyInfo(read_only=True), |
| 7045 |
'ssl-verify': KeyInfo(default=True), |
| 7046 |
'url': KeyInfo(default=''), |
| 7047 |
}, |
| 7048 |
)), |
| 7049 |
], |
| 7050 |
), |
| 7051 |
|
| 7052 |
('ip', 'dns', 'forwarders'): APIData( |
| 7053 |
versioned=[ |
| 7054 |
('7.17', '>=', VersionedAPIData( |
| 7055 |
fully_understood=True, |
| 7056 |
required_one_of=[['dns-servers', 'doh-servers']], |
| 7057 |
fields={ |
| 7058 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7059 |
# 'copy-from': KeyInfo(write_only=True), |
| 7060 |
'disabled': KeyInfo(default=False), |
| 7061 |
'dns-servers': KeyInfo(default=''), |
| 7062 |
'doh-servers': KeyInfo(default=''), |
| 7063 |
'name': KeyInfo(required=True), |
| 7064 |
'numbers': KeyInfo(read_only=True), |
| 7065 |
'verify-doh-cert': KeyInfo(default=True), |
| 7066 |
}, |
| 7067 |
)), |
| 7068 |
], |
| 7069 |
), |
| 7070 |
|
| 7071 |
('ip', 'dns', 'static'): APIData( |
| 7072 |
unversioned=VersionedAPIData( |
| 7073 |
fully_understood=True, |
| 7074 |
mutually_exclusive=[['name', 'regexp']], |
| 7075 |
required_one_of=[['name', 'regexp']], |
| 7076 |
versioned_fields=[ |
| 7077 |
([('7.5', '>=')], 'address-list', KeyInfo()), |
| 7078 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7079 |
([('7.5', '>=')], 'match-subdomain', KeyInfo(default=False)), |
| 7080 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7081 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7082 |
], |
| 7083 |
fields={ |
| 7084 |
'address': KeyInfo(), |
| 7085 |
'cname': KeyInfo(), |
| 7086 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7087 |
'disabled': KeyInfo(default=False), |
| 7088 |
'forward-to': KeyInfo(), |
| 7089 |
'mx-exchange': KeyInfo(), |
| 7090 |
'mx-preference': KeyInfo(), |
| 7091 |
'name': KeyInfo(), |
| 7092 |
'ns': KeyInfo(), |
| 7093 |
'regexp': KeyInfo(), |
| 7094 |
'srv-port': KeyInfo(), |
| 7095 |
'srv-priority': KeyInfo(), |
| 7096 |
'srv-target': KeyInfo(), |
| 7097 |
'srv-weight': KeyInfo(), |
| 7098 |
'text': KeyInfo(), |
| 7099 |
'ttl': KeyInfo(default='1d'), |
| 7100 |
'type': KeyInfo(), |
| 7101 |
}, |
| 7102 |
), |
| 7103 |
), |
| 7104 |
|
| 7105 |
('ip', 'firewall', 'address-list'): APIData( |
| 7106 |
unversioned=VersionedAPIData( |
| 7107 |
fully_understood=True, |
| 7108 |
primary_keys=('address', 'list'), |
| 7109 |
versioned_fields=[ |
| 7110 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7111 |
([('7.15', '>=')], 'dynamic', KeyInfo()), |
| 7112 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7113 |
([('7.15', '>=')], 'timeout', KeyInfo()), |
| 7114 |
], |
| 7115 |
fields={ |
| 7116 |
'address': KeyInfo(), |
| 7117 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7118 |
'disabled': KeyInfo(default=False), |
| 7119 |
'list': KeyInfo(), |
| 7120 |
}, |
| 7121 |
), |
| 7122 |
), |
| 7123 |
|
| 7124 |
('ip', 'firewall', 'calea'): APIData( |
| 7125 |
versioned=[ |
| 7126 |
('7.15', '>=', VersionedAPIData( |
| 7127 |
fully_understood=True, |
| 7128 |
versioned_fields=[ |
| 7129 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 7130 |
], |
| 7131 |
fields={ |
| 7132 |
'action': KeyInfo(), |
| 7133 |
'address-list': KeyInfo(), |
| 7134 |
'address-list-timeout': KeyInfo(), |
| 7135 |
'chain': KeyInfo(), |
| 7136 |
'comment': KeyInfo(), |
| 7137 |
'connection-bytes': KeyInfo(can_disable=True), |
| 7138 |
'connection-limit': KeyInfo(can_disable=True), |
| 7139 |
'connection-mark': KeyInfo(can_disable=True), |
| 7140 |
'connection-rate': KeyInfo(can_disable=True), |
| 7141 |
'connection-type': KeyInfo(can_disable=True), |
| 7142 |
'content': KeyInfo(can_disable=True), |
| 7143 |
# 'copy-from': KeyInfo(write_only=True), |
| 7144 |
'disabled': KeyInfo(), |
| 7145 |
'dscp': KeyInfo(can_disable=True), |
| 7146 |
'dst-address': KeyInfo(can_disable=True), |
| 7147 |
'dst-address-list': KeyInfo(can_disable=True), |
| 7148 |
'dst-address-type': KeyInfo(can_disable=True), |
| 7149 |
'dst-limit': KeyInfo(can_disable=True), |
| 7150 |
'dst-port': KeyInfo(can_disable=True), |
| 7151 |
'fragment': KeyInfo(can_disable=True), |
| 7152 |
'hotspot': KeyInfo(can_disable=True), |
| 7153 |
'icmp-options': KeyInfo(can_disable=True), |
| 7154 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 7155 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 7156 |
'in-interface': KeyInfo(can_disable=True), |
| 7157 |
'in-interface-list': KeyInfo(can_disable=True), |
| 7158 |
'ingress-priority': KeyInfo(can_disable=True), |
| 7159 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 7160 |
'ipv4-options': KeyInfo(can_disable=True), |
| 7161 |
'layer7-protocol': KeyInfo(can_disable=True), |
| 7162 |
'limit': KeyInfo(can_disable=True), |
| 7163 |
'log': KeyInfo(), |
| 7164 |
'log-prefix': KeyInfo(), |
| 7165 |
'nth': KeyInfo(can_disable=True), |
| 7166 |
'numbers': KeyInfo(read_only=True), |
| 7167 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 7168 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 7169 |
'out-interface': KeyInfo(can_disable=True), |
| 7170 |
'out-interface-list': KeyInfo(can_disable=True), |
| 7171 |
'packet-mark': KeyInfo(can_disable=True), |
| 7172 |
'packet-size': KeyInfo(can_disable=True), |
| 7173 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 7174 |
# 'place-before': KeyInfo(write_only=True), |
| 7175 |
'port': KeyInfo(can_disable=True), |
| 7176 |
'priority': KeyInfo(can_disable=True), |
| 7177 |
'protocol': KeyInfo(can_disable=True), |
| 7178 |
'psd': KeyInfo(can_disable=True), |
| 7179 |
'random': KeyInfo(can_disable=True), |
| 7180 |
'realm': KeyInfo(can_disable=True), |
| 7181 |
'routing-mark': KeyInfo(can_disable=True), |
| 7182 |
'sniff-id': KeyInfo(), |
| 7183 |
'sniff-target': KeyInfo(), |
| 7184 |
'sniff-target-port': KeyInfo(), |
| 7185 |
'src-address': KeyInfo(can_disable=True), |
| 7186 |
'src-address-list': KeyInfo(can_disable=True), |
| 7187 |
'src-address-type': KeyInfo(can_disable=True), |
| 7188 |
'src-mac-address': KeyInfo(can_disable=True), |
| 7189 |
'src-port': KeyInfo(can_disable=True), |
| 7190 |
'tcp-mss': KeyInfo(can_disable=True), |
| 7191 |
'time': KeyInfo(can_disable=True), |
| 7192 |
'tls-host': KeyInfo(can_disable=True), |
| 7193 |
'ttl': KeyInfo(can_disable=True), |
| 7194 |
}, |
| 7195 |
)), |
| 7196 |
], |
| 7197 |
), |
| 7198 |
|
| 7199 |
('ip', 'firewall', 'connection', 'tracking'): APIData( |
| 7200 |
unversioned=VersionedAPIData( |
| 7201 |
fixed_entries=True, |
| 7202 |
fully_understood=True, |
| 7203 |
single_value=True, |
| 7204 |
versioned_fields=[ |
| 7205 |
([('7.20', '>=')], 'liberal-tcp-tracking', KeyInfo()), |
| 7206 |
], |
| 7207 |
fields={ |
| 7208 |
'enabled': KeyInfo(default='auto'), |
| 7209 |
'generic-timeout': KeyInfo(default='10m'), |
| 7210 |
'icmp-timeout': KeyInfo(default='10s'), |
| 7211 |
'loose-tcp-tracking': KeyInfo(default=True), |
| 7212 |
'tcp-close-timeout': KeyInfo(default='10s'), |
| 7213 |
'tcp-close-wait-timeout': KeyInfo(default='10s'), |
| 7214 |
'tcp-established-timeout': KeyInfo(default='1d'), |
| 7215 |
'tcp-fin-wait-timeout': KeyInfo(default='10s'), |
| 7216 |
'tcp-last-ack-timeout': KeyInfo(default='10s'), |
| 7217 |
'tcp-max-retrans-timeout': KeyInfo(default='5m'), |
| 7218 |
'tcp-syn-received-timeout': KeyInfo(default='5s'), |
| 7219 |
'tcp-syn-sent-timeout': KeyInfo(default='5s'), |
| 7220 |
'tcp-time-wait-timeout': KeyInfo(default='10s'), |
| 7221 |
'tcp-unacked-timeout': KeyInfo(default='5m'), |
| 7222 |
'udp-stream-timeout': KeyInfo(default='3m'), |
| 7223 |
'udp-timeout': KeyInfo(default='10s'), |
| 7224 |
}, |
| 7225 |
), |
| 7226 |
), |
| 7227 |
|
| 7228 |
('ip', 'firewall', 'filter'): APIData( |
| 7229 |
unversioned=VersionedAPIData( |
| 7230 |
fully_understood=True, |
| 7231 |
stratify_keys=('chain',), |
| 7232 |
versioned_fields=[ |
| 7233 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7234 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7235 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7236 |
([('7.15', '<')], 'routing-table', KeyInfo(can_disable=True)), |
| 7237 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 7238 |
], |
| 7239 |
fields={ |
| 7240 |
'action': KeyInfo(), |
| 7241 |
'address-list': KeyInfo(can_disable=True), |
| 7242 |
'address-list-timeout': KeyInfo(can_disable=True), |
| 7243 |
'chain': KeyInfo(), |
| 7244 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7245 |
'connection-bytes': KeyInfo(can_disable=True), |
| 7246 |
'connection-limit': KeyInfo(can_disable=True), |
| 7247 |
'connection-mark': KeyInfo(can_disable=True), |
| 7248 |
'connection-nat-state': KeyInfo(can_disable=True), |
| 7249 |
'connection-rate': KeyInfo(can_disable=True), |
| 7250 |
'connection-state': KeyInfo(can_disable=True), |
| 7251 |
'connection-type': KeyInfo(can_disable=True), |
| 7252 |
'content': KeyInfo(can_disable=True), |
| 7253 |
'disabled': KeyInfo(default=False), |
| 7254 |
'dscp': KeyInfo(can_disable=True), |
| 7255 |
'dst-address': KeyInfo(can_disable=True), |
| 7256 |
'dst-address-list': KeyInfo(can_disable=True), |
| 7257 |
'dst-address-type': KeyInfo(can_disable=True), |
| 7258 |
'dst-limit': KeyInfo(can_disable=True), |
| 7259 |
'dst-port': KeyInfo(can_disable=True), |
| 7260 |
'fragment': KeyInfo(can_disable=True), |
| 7261 |
'hotspot': KeyInfo(can_disable=True), |
| 7262 |
'hw-offload': KeyInfo(can_disable=True), |
| 7263 |
'icmp-options': KeyInfo(can_disable=True), |
| 7264 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 7265 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 7266 |
'in-interface': KeyInfo(can_disable=True), |
| 7267 |
'in-interface-list': KeyInfo(can_disable=True), |
| 7268 |
'ingress-priority': KeyInfo(can_disable=True), |
| 7269 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 7270 |
'ipv4-options': KeyInfo(can_disable=True), |
| 7271 |
'jump-target': KeyInfo(can_disable=True), |
| 7272 |
'layer7-protocol': KeyInfo(can_disable=True), |
| 7273 |
'limit': KeyInfo(can_disable=True), |
| 7274 |
'log': KeyInfo(default=False), |
| 7275 |
'log-prefix': KeyInfo(default=''), |
| 7276 |
'nth': KeyInfo(can_disable=True), |
| 7277 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 7278 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 7279 |
'out-interface': KeyInfo(can_disable=True), |
| 7280 |
'out-interface-list': KeyInfo(can_disable=True), |
| 7281 |
'p2p': KeyInfo(can_disable=True), |
| 7282 |
'packet-mark': KeyInfo(can_disable=True), |
| 7283 |
'packet-size': KeyInfo(can_disable=True), |
| 7284 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 7285 |
'port': KeyInfo(can_disable=True), |
| 7286 |
'priority': KeyInfo(can_disable=True), |
| 7287 |
'protocol': KeyInfo(can_disable=True), |
| 7288 |
'psd': KeyInfo(can_disable=True), |
| 7289 |
'random': KeyInfo(can_disable=True), |
| 7290 |
'realm': KeyInfo(can_disable=True), |
| 7291 |
'reject-with': KeyInfo(can_disable=True), |
| 7292 |
'routing-mark': KeyInfo(can_disable=True), |
| 7293 |
'src-address': KeyInfo(can_disable=True), |
| 7294 |
'src-address-list': KeyInfo(can_disable=True), |
| 7295 |
'src-address-type': KeyInfo(can_disable=True), |
| 7296 |
'src-mac-address': KeyInfo(can_disable=True), |
| 7297 |
'src-port': KeyInfo(can_disable=True), |
| 7298 |
'tcp-flags': KeyInfo(can_disable=True), |
| 7299 |
'tcp-mss': KeyInfo(can_disable=True), |
| 7300 |
'time': KeyInfo(can_disable=True), |
| 7301 |
'tls-host': KeyInfo(can_disable=True), |
| 7302 |
'ttl': KeyInfo(can_disable=True), |
| 7303 |
}, |
| 7304 |
), |
| 7305 |
), |
| 7306 |
|
| 7307 |
('ip', 'firewall', 'layer7-protocol'): APIData( |
| 7308 |
unversioned=VersionedAPIData( |
| 7309 |
fully_understood=True, |
| 7310 |
primary_keys=('name',), |
| 7311 |
versioned_fields=[ |
| 7312 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7313 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7314 |
], |
| 7315 |
fields={ |
| 7316 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7317 |
'name': KeyInfo(), |
| 7318 |
'regexp': KeyInfo(), |
| 7319 |
}, |
| 7320 |
), |
| 7321 |
), |
| 7322 |
|
| 7323 |
('ip', 'firewall', 'mangle'): APIData( |
| 7324 |
unversioned=VersionedAPIData( |
| 7325 |
fully_understood=True, |
| 7326 |
stratify_keys=('chain',), |
| 7327 |
versioned_fields=[ |
| 7328 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7329 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7330 |
([('7.19', '<')], 'passthrough', KeyInfo(can_disable=True)), |
| 7331 |
([('7.19', '>=')], 'passthrough', KeyInfo(default=True)), |
| 7332 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7333 |
([('7.15', '<')], 'routing-table', KeyInfo(can_disable=True)), |
| 7334 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 7335 |
], |
| 7336 |
fields={ |
| 7337 |
'action': KeyInfo(), |
| 7338 |
'address-list': KeyInfo(can_disable=True), |
| 7339 |
'address-list-timeout': KeyInfo(can_disable=True), |
| 7340 |
'chain': KeyInfo(), |
| 7341 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7342 |
'connection-bytes': KeyInfo(can_disable=True), |
| 7343 |
'connection-limit': KeyInfo(can_disable=True), |
| 7344 |
'connection-mark': KeyInfo(can_disable=True), |
| 7345 |
'connection-nat-state': KeyInfo(can_disable=True), |
| 7346 |
'connection-rate': KeyInfo(can_disable=True), |
| 7347 |
'connection-state': KeyInfo(can_disable=True), |
| 7348 |
'connection-type': KeyInfo(can_disable=True), |
| 7349 |
'content': KeyInfo(can_disable=True), |
| 7350 |
'disabled': KeyInfo(default=False), |
| 7351 |
'dscp': KeyInfo(can_disable=True), |
| 7352 |
'dst-address': KeyInfo(can_disable=True), |
| 7353 |
'dst-address-list': KeyInfo(can_disable=True), |
| 7354 |
'dst-address-type': KeyInfo(can_disable=True), |
| 7355 |
'dst-limit': KeyInfo(can_disable=True), |
| 7356 |
'dst-port': KeyInfo(can_disable=True), |
| 7357 |
'fragment': KeyInfo(can_disable=True), |
| 7358 |
'hotspot': KeyInfo(can_disable=True), |
| 7359 |
'icmp-options': KeyInfo(can_disable=True), |
| 7360 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 7361 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 7362 |
'in-interface': KeyInfo(can_disable=True), |
| 7363 |
'in-interface-list': KeyInfo(can_disable=True), |
| 7364 |
'ingress-priority': KeyInfo(can_disable=True), |
| 7365 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 7366 |
'ipv4-options': KeyInfo(can_disable=True), |
| 7367 |
'jump-target': KeyInfo(can_disable=True), |
| 7368 |
'layer7-protocol': KeyInfo(can_disable=True), |
| 7369 |
'limit': KeyInfo(can_disable=True), |
| 7370 |
'log': KeyInfo(default=False), |
| 7371 |
'log-prefix': KeyInfo(default=''), |
| 7372 |
'new-connection-mark': KeyInfo(can_disable=True), |
| 7373 |
'new-dscp': KeyInfo(can_disable=True), |
| 7374 |
'new-mss': KeyInfo(can_disable=True), |
| 7375 |
'new-packet-mark': KeyInfo(can_disable=True), |
| 7376 |
'new-priority': KeyInfo(can_disable=True), |
| 7377 |
'new-routing-mark': KeyInfo(can_disable=True), |
| 7378 |
'new-ttl': KeyInfo(can_disable=True), |
| 7379 |
'nth': KeyInfo(can_disable=True), |
| 7380 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 7381 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 7382 |
'out-interface': KeyInfo(can_disable=True), |
| 7383 |
'out-interface-list': KeyInfo(can_disable=True), |
| 7384 |
'p2p': KeyInfo(can_disable=True), |
| 7385 |
'packet-mark': KeyInfo(can_disable=True), |
| 7386 |
'packet-size': KeyInfo(can_disable=True), |
| 7387 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 7388 |
'port': KeyInfo(can_disable=True), |
| 7389 |
'priority': KeyInfo(can_disable=True), |
| 7390 |
'protocol': KeyInfo(can_disable=True), |
| 7391 |
'psd': KeyInfo(can_disable=True), |
| 7392 |
'random': KeyInfo(can_disable=True), |
| 7393 |
'realm': KeyInfo(can_disable=True), |
| 7394 |
'route-dst': KeyInfo(can_disable=True), |
| 7395 |
'routing-mark': KeyInfo(can_disable=True), |
| 7396 |
'sniff-id': KeyInfo(can_disable=True), |
| 7397 |
'sniff-target': KeyInfo(can_disable=True), |
| 7398 |
'sniff-target-port': KeyInfo(can_disable=True), |
| 7399 |
'src-address': KeyInfo(can_disable=True), |
| 7400 |
'src-address-list': KeyInfo(can_disable=True), |
| 7401 |
'src-address-type': KeyInfo(can_disable=True), |
| 7402 |
'src-mac-address': KeyInfo(can_disable=True), |
| 7403 |
'src-port': KeyInfo(can_disable=True), |
| 7404 |
'tcp-flags': KeyInfo(can_disable=True), |
| 7405 |
'tcp-mss': KeyInfo(can_disable=True), |
| 7406 |
'time': KeyInfo(can_disable=True), |
| 7407 |
'tls-host': KeyInfo(can_disable=True), |
| 7408 |
'ttl': KeyInfo(can_disable=True), |
| 7409 |
}, |
| 7410 |
), |
| 7411 |
), |
| 7412 |
|
| 7413 |
('ip', 'firewall', 'nat'): APIData( |
| 7414 |
unversioned=VersionedAPIData( |
| 7415 |
fully_understood=True, |
| 7416 |
stratify_keys=('chain',), |
| 7417 |
versioned_fields=[ |
| 7418 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7419 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7420 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7421 |
([('7.20', '>=')], 'socks5-port', KeyInfo()), |
| 7422 |
([('7.20', '>=')], 'socks5-server', KeyInfo()), |
| 7423 |
([('7.20', '>=')], 'socksify-service', KeyInfo()), |
| 7424 |
([('7.16', '<')], 'tls-host', KeyInfo(can_disable=True)), |
| 7425 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 7426 |
], |
| 7427 |
fields={ |
| 7428 |
'action': KeyInfo(), |
| 7429 |
'address-list': KeyInfo(can_disable=True), |
| 7430 |
'address-list-timeout': KeyInfo(can_disable=True), |
| 7431 |
'chain': KeyInfo(), |
| 7432 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7433 |
'connection-bytes': KeyInfo(can_disable=True), |
| 7434 |
'connection-limit': KeyInfo(can_disable=True), |
| 7435 |
'connection-mark': KeyInfo(can_disable=True), |
| 7436 |
'connection-rate': KeyInfo(can_disable=True), |
| 7437 |
'connection-type': KeyInfo(can_disable=True), |
| 7438 |
'content': KeyInfo(can_disable=True), |
| 7439 |
'disabled': KeyInfo(default=False), |
| 7440 |
'dscp': KeyInfo(can_disable=True), |
| 7441 |
'dst-address': KeyInfo(can_disable=True), |
| 7442 |
'dst-address-list': KeyInfo(can_disable=True), |
| 7443 |
'dst-address-type': KeyInfo(can_disable=True), |
| 7444 |
'dst-limit': KeyInfo(can_disable=True), |
| 7445 |
'dst-port': KeyInfo(can_disable=True), |
| 7446 |
'fragment': KeyInfo(can_disable=True), |
| 7447 |
'hotspot': KeyInfo(can_disable=True), |
| 7448 |
'icmp-options': KeyInfo(can_disable=True), |
| 7449 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 7450 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 7451 |
'in-interface': KeyInfo(can_disable=True), |
| 7452 |
'in-interface-list': KeyInfo(can_disable=True), |
| 7453 |
'ingress-priority': KeyInfo(can_disable=True), |
| 7454 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 7455 |
'ipv4-options': KeyInfo(can_disable=True), |
| 7456 |
'jump-target': KeyInfo(can_disable=True), |
| 7457 |
'layer7-protocol': KeyInfo(can_disable=True), |
| 7458 |
'limit': KeyInfo(can_disable=True), |
| 7459 |
'log': KeyInfo(default=False), |
| 7460 |
'log-prefix': KeyInfo(default=''), |
| 7461 |
'nth': KeyInfo(can_disable=True), |
| 7462 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 7463 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 7464 |
'out-interface': KeyInfo(can_disable=True), |
| 7465 |
'out-interface-list': KeyInfo(can_disable=True), |
| 7466 |
'packet-mark': KeyInfo(can_disable=True), |
| 7467 |
'packet-size': KeyInfo(can_disable=True), |
| 7468 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 7469 |
'port': KeyInfo(can_disable=True), |
| 7470 |
'priority': KeyInfo(can_disable=True), |
| 7471 |
'protocol': KeyInfo(can_disable=True), |
| 7472 |
'psd': KeyInfo(can_disable=True), |
| 7473 |
'random': KeyInfo(can_disable=True), |
| 7474 |
'randomise-ports': KeyInfo(can_disable=True), |
| 7475 |
'realm': KeyInfo(can_disable=True), |
| 7476 |
'routing-mark': KeyInfo(can_disable=True), |
| 7477 |
'same-not-by-dst': KeyInfo(can_disable=True), |
| 7478 |
'src-address': KeyInfo(can_disable=True), |
| 7479 |
'src-address-list': KeyInfo(can_disable=True), |
| 7480 |
'src-address-type': KeyInfo(can_disable=True), |
| 7481 |
'src-mac-address': KeyInfo(can_disable=True), |
| 7482 |
'src-port': KeyInfo(can_disable=True), |
| 7483 |
'tcp-mss': KeyInfo(can_disable=True), |
| 7484 |
'time': KeyInfo(can_disable=True), |
| 7485 |
'to-addresses': KeyInfo(can_disable=True), |
| 7486 |
'to-ports': KeyInfo(can_disable=True), |
| 7487 |
'ttl': KeyInfo(can_disable=True), |
| 7488 |
}, |
| 7489 |
), |
| 7490 |
), |
| 7491 |
|
| 7492 |
('ip', 'firewall', 'raw'): APIData( |
| 7493 |
unversioned=VersionedAPIData( |
| 7494 |
fully_understood=True, |
| 7495 |
stratify_keys=('chain',), |
| 7496 |
versioned_fields=[ |
| 7497 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7498 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7499 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7500 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 7501 |
], |
| 7502 |
fields={ |
| 7503 |
'action': KeyInfo(), |
| 7504 |
'address-list': KeyInfo(can_disable=True), |
| 7505 |
'address-list-timeout': KeyInfo(can_disable=True), |
| 7506 |
'chain': KeyInfo(), |
| 7507 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7508 |
'content': KeyInfo(can_disable=True), |
| 7509 |
'disabled': KeyInfo(default=False), |
| 7510 |
'dscp': KeyInfo(can_disable=True), |
| 7511 |
'dst-address': KeyInfo(can_disable=True), |
| 7512 |
'dst-address-list': KeyInfo(can_disable=True), |
| 7513 |
'dst-address-type': KeyInfo(can_disable=True), |
| 7514 |
'dst-limit': KeyInfo(can_disable=True), |
| 7515 |
'dst-port': KeyInfo(can_disable=True), |
| 7516 |
'fragment': KeyInfo(can_disable=True), |
| 7517 |
'hotspot': KeyInfo(can_disable=True), |
| 7518 |
'icmp-options': KeyInfo(can_disable=True), |
| 7519 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 7520 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 7521 |
'in-interface': KeyInfo(can_disable=True), |
| 7522 |
'in-interface-list': KeyInfo(can_disable=True), |
| 7523 |
'ingress-priority': KeyInfo(can_disable=True), |
| 7524 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 7525 |
'ipv4-options': KeyInfo(can_disable=True), |
| 7526 |
'jump-target': KeyInfo(can_disable=True), |
| 7527 |
'limit': KeyInfo(can_disable=True), |
| 7528 |
'log': KeyInfo(default=False), |
| 7529 |
'log-prefix': KeyInfo(default=''), |
| 7530 |
'nth': KeyInfo(can_disable=True), |
| 7531 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 7532 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 7533 |
'out-interface': KeyInfo(can_disable=True), |
| 7534 |
'out-interface-list': KeyInfo(can_disable=True), |
| 7535 |
'packet-mark': KeyInfo(can_disable=True), |
| 7536 |
'packet-size': KeyInfo(can_disable=True), |
| 7537 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 7538 |
'port': KeyInfo(can_disable=True), |
| 7539 |
'priority': KeyInfo(can_disable=True), |
| 7540 |
'protocol': KeyInfo(can_disable=True), |
| 7541 |
'psd': KeyInfo(can_disable=True), |
| 7542 |
'random': KeyInfo(can_disable=True), |
| 7543 |
'src-address': KeyInfo(can_disable=True), |
| 7544 |
'src-address-list': KeyInfo(can_disable=True), |
| 7545 |
'src-address-type': KeyInfo(can_disable=True), |
| 7546 |
'src-mac-address': KeyInfo(can_disable=True), |
| 7547 |
'src-port': KeyInfo(can_disable=True), |
| 7548 |
'tcp-flags': KeyInfo(can_disable=True), |
| 7549 |
'tcp-mss': KeyInfo(can_disable=True), |
| 7550 |
'time': KeyInfo(can_disable=True), |
| 7551 |
'tls-host': KeyInfo(can_disable=True), |
| 7552 |
'ttl': KeyInfo(can_disable=True), |
| 7553 |
}, |
| 7554 |
), |
| 7555 |
), |
| 7556 |
|
| 7557 |
('ip', 'firewall', 'service-port'): APIData( |
| 7558 |
unversioned=VersionedAPIData( |
| 7559 |
fixed_entries=True, |
| 7560 |
fully_understood=True, |
| 7561 |
primary_keys=('name',), |
| 7562 |
versioned_fields=[ |
| 7563 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 7564 |
], |
| 7565 |
fields={ |
| 7566 |
'disabled': KeyInfo(default=False), |
| 7567 |
'name': KeyInfo(), |
| 7568 |
'ports': KeyInfo(), |
| 7569 |
'sip-direct-media': KeyInfo(), |
| 7570 |
'sip-timeout': KeyInfo(), |
| 7571 |
}, |
| 7572 |
), |
| 7573 |
), |
| 7574 |
|
| 7575 |
('ip', 'hotspot'): APIData( |
| 7576 |
unversioned=VersionedAPIData( |
| 7577 |
fully_understood=True, |
| 7578 |
primary_keys=('name', 'interface'), |
| 7579 |
versioned_fields=[ |
| 7580 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7581 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7582 |
], |
| 7583 |
fields={ |
| 7584 |
'address-pool': KeyInfo(default='none'), |
| 7585 |
'addresses-per-mac': KeyInfo(default='2'), |
| 7586 |
'disabled': KeyInfo(default=False), |
| 7587 |
'idle-timeout': KeyInfo(default='5m'), |
| 7588 |
'interface': KeyInfo(required=True), |
| 7589 |
'keepalive-timeout': KeyInfo(default='none'), |
| 7590 |
'login-timeout': KeyInfo(default='none'), |
| 7591 |
'name': KeyInfo(), |
| 7592 |
'profile': KeyInfo(default='default'), |
| 7593 |
}, |
| 7594 |
), |
| 7595 |
), |
| 7596 |
|
| 7597 |
('ip', 'hotspot', 'active'): APIData( |
| 7598 |
versioned=[ |
| 7599 |
('7.21', '>=', 'Not supported anymore in version 7.21'), |
| 7600 |
('7.15', '>=', VersionedAPIData( |
| 7601 |
fully_understood=True, |
| 7602 |
modify_not_supported=True, |
| 7603 |
fields={ |
| 7604 |
'comment': KeyInfo(), |
| 7605 |
# 'copy-from': KeyInfo(write_only=True), |
| 7606 |
}, |
| 7607 |
)), |
| 7608 |
], |
| 7609 |
), |
| 7610 |
|
| 7611 |
('ip', 'hotspot', 'ip-binding'): APIData( |
| 7612 |
versioned=[ |
| 7613 |
('7.15', '>=', VersionedAPIData( |
| 7614 |
fully_understood=True, |
| 7615 |
fields={ |
| 7616 |
'address': KeyInfo(), |
| 7617 |
'comment': KeyInfo(), |
| 7618 |
# 'copy-from': KeyInfo(write_only=True), |
| 7619 |
'disabled': KeyInfo(), |
| 7620 |
'mac-address': KeyInfo(), |
| 7621 |
'numbers': KeyInfo(read_only=True), |
| 7622 |
# 'place-before': KeyInfo(write_only=True), |
| 7623 |
'server': KeyInfo(), |
| 7624 |
'to-address': KeyInfo(), |
| 7625 |
'type': KeyInfo(), |
| 7626 |
}, |
| 7627 |
)), |
| 7628 |
], |
| 7629 |
), |
| 7630 |
|
| 7631 |
('ip', 'hotspot', 'profile'): APIData( |
| 7632 |
unversioned=VersionedAPIData( |
| 7633 |
fully_understood=True, |
| 7634 |
primary_keys=('name',), |
| 7635 |
versioned_fields=[ |
| 7636 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7637 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7638 |
], |
| 7639 |
fields={ |
| 7640 |
'dns-name': KeyInfo(default=''), |
| 7641 |
'hotspot-address': KeyInfo(default='0.0.0.0'), |
| 7642 |
'html-directory': KeyInfo(default='flash/hotspot'), |
| 7643 |
'html-directory-override': KeyInfo(default=''), |
| 7644 |
'http-cookie-lifetime': KeyInfo(default='3d'), |
| 7645 |
'http-proxy': KeyInfo(default='0.0.0.0:0'), |
| 7646 |
'install-hotspot-queue': KeyInfo(default=False), |
| 7647 |
'login-by': KeyInfo(default='cookie,http-chap'), |
| 7648 |
'mac-auth-mode': KeyInfo(default='mac-as-username'), |
| 7649 |
'mac-auth-password': KeyInfo(), |
| 7650 |
'name': KeyInfo(), |
| 7651 |
'nas-port-type': KeyInfo(default='wireless-802.11'), |
| 7652 |
'radius-accounting': KeyInfo(default=True), |
| 7653 |
'radius-default-domain': KeyInfo(default=''), |
| 7654 |
'radius-interim-update': KeyInfo(default='received'), |
| 7655 |
'radius-location-id': KeyInfo(default=''), |
| 7656 |
'radius-location-name': KeyInfo(default=''), |
| 7657 |
'radius-mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'), |
| 7658 |
'rate-limit': KeyInfo(), |
| 7659 |
'smtp-server': KeyInfo(default='0.0.0.0'), |
| 7660 |
'split-user-domain': KeyInfo(default=False), |
| 7661 |
'ssl-certificate': KeyInfo(), |
| 7662 |
'trial-uptime-limit': KeyInfo(default='30m'), |
| 7663 |
'trial-uptime-reset': KeyInfo(default='1d'), |
| 7664 |
'trial-user-profile': KeyInfo(default='default'), |
| 7665 |
'use-radius': KeyInfo(default=False), |
| 7666 |
}, |
| 7667 |
), |
| 7668 |
), |
| 7669 |
|
| 7670 |
('ip', 'hotspot', 'service-port'): APIData( |
| 7671 |
unversioned=VersionedAPIData( |
| 7672 |
fixed_entries=True, |
| 7673 |
fully_understood=True, |
| 7674 |
primary_keys=('name',), |
| 7675 |
versioned_fields=[ |
| 7676 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 7677 |
], |
| 7678 |
fields={ |
| 7679 |
'disabled': KeyInfo(default=False), |
| 7680 |
'name': KeyInfo(), |
| 7681 |
'ports': KeyInfo(), |
| 7682 |
}, |
| 7683 |
), |
| 7684 |
), |
| 7685 |
|
| 7686 |
('ip', 'hotspot', 'user'): APIData( |
| 7687 |
unversioned=VersionedAPIData( |
| 7688 |
fully_understood=True, |
| 7689 |
primary_keys=('name',), |
| 7690 |
versioned_fields=[ |
| 7691 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7692 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7693 |
([('7.21.3', '>=')], 'otp-secret', KeyInfo()), |
| 7694 |
([('7.21', '>=')], 'totp-secret', KeyInfo()), |
| 7695 |
], |
| 7696 |
fields={ |
| 7697 |
'address': KeyInfo(), |
| 7698 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7699 |
'disabled': KeyInfo(default=False), |
| 7700 |
'email': KeyInfo(), |
| 7701 |
'limit-bytes-in': KeyInfo(), |
| 7702 |
'limit-bytes-out': KeyInfo(), |
| 7703 |
'limit-bytes-total': KeyInfo(), |
| 7704 |
'limit-uptime': KeyInfo(), |
| 7705 |
'mac-address': KeyInfo(), |
| 7706 |
'name': KeyInfo(), |
| 7707 |
'password': KeyInfo(), |
| 7708 |
'profile': KeyInfo(default='default'), |
| 7709 |
'routes': KeyInfo(), |
| 7710 |
'server': KeyInfo(default='all'), |
| 7711 |
}, |
| 7712 |
), |
| 7713 |
), |
| 7714 |
|
| 7715 |
('ip', 'hotspot', 'user', 'profile'): APIData( |
| 7716 |
unversioned=VersionedAPIData( |
| 7717 |
fully_understood=True, |
| 7718 |
primary_keys=('name',), |
| 7719 |
versioned_fields=[ |
| 7720 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7721 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7722 |
([('7.15', '>=')], 'on-login', KeyInfo()), |
| 7723 |
([('7.15', '>=')], 'on-logout', KeyInfo()), |
| 7724 |
], |
| 7725 |
fields={ |
| 7726 |
'add-mac-cookie': KeyInfo(default=True), |
| 7727 |
'address-list': KeyInfo(default=''), |
| 7728 |
'address-pool': KeyInfo(default='none'), |
| 7729 |
'advertise': KeyInfo(default=False), |
| 7730 |
'advertise-interval': KeyInfo(), |
| 7731 |
'advertise-timeout': KeyInfo(), |
| 7732 |
'advertise-url': KeyInfo(), |
| 7733 |
'idle-timeout': KeyInfo(can_disable=True, default='none'), |
| 7734 |
'incoming-filter': KeyInfo(), |
| 7735 |
'incoming-packet-mark': KeyInfo(), |
| 7736 |
'insert-queue-before': KeyInfo(can_disable=True), |
| 7737 |
'keepalive-timeout': KeyInfo(can_disable=True, default='2m'), |
| 7738 |
'mac-cookie-timeout': KeyInfo(can_disable=True, default='3d'), |
| 7739 |
'name': KeyInfo(), |
| 7740 |
'open-status-page': KeyInfo(default='always'), |
| 7741 |
'outgoing-filter': KeyInfo(), |
| 7742 |
'outgoing-packet-mark': KeyInfo(), |
| 7743 |
'parent-queue': KeyInfo(can_disable=True), |
| 7744 |
'queue-type': KeyInfo(can_disable=True), |
| 7745 |
'rate-limit': KeyInfo(), |
| 7746 |
'session-timeout': KeyInfo(), |
| 7747 |
'shared-users': KeyInfo(default=1), |
| 7748 |
'status-autorefresh': KeyInfo(default='1m'), |
| 7749 |
'transparent-proxy': KeyInfo(default=False), |
| 7750 |
}, |
| 7751 |
), |
| 7752 |
), |
| 7753 |
|
| 7754 |
('ip', 'hotspot', 'walled-garden'): APIData( |
| 7755 |
unversioned=VersionedAPIData( |
| 7756 |
fully_understood=True, |
| 7757 |
versioned_fields=[ |
| 7758 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7759 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7760 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7761 |
], |
| 7762 |
fields={ |
| 7763 |
'action': KeyInfo(default='allow'), |
| 7764 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7765 |
'disabled': KeyInfo(default=False), |
| 7766 |
'dst-host': KeyInfo(can_disable=True), |
| 7767 |
'dst-port': KeyInfo(can_disable=True), |
| 7768 |
'method': KeyInfo(can_disable=True), |
| 7769 |
'path': KeyInfo(can_disable=True), |
| 7770 |
'server': KeyInfo(can_disable=True), |
| 7771 |
'src-address': KeyInfo(can_disable=True), |
| 7772 |
}, |
| 7773 |
), |
| 7774 |
), |
| 7775 |
|
| 7776 |
('ip', 'hotspot', 'walled-garden', 'ip'): APIData( |
| 7777 |
unversioned=VersionedAPIData( |
| 7778 |
fully_understood=True, |
| 7779 |
versioned_fields=[ |
| 7780 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7781 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7782 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7783 |
], |
| 7784 |
fields={ |
| 7785 |
'action': KeyInfo(default='accept'), |
| 7786 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7787 |
'disabled': KeyInfo(default='no'), |
| 7788 |
'dst-address': KeyInfo(can_disable=True, remove_value=''), |
| 7789 |
'dst-address-list': KeyInfo(can_disable=True, remove_value=''), |
| 7790 |
'dst-host': KeyInfo(), |
| 7791 |
'dst-port': KeyInfo(can_disable=True), |
| 7792 |
'protocol': KeyInfo(can_disable=True), |
| 7793 |
'server': KeyInfo(can_disable=True), |
| 7794 |
'src-address': KeyInfo(can_disable=True), |
| 7795 |
'src-address-list': KeyInfo(can_disable=True), |
| 7796 |
}, |
| 7797 |
), |
| 7798 |
), |
| 7799 |
|
| 7800 |
('ip', 'ipsec', 'active-peers'): APIData( |
| 7801 |
versioned=[ |
| 7802 |
('7.15', '>=', VersionedAPIData( |
| 7803 |
fully_understood=True, |
| 7804 |
modify_not_supported=True, |
| 7805 |
fields={ |
| 7806 |
'comment': KeyInfo(), |
| 7807 |
# 'copy-from': KeyInfo(write_only=True), |
| 7808 |
'numbers': KeyInfo(read_only=True), |
| 7809 |
}, |
| 7810 |
)), |
| 7811 |
], |
| 7812 |
), |
| 7813 |
|
| 7814 |
('ip', 'ipsec', 'identity'): APIData( |
| 7815 |
unversioned=VersionedAPIData( |
| 7816 |
fully_understood=True, |
| 7817 |
versioned_fields=[ |
| 7818 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7819 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7820 |
], |
| 7821 |
fields={ |
| 7822 |
'auth-method': KeyInfo(default='pre-shared-key'), |
| 7823 |
'certificate': KeyInfo(), |
| 7824 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7825 |
'disabled': KeyInfo(default=False), |
| 7826 |
'eap-methods': KeyInfo(default='eap-tls'), |
| 7827 |
'generate-policy': KeyInfo(default=False), |
| 7828 |
'key': KeyInfo(), |
| 7829 |
'match-by': KeyInfo(can_disable=True, remove_value='remote-id'), |
| 7830 |
'mode-config': KeyInfo(can_disable=True, remove_value='none'), |
| 7831 |
'my-id': KeyInfo(can_disable=True, remove_value='auto'), |
| 7832 |
'notrack-chain': KeyInfo(can_disable=True, remove_value=''), |
| 7833 |
'password': KeyInfo(), |
| 7834 |
'peer': KeyInfo(), |
| 7835 |
'policy-template-group': KeyInfo(can_disable=True, remove_value='default'), |
| 7836 |
'remote-certificate': KeyInfo(), |
| 7837 |
'remote-id': KeyInfo(can_disable=True, remove_value='auto'), |
| 7838 |
'remote-key': KeyInfo(), |
| 7839 |
'secret': KeyInfo(default=''), |
| 7840 |
'username': KeyInfo(), |
| 7841 |
}, |
| 7842 |
), |
| 7843 |
), |
| 7844 |
|
| 7845 |
('ip', 'ipsec', 'key'): APIData( |
| 7846 |
versioned=[ |
| 7847 |
('7.20', '>=', 'Not supported anymore in version >= 7.20'), |
| 7848 |
('7.15', '>=', VersionedAPIData( |
| 7849 |
# fixed_entries=True, |
| 7850 |
fully_understood=True, |
| 7851 |
has_identifier=True, |
| 7852 |
# primary_keys=('numbers',), |
| 7853 |
fields={ |
| 7854 |
'name': KeyInfo(), |
| 7855 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 7856 |
}, |
| 7857 |
)), |
| 7858 |
], |
| 7859 |
), |
| 7860 |
|
| 7861 |
('ip', 'ipsec', 'key', 'psk'): APIData( |
| 7862 |
versioned=[ |
| 7863 |
('7.21', '>=', VersionedAPIData( |
| 7864 |
fully_understood=True, |
| 7865 |
fields={ |
| 7866 |
# 'copy-from': KeyInfo(write_only=True), |
| 7867 |
'id': KeyInfo(), |
| 7868 |
'key': KeyInfo(), |
| 7869 |
'peer': KeyInfo(), |
| 7870 |
}, |
| 7871 |
)), |
| 7872 |
], |
| 7873 |
), |
| 7874 |
|
| 7875 |
('ip', 'ipsec', 'key', 'qkd'): APIData( |
| 7876 |
versioned=[ |
| 7877 |
('7.21', '>=', VersionedAPIData( |
| 7878 |
fixed_entries=True, |
| 7879 |
fully_understood=True, |
| 7880 |
single_value=True, |
| 7881 |
fields={ |
| 7882 |
'address': KeyInfo(), |
| 7883 |
'cache-size': KeyInfo(), |
| 7884 |
'certificate': KeyInfo(), |
| 7885 |
'enabled': KeyInfo(), |
| 7886 |
'key-size': KeyInfo(), |
| 7887 |
'kme-id': KeyInfo(), |
| 7888 |
'peer-sae-id': KeyInfo(), |
| 7889 |
}, |
| 7890 |
)), |
| 7891 |
], |
| 7892 |
), |
| 7893 |
|
| 7894 |
('ip', 'ipsec', 'key', 'rsa'): APIData( |
| 7895 |
versioned=[ |
| 7896 |
('7.20', '>=', VersionedAPIData( |
| 7897 |
fixed_entries=True, |
| 7898 |
fully_understood=True, |
| 7899 |
primary_keys=('numbers',), |
| 7900 |
fields={ |
| 7901 |
'name': KeyInfo(), |
| 7902 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 7903 |
}, |
| 7904 |
)), |
| 7905 |
], |
| 7906 |
), |
| 7907 |
|
| 7908 |
('ip', 'ipsec', 'mode-config'): APIData( |
| 7909 |
unversioned=VersionedAPIData( |
| 7910 |
fully_understood=True, |
| 7911 |
primary_keys=('name',), |
| 7912 |
versioned_fields=[ |
| 7913 |
([('6.44', '>=')], 'address', KeyInfo(can_disable=True, remove_value='0.0.0.0')), |
| 7914 |
([('7.15', '<')], 'comment', KeyInfo(can_disable=True, remove_value='')), |
| 7915 |
([('7.15', '>=')], 'connection-mark', KeyInfo()), |
| 7916 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7917 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7918 |
([('6.43', '>=')], 'responder', KeyInfo(default=False)), |
| 7919 |
([('7.15', '>=')], 'use-responder-dns', KeyInfo()), |
| 7920 |
], |
| 7921 |
fields={ |
| 7922 |
'address-pool': KeyInfo(can_disable=True, remove_value='none'), |
| 7923 |
'address-prefix-length': KeyInfo(), |
| 7924 |
'name': KeyInfo(), |
| 7925 |
'split-dns': KeyInfo(can_disable=True, remove_value=''), |
| 7926 |
'split-include': KeyInfo(can_disable=True, remove_value=''), |
| 7927 |
'src-address-list': KeyInfo(can_disable=True, remove_value=''), |
| 7928 |
'static-dns': KeyInfo(can_disable=True, remove_value=''), |
| 7929 |
'system-dns': KeyInfo(default=False), |
| 7930 |
}, |
| 7931 |
), |
| 7932 |
), |
| 7933 |
|
| 7934 |
('ip', 'ipsec', 'peer'): APIData( |
| 7935 |
unversioned=VersionedAPIData( |
| 7936 |
fully_understood=True, |
| 7937 |
primary_keys=('name',), |
| 7938 |
versioned_fields=[ |
| 7939 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7940 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7941 |
([('7.21', '>=')], 'ppk-secret', KeyInfo()), |
| 7942 |
], |
| 7943 |
fields={ |
| 7944 |
'address': KeyInfo(can_disable=True, remove_value=''), |
| 7945 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7946 |
'disabled': KeyInfo(default=False), |
| 7947 |
'exchange-mode': KeyInfo(default='main'), |
| 7948 |
'local-address': KeyInfo(can_disable=True, remove_value='0.0.0.0'), |
| 7949 |
'name': KeyInfo(), |
| 7950 |
'passive': KeyInfo(can_disable=True, remove_value=False), |
| 7951 |
'port': KeyInfo(can_disable=True, remove_value=500), |
| 7952 |
'profile': KeyInfo(default='default'), |
| 7953 |
'send-initial-contact': KeyInfo(default=True), |
| 7954 |
}, |
| 7955 |
), |
| 7956 |
), |
| 7957 |
|
| 7958 |
('ip', 'ipsec', 'policy'): APIData( |
| 7959 |
unversioned=VersionedAPIData( |
| 7960 |
fully_understood=True, |
| 7961 |
versioned_fields=[ |
| 7962 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7963 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7964 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 7965 |
([('7.15', '>=')], 'sa-dst-address', KeyInfo()), |
| 7966 |
([('7.15', '>=')], 'sa-src-address', KeyInfo()), |
| 7967 |
], |
| 7968 |
fields={ |
| 7969 |
'action': KeyInfo(default='encrypt'), |
| 7970 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 7971 |
'disabled': KeyInfo(default=False), |
| 7972 |
'dst-address': KeyInfo(), |
| 7973 |
'dst-port': KeyInfo(default='any'), |
| 7974 |
'group': KeyInfo(can_disable=True, remove_value='default'), |
| 7975 |
'ipsec-protocols': KeyInfo(default='esp'), |
| 7976 |
'level': KeyInfo(default='require'), |
| 7977 |
'peer': KeyInfo(), |
| 7978 |
'proposal': KeyInfo(default='default'), |
| 7979 |
'protocol': KeyInfo(default='all'), |
| 7980 |
'src-address': KeyInfo(), |
| 7981 |
'src-port': KeyInfo(default='any'), |
| 7982 |
'template': KeyInfo(can_disable=True, remove_value=False), |
| 7983 |
'tunnel': KeyInfo(default=False), |
| 7984 |
}, |
| 7985 |
), |
| 7986 |
), |
| 7987 |
|
| 7988 |
('ip', 'ipsec', 'policy', 'group'): APIData( |
| 7989 |
unversioned=VersionedAPIData( |
| 7990 |
fully_understood=True, |
| 7991 |
versioned_fields=[ |
| 7992 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 7993 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 7994 |
([('7.15', '<')], 'default', KeyInfo()), |
| 7995 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 7996 |
], |
| 7997 |
fields={ |
| 7998 |
'name': KeyInfo(), |
| 7999 |
}, |
| 8000 |
), |
| 8001 |
), |
| 8002 |
|
| 8003 |
('ip', 'ipsec', 'profile'): APIData( |
| 8004 |
unversioned=VersionedAPIData( |
| 8005 |
fully_understood=True, |
| 8006 |
primary_keys=('name',), |
| 8007 |
versioned_fields=[ |
| 8008 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8009 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8010 |
([('7.21', '>=')], 'ppk', KeyInfo()), |
| 8011 |
], |
| 8012 |
fields={ |
| 8013 |
'dh-group': KeyInfo(default='modp2048,modp1024'), |
| 8014 |
'dpd-interval': KeyInfo(default='2m'), |
| 8015 |
'dpd-maximum-failures': KeyInfo(default=5), |
| 8016 |
'enc-algorithm': KeyInfo(default='aes-128,3des'), |
| 8017 |
'hash-algorithm': KeyInfo(default='sha1'), |
| 8018 |
'lifebytes': KeyInfo(can_disable=True, remove_value=0), |
| 8019 |
'lifetime': KeyInfo(default='1d'), |
| 8020 |
'name': KeyInfo(), |
| 8021 |
'nat-traversal': KeyInfo(default=True), |
| 8022 |
'prf-algorithm': KeyInfo(can_disable=True, remove_value='auto'), |
| 8023 |
'proposal-check': KeyInfo(default='obey'), |
| 8024 |
}, |
| 8025 |
), |
| 8026 |
), |
| 8027 |
|
| 8028 |
('ip', 'ipsec', 'proposal'): APIData( |
| 8029 |
unversioned=VersionedAPIData( |
| 8030 |
fully_understood=True, |
| 8031 |
primary_keys=('name',), |
| 8032 |
versioned_fields=[ |
| 8033 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 8034 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8035 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8036 |
], |
| 8037 |
fields={ |
| 8038 |
'auth-algorithms': KeyInfo(default='sha1'), |
| 8039 |
'disabled': KeyInfo(default=False), |
| 8040 |
'enc-algorithms': KeyInfo(default='aes-256-cbc,aes-192-cbc,aes-128-cbc'), |
| 8041 |
'lifetime': KeyInfo(default='30m'), |
| 8042 |
'name': KeyInfo(), |
| 8043 |
'pfs-group': KeyInfo(default='modp1024'), |
| 8044 |
}, |
| 8045 |
), |
| 8046 |
), |
| 8047 |
|
| 8048 |
('ip', 'ipsec', 'settings'): APIData( |
| 8049 |
unversioned=VersionedAPIData( |
| 8050 |
fixed_entries=True, |
| 8051 |
fully_understood=True, |
| 8052 |
single_value=True, |
| 8053 |
versioned_fields=[ |
| 8054 |
([('7.22', '>=')], 'ddos-cookie-threshold', KeyInfo()), |
| 8055 |
], |
| 8056 |
fields={ |
| 8057 |
'accounting': KeyInfo(default=True), |
| 8058 |
'interim-update': KeyInfo(default='0s'), |
| 8059 |
'xauth-use-radius': KeyInfo(default=False), |
| 8060 |
}, |
| 8061 |
), |
| 8062 |
), |
| 8063 |
|
| 8064 |
('ip', 'kid-control'): APIData( |
| 8065 |
versioned=[ |
| 8066 |
('7.15', '>=', VersionedAPIData( |
| 8067 |
fully_understood=True, |
| 8068 |
fields={ |
| 8069 |
# 'copy-from': KeyInfo(write_only=True), |
| 8070 |
'disabled': KeyInfo(), |
| 8071 |
'fri': KeyInfo(), |
| 8072 |
'mon': KeyInfo(), |
| 8073 |
'name': KeyInfo(), |
| 8074 |
'numbers': KeyInfo(read_only=True), |
| 8075 |
'rate-limit': KeyInfo(), |
| 8076 |
'sat': KeyInfo(), |
| 8077 |
'sun': KeyInfo(), |
| 8078 |
'thu': KeyInfo(), |
| 8079 |
'tue': KeyInfo(), |
| 8080 |
'tur-fri': KeyInfo(), |
| 8081 |
'tur-mon': KeyInfo(), |
| 8082 |
'tur-sat': KeyInfo(), |
| 8083 |
'tur-sun': KeyInfo(), |
| 8084 |
'tur-thu': KeyInfo(), |
| 8085 |
'tur-tue': KeyInfo(), |
| 8086 |
'tur-wed': KeyInfo(), |
| 8087 |
'wed': KeyInfo(), |
| 8088 |
}, |
| 8089 |
)), |
| 8090 |
], |
| 8091 |
), |
| 8092 |
|
| 8093 |
('ip', 'kid-control', 'device'): APIData( |
| 8094 |
versioned=[ |
| 8095 |
('7.15', '>=', VersionedAPIData( |
| 8096 |
fully_understood=True, |
| 8097 |
fields={ |
| 8098 |
# 'copy-from': KeyInfo(write_only=True), |
| 8099 |
'disabled': KeyInfo(), |
| 8100 |
'mac-address': KeyInfo(), |
| 8101 |
'name': KeyInfo(), |
| 8102 |
'numbers': KeyInfo(read_only=True), |
| 8103 |
'user': KeyInfo(), |
| 8104 |
}, |
| 8105 |
)), |
| 8106 |
], |
| 8107 |
), |
| 8108 |
|
| 8109 |
('ip', 'media'): APIData( |
| 8110 |
versioned=[ |
| 8111 |
('7.15', '>=', VersionedAPIData( |
| 8112 |
fully_understood=True, |
| 8113 |
fields={ |
| 8114 |
'allowed-hostname': KeyInfo(), |
| 8115 |
'allowed-ip': KeyInfo(), |
| 8116 |
# 'copy-from': KeyInfo(write_only=True), |
| 8117 |
'disabled': KeyInfo(), |
| 8118 |
'friendly-name': KeyInfo(), |
| 8119 |
'interface': KeyInfo(), |
| 8120 |
'numbers': KeyInfo(read_only=True), |
| 8121 |
'path': KeyInfo(), |
| 8122 |
}, |
| 8123 |
)), |
| 8124 |
], |
| 8125 |
), |
| 8126 |
|
| 8127 |
('ip', 'media', 'settings'): APIData( |
| 8128 |
versioned=[ |
| 8129 |
('7.15', '>=', VersionedAPIData( |
| 8130 |
fixed_entries=True, |
| 8131 |
fully_understood=True, |
| 8132 |
single_value=True, |
| 8133 |
fields={ |
| 8134 |
'thumbnails': KeyInfo(), |
| 8135 |
}, |
| 8136 |
)), |
| 8137 |
], |
| 8138 |
), |
| 8139 |
|
| 8140 |
('ip', 'nat-pmp'): APIData( |
| 8141 |
versioned=[ |
| 8142 |
('7.15', '>=', VersionedAPIData( |
| 8143 |
fixed_entries=True, |
| 8144 |
fully_understood=True, |
| 8145 |
single_value=True, |
| 8146 |
fields={ |
| 8147 |
'enabled': KeyInfo(), |
| 8148 |
}, |
| 8149 |
)), |
| 8150 |
], |
| 8151 |
), |
| 8152 |
|
| 8153 |
('ip', 'nat-pmp', 'interfaces'): APIData( |
| 8154 |
versioned=[ |
| 8155 |
('7.15', '>=', VersionedAPIData( |
| 8156 |
fully_understood=True, |
| 8157 |
fields={ |
| 8158 |
# 'copy-from': KeyInfo(write_only=True), |
| 8159 |
'disabled': KeyInfo(), |
| 8160 |
'forced-ip': KeyInfo(), |
| 8161 |
'interface': KeyInfo(), |
| 8162 |
'numbers': KeyInfo(read_only=True), |
| 8163 |
'type': KeyInfo(), |
| 8164 |
}, |
| 8165 |
)), |
| 8166 |
], |
| 8167 |
), |
| 8168 |
|
| 8169 |
('ip', 'neighbor', 'discovery-settings'): APIData( |
| 8170 |
unversioned=VersionedAPIData( |
| 8171 |
fixed_entries=True, |
| 8172 |
fully_understood=True, |
| 8173 |
single_value=True, |
| 8174 |
versioned_fields=[ |
| 8175 |
([('7.16', '>=')], 'discover-interval', KeyInfo(default='30s')), |
| 8176 |
([('7.17', '>=')], 'lldp-dcbx', KeyInfo(default=False)), |
| 8177 |
([('7.15', '>=')], 'lldp-mac-phy-config', KeyInfo(default=False)), |
| 8178 |
([('7.15', '>=')], 'lldp-max-frame-size', KeyInfo()), |
| 8179 |
([('7.15', '>=')], 'lldp-poe-power', KeyInfo()), |
| 8180 |
([('7.16', '>=')], 'lldp-vlan-info', KeyInfo(default=False)), |
| 8181 |
([('7.7', '>=')], 'mode', KeyInfo(default='tx-and-rx')), |
| 8182 |
], |
| 8183 |
fields={ |
| 8184 |
'discover-interface-list': KeyInfo(), |
| 8185 |
'lldp-med-net-policy-vlan': KeyInfo(default='disabled'), |
| 8186 |
'protocol': KeyInfo(default='cdp,lldp,mndp'), |
| 8187 |
}, |
| 8188 |
), |
| 8189 |
), |
| 8190 |
|
| 8191 |
('ip', 'packing'): APIData( |
| 8192 |
versioned=[ |
| 8193 |
('7.15', '>=', VersionedAPIData( |
| 8194 |
fully_understood=True, |
| 8195 |
fields={ |
| 8196 |
'aggregated-size': KeyInfo(), |
| 8197 |
# 'copy-from': KeyInfo(write_only=True), |
| 8198 |
'disabled': KeyInfo(), |
| 8199 |
'interface': KeyInfo(), |
| 8200 |
'numbers': KeyInfo(read_only=True), |
| 8201 |
'packing': KeyInfo(), |
| 8202 |
'unpacking': KeyInfo(), |
| 8203 |
}, |
| 8204 |
)), |
| 8205 |
], |
| 8206 |
), |
| 8207 |
|
| 8208 |
('ip', 'pool'): APIData( |
| 8209 |
unversioned=VersionedAPIData( |
| 8210 |
fully_understood=True, |
| 8211 |
primary_keys=('name',), |
| 8212 |
versioned_fields=[ |
| 8213 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8214 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8215 |
], |
| 8216 |
fields={ |
| 8217 |
'comment': KeyInfo(), |
| 8218 |
'name': KeyInfo(), |
| 8219 |
'next-pool': KeyInfo(), |
| 8220 |
'ranges': KeyInfo(), |
| 8221 |
}, |
| 8222 |
), |
| 8223 |
), |
| 8224 |
|
| 8225 |
('ip', 'pool', 'used'): APIData( |
| 8226 |
versioned=[ |
| 8227 |
('7.15', '>=', VersionedAPIData( |
| 8228 |
# fixed_entries=True, |
| 8229 |
fully_understood=True, |
| 8230 |
has_identifier=True, |
| 8231 |
# primary_keys=('numbers',), |
| 8232 |
fields={ |
| 8233 |
'address': KeyInfo(), |
| 8234 |
'info': KeyInfo(), |
| 8235 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 8236 |
'owner': KeyInfo(), |
| 8237 |
'pool': KeyInfo(), |
| 8238 |
}, |
| 8239 |
)), |
| 8240 |
], |
| 8241 |
), |
| 8242 |
|
| 8243 |
('ip', 'proxy'): APIData( |
| 8244 |
unversioned=VersionedAPIData( |
| 8245 |
fixed_entries=True, |
| 8246 |
fully_understood=True, |
| 8247 |
single_value=True, |
| 8248 |
fields={ |
| 8249 |
'always-from-cache': KeyInfo(default=False), |
| 8250 |
'anonymous': KeyInfo(default=False), |
| 8251 |
'cache-administrator': KeyInfo(default='webmaster'), |
| 8252 |
'cache-hit-dscp': KeyInfo(default=4), |
| 8253 |
'cache-on-disk': KeyInfo(default=False), |
| 8254 |
'cache-path': KeyInfo(default='web-proxy'), |
| 8255 |
'enabled': KeyInfo(default=False), |
| 8256 |
'max-cache-object-size': KeyInfo(default='2048KiB'), |
| 8257 |
'max-cache-size': KeyInfo(default='unlimited'), |
| 8258 |
'max-client-connections': KeyInfo(default=600), |
| 8259 |
'max-fresh-time': KeyInfo(default='3d'), |
| 8260 |
'max-server-connections': KeyInfo(default=600), |
| 8261 |
'parent-proxy': KeyInfo(default='::'), |
| 8262 |
'parent-proxy-port': KeyInfo(default=0), |
| 8263 |
'port': KeyInfo(default=8080), |
| 8264 |
'serialize-connections': KeyInfo(default=False), |
| 8265 |
'src-address': KeyInfo(default='::'), |
| 8266 |
}, |
| 8267 |
), |
| 8268 |
), |
| 8269 |
|
| 8270 |
('ip', 'proxy', 'access'): APIData( |
| 8271 |
versioned=[ |
| 8272 |
('7.15', '>=', VersionedAPIData( |
| 8273 |
fully_understood=True, |
| 8274 |
fields={ |
| 8275 |
'action': KeyInfo(), |
| 8276 |
'action-data': KeyInfo(), |
| 8277 |
'comment': KeyInfo(), |
| 8278 |
# 'copy-from': KeyInfo(write_only=True), |
| 8279 |
'disabled': KeyInfo(), |
| 8280 |
'dst-address': KeyInfo(), |
| 8281 |
'dst-host': KeyInfo(), |
| 8282 |
'dst-port': KeyInfo(), |
| 8283 |
'local-port': KeyInfo(), |
| 8284 |
'method': KeyInfo(), |
| 8285 |
'numbers': KeyInfo(read_only=True), |
| 8286 |
'path': KeyInfo(), |
| 8287 |
# 'place-before': KeyInfo(write_only=True), |
| 8288 |
'src-address': KeyInfo(), |
| 8289 |
}, |
| 8290 |
)), |
| 8291 |
], |
| 8292 |
), |
| 8293 |
|
| 8294 |
('ip', 'proxy', 'cache'): APIData( |
| 8295 |
versioned=[ |
| 8296 |
('7.15', '>=', VersionedAPIData( |
| 8297 |
fully_understood=True, |
| 8298 |
fields={ |
| 8299 |
'action': KeyInfo(), |
| 8300 |
'comment': KeyInfo(), |
| 8301 |
# 'copy-from': KeyInfo(write_only=True), |
| 8302 |
'disabled': KeyInfo(), |
| 8303 |
'dst-address': KeyInfo(), |
| 8304 |
'dst-host': KeyInfo(), |
| 8305 |
'dst-port': KeyInfo(), |
| 8306 |
'local-port': KeyInfo(), |
| 8307 |
'method': KeyInfo(), |
| 8308 |
'numbers': KeyInfo(read_only=True), |
| 8309 |
'path': KeyInfo(), |
| 8310 |
# 'place-before': KeyInfo(write_only=True), |
| 8311 |
'src-address': KeyInfo(), |
| 8312 |
}, |
| 8313 |
)), |
| 8314 |
], |
| 8315 |
), |
| 8316 |
|
| 8317 |
('ip', 'proxy', 'cache-contents'): APIData( |
| 8318 |
versioned=[ |
| 8319 |
('7.15', '>=', VersionedAPIData( |
| 8320 |
fully_understood=True, |
| 8321 |
modify_not_supported=True, |
| 8322 |
fields={ |
| 8323 |
# 'copy-from': KeyInfo(write_only=True), |
| 8324 |
}, |
| 8325 |
)), |
| 8326 |
], |
| 8327 |
), |
| 8328 |
|
| 8329 |
('ip', 'proxy', 'connections'): APIData( |
| 8330 |
versioned=[ |
| 8331 |
('7.15', '>=', VersionedAPIData( |
| 8332 |
# fixed_entries=True, |
| 8333 |
fully_understood=True, |
| 8334 |
has_identifier=True, |
| 8335 |
modify_not_supported=True, |
| 8336 |
# primary_keys=('numbers',), |
| 8337 |
fields={ |
| 8338 |
'comment': KeyInfo(), |
| 8339 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 8340 |
}, |
| 8341 |
)), |
| 8342 |
], |
| 8343 |
), |
| 8344 |
|
| 8345 |
('ip', 'proxy', 'direct'): APIData( |
| 8346 |
versioned=[ |
| 8347 |
('7.15', '>=', VersionedAPIData( |
| 8348 |
fully_understood=True, |
| 8349 |
fields={ |
| 8350 |
'action': KeyInfo(), |
| 8351 |
'comment': KeyInfo(), |
| 8352 |
# 'copy-from': KeyInfo(write_only=True), |
| 8353 |
'disabled': KeyInfo(), |
| 8354 |
'dst-address': KeyInfo(), |
| 8355 |
'dst-host': KeyInfo(), |
| 8356 |
'dst-port': KeyInfo(), |
| 8357 |
'local-port': KeyInfo(), |
| 8358 |
'method': KeyInfo(), |
| 8359 |
'numbers': KeyInfo(read_only=True), |
| 8360 |
'path': KeyInfo(), |
| 8361 |
# 'place-before': KeyInfo(write_only=True), |
| 8362 |
'src-address': KeyInfo(), |
| 8363 |
}, |
| 8364 |
)), |
| 8365 |
], |
| 8366 |
), |
| 8367 |
|
| 8368 |
('ip', 'reverse-proxy'): APIData( |
| 8369 |
versioned=[ |
| 8370 |
('7.22', '>=', VersionedAPIData( |
| 8371 |
fully_understood=True, |
| 8372 |
fields={ |
| 8373 |
'certificate': KeyInfo(), |
| 8374 |
'comment': KeyInfo(), |
| 8375 |
# 'copy-from': KeyInfo(write_only=True), |
| 8376 |
'disabled': KeyInfo(), |
| 8377 |
'ip-address': KeyInfo(), |
| 8378 |
'numbers': KeyInfo(read_only=True), |
| 8379 |
'port': KeyInfo(), |
| 8380 |
'sni': KeyInfo(), |
| 8381 |
}, |
| 8382 |
)), |
| 8383 |
], |
| 8384 |
), |
| 8385 |
|
| 8386 |
('ip', 'route'): APIData( |
| 8387 |
unversioned=VersionedAPIData( |
| 8388 |
fully_understood=True, |
| 8389 |
versioned_fields=[ |
| 8390 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8391 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8392 |
([('7.15', '<')], 'route-tag', KeyInfo(can_disable=True)), |
| 8393 |
([('7.15', '<')], 'routing-mark', KeyInfo(can_disable=True)), |
| 8394 |
([('7.15', '<')], 'type', KeyInfo(can_disable=True, remove_value='unicast')), |
| 8395 |
], |
| 8396 |
fields={ |
| 8397 |
'blackhole': KeyInfo(can_disable=True), |
| 8398 |
'check-gateway': KeyInfo(can_disable=True), |
| 8399 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8400 |
'disabled': KeyInfo(default=False), |
| 8401 |
'distance': KeyInfo(), |
| 8402 |
'dst-address': KeyInfo(), |
| 8403 |
'gateway': KeyInfo(), |
| 8404 |
'pref-src': KeyInfo(), |
| 8405 |
'routing-table': KeyInfo(default='main'), |
| 8406 |
'scope': KeyInfo(), |
| 8407 |
'suppress-hw-offload': KeyInfo(default=False), |
| 8408 |
'target-scope': KeyInfo(), |
| 8409 |
'vrf-interface': KeyInfo(can_disable=True), |
| 8410 |
}, |
| 8411 |
), |
| 8412 |
), |
| 8413 |
|
| 8414 |
('ip', 'route', 'rule'): APIData( |
| 8415 |
versioned=[ |
| 8416 |
('7', '>=', 'Not supported anymore in version >= 7'), |
| 8417 |
('7', '<', VersionedAPIData( |
| 8418 |
fully_understood=True, |
| 8419 |
fields={ |
| 8420 |
'action': KeyInfo(default='lookup'), |
| 8421 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8422 |
'disabled': KeyInfo(default=False), |
| 8423 |
'dst-address': KeyInfo(can_disable=True), |
| 8424 |
'interface': KeyInfo(can_disable=True), |
| 8425 |
'routing-mark': KeyInfo(can_disable=True), |
| 8426 |
'src-address': KeyInfo(can_disable=True), |
| 8427 |
'table': KeyInfo(default='main'), |
| 8428 |
}, |
| 8429 |
)), |
| 8430 |
], |
| 8431 |
), |
| 8432 |
|
| 8433 |
('ip', 'route', 'vrf'): APIData( |
| 8434 |
versioned=[ |
| 8435 |
('7', '>=', 'Not supported anymore in version >= 7'), |
| 8436 |
('7', '<', VersionedAPIData( |
| 8437 |
fully_understood=True, |
| 8438 |
primary_keys=('routing-mark',), |
| 8439 |
fields={ |
| 8440 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8441 |
'disabled': KeyInfo(default=False), |
| 8442 |
'interfaces': KeyInfo(), |
| 8443 |
'routing-mark': KeyInfo(), |
| 8444 |
}, |
| 8445 |
)), |
| 8446 |
], |
| 8447 |
), |
| 8448 |
|
| 8449 |
('ip', 'service'): APIData( |
| 8450 |
unversioned=VersionedAPIData( |
| 8451 |
fixed_entries=True, |
| 8452 |
fully_understood=True, |
| 8453 |
primary_keys=('name',), |
| 8454 |
versioned_fields=[ |
| 8455 |
([('7.16', '>=')], 'max-sessions', KeyInfo(default=20)), |
| 8456 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 8457 |
([('7.15', '>=')], 'vrf', KeyInfo()), |
| 8458 |
], |
| 8459 |
fields={ |
| 8460 |
'address': KeyInfo(), |
| 8461 |
'certificate': KeyInfo(), |
| 8462 |
'disabled': KeyInfo(default=False), |
| 8463 |
'name': KeyInfo(), |
| 8464 |
'port': KeyInfo(), |
| 8465 |
'tls-version': KeyInfo(), |
| 8466 |
}, |
| 8467 |
), |
| 8468 |
), |
| 8469 |
|
| 8470 |
('ip', 'service', 'webserver'): APIData( |
| 8471 |
versioned=[ |
| 8472 |
('7.21', '>=', VersionedAPIData( |
| 8473 |
fixed_entries=True, |
| 8474 |
fully_understood=True, |
| 8475 |
single_value=True, |
| 8476 |
fields={ |
| 8477 |
'acme-plain': KeyInfo(), |
| 8478 |
'crl-plain': KeyInfo(), |
| 8479 |
'graphs-plain': KeyInfo(), |
| 8480 |
'graphs-secure': KeyInfo(), |
| 8481 |
'index-plain': KeyInfo(), |
| 8482 |
'index-secure': KeyInfo(), |
| 8483 |
'rest-plain': KeyInfo(), |
| 8484 |
'rest-secure': KeyInfo(), |
| 8485 |
'scep-plain': KeyInfo(), |
| 8486 |
'webfig-plain': KeyInfo(), |
| 8487 |
'webfig-secure': KeyInfo(), |
| 8488 |
}, |
| 8489 |
)), |
| 8490 |
], |
| 8491 |
), |
| 8492 |
|
| 8493 |
('ip', 'settings'): APIData( |
| 8494 |
unversioned=VersionedAPIData( |
| 8495 |
fixed_entries=True, |
| 8496 |
fully_understood=True, |
| 8497 |
single_value=True, |
| 8498 |
versioned_fields=[ |
| 8499 |
([('7.17', '>=')], 'icmp-errors-use-inbound-interface-address', KeyInfo()), |
| 8500 |
([('7.16', '>=')], 'ipv4-multipath-hash-policy', KeyInfo(default='l3')), |
| 8501 |
([('7.15', '<')], 'route-cache', KeyInfo(default=True)), |
| 8502 |
([('7.17', '>=')], 'tcp-timestamps', KeyInfo()), |
| 8503 |
], |
| 8504 |
fields={ |
| 8505 |
'accept-redirects': KeyInfo(default=False), |
| 8506 |
'accept-source-route': KeyInfo(default=False), |
| 8507 |
'allow-fast-path': KeyInfo(default=True), |
| 8508 |
'arp-timeout': KeyInfo(default='30s'), |
| 8509 |
'icmp-rate-limit': KeyInfo(default=10), |
| 8510 |
'icmp-rate-mask': KeyInfo(default='0x1818'), |
| 8511 |
'ip-forward': KeyInfo(default=True), |
| 8512 |
'max-neighbor-entries': KeyInfo(default=8192), |
| 8513 |
'rp-filter': KeyInfo(default=False), |
| 8514 |
'secure-redirects': KeyInfo(default=True), |
| 8515 |
'send-redirects': KeyInfo(default=True), |
| 8516 |
'tcp-syncookies': KeyInfo(default=False), |
| 8517 |
}, |
| 8518 |
), |
| 8519 |
), |
| 8520 |
|
| 8521 |
('ip', 'smb'): APIData( |
| 8522 |
unversioned=VersionedAPIData( |
| 8523 |
fixed_entries=True, |
| 8524 |
fully_understood=True, |
| 8525 |
single_value=True, |
| 8526 |
versioned_fields=[ |
| 8527 |
([('7.15', '<')], 'allow-guests', KeyInfo(default=True)), |
| 8528 |
], |
| 8529 |
fields={ |
| 8530 |
'comment': KeyInfo(default='MikrotikSMB'), |
| 8531 |
'domain': KeyInfo(default='MSHOME'), |
| 8532 |
'enabled': KeyInfo(default=False), |
| 8533 |
'interfaces': KeyInfo(default='all'), |
| 8534 |
}, |
| 8535 |
), |
| 8536 |
), |
| 8537 |
|
| 8538 |
('ip', 'smb', 'shares'): APIData( |
| 8539 |
unversioned=VersionedAPIData( |
| 8540 |
fully_understood=True, |
| 8541 |
versioned_fields=[ |
| 8542 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8543 |
([('7.15', '<')], 'default', KeyInfo()), |
| 8544 |
([('7.15', '>=')], 'invalid-users', KeyInfo()), |
| 8545 |
([('7.15', '<')], 'max-sessions', KeyInfo()), |
| 8546 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8547 |
([('7.15', '>=')], 'read-only', KeyInfo()), |
| 8548 |
([('7.15', '>=')], 'require-encryption', KeyInfo()), |
| 8549 |
([('7.15', '>=')], 'valid-users', KeyInfo()), |
| 8550 |
], |
| 8551 |
fields={ |
| 8552 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8553 |
'directory': KeyInfo(), |
| 8554 |
'disabled': KeyInfo(), |
| 8555 |
'name': KeyInfo(), |
| 8556 |
}, |
| 8557 |
), |
| 8558 |
), |
| 8559 |
|
| 8560 |
('ip', 'smb', 'users'): APIData( |
| 8561 |
unversioned=VersionedAPIData( |
| 8562 |
fully_understood=True, |
| 8563 |
versioned_fields=[ |
| 8564 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 8565 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8566 |
([('7.15', '<')], 'default', KeyInfo()), |
| 8567 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8568 |
], |
| 8569 |
fields={ |
| 8570 |
'disabled': KeyInfo(), |
| 8571 |
'name': KeyInfo(), |
| 8572 |
'password': KeyInfo(), |
| 8573 |
'read-only': KeyInfo(), |
| 8574 |
}, |
| 8575 |
), |
| 8576 |
), |
| 8577 |
|
| 8578 |
('ip', 'socks'): APIData( |
| 8579 |
unversioned=VersionedAPIData( |
| 8580 |
fixed_entries=True, |
| 8581 |
fully_understood=True, |
| 8582 |
single_value=True, |
| 8583 |
versioned_fields=[ |
| 8584 |
([('7.15', '>=')], 'vrf', KeyInfo()), |
| 8585 |
], |
| 8586 |
fields={ |
| 8587 |
'auth-method': KeyInfo(default='none'), |
| 8588 |
'connection-idle-timeout': KeyInfo(default='2m'), |
| 8589 |
'enabled': KeyInfo(default=False), |
| 8590 |
'max-connections': KeyInfo(default=200), |
| 8591 |
'port': KeyInfo(default=1080), |
| 8592 |
'version': KeyInfo(default=4), |
| 8593 |
}, |
| 8594 |
), |
| 8595 |
), |
| 8596 |
|
| 8597 |
('ip', 'socks', 'access'): APIData( |
| 8598 |
unversioned=VersionedAPIData( |
| 8599 |
fully_understood=True, |
| 8600 |
versioned_fields=[ |
| 8601 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8602 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8603 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 8604 |
([('7.15', '>=')], 'src-port', KeyInfo(can_disable=True)), |
| 8605 |
], |
| 8606 |
fields={ |
| 8607 |
'action': KeyInfo(default='allow'), |
| 8608 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8609 |
'disabled': KeyInfo(default=False), |
| 8610 |
'dst-address': KeyInfo(can_disable=True), |
| 8611 |
'dst-port': KeyInfo(can_disable=True), |
| 8612 |
'src-address': KeyInfo(can_disable=True), |
| 8613 |
}, |
| 8614 |
), |
| 8615 |
), |
| 8616 |
|
| 8617 |
('ip', 'socks', 'connections'): APIData( |
| 8618 |
versioned=[ |
| 8619 |
('7.15', '>=', VersionedAPIData( |
| 8620 |
# fixed_entries=True, |
| 8621 |
fully_understood=True, |
| 8622 |
has_identifier=True, |
| 8623 |
modify_not_supported=True, |
| 8624 |
# primary_keys=('numbers',), |
| 8625 |
fields={ |
| 8626 |
'dst-address': KeyInfo(read_only=True), |
| 8627 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 8628 |
'rx': KeyInfo(read_only=True), |
| 8629 |
'src-address': KeyInfo(read_only=True), |
| 8630 |
'tx': KeyInfo(read_only=True), |
| 8631 |
'type': KeyInfo(read_only=True), |
| 8632 |
}, |
| 8633 |
)), |
| 8634 |
], |
| 8635 |
), |
| 8636 |
|
| 8637 |
('ip', 'socks', 'users'): APIData( |
| 8638 |
versioned=[ |
| 8639 |
('7.15', '>=', VersionedAPIData( |
| 8640 |
fully_understood=True, |
| 8641 |
fields={ |
| 8642 |
# 'copy-from': KeyInfo(write_only=True), |
| 8643 |
'disabled': KeyInfo(default=False), |
| 8644 |
'name': KeyInfo(required=True), |
| 8645 |
'numbers': KeyInfo(read_only=True), |
| 8646 |
'only-one': KeyInfo(default=False), |
| 8647 |
'password': KeyInfo(required=True), |
| 8648 |
'rate-limit': KeyInfo(), |
| 8649 |
}, |
| 8650 |
)), |
| 8651 |
], |
| 8652 |
), |
| 8653 |
|
| 8654 |
('ip', 'socksify'): APIData( |
| 8655 |
versioned=[ |
| 8656 |
('7.20', '>=', VersionedAPIData( |
| 8657 |
fully_understood=True, |
| 8658 |
fields={ |
| 8659 |
'comment': KeyInfo(), |
| 8660 |
'connection-timeout': KeyInfo(default=60), |
| 8661 |
# 'copy-from': KeyInfo(write_only=True), |
| 8662 |
'disabled': KeyInfo(default=True), |
| 8663 |
'name': KeyInfo(), |
| 8664 |
'numbers': KeyInfo(read_only=True), |
| 8665 |
'port': KeyInfo(default=952), |
| 8666 |
'socks5-password': KeyInfo(), |
| 8667 |
'socks5-port': KeyInfo(default=1080), |
| 8668 |
'socks5-server': KeyInfo(default='0.0.0.0'), |
| 8669 |
'socks5-user': KeyInfo(), |
| 8670 |
}, |
| 8671 |
)), |
| 8672 |
], |
| 8673 |
), |
| 8674 |
|
| 8675 |
('ip', 'ssh'): APIData( |
| 8676 |
unversioned=VersionedAPIData( |
| 8677 |
fixed_entries=True, |
| 8678 |
fully_understood=True, |
| 8679 |
single_value=True, |
| 8680 |
versioned_fields=[ |
| 8681 |
([('7.17', '<')], 'allow-none-crypto', KeyInfo(default=False)), |
| 8682 |
([('7.21', '<')], 'always-allow-password-login', KeyInfo(default=False)), |
| 8683 |
([('7.17', '>=')], 'ciphers', KeyInfo(default='auto')), |
| 8684 |
([('7.9', '>=')], 'host-key-type', KeyInfo(default='rsa')), |
| 8685 |
([('7.21', '>=')], 'password-authentication', KeyInfo()), |
| 8686 |
([('7.21', '>=')], 'publickey-authentication-options', KeyInfo()), |
| 8687 |
], |
| 8688 |
fields={ |
| 8689 |
'forwarding-enabled': KeyInfo(default=False), |
| 8690 |
'host-key-size': KeyInfo(default=2048), |
| 8691 |
'strong-crypto': KeyInfo(default=False), |
| 8692 |
}, |
| 8693 |
), |
| 8694 |
), |
| 8695 |
|
| 8696 |
('ip', 'tftp'): APIData( |
| 8697 |
versioned=[ |
| 8698 |
('7.15', '>=', VersionedAPIData( |
| 8699 |
fully_understood=True, |
| 8700 |
fields={ |
| 8701 |
'allow': KeyInfo(), |
| 8702 |
'allow-overwrite': KeyInfo(), |
| 8703 |
'allow-rollover': KeyInfo(), |
| 8704 |
'comment': KeyInfo(), |
| 8705 |
# 'copy-from': KeyInfo(write_only=True), |
| 8706 |
'disabled': KeyInfo(), |
| 8707 |
'ip-addresses': KeyInfo(), |
| 8708 |
'numbers': KeyInfo(read_only=True), |
| 8709 |
# 'place-before': KeyInfo(write_only=True), |
| 8710 |
'read-only': KeyInfo(), |
| 8711 |
'reading-window-size': KeyInfo(), |
| 8712 |
'real-filename': KeyInfo(), |
| 8713 |
'req-filename': KeyInfo(), |
| 8714 |
}, |
| 8715 |
)), |
| 8716 |
], |
| 8717 |
), |
| 8718 |
|
| 8719 |
('ip', 'tftp', 'settings'): APIData( |
| 8720 |
unversioned=VersionedAPIData( |
| 8721 |
fixed_entries=True, |
| 8722 |
fully_understood=True, |
| 8723 |
single_value=True, |
| 8724 |
fields={ |
| 8725 |
'max-block-size': KeyInfo(default=4096), |
| 8726 |
}, |
| 8727 |
), |
| 8728 |
), |
| 8729 |
|
| 8730 |
('ip', 'traffic-flow'): APIData( |
| 8731 |
unversioned=VersionedAPIData( |
| 8732 |
fixed_entries=True, |
| 8733 |
fully_understood=True, |
| 8734 |
single_value=True, |
| 8735 |
fields={ |
| 8736 |
'active-flow-timeout': KeyInfo(default='30m'), |
| 8737 |
'cache-entries': KeyInfo(default='32k'), |
| 8738 |
'enabled': KeyInfo(default=False), |
| 8739 |
'inactive-flow-timeout': KeyInfo(default='15s'), |
| 8740 |
'interfaces': KeyInfo(default='all'), |
| 8741 |
'packet-sampling': KeyInfo(default=False), |
| 8742 |
'sampling-interval': KeyInfo(default=0), |
| 8743 |
'sampling-space': KeyInfo(default=0), |
| 8744 |
}, |
| 8745 |
), |
| 8746 |
), |
| 8747 |
|
| 8748 |
('ip', 'traffic-flow', 'ipfix'): APIData( |
| 8749 |
unversioned=VersionedAPIData( |
| 8750 |
fixed_entries=True, |
| 8751 |
fully_understood=True, |
| 8752 |
single_value=True, |
| 8753 |
fields={ |
| 8754 |
'bytes': KeyInfo(default=True), |
| 8755 |
'dst-address': KeyInfo(default=True), |
| 8756 |
'dst-address-mask': KeyInfo(default=True), |
| 8757 |
'dst-mac-address': KeyInfo(default=True), |
| 8758 |
'dst-port': KeyInfo(default=True), |
| 8759 |
'first-forwarded': KeyInfo(default=True), |
| 8760 |
'gateway': KeyInfo(default=True), |
| 8761 |
'icmp-code': KeyInfo(default=True), |
| 8762 |
'icmp-type': KeyInfo(default=True), |
| 8763 |
'igmp-type': KeyInfo(default=True), |
| 8764 |
'in-interface': KeyInfo(default=True), |
| 8765 |
'ip-header-length': KeyInfo(default=True), |
| 8766 |
'ip-total-length': KeyInfo(default=True), |
| 8767 |
'ipv6-flow-label': KeyInfo(default=True), |
| 8768 |
'is-multicast': KeyInfo(default=True), |
| 8769 |
'last-forwarded': KeyInfo(default=True), |
| 8770 |
'nat-dst-address': KeyInfo(default=True), |
| 8771 |
'nat-dst-port': KeyInfo(default=True), |
| 8772 |
'nat-events': KeyInfo(default=False), |
| 8773 |
'nat-src-address': KeyInfo(default=True), |
| 8774 |
'nat-src-port': KeyInfo(default=True), |
| 8775 |
'out-interface': KeyInfo(default=True), |
| 8776 |
'packets': KeyInfo(default=True), |
| 8777 |
'protocol': KeyInfo(default=True), |
| 8778 |
'src-address': KeyInfo(default=True), |
| 8779 |
'src-address-mask': KeyInfo(default=True), |
| 8780 |
'src-mac-address': KeyInfo(default=True), |
| 8781 |
'src-port': KeyInfo(default=True), |
| 8782 |
'sys-init-time': KeyInfo(default=True), |
| 8783 |
'tcp-ack-num': KeyInfo(default=True), |
| 8784 |
'tcp-flags': KeyInfo(default=True), |
| 8785 |
'tcp-seq-num': KeyInfo(default=True), |
| 8786 |
'tcp-window-size': KeyInfo(default=True), |
| 8787 |
'tos': KeyInfo(default=True), |
| 8788 |
'ttl': KeyInfo(default=True), |
| 8789 |
'udp-length': KeyInfo(default=True), |
| 8790 |
}, |
| 8791 |
), |
| 8792 |
), |
| 8793 |
|
| 8794 |
('ip', 'traffic-flow', 'target'): APIData( |
| 8795 |
unversioned=VersionedAPIData( |
| 8796 |
fully_understood=True, |
| 8797 |
versioned_fields=[ |
| 8798 |
([('7.15', '<')], 'address', KeyInfo()), |
| 8799 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8800 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8801 |
], |
| 8802 |
fields={ |
| 8803 |
'disabled': KeyInfo(default=False), |
| 8804 |
'dst-address': KeyInfo(), |
| 8805 |
'port': KeyInfo(default=2055), |
| 8806 |
'src-address': KeyInfo(), |
| 8807 |
'v9-template-refresh': KeyInfo(default=20), |
| 8808 |
'v9-template-timeout': KeyInfo(), |
| 8809 |
'version': KeyInfo(), |
| 8810 |
}, |
| 8811 |
), |
| 8812 |
), |
| 8813 |
|
| 8814 |
('ip', 'upnp'): APIData( |
| 8815 |
unversioned=VersionedAPIData( |
| 8816 |
fixed_entries=True, |
| 8817 |
fully_understood=True, |
| 8818 |
single_value=True, |
| 8819 |
fields={ |
| 8820 |
'allow-disable-external-interface': KeyInfo(default=False), |
| 8821 |
'enabled': KeyInfo(default=False), |
| 8822 |
'show-dummy-rule': KeyInfo(default=True), |
| 8823 |
}, |
| 8824 |
), |
| 8825 |
), |
| 8826 |
|
| 8827 |
('ip', 'upnp', 'interfaces'): APIData( |
| 8828 |
unversioned=VersionedAPIData( |
| 8829 |
fully_understood=True, |
| 8830 |
primary_keys=('interface', 'type'), |
| 8831 |
versioned_fields=[ |
| 8832 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8833 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8834 |
], |
| 8835 |
fields={ |
| 8836 |
'disabled': KeyInfo(default=False), |
| 8837 |
'forced-ip': KeyInfo(can_disable=True), |
| 8838 |
'interface': KeyInfo(), |
| 8839 |
'type': KeyInfo(), |
| 8840 |
}, |
| 8841 |
), |
| 8842 |
), |
| 8843 |
|
| 8844 |
('ip', 'vrf'): APIData( |
| 8845 |
versioned=[ |
| 8846 |
('7', '>=', VersionedAPIData( |
| 8847 |
fully_understood=True, |
| 8848 |
primary_keys=('name',), |
| 8849 |
versioned_fields=[ |
| 8850 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8851 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8852 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 8853 |
], |
| 8854 |
fields={ |
| 8855 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8856 |
'disabled': KeyInfo(default=False), |
| 8857 |
'interfaces': KeyInfo(), |
| 8858 |
'name': KeyInfo(), |
| 8859 |
}, |
| 8860 |
)), |
| 8861 |
], |
| 8862 |
), |
| 8863 |
|
| 8864 |
('ipv6', 'address'): APIData( |
| 8865 |
unversioned=VersionedAPIData( |
| 8866 |
fully_understood=True, |
| 8867 |
versioned_fields=[ |
| 8868 |
([('7.18', '>=')], 'auto-link-local', KeyInfo()), |
| 8869 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8870 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8871 |
], |
| 8872 |
fields={ |
| 8873 |
'address': KeyInfo(), |
| 8874 |
'advertise': KeyInfo(default=True), |
| 8875 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8876 |
'disabled': KeyInfo(default=False), |
| 8877 |
'eui-64': KeyInfo(default=False), |
| 8878 |
'from-pool': KeyInfo(default=''), |
| 8879 |
'interface': KeyInfo(required=True), |
| 8880 |
'no-dad': KeyInfo(default=False), |
| 8881 |
}, |
| 8882 |
), |
| 8883 |
), |
| 8884 |
|
| 8885 |
('ipv6', 'dhcp-client'): APIData( |
| 8886 |
unversioned=VersionedAPIData( |
| 8887 |
fully_understood=True, |
| 8888 |
primary_keys=('interface', 'request'), |
| 8889 |
versioned_fields=[ |
| 8890 |
([('7.20', '>=')], 'accept-prefix-without-address', KeyInfo()), |
| 8891 |
([('7.17', '>=')], 'allow-reconfigure', KeyInfo()), |
| 8892 |
([('7.19', '>=')], 'check-gateway', KeyInfo()), |
| 8893 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8894 |
([('7.15', '>=')], 'custom-duid', KeyInfo(default='')), |
| 8895 |
([('7.20', '>=')], 'custom-iana-id', KeyInfo()), |
| 8896 |
([('7.20', '>=')], 'custom-iapd-id', KeyInfo()), |
| 8897 |
([('7.19', '>=')], 'default-route-tables', KeyInfo()), |
| 8898 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8899 |
([('7.17', '>=')], 'prefix-address-lists', KeyInfo()), |
| 8900 |
([('7.15', '>=')], 'rapid-commit', KeyInfo()), |
| 8901 |
([('7.15', '>=')], 'script', KeyInfo(default='')), |
| 8902 |
([('7.15', '>=')], 'use-interface-duid', KeyInfo(default=False)), |
| 8903 |
([('7.15', '>=')], 'validate-server-duid', KeyInfo(default=True)), |
| 8904 |
], |
| 8905 |
fields={ |
| 8906 |
'add-default-route': KeyInfo(default=False), |
| 8907 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8908 |
'default-route-distance': KeyInfo(default=1), |
| 8909 |
'dhcp-options': KeyInfo(default=''), |
| 8910 |
'disabled': KeyInfo(default=False), |
| 8911 |
'interface': KeyInfo(), |
| 8912 |
'pool-name': KeyInfo(required=True), |
| 8913 |
'pool-prefix-length': KeyInfo(default=64), |
| 8914 |
'prefix-hint': KeyInfo(default='::/0'), |
| 8915 |
'request': KeyInfo(), |
| 8916 |
'use-peer-dns': KeyInfo(default=True), |
| 8917 |
}, |
| 8918 |
), |
| 8919 |
), |
| 8920 |
|
| 8921 |
('ipv6', 'dhcp-client', 'option'): APIData( |
| 8922 |
versioned=[ |
| 8923 |
('7.15', '>=', VersionedAPIData( |
| 8924 |
fully_understood=True, |
| 8925 |
versioned_fields=[ |
| 8926 |
([('7.16', '>=')], 'comment', KeyInfo()), |
| 8927 |
], |
| 8928 |
fields={ |
| 8929 |
'code': KeyInfo(), |
| 8930 |
# 'copy-from': KeyInfo(write_only=True), |
| 8931 |
'name': KeyInfo(), |
| 8932 |
'numbers': KeyInfo(read_only=True), |
| 8933 |
'value': KeyInfo(), |
| 8934 |
}, |
| 8935 |
)), |
| 8936 |
], |
| 8937 |
), |
| 8938 |
|
| 8939 |
('ipv6', 'dhcp-relay'): APIData( |
| 8940 |
versioned=[ |
| 8941 |
('7.15', '>=', VersionedAPIData( |
| 8942 |
fully_understood=True, |
| 8943 |
versioned_fields=[ |
| 8944 |
([('7.21', '>=')], 'dhcp-options', KeyInfo()), |
| 8945 |
([('7.18', '>=')], 'store-relayed-bindings', KeyInfo()), |
| 8946 |
], |
| 8947 |
fields={ |
| 8948 |
'comment': KeyInfo(), |
| 8949 |
# 'copy-from': KeyInfo(write_only=True), |
| 8950 |
'delay-threshold': KeyInfo(), |
| 8951 |
'dhcp-server': KeyInfo(), |
| 8952 |
'disabled': KeyInfo(), |
| 8953 |
'interface': KeyInfo(), |
| 8954 |
'link-address': KeyInfo(), |
| 8955 |
'name': KeyInfo(), |
| 8956 |
'numbers': KeyInfo(read_only=True), |
| 8957 |
}, |
| 8958 |
)), |
| 8959 |
], |
| 8960 |
), |
| 8961 |
|
| 8962 |
('ipv6', 'dhcp-relay', 'option'): APIData( |
| 8963 |
versioned=[ |
| 8964 |
('7.21', '>=', VersionedAPIData( |
| 8965 |
fully_understood=True, |
| 8966 |
fields={ |
| 8967 |
'code': KeyInfo(), |
| 8968 |
'comment': KeyInfo(), |
| 8969 |
# 'copy-from': KeyInfo(write_only=True), |
| 8970 |
'name': KeyInfo(), |
| 8971 |
'numbers': KeyInfo(read_only=True), |
| 8972 |
'only-if-mac-available': KeyInfo(), |
| 8973 |
'value': KeyInfo(), |
| 8974 |
}, |
| 8975 |
)), |
| 8976 |
], |
| 8977 |
), |
| 8978 |
|
| 8979 |
('ipv6', 'dhcp-server'): APIData( |
| 8980 |
unversioned=VersionedAPIData( |
| 8981 |
fully_understood=True, |
| 8982 |
primary_keys=('name',), |
| 8983 |
versioned_fields=[ |
| 8984 |
([('7.17', '>=')], 'address-lists', KeyInfo(default='')), |
| 8985 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 8986 |
([('7.20', '>=')], 'ignore-ia-na-bindings', KeyInfo(default=False)), |
| 8987 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 8988 |
([('7.17', '>=')], 'prefix-pool', KeyInfo(default='static-only')), |
| 8989 |
([('7.17', '>=')], 'use-reconfigure', KeyInfo(default=False)), |
| 8990 |
], |
| 8991 |
fields={ |
| 8992 |
'address-pool': KeyInfo(default='static-only'), |
| 8993 |
'allow-dual-stack-queue': KeyInfo(can_disable=True, remove_value=True), |
| 8994 |
'binding-script': KeyInfo(can_disable=True, remove_value=''), |
| 8995 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 8996 |
'dhcp-option': KeyInfo(default=''), |
| 8997 |
'disabled': KeyInfo(default=False), |
| 8998 |
'insert-queue-before': KeyInfo(can_disable=True, remove_value='first'), |
| 8999 |
'interface': KeyInfo(required=True), |
| 9000 |
'lease-time': KeyInfo(default='3d'), |
| 9001 |
'name': KeyInfo(required=True), |
| 9002 |
'parent-queue': KeyInfo(can_disable=True, remove_value='none'), |
| 9003 |
'preference': KeyInfo(default=255), |
| 9004 |
'rapid-commit': KeyInfo(default=True), |
| 9005 |
'route-distance': KeyInfo(default=1), |
| 9006 |
'use-radius': KeyInfo(default=False), |
| 9007 |
}, |
| 9008 |
), |
| 9009 |
), |
| 9010 |
|
| 9011 |
('ipv6', 'dhcp-server', 'binding'): APIData( |
| 9012 |
versioned=[ |
| 9013 |
('7.15', '>=', VersionedAPIData( |
| 9014 |
fully_understood=True, |
| 9015 |
versioned_fields=[ |
| 9016 |
([('7.17', '>=')], 'ia-type', KeyInfo()), |
| 9017 |
([('7.16', '>=')], 'parent-queue', KeyInfo()), |
| 9018 |
], |
| 9019 |
fields={ |
| 9020 |
'address': KeyInfo(), |
| 9021 |
'address-lists': KeyInfo(), |
| 9022 |
'allow-dual-stack-queue': KeyInfo(), |
| 9023 |
'comment': KeyInfo(), |
| 9024 |
# 'copy-from': KeyInfo(write_only=True), |
| 9025 |
'dhcp-option': KeyInfo(), |
| 9026 |
'disabled': KeyInfo(), |
| 9027 |
'duid': KeyInfo(), |
| 9028 |
'iaid': KeyInfo(), |
| 9029 |
'insert-queue-before': KeyInfo(), |
| 9030 |
'life-time': KeyInfo(), |
| 9031 |
'numbers': KeyInfo(read_only=True), |
| 9032 |
'prefix-pool': KeyInfo(), |
| 9033 |
'queue-type': KeyInfo(), |
| 9034 |
'rate-limit': KeyInfo(), |
| 9035 |
'server': KeyInfo(), |
| 9036 |
}, |
| 9037 |
)), |
| 9038 |
], |
| 9039 |
), |
| 9040 |
|
| 9041 |
('ipv6', 'dhcp-server', 'option'): APIData( |
| 9042 |
unversioned=VersionedAPIData( |
| 9043 |
fully_understood=True, |
| 9044 |
primary_keys=('name',), |
| 9045 |
versioned_fields=[ |
| 9046 |
([('7.16', '>=')], 'comment', KeyInfo()), |
| 9047 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9048 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9049 |
], |
| 9050 |
fields={ |
| 9051 |
'code': KeyInfo(required=True), |
| 9052 |
'name': KeyInfo(), |
| 9053 |
'value': KeyInfo(default=''), |
| 9054 |
}, |
| 9055 |
), |
| 9056 |
), |
| 9057 |
|
| 9058 |
('ipv6', 'dhcp-server', 'option', 'sets'): APIData( |
| 9059 |
versioned=[ |
| 9060 |
('7.15', '>=', VersionedAPIData( |
| 9061 |
fully_understood=True, |
| 9062 |
fields={ |
| 9063 |
# 'copy-from': KeyInfo(write_only=True), |
| 9064 |
'name': KeyInfo(), |
| 9065 |
'numbers': KeyInfo(read_only=True), |
| 9066 |
'options': KeyInfo(), |
| 9067 |
}, |
| 9068 |
)), |
| 9069 |
], |
| 9070 |
), |
| 9071 |
|
| 9072 |
('ipv6', 'firewall', 'address-list'): APIData( |
| 9073 |
unversioned=VersionedAPIData( |
| 9074 |
fully_understood=True, |
| 9075 |
primary_keys=('address', 'list'), |
| 9076 |
versioned_fields=[ |
| 9077 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9078 |
([('7.15', '>=')], 'dynamic', KeyInfo()), |
| 9079 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9080 |
([('7.15', '>=')], 'timeout', KeyInfo()), |
| 9081 |
], |
| 9082 |
fields={ |
| 9083 |
'address': KeyInfo(), |
| 9084 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9085 |
'disabled': KeyInfo(default=False), |
| 9086 |
'list': KeyInfo(), |
| 9087 |
}, |
| 9088 |
), |
| 9089 |
), |
| 9090 |
|
| 9091 |
('ipv6', 'firewall', 'filter'): APIData( |
| 9092 |
unversioned=VersionedAPIData( |
| 9093 |
fully_understood=True, |
| 9094 |
stratify_keys=('chain',), |
| 9095 |
versioned_fields=[ |
| 9096 |
([('7.15', '>=')], 'connection-nat-state', KeyInfo()), |
| 9097 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9098 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9099 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9100 |
([('7.15', '>=')], 'routing-mark', KeyInfo()), |
| 9101 |
([('7.15', '>=')], 'tls-host', KeyInfo()), |
| 9102 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 9103 |
], |
| 9104 |
fields={ |
| 9105 |
'action': KeyInfo(), |
| 9106 |
'address-list': KeyInfo(can_disable=True), |
| 9107 |
'address-list-timeout': KeyInfo(can_disable=True), |
| 9108 |
'chain': KeyInfo(), |
| 9109 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9110 |
'connection-bytes': KeyInfo(can_disable=True), |
| 9111 |
'connection-limit': KeyInfo(can_disable=True), |
| 9112 |
'connection-mark': KeyInfo(can_disable=True), |
| 9113 |
'connection-rate': KeyInfo(can_disable=True), |
| 9114 |
'connection-state': KeyInfo(can_disable=True), |
| 9115 |
'connection-type': KeyInfo(can_disable=True), |
| 9116 |
'content': KeyInfo(can_disable=True), |
| 9117 |
'disabled': KeyInfo(default=False), |
| 9118 |
'dscp': KeyInfo(can_disable=True), |
| 9119 |
'dst-address': KeyInfo(can_disable=True), |
| 9120 |
'dst-address-list': KeyInfo(can_disable=True), |
| 9121 |
'dst-address-type': KeyInfo(can_disable=True), |
| 9122 |
'dst-limit': KeyInfo(can_disable=True), |
| 9123 |
'dst-port': KeyInfo(can_disable=True), |
| 9124 |
'headers': KeyInfo(can_disable=True), |
| 9125 |
'hop-limit': KeyInfo(can_disable=True), |
| 9126 |
'icmp-options': KeyInfo(can_disable=True), |
| 9127 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 9128 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 9129 |
'in-interface': KeyInfo(can_disable=True), |
| 9130 |
'in-interface-list': KeyInfo(can_disable=True), |
| 9131 |
'ingress-priority': KeyInfo(can_disable=True), |
| 9132 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 9133 |
'jump-target': KeyInfo(can_disable=True), |
| 9134 |
'limit': KeyInfo(can_disable=True), |
| 9135 |
'log': KeyInfo(), |
| 9136 |
'log-prefix': KeyInfo(), |
| 9137 |
'nth': KeyInfo(can_disable=True), |
| 9138 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 9139 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 9140 |
'out-interface': KeyInfo(can_disable=True), |
| 9141 |
'out-interface-list': KeyInfo(can_disable=True), |
| 9142 |
'packet-mark': KeyInfo(can_disable=True), |
| 9143 |
'packet-size': KeyInfo(can_disable=True), |
| 9144 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 9145 |
'port': KeyInfo(can_disable=True), |
| 9146 |
'priority': KeyInfo(can_disable=True), |
| 9147 |
'protocol': KeyInfo(can_disable=True), |
| 9148 |
'random': KeyInfo(can_disable=True), |
| 9149 |
'reject-with': KeyInfo(), |
| 9150 |
'src-address': KeyInfo(can_disable=True), |
| 9151 |
'src-address-list': KeyInfo(can_disable=True), |
| 9152 |
'src-address-type': KeyInfo(can_disable=True), |
| 9153 |
'src-mac-address': KeyInfo(can_disable=True), |
| 9154 |
'src-port': KeyInfo(can_disable=True), |
| 9155 |
'tcp-flags': KeyInfo(can_disable=True), |
| 9156 |
'tcp-mss': KeyInfo(can_disable=True), |
| 9157 |
'time': KeyInfo(can_disable=True), |
| 9158 |
}, |
| 9159 |
), |
| 9160 |
), |
| 9161 |
|
| 9162 |
('ipv6', 'firewall', 'mangle'): APIData( |
| 9163 |
unversioned=VersionedAPIData( |
| 9164 |
fully_understood=True, |
| 9165 |
stratify_keys=('chain',), |
| 9166 |
versioned_fields=[ |
| 9167 |
([('7.15', '>=')], 'connection-nat-state', KeyInfo()), |
| 9168 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9169 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9170 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9171 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 9172 |
], |
| 9173 |
fields={ |
| 9174 |
'action': KeyInfo(), |
| 9175 |
'address-list': KeyInfo(), |
| 9176 |
'address-list-timeout': KeyInfo(), |
| 9177 |
'chain': KeyInfo(), |
| 9178 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9179 |
'connection-bytes': KeyInfo(can_disable=True), |
| 9180 |
'connection-limit': KeyInfo(can_disable=True), |
| 9181 |
'connection-mark': KeyInfo(can_disable=True), |
| 9182 |
'connection-rate': KeyInfo(can_disable=True), |
| 9183 |
'connection-state': KeyInfo(can_disable=True), |
| 9184 |
'connection-type': KeyInfo(can_disable=True), |
| 9185 |
'content': KeyInfo(can_disable=True), |
| 9186 |
'disabled': KeyInfo(default=False), |
| 9187 |
'dscp': KeyInfo(can_disable=True), |
| 9188 |
'dst-address': KeyInfo(can_disable=True), |
| 9189 |
'dst-address-list': KeyInfo(can_disable=True), |
| 9190 |
'dst-address-type': KeyInfo(can_disable=True), |
| 9191 |
'dst-limit': KeyInfo(can_disable=True), |
| 9192 |
'dst-port': KeyInfo(can_disable=True), |
| 9193 |
'dst-prefix': KeyInfo(), |
| 9194 |
'headers': KeyInfo(can_disable=True), |
| 9195 |
'hop-limit': KeyInfo(can_disable=True), |
| 9196 |
'icmp-options': KeyInfo(can_disable=True), |
| 9197 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 9198 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 9199 |
'in-interface': KeyInfo(can_disable=True), |
| 9200 |
'in-interface-list': KeyInfo(can_disable=True), |
| 9201 |
'ingress-priority': KeyInfo(can_disable=True), |
| 9202 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 9203 |
'jump-target': KeyInfo(), |
| 9204 |
'limit': KeyInfo(can_disable=True), |
| 9205 |
'log': KeyInfo(), |
| 9206 |
'log-prefix': KeyInfo(), |
| 9207 |
'new-connection-mark': KeyInfo(), |
| 9208 |
'new-dscp': KeyInfo(), |
| 9209 |
'new-hop-limit': KeyInfo(), |
| 9210 |
'new-mss': KeyInfo(), |
| 9211 |
'new-packet-mark': KeyInfo(), |
| 9212 |
'new-priority': KeyInfo(can_disable=True), |
| 9213 |
'new-routing-mark': KeyInfo(), |
| 9214 |
'nth': KeyInfo(can_disable=True), |
| 9215 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 9216 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 9217 |
'out-interface': KeyInfo(can_disable=True), |
| 9218 |
'out-interface-list': KeyInfo(can_disable=True), |
| 9219 |
'packet-mark': KeyInfo(can_disable=True), |
| 9220 |
'packet-size': KeyInfo(can_disable=True), |
| 9221 |
'passthrough': KeyInfo(), |
| 9222 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 9223 |
'port': KeyInfo(can_disable=True), |
| 9224 |
'priority': KeyInfo(can_disable=True), |
| 9225 |
'protocol': KeyInfo(can_disable=True), |
| 9226 |
'random': KeyInfo(can_disable=True), |
| 9227 |
'routing-mark': KeyInfo(can_disable=True), |
| 9228 |
'sniff-id': KeyInfo(), |
| 9229 |
'sniff-target': KeyInfo(), |
| 9230 |
'sniff-target-port': KeyInfo(), |
| 9231 |
'src-address': KeyInfo(can_disable=True), |
| 9232 |
'src-address-list': KeyInfo(can_disable=True), |
| 9233 |
'src-address-type': KeyInfo(can_disable=True), |
| 9234 |
'src-mac-address': KeyInfo(can_disable=True), |
| 9235 |
'src-port': KeyInfo(can_disable=True), |
| 9236 |
'src-prefix': KeyInfo(), |
| 9237 |
'tcp-flags': KeyInfo(can_disable=True), |
| 9238 |
'tcp-mss': KeyInfo(can_disable=True), |
| 9239 |
'time': KeyInfo(can_disable=True), |
| 9240 |
'tls-host': KeyInfo(can_disable=True), |
| 9241 |
}, |
| 9242 |
), |
| 9243 |
), |
| 9244 |
|
| 9245 |
('ipv6', 'firewall', 'nat'): APIData( |
| 9246 |
unversioned=VersionedAPIData( |
| 9247 |
fully_understood=True, |
| 9248 |
stratify_keys=('chain',), |
| 9249 |
versioned_fields=[ |
| 9250 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9251 |
([('7.15', '>=')], 'headers', KeyInfo()), |
| 9252 |
([('7.15', '>=')], 'hop-limit', KeyInfo()), |
| 9253 |
([('7.15', '<')], 'layer7-protocol', KeyInfo(can_disable=True)), |
| 9254 |
([('7.15', '>=')], 'nth', KeyInfo()), |
| 9255 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9256 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9257 |
([('7.16', '<')], 'tls-host', KeyInfo(can_disable=True)), |
| 9258 |
([('7.15', '>=')], 'to-address', KeyInfo()), |
| 9259 |
([('7.15', '<')], 'to-addresses', KeyInfo(can_disable=True)), |
| 9260 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 9261 |
], |
| 9262 |
fields={ |
| 9263 |
'action': KeyInfo(), |
| 9264 |
'address-list': KeyInfo(), |
| 9265 |
'address-list-timeout': KeyInfo(), |
| 9266 |
'chain': KeyInfo(), |
| 9267 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9268 |
'connection-bytes': KeyInfo(can_disable=True), |
| 9269 |
'connection-limit': KeyInfo(can_disable=True), |
| 9270 |
'connection-mark': KeyInfo(can_disable=True), |
| 9271 |
'connection-rate': KeyInfo(can_disable=True), |
| 9272 |
'connection-state': KeyInfo(can_disable=True), |
| 9273 |
'connection-type': KeyInfo(can_disable=True), |
| 9274 |
'content': KeyInfo(can_disable=True), |
| 9275 |
'disabled': KeyInfo(default=False), |
| 9276 |
'dscp': KeyInfo(can_disable=True), |
| 9277 |
'dst-address': KeyInfo(can_disable=True), |
| 9278 |
'dst-address-list': KeyInfo(can_disable=True), |
| 9279 |
'dst-address-type': KeyInfo(can_disable=True), |
| 9280 |
'dst-limit': KeyInfo(can_disable=True), |
| 9281 |
'dst-port': KeyInfo(can_disable=True), |
| 9282 |
'icmp-options': KeyInfo(can_disable=True), |
| 9283 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 9284 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 9285 |
'in-interface': KeyInfo(can_disable=True), |
| 9286 |
'in-interface-list': KeyInfo(can_disable=True), |
| 9287 |
'ingress-priority': KeyInfo(can_disable=True), |
| 9288 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 9289 |
'jump-target': KeyInfo(), |
| 9290 |
'limit': KeyInfo(can_disable=True), |
| 9291 |
'log': KeyInfo(), |
| 9292 |
'log-prefix': KeyInfo(), |
| 9293 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 9294 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 9295 |
'out-interface': KeyInfo(can_disable=True), |
| 9296 |
'out-interface-list': KeyInfo(can_disable=True), |
| 9297 |
'packet-mark': KeyInfo(can_disable=True), |
| 9298 |
'packet-size': KeyInfo(can_disable=True), |
| 9299 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 9300 |
'port': KeyInfo(can_disable=True), |
| 9301 |
'priority': KeyInfo(can_disable=True), |
| 9302 |
'protocol': KeyInfo(can_disable=True), |
| 9303 |
'random': KeyInfo(can_disable=True), |
| 9304 |
'routing-mark': KeyInfo(can_disable=True), |
| 9305 |
'src-address': KeyInfo(can_disable=True), |
| 9306 |
'src-address-list': KeyInfo(can_disable=True), |
| 9307 |
'src-address-type': KeyInfo(can_disable=True), |
| 9308 |
'src-mac-address': KeyInfo(can_disable=True), |
| 9309 |
'src-port': KeyInfo(can_disable=True), |
| 9310 |
'tcp-flags': KeyInfo(can_disable=True), |
| 9311 |
'tcp-mss': KeyInfo(can_disable=True), |
| 9312 |
'time': KeyInfo(can_disable=True), |
| 9313 |
'to-ports': KeyInfo(can_disable=True), |
| 9314 |
}, |
| 9315 |
), |
| 9316 |
), |
| 9317 |
|
| 9318 |
('ipv6', 'firewall', 'raw'): APIData( |
| 9319 |
unversioned=VersionedAPIData( |
| 9320 |
fully_understood=True, |
| 9321 |
stratify_keys=('chain',), |
| 9322 |
versioned_fields=[ |
| 9323 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9324 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9325 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9326 |
([('7.21', '>=')], 'tos', KeyInfo()), |
| 9327 |
], |
| 9328 |
fields={ |
| 9329 |
'action': KeyInfo(), |
| 9330 |
'address-list': KeyInfo(), |
| 9331 |
'address-list-timeout': KeyInfo(), |
| 9332 |
'chain': KeyInfo(), |
| 9333 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9334 |
'content': KeyInfo(can_disable=True), |
| 9335 |
'disabled': KeyInfo(default=False), |
| 9336 |
'dscp': KeyInfo(can_disable=True), |
| 9337 |
'dst-address': KeyInfo(can_disable=True), |
| 9338 |
'dst-address-list': KeyInfo(can_disable=True), |
| 9339 |
'dst-address-type': KeyInfo(can_disable=True), |
| 9340 |
'dst-limit': KeyInfo(can_disable=True), |
| 9341 |
'dst-port': KeyInfo(can_disable=True), |
| 9342 |
'headers': KeyInfo(can_disable=True), |
| 9343 |
'hop-limit': KeyInfo(can_disable=True), |
| 9344 |
'icmp-options': KeyInfo(can_disable=True), |
| 9345 |
'in-bridge-port': KeyInfo(can_disable=True), |
| 9346 |
'in-bridge-port-list': KeyInfo(can_disable=True), |
| 9347 |
'in-interface': KeyInfo(can_disable=True), |
| 9348 |
'in-interface-list': KeyInfo(can_disable=True), |
| 9349 |
'ingress-priority': KeyInfo(can_disable=True), |
| 9350 |
'ipsec-policy': KeyInfo(can_disable=True), |
| 9351 |
'jump-target': KeyInfo(), |
| 9352 |
'limit': KeyInfo(can_disable=True), |
| 9353 |
'log': KeyInfo(), |
| 9354 |
'log-prefix': KeyInfo(), |
| 9355 |
'nth': KeyInfo(can_disable=True), |
| 9356 |
'out-bridge-port': KeyInfo(can_disable=True), |
| 9357 |
'out-bridge-port-list': KeyInfo(can_disable=True), |
| 9358 |
'out-interface': KeyInfo(can_disable=True), |
| 9359 |
'out-interface-list': KeyInfo(can_disable=True), |
| 9360 |
'packet-mark': KeyInfo(can_disable=True), |
| 9361 |
'packet-size': KeyInfo(can_disable=True), |
| 9362 |
'per-connection-classifier': KeyInfo(can_disable=True), |
| 9363 |
'port': KeyInfo(can_disable=True), |
| 9364 |
'priority': KeyInfo(can_disable=True), |
| 9365 |
'protocol': KeyInfo(can_disable=True), |
| 9366 |
'random': KeyInfo(can_disable=True), |
| 9367 |
'src-address': KeyInfo(can_disable=True), |
| 9368 |
'src-address-list': KeyInfo(can_disable=True), |
| 9369 |
'src-address-type': KeyInfo(can_disable=True), |
| 9370 |
'src-mac-address': KeyInfo(can_disable=True), |
| 9371 |
'src-port': KeyInfo(can_disable=True), |
| 9372 |
'tcp-flags': KeyInfo(can_disable=True), |
| 9373 |
'tcp-mss': KeyInfo(can_disable=True), |
| 9374 |
'time': KeyInfo(can_disable=True), |
| 9375 |
'tls-host': KeyInfo(can_disable=True), |
| 9376 |
}, |
| 9377 |
), |
| 9378 |
), |
| 9379 |
|
| 9380 |
('ipv6', 'nd'): APIData( |
| 9381 |
unversioned=VersionedAPIData( |
| 9382 |
fully_understood=True, |
| 9383 |
primary_keys=('interface',), |
| 9384 |
versioned_fields=[ |
| 9385 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 9386 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9387 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9388 |
([('7.15', '>=')], 'pref64', KeyInfo()), |
| 9389 |
], |
| 9390 |
fields={ |
| 9391 |
'advertise-dns': KeyInfo(default=True), |
| 9392 |
'advertise-mac-address': KeyInfo(default=True), |
| 9393 |
'disabled': KeyInfo(default=False), |
| 9394 |
'dns': KeyInfo(default=''), |
| 9395 |
'hop-limit': KeyInfo(default='unspecified'), |
| 9396 |
'interface': KeyInfo(), |
| 9397 |
'managed-address-configuration': KeyInfo(default=False), |
| 9398 |
'mtu': KeyInfo(default='unspecified'), |
| 9399 |
'other-configuration': KeyInfo(default=False), |
| 9400 |
'ra-delay': KeyInfo(default='3s'), |
| 9401 |
'ra-interval': KeyInfo(default='3m20s-10m'), |
| 9402 |
'ra-lifetime': KeyInfo(default='30m'), |
| 9403 |
'ra-preference': KeyInfo(default='medium'), |
| 9404 |
'reachable-time': KeyInfo(default='unspecified'), |
| 9405 |
'retransmit-interval': KeyInfo(default='unspecified'), |
| 9406 |
}, |
| 9407 |
), |
| 9408 |
), |
| 9409 |
|
| 9410 |
('ipv6', 'nd', 'prefix'): APIData( |
| 9411 |
unversioned=VersionedAPIData( |
| 9412 |
fully_understood=True, |
| 9413 |
versioned_fields=[ |
| 9414 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9415 |
([('7.22', '>=')], 'dhcp6-pd-preferred', KeyInfo()), |
| 9416 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9417 |
], |
| 9418 |
fields={ |
| 9419 |
'6to4-interface': KeyInfo(default='none'), |
| 9420 |
'autonomous': KeyInfo(), |
| 9421 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9422 |
'disabled': KeyInfo(default=False), |
| 9423 |
'interface': KeyInfo(required=True), |
| 9424 |
'on-link': KeyInfo(default=True), |
| 9425 |
'preferred-lifetime': KeyInfo(), |
| 9426 |
'prefix': KeyInfo(), |
| 9427 |
'valid-lifetime': KeyInfo(), |
| 9428 |
}, |
| 9429 |
), |
| 9430 |
), |
| 9431 |
|
| 9432 |
('ipv6', 'nd', 'prefix', 'default'): APIData( |
| 9433 |
unversioned=VersionedAPIData( |
| 9434 |
fixed_entries=True, |
| 9435 |
fully_understood=True, |
| 9436 |
single_value=True, |
| 9437 |
versioned_fields=[ |
| 9438 |
([('7.22', '>=')], 'dhcp6-pd-preferred', KeyInfo()), |
| 9439 |
], |
| 9440 |
fields={ |
| 9441 |
'autonomous': KeyInfo(default=True), |
| 9442 |
'preferred-lifetime': KeyInfo(default='1w'), |
| 9443 |
'valid-lifetime': KeyInfo(default='4w2d'), |
| 9444 |
}, |
| 9445 |
), |
| 9446 |
), |
| 9447 |
|
| 9448 |
('ipv6', 'nd', 'proxy'): APIData( |
| 9449 |
versioned=[ |
| 9450 |
('7.20', '>=', VersionedAPIData( |
| 9451 |
fully_understood=True, |
| 9452 |
fields={ |
| 9453 |
'address': KeyInfo(), |
| 9454 |
'comment': KeyInfo(), |
| 9455 |
# 'copy-from': KeyInfo(write_only=True), |
| 9456 |
'disabled': KeyInfo(), |
| 9457 |
'interface': KeyInfo(), |
| 9458 |
'numbers': KeyInfo(read_only=True), |
| 9459 |
}, |
| 9460 |
)), |
| 9461 |
], |
| 9462 |
), |
| 9463 |
|
| 9464 |
('ipv6', 'neighbor'): APIData( |
| 9465 |
versioned=[ |
| 9466 |
('7.18', '>=', VersionedAPIData( |
| 9467 |
fully_understood=True, |
| 9468 |
fields={ |
| 9469 |
'address': KeyInfo(), |
| 9470 |
'comment': KeyInfo(), |
| 9471 |
# 'copy-from': KeyInfo(write_only=True), |
| 9472 |
'disabled': KeyInfo(), |
| 9473 |
'interface': KeyInfo(), |
| 9474 |
'mac-address': KeyInfo(), |
| 9475 |
'numbers': KeyInfo(read_only=True), |
| 9476 |
}, |
| 9477 |
)), |
| 9478 |
], |
| 9479 |
), |
| 9480 |
|
| 9481 |
('ipv6', 'pool'): APIData( |
| 9482 |
versioned=[ |
| 9483 |
('7.15', '>=', VersionedAPIData( |
| 9484 |
fully_understood=True, |
| 9485 |
versioned_fields=[ |
| 9486 |
([('7.22', '>=')], 'from-pool', KeyInfo()), |
| 9487 |
], |
| 9488 |
fields={ |
| 9489 |
'comment': KeyInfo(), |
| 9490 |
# 'copy-from': KeyInfo(write_only=True), |
| 9491 |
'name': KeyInfo(), |
| 9492 |
'numbers': KeyInfo(read_only=True), |
| 9493 |
'prefix': KeyInfo(), |
| 9494 |
'prefix-length': KeyInfo(), |
| 9495 |
}, |
| 9496 |
)), |
| 9497 |
], |
| 9498 |
), |
| 9499 |
|
| 9500 |
('ipv6', 'route'): APIData( |
| 9501 |
unversioned=VersionedAPIData( |
| 9502 |
fully_understood=True, |
| 9503 |
versioned_fields=[ |
| 9504 |
([('7.15', '<')], 'bgp-as-path', KeyInfo(can_disable=True)), |
| 9505 |
([('7.15', '<')], 'bgp-atomic-aggregate', KeyInfo(can_disable=True)), |
| 9506 |
([('7.15', '<')], 'bgp-communities', KeyInfo(can_disable=True)), |
| 9507 |
([('7.15', '<')], 'bgp-local-pref', KeyInfo(can_disable=True)), |
| 9508 |
([('7.15', '<')], 'bgp-med', KeyInfo(can_disable=True)), |
| 9509 |
([('7.15', '<')], 'bgp-origin', KeyInfo(can_disable=True)), |
| 9510 |
([('7.15', '<')], 'bgp-prepend', KeyInfo(can_disable=True)), |
| 9511 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9512 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9513 |
([('7.20', '>=')], 'pref-src', KeyInfo()), |
| 9514 |
([('7.15', '<')], 'route-tag', KeyInfo(can_disable=True)), |
| 9515 |
([('7.15', '>=')], 'suppress-hw-offload', KeyInfo()), |
| 9516 |
([('7.15', '<')], 'type', KeyInfo(can_disable=True, remove_value='unicast')), |
| 9517 |
], |
| 9518 |
fields={ |
| 9519 |
'blackhole': KeyInfo(can_disable=True), |
| 9520 |
'check-gateway': KeyInfo(can_disable=True), |
| 9521 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9522 |
'disabled': KeyInfo(default=False), |
| 9523 |
'distance': KeyInfo(default=1), |
| 9524 |
'dst-address': KeyInfo(), |
| 9525 |
'gateway': KeyInfo(), |
| 9526 |
'routing-table': KeyInfo(default='main'), |
| 9527 |
'scope': KeyInfo(default=30), |
| 9528 |
'target-scope': KeyInfo(default=10), |
| 9529 |
'vrf-interface': KeyInfo(can_disable=True), |
| 9530 |
}, |
| 9531 |
), |
| 9532 |
), |
| 9533 |
|
| 9534 |
('ipv6', 'settings'): APIData( |
| 9535 |
unversioned=VersionedAPIData( |
| 9536 |
fixed_entries=True, |
| 9537 |
fully_understood=True, |
| 9538 |
single_value=True, |
| 9539 |
versioned_fields=[ |
| 9540 |
([('7.21', '>=')], 'accept-router-advertisements-on', KeyInfo()), |
| 9541 |
([('7.18', '>=')], 'allow-fast-path', KeyInfo(default=True)), |
| 9542 |
([('7.17', '>=')], 'disable-link-local-address', KeyInfo(default=False)), |
| 9543 |
([('7.18', '<')], 'max-neighbor-entries', KeyInfo(default=8192)), |
| 9544 |
([('7.18', '>=')], 'max-neighbor-entries', KeyInfo()), |
| 9545 |
([('7.18', '>=')], 'min-neighbor-entries', KeyInfo()), |
| 9546 |
([('7.16', '>=')], 'multipath-hash-policy', KeyInfo(default='l3')), |
| 9547 |
([('7.18', '>=')], 'soft-max-neighbor-entries', KeyInfo()), |
| 9548 |
([('7.17', '>=')], 'stale-neighbor-detect-interval', KeyInfo()), |
| 9549 |
([('7.17', '>=')], 'stale-neighbor-timeout', KeyInfo(default=60)), |
| 9550 |
], |
| 9551 |
fields={ |
| 9552 |
'accept-redirects': KeyInfo(default='yes-if-forwarding-disabled'), |
| 9553 |
'accept-router-advertisements': KeyInfo(default='yes-if-forwarding-disabled'), |
| 9554 |
'disable-ipv6': KeyInfo(default=False), |
| 9555 |
'forward': KeyInfo(default=True), |
| 9556 |
}, |
| 9557 |
), |
| 9558 |
), |
| 9559 |
|
| 9560 |
('lcd',): APIData( |
| 9561 |
versioned=[ |
| 9562 |
('7.15', '>=', VersionedAPIData( |
| 9563 |
fixed_entries=True, |
| 9564 |
fully_understood=True, |
| 9565 |
single_value=True, |
| 9566 |
fields={ |
| 9567 |
'backlight-timeout': KeyInfo(), |
| 9568 |
'color-scheme': KeyInfo(), |
| 9569 |
'default-screen': KeyInfo(), |
| 9570 |
'enabled': KeyInfo(), |
| 9571 |
'flip-screen': KeyInfo(), |
| 9572 |
'read-only-mode': KeyInfo(), |
| 9573 |
'time-interval': KeyInfo(), |
| 9574 |
'touch-screen': KeyInfo(), |
| 9575 |
}, |
| 9576 |
)), |
| 9577 |
], |
| 9578 |
), |
| 9579 |
|
| 9580 |
('lcd', 'interface'): APIData( |
| 9581 |
versioned=[ |
| 9582 |
('7.15', '>=', VersionedAPIData( |
| 9583 |
fully_understood=True, |
| 9584 |
versioned_fields=[ |
| 9585 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9586 |
], |
| 9587 |
fields={ |
| 9588 |
# 'copy-from': KeyInfo(write_only=True), |
| 9589 |
'disabled': KeyInfo(), |
| 9590 |
'interface': KeyInfo(), |
| 9591 |
'max-speed': KeyInfo(), |
| 9592 |
'timeout': KeyInfo(), |
| 9593 |
}, |
| 9594 |
)), |
| 9595 |
], |
| 9596 |
), |
| 9597 |
|
| 9598 |
('lcd', 'interface', 'pages'): APIData( |
| 9599 |
versioned=[ |
| 9600 |
('7.15', '>=', VersionedAPIData( |
| 9601 |
fully_understood=True, |
| 9602 |
versioned_fields=[ |
| 9603 |
([('7.15.2', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9604 |
], |
| 9605 |
fields={ |
| 9606 |
# 'copy-from': KeyInfo(write_only=True), |
| 9607 |
'interfaces': KeyInfo(), |
| 9608 |
# 'place-before': KeyInfo(write_only=True), |
| 9609 |
}, |
| 9610 |
)), |
| 9611 |
], |
| 9612 |
), |
| 9613 |
|
| 9614 |
('lcd', 'pin'): APIData( |
| 9615 |
versioned=[ |
| 9616 |
('7.15', '>=', VersionedAPIData( |
| 9617 |
fixed_entries=True, |
| 9618 |
fully_understood=True, |
| 9619 |
single_value=True, |
| 9620 |
fields={ |
| 9621 |
'hide-pin-number': KeyInfo(), |
| 9622 |
'pin-number': KeyInfo(), |
| 9623 |
}, |
| 9624 |
)), |
| 9625 |
], |
| 9626 |
), |
| 9627 |
|
| 9628 |
('lcd', 'screen'): APIData( |
| 9629 |
versioned=[ |
| 9630 |
('7.15', '>=', VersionedAPIData( |
| 9631 |
# fixed_entries=True, |
| 9632 |
fully_understood=True, |
| 9633 |
has_identifier=True, |
| 9634 |
# primary_keys=('numbers',), |
| 9635 |
fields={ |
| 9636 |
'disabled': KeyInfo(), |
| 9637 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 9638 |
'timeout': KeyInfo(), |
| 9639 |
}, |
| 9640 |
)), |
| 9641 |
], |
| 9642 |
), |
| 9643 |
|
| 9644 |
('lora',): APIData( |
| 9645 |
versioned=[ |
| 9646 |
('7.15', '>=', VersionedAPIData( |
| 9647 |
# fixed_entries=True, |
| 9648 |
fully_understood=True, |
| 9649 |
has_identifier=True, |
| 9650 |
# primary_keys=('numbers',), |
| 9651 |
versioned_fields=[ |
| 9652 |
([('7.16', '>=')], 'alt', KeyInfo()), |
| 9653 |
([('7.16', '>=')], 'lat', KeyInfo()), |
| 9654 |
([('7.16', '>=')], 'long', KeyInfo()), |
| 9655 |
([('7.19', '<')], 'src-address', KeyInfo()), |
| 9656 |
], |
| 9657 |
fields={ |
| 9658 |
'antenna': KeyInfo(), |
| 9659 |
'antenna-gain': KeyInfo(), |
| 9660 |
'channel-plan': KeyInfo(), |
| 9661 |
'disabled': KeyInfo(), |
| 9662 |
'forward': KeyInfo(), |
| 9663 |
'gateway-id': KeyInfo(), |
| 9664 |
'lbt-enabled': KeyInfo(), |
| 9665 |
'listen-time': KeyInfo(), |
| 9666 |
'name': KeyInfo(), |
| 9667 |
'network': KeyInfo(), |
| 9668 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 9669 |
'rssi-threshold': KeyInfo(), |
| 9670 |
'servers': KeyInfo(), |
| 9671 |
'spoof-gps': KeyInfo(), |
| 9672 |
}, |
| 9673 |
)), |
| 9674 |
], |
| 9675 |
), |
| 9676 |
|
| 9677 |
('lora', 'channels'): APIData( |
| 9678 |
versioned=[ |
| 9679 |
('7.15', '>=', VersionedAPIData( |
| 9680 |
# fixed_entries=True, |
| 9681 |
fully_understood=True, |
| 9682 |
has_identifier=True, |
| 9683 |
# primary_keys=('numbers',), |
| 9684 |
fields={ |
| 9685 |
'bandwidth': KeyInfo(), |
| 9686 |
'datarate': KeyInfo(), |
| 9687 |
'disabled': KeyInfo(), |
| 9688 |
'freq-off': KeyInfo(), |
| 9689 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 9690 |
'radio': KeyInfo(), |
| 9691 |
'spread-factor': KeyInfo(), |
| 9692 |
}, |
| 9693 |
)), |
| 9694 |
], |
| 9695 |
), |
| 9696 |
|
| 9697 |
('lora', 'joineui'): APIData( |
| 9698 |
versioned=[ |
| 9699 |
('7.15', '>=', VersionedAPIData( |
| 9700 |
fully_understood=True, |
| 9701 |
versioned_fields=[ |
| 9702 |
([('7.16', '>=')], 'logging', KeyInfo()), |
| 9703 |
([('7.19', '>=')], 'type', KeyInfo()), |
| 9704 |
], |
| 9705 |
fields={ |
| 9706 |
# 'copy-from': KeyInfo(write_only=True), |
| 9707 |
'joineuis': KeyInfo(), |
| 9708 |
'name': KeyInfo(), |
| 9709 |
'numbers': KeyInfo(read_only=True), |
| 9710 |
}, |
| 9711 |
)), |
| 9712 |
], |
| 9713 |
), |
| 9714 |
|
| 9715 |
('lora', 'netid'): APIData( |
| 9716 |
versioned=[ |
| 9717 |
('7.15', '>=', VersionedAPIData( |
| 9718 |
fully_understood=True, |
| 9719 |
versioned_fields=[ |
| 9720 |
([('7.16', '>=')], 'logging', KeyInfo()), |
| 9721 |
([('7.19', '>=')], 'type', KeyInfo()), |
| 9722 |
], |
| 9723 |
fields={ |
| 9724 |
# 'copy-from': KeyInfo(write_only=True), |
| 9725 |
'name': KeyInfo(), |
| 9726 |
'netids': KeyInfo(), |
| 9727 |
'numbers': KeyInfo(read_only=True), |
| 9728 |
}, |
| 9729 |
)), |
| 9730 |
], |
| 9731 |
), |
| 9732 |
|
| 9733 |
('lora', 'radios'): APIData( |
| 9734 |
versioned=[ |
| 9735 |
('7.15', '>=', VersionedAPIData( |
| 9736 |
# fixed_entries=True, |
| 9737 |
fully_understood=True, |
| 9738 |
has_identifier=True, |
| 9739 |
# primary_keys=('numbers',), |
| 9740 |
versioned_fields=[ |
| 9741 |
([('7.17', '<')], 'rssi-off', KeyInfo()), |
| 9742 |
([('7.17', '<')], 'tx-enabled', KeyInfo()), |
| 9743 |
], |
| 9744 |
fields={ |
| 9745 |
'center-freq': KeyInfo(), |
| 9746 |
'disabled': KeyInfo(), |
| 9747 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 9748 |
'tx-freq-max': KeyInfo(), |
| 9749 |
'tx-freq-min': KeyInfo(), |
| 9750 |
}, |
| 9751 |
)), |
| 9752 |
], |
| 9753 |
), |
| 9754 |
|
| 9755 |
('lora', 'servers'): APIData( |
| 9756 |
versioned=[ |
| 9757 |
('7.15', '>=', VersionedAPIData( |
| 9758 |
fully_understood=True, |
| 9759 |
fields={ |
| 9760 |
'address': KeyInfo(), |
| 9761 |
'certificate': KeyInfo(), |
| 9762 |
# 'copy-from': KeyInfo(write_only=True), |
| 9763 |
'down-port': KeyInfo(), |
| 9764 |
'interval': KeyInfo(), |
| 9765 |
'joineui': KeyInfo(), |
| 9766 |
'key': KeyInfo(), |
| 9767 |
'name': KeyInfo(), |
| 9768 |
'netid': KeyInfo(), |
| 9769 |
'numbers': KeyInfo(read_only=True), |
| 9770 |
'port': KeyInfo(), |
| 9771 |
'protocol': KeyInfo(), |
| 9772 |
'ssl': KeyInfo(), |
| 9773 |
'up-port': KeyInfo(), |
| 9774 |
}, |
| 9775 |
)), |
| 9776 |
], |
| 9777 |
), |
| 9778 |
|
| 9779 |
('lora', 'traffic', 'options'): APIData( |
| 9780 |
versioned=[ |
| 9781 |
('7.17', '>=', VersionedAPIData( |
| 9782 |
fixed_entries=True, |
| 9783 |
fully_understood=True, |
| 9784 |
single_value=True, |
| 9785 |
versioned_fields=[ |
| 9786 |
([('7.19', '>=')], 'pckt-limit', KeyInfo()), |
| 9787 |
], |
| 9788 |
fields={ |
| 9789 |
'crc-errors': KeyInfo(), |
| 9790 |
}, |
| 9791 |
)), |
| 9792 |
], |
| 9793 |
), |
| 9794 |
|
| 9795 |
('mpls',): APIData( |
| 9796 |
versioned=[ |
| 9797 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 9798 |
('7.15', '<', VersionedAPIData( |
| 9799 |
fully_understood=True, |
| 9800 |
single_value=True, |
| 9801 |
fields={ |
| 9802 |
'allow-fast-path': KeyInfo(default=True), |
| 9803 |
'dynamic-label-range': KeyInfo(default='16-1048575'), |
| 9804 |
'propagate-ttl': KeyInfo(default=True), |
| 9805 |
}, |
| 9806 |
)), |
| 9807 |
], |
| 9808 |
), |
| 9809 |
|
| 9810 |
('mpls', 'interface'): APIData( |
| 9811 |
unversioned=VersionedAPIData( |
| 9812 |
fully_understood=True, |
| 9813 |
versioned_fields=[ |
| 9814 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9815 |
([('7.15', '<')], 'info', KeyInfo(can_disable=True)), |
| 9816 |
([('7.15', '>=')], 'input', KeyInfo(can_disable=True)), |
| 9817 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9818 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9819 |
], |
| 9820 |
fields={ |
| 9821 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9822 |
'disabled': KeyInfo(default=False), |
| 9823 |
'interface': KeyInfo(required=True), |
| 9824 |
'mpls-mtu': KeyInfo(can_disable=True), |
| 9825 |
}, |
| 9826 |
), |
| 9827 |
), |
| 9828 |
|
| 9829 |
('mpls', 'ldp'): APIData( |
| 9830 |
versioned=[ |
| 9831 |
('7.1', '>=', VersionedAPIData( |
| 9832 |
fully_understood=True, |
| 9833 |
primary_keys=('vrf',), |
| 9834 |
versioned_fields=[ |
| 9835 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9836 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9837 |
], |
| 9838 |
fields={ |
| 9839 |
'afi': KeyInfo(can_disable=True), |
| 9840 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9841 |
'disabled': KeyInfo(default=False), |
| 9842 |
'distribute-for-default': KeyInfo(can_disable=True), |
| 9843 |
'hop-limit': KeyInfo(can_disable=True), |
| 9844 |
'loop-detect': KeyInfo(can_disable=True), |
| 9845 |
'lsr-id': KeyInfo(can_disable=True), |
| 9846 |
'path-vector-limit': KeyInfo(can_disable=True), |
| 9847 |
'preferred-afi': KeyInfo(can_disable=True), |
| 9848 |
'transport-addresses': KeyInfo(can_disable=True), |
| 9849 |
'use-explicit-null': KeyInfo(can_disable=True), |
| 9850 |
'vrf': KeyInfo(), |
| 9851 |
}, |
| 9852 |
)), |
| 9853 |
('7.1', '<', VersionedAPIData( |
| 9854 |
fully_understood=True, |
| 9855 |
single_value=True, |
| 9856 |
fields={ |
| 9857 |
'distribute-for-default-route': KeyInfo(default=False), |
| 9858 |
'enabled': KeyInfo(default=False), |
| 9859 |
'hop-limit': KeyInfo(default=255), |
| 9860 |
'loop-detect': KeyInfo(default=False), |
| 9861 |
'lsr-id': KeyInfo(default='0.0.0.0'), |
| 9862 |
'path-vector-limit': KeyInfo(default=255), |
| 9863 |
'transport-address': KeyInfo(default='0.0.0.0'), |
| 9864 |
'use-explicit-null': KeyInfo(default=False), |
| 9865 |
}, |
| 9866 |
)), |
| 9867 |
], |
| 9868 |
), |
| 9869 |
|
| 9870 |
('mpls', 'ldp', 'accept-filter'): APIData( |
| 9871 |
unversioned=VersionedAPIData( |
| 9872 |
fully_understood=True, |
| 9873 |
versioned_fields=[ |
| 9874 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9875 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9876 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9877 |
], |
| 9878 |
fields={ |
| 9879 |
'accept': KeyInfo(can_disable=True), |
| 9880 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9881 |
'disabled': KeyInfo(default=False), |
| 9882 |
'neighbor': KeyInfo(can_disable=True), |
| 9883 |
'prefix': KeyInfo(can_disable=True), |
| 9884 |
'vrf': KeyInfo(can_disable=True), |
| 9885 |
}, |
| 9886 |
), |
| 9887 |
), |
| 9888 |
|
| 9889 |
('mpls', 'ldp', 'advertise-filter'): APIData( |
| 9890 |
unversioned=VersionedAPIData( |
| 9891 |
fully_understood=True, |
| 9892 |
versioned_fields=[ |
| 9893 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9894 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9895 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 9896 |
], |
| 9897 |
fields={ |
| 9898 |
'advertise': KeyInfo(default=''), |
| 9899 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9900 |
'disabled': KeyInfo(default=False), |
| 9901 |
'neighbor': KeyInfo(), |
| 9902 |
'prefix': KeyInfo(), |
| 9903 |
'vrf': KeyInfo(), |
| 9904 |
}, |
| 9905 |
), |
| 9906 |
), |
| 9907 |
|
| 9908 |
('mpls', 'ldp', 'interface'): APIData( |
| 9909 |
unversioned=VersionedAPIData( |
| 9910 |
fully_understood=True, |
| 9911 |
versioned_fields=[ |
| 9912 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 9913 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 9914 |
], |
| 9915 |
fields={ |
| 9916 |
'accept-dynamic-neighbors': KeyInfo(can_disable=True), |
| 9917 |
'afi': KeyInfo(can_disable=True), |
| 9918 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 9919 |
'disabled': KeyInfo(default=False), |
| 9920 |
'hello-interval': KeyInfo(can_disable=True), |
| 9921 |
'hold-time': KeyInfo(can_disable=True), |
| 9922 |
'interface': KeyInfo(required=True), |
| 9923 |
'transport-addresses': KeyInfo(can_disable=True), |
| 9924 |
}, |
| 9925 |
), |
| 9926 |
), |
| 9927 |
|
| 9928 |
('mpls', 'ldp', 'local-mapping'): APIData( |
| 9929 |
versioned=[ |
| 9930 |
('7.15', '>=', VersionedAPIData( |
| 9931 |
fully_understood=True, |
| 9932 |
fields={ |
| 9933 |
'comment': KeyInfo(), |
| 9934 |
# 'copy-from': KeyInfo(write_only=True), |
| 9935 |
'disabled': KeyInfo(), |
| 9936 |
'dst-address': KeyInfo(can_disable=True), |
| 9937 |
'label': KeyInfo(), |
| 9938 |
'numbers': KeyInfo(read_only=True), |
| 9939 |
'vrf': KeyInfo(can_disable=True), |
| 9940 |
}, |
| 9941 |
)), |
| 9942 |
], |
| 9943 |
), |
| 9944 |
|
| 9945 |
('mpls', 'ldp', 'neighbor'): APIData( |
| 9946 |
versioned=[ |
| 9947 |
('7.15', '>=', VersionedAPIData( |
| 9948 |
fully_understood=True, |
| 9949 |
fields={ |
| 9950 |
'comment': KeyInfo(), |
| 9951 |
# 'copy-from': KeyInfo(write_only=True), |
| 9952 |
'disabled': KeyInfo(), |
| 9953 |
'numbers': KeyInfo(read_only=True), |
| 9954 |
'send-targeted': KeyInfo(can_disable=True), |
| 9955 |
'transport': KeyInfo(), |
| 9956 |
}, |
| 9957 |
)), |
| 9958 |
], |
| 9959 |
), |
| 9960 |
|
| 9961 |
('mpls', 'ldp', 'remote-mapping'): APIData( |
| 9962 |
versioned=[ |
| 9963 |
('7.15', '>=', VersionedAPIData( |
| 9964 |
fully_understood=True, |
| 9965 |
fields={ |
| 9966 |
'comment': KeyInfo(), |
| 9967 |
# 'copy-from': KeyInfo(write_only=True), |
| 9968 |
'disabled': KeyInfo(), |
| 9969 |
'dst-address': KeyInfo(), |
| 9970 |
'label': KeyInfo(), |
| 9971 |
'nexthop': KeyInfo(), |
| 9972 |
'numbers': KeyInfo(read_only=True), |
| 9973 |
'vrf': KeyInfo(can_disable=True), |
| 9974 |
}, |
| 9975 |
)), |
| 9976 |
], |
| 9977 |
), |
| 9978 |
|
| 9979 |
('mpls', 'mangle'): APIData( |
| 9980 |
versioned=[ |
| 9981 |
('7.17', '>=', VersionedAPIData( |
| 9982 |
fully_understood=True, |
| 9983 |
fields={ |
| 9984 |
'chain': KeyInfo(can_disable=True), |
| 9985 |
'comment': KeyInfo(), |
| 9986 |
# 'copy-from': KeyInfo(write_only=True), |
| 9987 |
'disabled': KeyInfo(), |
| 9988 |
'exp': KeyInfo(can_disable=True), |
| 9989 |
'numbers': KeyInfo(read_only=True), |
| 9990 |
'set-exp': KeyInfo(can_disable=True), |
| 9991 |
'set-mark': KeyInfo(can_disable=True), |
| 9992 |
}, |
| 9993 |
)), |
| 9994 |
], |
| 9995 |
), |
| 9996 |
|
| 9997 |
('mpls', 'settings'): APIData( |
| 9998 |
versioned=[ |
| 9999 |
('7.15', '>=', VersionedAPIData( |
| 10000 |
fixed_entries=True, |
| 10001 |
fully_understood=True, |
| 10002 |
single_value=True, |
| 10003 |
fields={ |
| 10004 |
'allow-fast-path': KeyInfo(), |
| 10005 |
'dynamic-label-range': KeyInfo(), |
| 10006 |
'propagate-ttl': KeyInfo(), |
| 10007 |
}, |
| 10008 |
)), |
| 10009 |
], |
| 10010 |
), |
| 10011 |
|
| 10012 |
('mpls', 'traffic-eng', 'interface'): APIData( |
| 10013 |
versioned=[ |
| 10014 |
('7.15', '>=', VersionedAPIData( |
| 10015 |
fully_understood=True, |
| 10016 |
fields={ |
| 10017 |
'bandwidth': KeyInfo(can_disable=True), |
| 10018 |
'blockade-k-factor': KeyInfo(can_disable=True), |
| 10019 |
'comment': KeyInfo(), |
| 10020 |
# 'copy-from': KeyInfo(write_only=True), |
| 10021 |
'disabled': KeyInfo(), |
| 10022 |
'down-flood-thresholds': KeyInfo(can_disable=True), |
| 10023 |
'igp-flood-period': KeyInfo(can_disable=True), |
| 10024 |
'interface': KeyInfo(), |
| 10025 |
'k-factor': KeyInfo(can_disable=True), |
| 10026 |
'numbers': KeyInfo(read_only=True), |
| 10027 |
'refresh-time': KeyInfo(can_disable=True), |
| 10028 |
'resource-class': KeyInfo(can_disable=True), |
| 10029 |
'te-metric': KeyInfo(can_disable=True), |
| 10030 |
'up-flood-thresholds': KeyInfo(can_disable=True), |
| 10031 |
'use-udp': KeyInfo(can_disable=True), |
| 10032 |
}, |
| 10033 |
)), |
| 10034 |
], |
| 10035 |
), |
| 10036 |
|
| 10037 |
('mpls', 'traffic-eng', 'path'): APIData( |
| 10038 |
versioned=[ |
| 10039 |
('7.15', '>=', VersionedAPIData( |
| 10040 |
fully_understood=True, |
| 10041 |
fields={ |
| 10042 |
'affinity-exclude': KeyInfo(can_disable=True), |
| 10043 |
'affinity-include-all': KeyInfo(can_disable=True), |
| 10044 |
'affinity-include-any': KeyInfo(can_disable=True), |
| 10045 |
'comment': KeyInfo(), |
| 10046 |
# 'copy-from': KeyInfo(write_only=True), |
| 10047 |
'disabled': KeyInfo(), |
| 10048 |
'holding-priority': KeyInfo(can_disable=True), |
| 10049 |
'hops': KeyInfo(can_disable=True), |
| 10050 |
'name': KeyInfo(), |
| 10051 |
'numbers': KeyInfo(read_only=True), |
| 10052 |
'record-route': KeyInfo(can_disable=True), |
| 10053 |
'reoptimize-interval': KeyInfo(can_disable=True), |
| 10054 |
'setup-priority': KeyInfo(can_disable=True), |
| 10055 |
'use-cspf': KeyInfo(can_disable=True), |
| 10056 |
}, |
| 10057 |
)), |
| 10058 |
], |
| 10059 |
), |
| 10060 |
|
| 10061 |
('mpls', 'traffic-eng', 'tunnel'): APIData( |
| 10062 |
versioned=[ |
| 10063 |
('7.15', '>=', VersionedAPIData( |
| 10064 |
fully_understood=True, |
| 10065 |
fields={ |
| 10066 |
'affinity-exclude': KeyInfo(can_disable=True), |
| 10067 |
'affinity-include-all': KeyInfo(can_disable=True), |
| 10068 |
'affinity-include-any': KeyInfo(can_disable=True), |
| 10069 |
'auto-bandwidth-avg-interval': KeyInfo(can_disable=True), |
| 10070 |
'auto-bandwidth-range': KeyInfo(can_disable=True), |
| 10071 |
'auto-bandwidth-reserve': KeyInfo(can_disable=True), |
| 10072 |
'auto-bandwidth-update-interval': KeyInfo(can_disable=True), |
| 10073 |
'bandwidth': KeyInfo(can_disable=True), |
| 10074 |
'bandwidth-limit': KeyInfo(can_disable=True), |
| 10075 |
'comment': KeyInfo(), |
| 10076 |
# 'copy-from': KeyInfo(write_only=True), |
| 10077 |
'disabled': KeyInfo(), |
| 10078 |
'from-address': KeyInfo(can_disable=True), |
| 10079 |
'holding-priority': KeyInfo(can_disable=True), |
| 10080 |
'name': KeyInfo(), |
| 10081 |
'numbers': KeyInfo(read_only=True), |
| 10082 |
'primary-path': KeyInfo(can_disable=True), |
| 10083 |
'primary-retry-interval': KeyInfo(can_disable=True), |
| 10084 |
'record-route': KeyInfo(can_disable=True), |
| 10085 |
'reoptimize-interval': KeyInfo(can_disable=True), |
| 10086 |
'secondary-paths': KeyInfo(can_disable=True), |
| 10087 |
'secondary-standby': KeyInfo(can_disable=True), |
| 10088 |
'setup-priority': KeyInfo(can_disable=True), |
| 10089 |
'to-address': KeyInfo(), |
| 10090 |
'vrf': KeyInfo(can_disable=True), |
| 10091 |
}, |
| 10092 |
)), |
| 10093 |
], |
| 10094 |
), |
| 10095 |
|
| 10096 |
('openflow',): APIData( |
| 10097 |
versioned=[ |
| 10098 |
('7.20', '>=', VersionedAPIData( |
| 10099 |
fully_understood=True, |
| 10100 |
fields={ |
| 10101 |
'certificate': KeyInfo(can_disable=True), |
| 10102 |
'comment': KeyInfo(), |
| 10103 |
'controllers': KeyInfo(), |
| 10104 |
# 'copy-from': KeyInfo(write_only=True), |
| 10105 |
'datapath-id': KeyInfo(), |
| 10106 |
'disabled': KeyInfo(), |
| 10107 |
'isolate-controllers': KeyInfo(can_disable=True), |
| 10108 |
'name': KeyInfo(), |
| 10109 |
'numbers': KeyInfo(read_only=True), |
| 10110 |
'passive-port': KeyInfo(), |
| 10111 |
'verify-peer': KeyInfo(can_disable=True), |
| 10112 |
'version': KeyInfo(), |
| 10113 |
}, |
| 10114 |
)), |
| 10115 |
], |
| 10116 |
), |
| 10117 |
|
| 10118 |
('openflow', 'port'): APIData( |
| 10119 |
versioned=[ |
| 10120 |
('7.20', '>=', VersionedAPIData( |
| 10121 |
fully_understood=True, |
| 10122 |
fields={ |
| 10123 |
'comment': KeyInfo(), |
| 10124 |
# 'copy-from': KeyInfo(write_only=True), |
| 10125 |
'disabled': KeyInfo(), |
| 10126 |
'interface': KeyInfo(), |
| 10127 |
'numbers': KeyInfo(read_only=True), |
| 10128 |
'port-id': KeyInfo(), |
| 10129 |
'switch': KeyInfo(), |
| 10130 |
}, |
| 10131 |
)), |
| 10132 |
], |
| 10133 |
), |
| 10134 |
|
| 10135 |
('partitions',): APIData( |
| 10136 |
versioned=[ |
| 10137 |
('7.15', '>=', VersionedAPIData( |
| 10138 |
# fixed_entries=True, |
| 10139 |
fully_understood=True, |
| 10140 |
has_identifier=True, |
| 10141 |
# primary_keys=('numbers',), |
| 10142 |
fields={ |
| 10143 |
'comment': KeyInfo(), |
| 10144 |
'fallback-to': KeyInfo(), |
| 10145 |
'name': KeyInfo(), |
| 10146 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 10147 |
}, |
| 10148 |
)), |
| 10149 |
], |
| 10150 |
), |
| 10151 |
|
| 10152 |
('port',): APIData( |
| 10153 |
versioned=[ |
| 10154 |
('7.15', '>=', VersionedAPIData( |
| 10155 |
# fixed_entries=True, |
| 10156 |
fully_understood=True, |
| 10157 |
has_identifier=True, |
| 10158 |
# primary_keys=('numbers',), |
| 10159 |
fields={ |
| 10160 |
'baud-rate': KeyInfo(), |
| 10161 |
'data-bits': KeyInfo(), |
| 10162 |
'dtr': KeyInfo(), |
| 10163 |
'flow-control': KeyInfo(), |
| 10164 |
'name': KeyInfo(), |
| 10165 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 10166 |
'parity': KeyInfo(), |
| 10167 |
'rts': KeyInfo(), |
| 10168 |
'stop-bits': KeyInfo(), |
| 10169 |
}, |
| 10170 |
)), |
| 10171 |
], |
| 10172 |
), |
| 10173 |
|
| 10174 |
('port', 'firmware'): APIData( |
| 10175 |
versioned=[ |
| 10176 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 10177 |
('7.15', '<', VersionedAPIData( |
| 10178 |
fully_understood=True, |
| 10179 |
single_value=True, |
| 10180 |
fields={ |
| 10181 |
'directory': KeyInfo(default='firmware'), |
| 10182 |
'ignore-directip-modem': KeyInfo(default=False), |
| 10183 |
}, |
| 10184 |
)), |
| 10185 |
], |
| 10186 |
), |
| 10187 |
|
| 10188 |
('port', 'remote-access'): APIData( |
| 10189 |
unversioned=VersionedAPIData( |
| 10190 |
fully_understood=True, |
| 10191 |
versioned_fields=[ |
| 10192 |
([('7.21', '>=')], 'comment', KeyInfo()), |
| 10193 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10194 |
([('7.15', '>=')], 'local-address', KeyInfo()), |
| 10195 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10196 |
], |
| 10197 |
fields={ |
| 10198 |
'allowed-addresses': KeyInfo(default='0.0.0.0/0'), |
| 10199 |
'channel': KeyInfo(default=0), |
| 10200 |
'disabled': KeyInfo(default=False), |
| 10201 |
'log-file': KeyInfo(default=''), |
| 10202 |
'port': KeyInfo(required=True), |
| 10203 |
'protocol': KeyInfo(default='rfc2217'), |
| 10204 |
'tcp-port': KeyInfo(default=0), |
| 10205 |
}, |
| 10206 |
), |
| 10207 |
), |
| 10208 |
|
| 10209 |
('ppp', 'aaa'): APIData( |
| 10210 |
unversioned=VersionedAPIData( |
| 10211 |
fixed_entries=True, |
| 10212 |
fully_understood=True, |
| 10213 |
single_value=True, |
| 10214 |
versioned_fields=[ |
| 10215 |
([('7.15', '>=')], 'enable-ipv6-accounting', KeyInfo()), |
| 10216 |
], |
| 10217 |
fields={ |
| 10218 |
'accounting': KeyInfo(default=True), |
| 10219 |
'interim-update': KeyInfo(default='0s'), |
| 10220 |
'use-circuit-id-in-nas-port-id': KeyInfo(default=False), |
| 10221 |
'use-radius': KeyInfo(default=False), |
| 10222 |
}, |
| 10223 |
), |
| 10224 |
), |
| 10225 |
|
| 10226 |
('ppp', 'l2tp-secret'): APIData( |
| 10227 |
versioned=[ |
| 10228 |
('7.15', '>=', VersionedAPIData( |
| 10229 |
fully_understood=True, |
| 10230 |
fields={ |
| 10231 |
'address': KeyInfo(), |
| 10232 |
'comment': KeyInfo(), |
| 10233 |
# 'copy-from': KeyInfo(write_only=True), |
| 10234 |
'numbers': KeyInfo(read_only=True), |
| 10235 |
'secret': KeyInfo(), |
| 10236 |
}, |
| 10237 |
)), |
| 10238 |
], |
| 10239 |
), |
| 10240 |
|
| 10241 |
('ppp', 'profile'): APIData( |
| 10242 |
unversioned=VersionedAPIData( |
| 10243 |
fully_understood=True, |
| 10244 |
primary_keys=('name',), |
| 10245 |
versioned_fields=[ |
| 10246 |
([('7.17', '>=')], 'bridge-port-trusted', KeyInfo()), |
| 10247 |
([('7.17', '>=')], 'bridge-port-vid', KeyInfo()), |
| 10248 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 10249 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10250 |
([('7.20', '>=')], 'dhcpv6-lease-time', KeyInfo()), |
| 10251 |
([('7.15', '>=')], 'dhcpv6-pd-pool', KeyInfo()), |
| 10252 |
([('7.20', '>=')], 'dhcpv6-use-radius', KeyInfo()), |
| 10253 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10254 |
([('7.15', '>=')], 'remote-ipv6-prefix-pool', KeyInfo()), |
| 10255 |
([('7.20', '>=')], 'remote-ipv6-prefix-reuse', KeyInfo()), |
| 10256 |
], |
| 10257 |
fields={ |
| 10258 |
'address-list': KeyInfo(default=''), |
| 10259 |
'bridge': KeyInfo(can_disable=True), |
| 10260 |
'bridge-horizon': KeyInfo(can_disable=True), |
| 10261 |
'bridge-learning': KeyInfo(default='default'), |
| 10262 |
'bridge-path-cost': KeyInfo(can_disable=True), |
| 10263 |
'bridge-port-priority': KeyInfo(can_disable=True), |
| 10264 |
'change-tcp-mss': KeyInfo(default=True), |
| 10265 |
'dns-server': KeyInfo(can_disable=True), |
| 10266 |
'idle-timeout': KeyInfo(can_disable=True), |
| 10267 |
'incoming-filter': KeyInfo(can_disable=True), |
| 10268 |
'insert-queue-before': KeyInfo(can_disable=True), |
| 10269 |
'interface-list': KeyInfo(can_disable=True), |
| 10270 |
'local-address': KeyInfo(can_disable=True), |
| 10271 |
'name': KeyInfo(required=True), |
| 10272 |
'on-down': KeyInfo(default=''), |
| 10273 |
'on-up': KeyInfo(default=''), |
| 10274 |
'only-one': KeyInfo(default='default'), |
| 10275 |
'outgoing-filter': KeyInfo(can_disable=True), |
| 10276 |
'parent-queue': KeyInfo(can_disable=True), |
| 10277 |
'queue-type': KeyInfo(can_disable=True), |
| 10278 |
'rate-limit': KeyInfo(can_disable=True), |
| 10279 |
'remote-address': KeyInfo(can_disable=True), |
| 10280 |
'session-timeout': KeyInfo(can_disable=True), |
| 10281 |
'use-compression': KeyInfo(default='default'), |
| 10282 |
'use-encryption': KeyInfo(default='default'), |
| 10283 |
'use-ipv6': KeyInfo(default=True), |
| 10284 |
'use-mpls': KeyInfo(default='default'), |
| 10285 |
'use-upnp': KeyInfo(default='default'), |
| 10286 |
'wins-server': KeyInfo(can_disable=True), |
| 10287 |
}, |
| 10288 |
), |
| 10289 |
), |
| 10290 |
|
| 10291 |
('ppp', 'secret'): APIData( |
| 10292 |
unversioned=VersionedAPIData( |
| 10293 |
fully_understood=True, |
| 10294 |
primary_keys=('name',), |
| 10295 |
versioned_fields=[ |
| 10296 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 10297 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10298 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10299 |
], |
| 10300 |
fields={ |
| 10301 |
'caller-id': KeyInfo(default=''), |
| 10302 |
'disabled': KeyInfo(default=False), |
| 10303 |
'ipv6-routes': KeyInfo(default=''), |
| 10304 |
'limit-bytes-in': KeyInfo(default=0), |
| 10305 |
'limit-bytes-out': KeyInfo(default=0), |
| 10306 |
'local-address': KeyInfo(can_disable=True), |
| 10307 |
'name': KeyInfo(required=True), |
| 10308 |
'password': KeyInfo(), |
| 10309 |
'profile': KeyInfo(default='default'), |
| 10310 |
'remote-address': KeyInfo(can_disable=True), |
| 10311 |
'remote-ipv6-prefix': KeyInfo(can_disable=True), |
| 10312 |
'routes': KeyInfo(can_disable=True), |
| 10313 |
'service': KeyInfo(default='any'), |
| 10314 |
}, |
| 10315 |
), |
| 10316 |
), |
| 10317 |
|
| 10318 |
('queue', 'interface'): APIData( |
| 10319 |
unversioned=VersionedAPIData( |
| 10320 |
fixed_entries=True, |
| 10321 |
fully_understood=True, |
| 10322 |
primary_keys=('interface',), |
| 10323 |
versioned_fields=[ |
| 10324 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 10325 |
], |
| 10326 |
fields={ |
| 10327 |
'interface': KeyInfo(required=True), |
| 10328 |
'queue': KeyInfo(required=True), |
| 10329 |
}, |
| 10330 |
), |
| 10331 |
), |
| 10332 |
|
| 10333 |
('queue', 'simple'): APIData( |
| 10334 |
unversioned=VersionedAPIData( |
| 10335 |
fully_understood=True, |
| 10336 |
primary_keys=('name',), |
| 10337 |
versioned_fields=[ |
| 10338 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10339 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10340 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 10341 |
([('7.15', '>=')], 'total-bucket-size', KeyInfo()), |
| 10342 |
([('7.15', '>=')], 'total-burst-limit', KeyInfo()), |
| 10343 |
([('7.15', '>=')], 'total-burst-threshold', KeyInfo()), |
| 10344 |
([('7.15', '>=')], 'total-burst-time', KeyInfo()), |
| 10345 |
([('7.15', '>=')], 'total-limit-at', KeyInfo()), |
| 10346 |
([('7.15', '>=')], 'total-max-limit', KeyInfo()), |
| 10347 |
([('7.15', '>=')], 'total-priority', KeyInfo()), |
| 10348 |
([('7.15', '>=')], 'total-queue', KeyInfo()), |
| 10349 |
], |
| 10350 |
fields={ |
| 10351 |
'bucket-size': KeyInfo(default='0.1/0.1'), |
| 10352 |
'burst-limit': KeyInfo(default='0/0'), |
| 10353 |
'burst-threshold': KeyInfo(default='0/0'), |
| 10354 |
'burst-time': KeyInfo(default='0s/0s'), |
| 10355 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10356 |
'disabled': KeyInfo(default=False), |
| 10357 |
'dst': KeyInfo(can_disable=True, remove_value=''), |
| 10358 |
'limit-at': KeyInfo(default='0/0'), |
| 10359 |
'max-limit': KeyInfo(default='0/0'), |
| 10360 |
'name': KeyInfo(), |
| 10361 |
'packet-marks': KeyInfo(default=''), |
| 10362 |
'parent': KeyInfo(default='none'), |
| 10363 |
'priority': KeyInfo(default='8/8'), |
| 10364 |
'queue': KeyInfo(default='default-small/default-small'), |
| 10365 |
'target': KeyInfo(required=True), |
| 10366 |
'time': KeyInfo(can_disable=True, remove_value=''), |
| 10367 |
}, |
| 10368 |
), |
| 10369 |
), |
| 10370 |
|
| 10371 |
('queue', 'tree'): APIData( |
| 10372 |
unversioned=VersionedAPIData( |
| 10373 |
fully_understood=True, |
| 10374 |
primary_keys=('name',), |
| 10375 |
versioned_fields=[ |
| 10376 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10377 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10378 |
], |
| 10379 |
fields={ |
| 10380 |
'bucket-size': KeyInfo(default='0.1'), |
| 10381 |
'burst-limit': KeyInfo(default=0), |
| 10382 |
'burst-threshold': KeyInfo(default=0), |
| 10383 |
'burst-time': KeyInfo(default='0s'), |
| 10384 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10385 |
'disabled': KeyInfo(default=False), |
| 10386 |
'limit-at': KeyInfo(default=0), |
| 10387 |
'max-limit': KeyInfo(default=0), |
| 10388 |
'name': KeyInfo(), |
| 10389 |
'packet-mark': KeyInfo(default=''), |
| 10390 |
'parent': KeyInfo(required=True), |
| 10391 |
'priority': KeyInfo(default=8), |
| 10392 |
'queue': KeyInfo(default='default-small'), |
| 10393 |
}, |
| 10394 |
), |
| 10395 |
), |
| 10396 |
|
| 10397 |
('queue', 'type'): APIData( |
| 10398 |
unversioned=VersionedAPIData( |
| 10399 |
fully_understood=True, |
| 10400 |
primary_keys=('name',), |
| 10401 |
versioned_fields=[ |
| 10402 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10403 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10404 |
], |
| 10405 |
fields={ |
| 10406 |
'bfifo-limit': KeyInfo(default=15000), |
| 10407 |
'cake-ack-filter': KeyInfo(default='none'), |
| 10408 |
'cake-atm': KeyInfo(default='none'), |
| 10409 |
'cake-autorate-ingress': KeyInfo(can_disable=True), |
| 10410 |
'cake-bandwidth': KeyInfo(can_disable=True, remove_value=0), |
| 10411 |
'cake-diffserv': KeyInfo(default='diffserv3'), |
| 10412 |
'cake-flowmode': KeyInfo(default='triple-isolate'), |
| 10413 |
'cake-memlimit': KeyInfo(default=0), |
| 10414 |
'cake-mpu': KeyInfo(can_disable=True, remove_value=''), |
| 10415 |
'cake-nat': KeyInfo(can_disable=True, remove_value=False), |
| 10416 |
'cake-overhead': KeyInfo(default=0), |
| 10417 |
'cake-overhead-scheme': KeyInfo(can_disable=True, remove_value=''), |
| 10418 |
'cake-rtt': KeyInfo(default='100ms'), |
| 10419 |
'cake-rtt-scheme': KeyInfo(default='none'), |
| 10420 |
'cake-wash': KeyInfo(can_disable=True, remove_value=False), |
| 10421 |
'codel-ce-threshold': KeyInfo(can_disable=True, remove_value=''), |
| 10422 |
'codel-ecn': KeyInfo(can_disable=True, remove_value=False), |
| 10423 |
'codel-interval': KeyInfo(default='100ms'), |
| 10424 |
'codel-limit': KeyInfo(default=1000), |
| 10425 |
'codel-target': KeyInfo(default='5ms'), |
| 10426 |
'fq-codel-ce-threshold': KeyInfo(can_disable=True, remove_value=''), |
| 10427 |
'fq-codel-ecn': KeyInfo(default=True), |
| 10428 |
'fq-codel-flows': KeyInfo(default=1024), |
| 10429 |
'fq-codel-interval': KeyInfo(default='100ms'), |
| 10430 |
'fq-codel-limit': KeyInfo(default=10240), |
| 10431 |
'fq-codel-memlimit': KeyInfo(default=33554432), |
| 10432 |
'fq-codel-quantum': KeyInfo(default=1514), |
| 10433 |
'fq-codel-target': KeyInfo(default='5ms'), |
| 10434 |
'kind': KeyInfo(required=True), |
| 10435 |
'mq-pfifo-limit': KeyInfo(default=50), |
| 10436 |
'name': KeyInfo(), |
| 10437 |
'pcq-burst-rate': KeyInfo(default=0), |
| 10438 |
'pcq-burst-threshold': KeyInfo(default=0), |
| 10439 |
'pcq-burst-time': KeyInfo(default='10s'), |
| 10440 |
'pcq-classifier': KeyInfo(can_disable=True, remove_value=''), |
| 10441 |
'pcq-dst-address-mask': KeyInfo(default=32), |
| 10442 |
'pcq-dst-address6-mask': KeyInfo(default=128), |
| 10443 |
'pcq-limit': KeyInfo(default=50), |
| 10444 |
'pcq-rate': KeyInfo(default=0), |
| 10445 |
'pcq-src-address-mask': KeyInfo(default=32), |
| 10446 |
'pcq-src-address6-mask': KeyInfo(default=128), |
| 10447 |
'pcq-total-limit': KeyInfo(default=2000), |
| 10448 |
'pfifo-limit': KeyInfo(default=50), |
| 10449 |
'red-avg-packet': KeyInfo(default=1000), |
| 10450 |
'red-burst': KeyInfo(default=20), |
| 10451 |
'red-limit': KeyInfo(default=60), |
| 10452 |
'red-max-threshold': KeyInfo(default=50), |
| 10453 |
'red-min-threshold': KeyInfo(default=10), |
| 10454 |
'sfq-allot': KeyInfo(default=1514), |
| 10455 |
'sfq-perturb': KeyInfo(default=5), |
| 10456 |
}, |
| 10457 |
), |
| 10458 |
), |
| 10459 |
|
| 10460 |
('radius',): APIData( |
| 10461 |
unversioned=VersionedAPIData( |
| 10462 |
fully_understood=True, |
| 10463 |
versioned_fields=[ |
| 10464 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10465 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10466 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 10467 |
([('7.19.6', '>=')], 'radsec-timeout', KeyInfo(default='3300ms')), |
| 10468 |
([('7.15', '>=')], 'require-message-auth', KeyInfo(default='yes-for-request-resp')), |
| 10469 |
], |
| 10470 |
fields={ |
| 10471 |
'accounting-backup': KeyInfo(default=False), |
| 10472 |
'accounting-port': KeyInfo(default=1813), |
| 10473 |
'address': KeyInfo(default='0.0.0.0'), |
| 10474 |
'authentication-port': KeyInfo(default=1812), |
| 10475 |
'called-id': KeyInfo(), |
| 10476 |
'certificate': KeyInfo(), |
| 10477 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10478 |
'disabled': KeyInfo(default=False), |
| 10479 |
'domain': KeyInfo(), |
| 10480 |
'protocol': KeyInfo(default='udp'), |
| 10481 |
'realm': KeyInfo(), |
| 10482 |
'secret': KeyInfo(), |
| 10483 |
'service': KeyInfo(), |
| 10484 |
'src-address': KeyInfo(default='0.0.0.0'), |
| 10485 |
'timeout': KeyInfo(default='300ms'), |
| 10486 |
}, |
| 10487 |
), |
| 10488 |
), |
| 10489 |
|
| 10490 |
('radius', 'incoming'): APIData( |
| 10491 |
unversioned=VersionedAPIData( |
| 10492 |
fixed_entries=True, |
| 10493 |
fully_understood=True, |
| 10494 |
single_value=True, |
| 10495 |
versioned_fields=[ |
| 10496 |
([('7.15', '>=')], 'vrf', KeyInfo()), |
| 10497 |
], |
| 10498 |
fields={ |
| 10499 |
'accept': KeyInfo(default=False), |
| 10500 |
'port': KeyInfo(default=3799), |
| 10501 |
}, |
| 10502 |
), |
| 10503 |
), |
| 10504 |
|
| 10505 |
('routing', 'bfd', 'configuration'): APIData( |
| 10506 |
versioned=[ |
| 10507 |
('7.11', '>=', VersionedAPIData( |
| 10508 |
fully_understood=True, |
| 10509 |
versioned_fields=[ |
| 10510 |
([('7.15', '<')], 'min-echo-rx', KeyInfo()), |
| 10511 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10512 |
], |
| 10513 |
fields={ |
| 10514 |
'address-list': KeyInfo(), |
| 10515 |
'addresses': KeyInfo(), |
| 10516 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10517 |
'copy-from': KeyInfo( |
| 10518 |
write_only=True, depr=Depr('4.0.0', 'The copy-from field will be removed in community.routeros 4.0.0.', context='write')), |
| 10519 |
'disabled': KeyInfo(default=False), |
| 10520 |
'forbid-bfd': KeyInfo(), |
| 10521 |
'interfaces': KeyInfo(), |
| 10522 |
'min-rx': KeyInfo(), |
| 10523 |
'min-tx': KeyInfo(), |
| 10524 |
'multiplier': KeyInfo(), |
| 10525 |
'place-before': KeyInfo( |
| 10526 |
write_only=True, depr=Depr('4.0.0', 'The place-before field will be removed in community.routeros 4.0.0.', context='write')), |
| 10527 |
'vrf': KeyInfo(), |
| 10528 |
}, |
| 10529 |
)), |
| 10530 |
], |
| 10531 |
), |
| 10532 |
|
| 10533 |
('routing', 'bfd', 'interface'): APIData( |
| 10534 |
versioned=[ |
| 10535 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 10536 |
('7.15', '<', VersionedAPIData( |
| 10537 |
unknown_mechanism=True, |
| 10538 |
fields={ |
| 10539 |
'default': KeyInfo(), |
| 10540 |
'disabled': KeyInfo(), |
| 10541 |
'interface': KeyInfo(), |
| 10542 |
'interval': KeyInfo(), |
| 10543 |
'min-rx': KeyInfo(), |
| 10544 |
'multiplier': KeyInfo(), |
| 10545 |
}, |
| 10546 |
)), |
| 10547 |
], |
| 10548 |
), |
| 10549 |
|
| 10550 |
('routing', 'bgp', 'aggregate'): APIData( |
| 10551 |
versioned=[ |
| 10552 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 10553 |
('7.15', '<', VersionedAPIData( |
| 10554 |
fully_understood=True, |
| 10555 |
primary_keys=('prefix',), |
| 10556 |
fields={ |
| 10557 |
'advertise-filter': KeyInfo(), |
| 10558 |
'attribute-filter': KeyInfo(), |
| 10559 |
'disabled': KeyInfo(default=False), |
| 10560 |
'include-igp': KeyInfo(default=False), |
| 10561 |
'inherit-attributes': KeyInfo(default=True), |
| 10562 |
'instance': KeyInfo(required=True), |
| 10563 |
'prefix': KeyInfo(required=True), |
| 10564 |
'summary-only': KeyInfo(default=True), |
| 10565 |
'suppress-filter': KeyInfo(), |
| 10566 |
}, |
| 10567 |
)), |
| 10568 |
], |
| 10569 |
), |
| 10570 |
|
| 10571 |
('routing', 'bgp', 'connection'): APIData( |
| 10572 |
unversioned=VersionedAPIData( |
| 10573 |
fully_understood=True, |
| 10574 |
versioned_fields=[ |
| 10575 |
([('7.22', '<')], 'add-path-out', KeyInfo()), |
| 10576 |
([('7.19', '<')], 'address-families', KeyInfo()), |
| 10577 |
([('7.19', '>=')], 'afi', KeyInfo()), |
| 10578 |
([('7.20', '<')], 'cluster-id', KeyInfo()), |
| 10579 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10580 |
([('7.19', '<')], 'input.accept-unknown', KeyInfo()), |
| 10581 |
([('7.22', '>=')], 'input.add-path', KeyInfo()), |
| 10582 |
([('7.21.2', '>=')], 'input.attr-error-handling', KeyInfo()), |
| 10583 |
([('7.19', '>=')], 'input.filter-communities', KeyInfo()), |
| 10584 |
([('7.19', '>=')], 'input.filter-ext-communities', KeyInfo()), |
| 10585 |
([('7.19', '>=')], 'input.filter-large-communities', KeyInfo()), |
| 10586 |
([('7.20', '>=')], 'input.filter-nlri', KeyInfo()), |
| 10587 |
([('7.19', '>=')], 'input.filter-unknown', KeyInfo()), |
| 10588 |
([('7.20', '<')], 'input.ignore-as-path-len', KeyInfo()), |
| 10589 |
([('7.20', '>=')], 'instance', KeyInfo(required=True)), |
| 10590 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10591 |
([('7.22', '>=')], 'output.add-path', KeyInfo()), |
| 10592 |
([('7.20.1', '>=')], 'output.network-blackhole', KeyInfo()), |
| 10593 |
([('7.20', '<')], 'router-id', KeyInfo()), |
| 10594 |
], |
| 10595 |
fields={ |
| 10596 |
'as': KeyInfo(), |
| 10597 |
'cisco-vpls-nlri-len-fmt': KeyInfo(), |
| 10598 |
'comment': KeyInfo(), |
| 10599 |
'connect': KeyInfo(default=True), |
| 10600 |
'disabled': KeyInfo(default=False), |
| 10601 |
'hold-time': KeyInfo(), |
| 10602 |
'input.accept-communities': KeyInfo(), |
| 10603 |
'input.accept-ext-communities': KeyInfo(), |
| 10604 |
'input.accept-large-communities': KeyInfo(), |
| 10605 |
'input.accept-nlri': KeyInfo(), |
| 10606 |
'input.affinity': KeyInfo(), |
| 10607 |
'input.allow-as': KeyInfo(), |
| 10608 |
'input.filter': KeyInfo(), |
| 10609 |
'input.limit-process-routes-ipv4': KeyInfo(), |
| 10610 |
'input.limit-process-routes-ipv6': KeyInfo(), |
| 10611 |
'keepalive-time': KeyInfo(), |
| 10612 |
'listen': KeyInfo(default=True), |
| 10613 |
'local.address': KeyInfo(), |
| 10614 |
'local.port': KeyInfo(), |
| 10615 |
'local.role': KeyInfo(required=True), |
| 10616 |
'local.ttl': KeyInfo(), |
| 10617 |
'multihop': KeyInfo(), |
| 10618 |
'name': KeyInfo(required=True), |
| 10619 |
'nexthop-choice': KeyInfo(), |
| 10620 |
'output.affinity': KeyInfo(), |
| 10621 |
'output.as-override': KeyInfo(), |
| 10622 |
'output.default-originate': KeyInfo(), |
| 10623 |
'output.default-prepend': KeyInfo(), |
| 10624 |
'output.filter-chain': KeyInfo(), |
| 10625 |
'output.filter-select': KeyInfo(), |
| 10626 |
'output.keep-sent-attributes': KeyInfo(), |
| 10627 |
'output.network': KeyInfo(), |
| 10628 |
'output.no-client-to-client-reflection': KeyInfo(), |
| 10629 |
'output.no-early-cut': KeyInfo(), |
| 10630 |
'output.redistribute': KeyInfo(), |
| 10631 |
'output.remove-private-as': KeyInfo(), |
| 10632 |
'remote.address': KeyInfo(required=True), |
| 10633 |
'remote.allowed-as': KeyInfo(), |
| 10634 |
'remote.as': KeyInfo(), |
| 10635 |
'remote.port': KeyInfo(), |
| 10636 |
'remote.ttl': KeyInfo(), |
| 10637 |
'routing-table': KeyInfo(), |
| 10638 |
'save-to': KeyInfo(), |
| 10639 |
'tcp-md5-key': KeyInfo(), |
| 10640 |
'templates': KeyInfo(), |
| 10641 |
'use-bfd': KeyInfo(), |
| 10642 |
'vrf': KeyInfo(), |
| 10643 |
}, |
| 10644 |
), |
| 10645 |
), |
| 10646 |
|
| 10647 |
('routing', 'bgp', 'evpn'): APIData( |
| 10648 |
versioned=[ |
| 10649 |
('7.20', '>=', VersionedAPIData( |
| 10650 |
fully_understood=True, |
| 10651 |
fields={ |
| 10652 |
'comment': KeyInfo(), |
| 10653 |
# 'copy-from': KeyInfo(write_only=True), |
| 10654 |
'disabled': KeyInfo(), |
| 10655 |
'export.route-targets': KeyInfo(), |
| 10656 |
'import.route-targets': KeyInfo(), |
| 10657 |
'instance': KeyInfo(), |
| 10658 |
'name': KeyInfo(), |
| 10659 |
'numbers': KeyInfo(read_only=True), |
| 10660 |
# 'place-before': KeyInfo(write_only=True), |
| 10661 |
'rd': KeyInfo(), |
| 10662 |
'vni': KeyInfo(), |
| 10663 |
'vrf': KeyInfo(), |
| 10664 |
}, |
| 10665 |
)), |
| 10666 |
], |
| 10667 |
), |
| 10668 |
|
| 10669 |
('routing', 'bgp', 'instance'): APIData( |
| 10670 |
versioned=[ |
| 10671 |
('7.20', '>=', VersionedAPIData( |
| 10672 |
fully_understood=True, |
| 10673 |
versioned_fields=[ |
| 10674 |
([('7.22', '>=')], 'multipath', KeyInfo()), |
| 10675 |
], |
| 10676 |
fields={ |
| 10677 |
'as': KeyInfo(can_disable=True), |
| 10678 |
'cluster-id': KeyInfo(can_disable=True), |
| 10679 |
'comment': KeyInfo(), |
| 10680 |
# 'copy-from': KeyInfo(write_only=True), |
| 10681 |
'disabled': KeyInfo(default=False), |
| 10682 |
'ignore-as-path-len': KeyInfo(can_disable=True), |
| 10683 |
'name': KeyInfo(), |
| 10684 |
'numbers': KeyInfo(read_only=True), |
| 10685 |
'router-id': KeyInfo(can_disable=True), |
| 10686 |
'routing-table': KeyInfo(can_disable=True), |
| 10687 |
'vrf': KeyInfo(can_disable=True), |
| 10688 |
}, |
| 10689 |
)), |
| 10690 |
('7.15', '<', VersionedAPIData( |
| 10691 |
fully_understood=True, |
| 10692 |
primary_keys=('name',), |
| 10693 |
fields={ |
| 10694 |
'as': KeyInfo(), |
| 10695 |
'client-to-client-reflection': KeyInfo(), |
| 10696 |
'cluster-id': KeyInfo(can_disable=True), |
| 10697 |
'confederation': KeyInfo(can_disable=True), |
| 10698 |
'disabled': KeyInfo(default=False), |
| 10699 |
'ignore-as-path-len': KeyInfo(), |
| 10700 |
'name': KeyInfo(), |
| 10701 |
'out-filter': KeyInfo(), |
| 10702 |
'redistribute-connected': KeyInfo(), |
| 10703 |
'redistribute-ospf': KeyInfo(), |
| 10704 |
'redistribute-other-bgp': KeyInfo(), |
| 10705 |
'redistribute-rip': KeyInfo(), |
| 10706 |
'redistribute-static': KeyInfo(), |
| 10707 |
'router-id': KeyInfo(), |
| 10708 |
'routing-table': KeyInfo(), |
| 10709 |
}, |
| 10710 |
)), |
| 10711 |
('7.20', '<', 'Not supported from 7.15 until reintroduced in 7.20'), |
| 10712 |
], |
| 10713 |
), |
| 10714 |
|
| 10715 |
('routing', 'bgp', 'network'): APIData( |
| 10716 |
versioned=[ |
| 10717 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 10718 |
('7.15', '<', VersionedAPIData( |
| 10719 |
fully_understood=True, |
| 10720 |
primary_keys=('network',), |
| 10721 |
fields={ |
| 10722 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10723 |
'disabled': KeyInfo(default=False), |
| 10724 |
'network': KeyInfo(required=True), |
| 10725 |
'synchronize': KeyInfo(default=True), |
| 10726 |
}, |
| 10727 |
)), |
| 10728 |
], |
| 10729 |
), |
| 10730 |
|
| 10731 |
('routing', 'bgp', 'peer'): APIData( |
| 10732 |
versioned=[ |
| 10733 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 10734 |
('7.15', '<', VersionedAPIData( |
| 10735 |
fully_understood=True, |
| 10736 |
primary_keys=('name',), |
| 10737 |
fields={ |
| 10738 |
'address-families': KeyInfo(default='ip'), |
| 10739 |
'allow-as-in': KeyInfo(can_disable=True, remove_value=''), |
| 10740 |
'as-override': KeyInfo(default=False), |
| 10741 |
'cisco-vpls-nlri-len-fmt': KeyInfo(), |
| 10742 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10743 |
'default-originate': KeyInfo(default='never'), |
| 10744 |
'disabled': KeyInfo(default=False), |
| 10745 |
'hold-time': KeyInfo(default='3m'), |
| 10746 |
'in-filter': KeyInfo(), |
| 10747 |
'instance': KeyInfo(), |
| 10748 |
'keepalive-time': KeyInfo(can_disable=True, remove_value=''), |
| 10749 |
'max-prefix-limit': KeyInfo(can_disable=True, remove_value=''), |
| 10750 |
'max-prefix-restart-time': KeyInfo(can_disable=True, remove_value=''), |
| 10751 |
'multihop': KeyInfo(default=False), |
| 10752 |
'name': KeyInfo(), |
| 10753 |
'nexthop-choice': KeyInfo(default='default'), |
| 10754 |
'out-filter': KeyInfo(), |
| 10755 |
'passive': KeyInfo(default=False), |
| 10756 |
'remote-address': KeyInfo(required=True), |
| 10757 |
'remote-as': KeyInfo(required=True), |
| 10758 |
'remote-port': KeyInfo(can_disable=True, remove_value=''), |
| 10759 |
'remove-private-as': KeyInfo(default=False), |
| 10760 |
'route-reflect': KeyInfo(default=False), |
| 10761 |
'tcp-md5-key': KeyInfo(), |
| 10762 |
'ttl': KeyInfo(default='default'), |
| 10763 |
'update-source': KeyInfo(can_disable=True, remove_value='none'), |
| 10764 |
'use-bfd': KeyInfo(default=False), |
| 10765 |
}, |
| 10766 |
)), |
| 10767 |
], |
| 10768 |
), |
| 10769 |
|
| 10770 |
('routing', 'bgp', 'template'): APIData( |
| 10771 |
unversioned=VersionedAPIData( |
| 10772 |
fully_understood=True, |
| 10773 |
primary_keys=('name',), |
| 10774 |
versioned_fields=[ |
| 10775 |
([('7.22', '<')], 'add-path-out', KeyInfo()), |
| 10776 |
([('7.19', '<')], 'address-families', KeyInfo()), |
| 10777 |
([('7.19', '>=')], 'afi', KeyInfo()), |
| 10778 |
([('7.15', '<')], 'as-override', KeyInfo(default=False)), |
| 10779 |
([('7.20', '<')], 'cluster-id', KeyInfo()), |
| 10780 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 10781 |
([('7.19', '<')], 'input.accept-unknown', KeyInfo()), |
| 10782 |
([('7.22', '>=')], 'input.add-path', KeyInfo()), |
| 10783 |
([('7.21.2', '>=')], 'input.attr-error-handling', KeyInfo()), |
| 10784 |
([('7.19', '>=')], 'input.filter-communities', KeyInfo()), |
| 10785 |
([('7.19', '>=')], 'input.filter-ext-communities', KeyInfo()), |
| 10786 |
([('7.19', '>=')], 'input.filter-large-communities', KeyInfo()), |
| 10787 |
([('7.20', '>=')], 'input.filter-nlri', KeyInfo()), |
| 10788 |
([('7.19', '>=')], 'input.filter-unknown', KeyInfo()), |
| 10789 |
([('7.20', '<')], 'input.ignore-as-path-len', KeyInfo(default=False)), |
| 10790 |
([('7.15', '<')], 'input.limit-nlri-diversity', KeyInfo()), |
| 10791 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 10792 |
([('7.22', '>=')], 'output.add-path', KeyInfo()), |
| 10793 |
([('7.15', '>=')], 'output.as-override', KeyInfo()), |
| 10794 |
([('7.15', '>=')], 'output.default-prepend', KeyInfo()), |
| 10795 |
([('7.15', '<')], 'output.default-prepent', KeyInfo()), |
| 10796 |
([('7.20.1', '>=')], 'output.network-blackhole', KeyInfo()), |
| 10797 |
([('7.20', '<')], 'router-id', KeyInfo(default='main')), |
| 10798 |
], |
| 10799 |
fields={ |
| 10800 |
'as': KeyInfo(), |
| 10801 |
'cisco-vpls-nlri-len-fmt': KeyInfo(), |
| 10802 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10803 |
'disabled': KeyInfo(default=False), |
| 10804 |
'hold-time': KeyInfo(default='3m'), |
| 10805 |
'input.accept-communities': KeyInfo(), |
| 10806 |
'input.accept-ext-communities': KeyInfo(), |
| 10807 |
'input.accept-large-communities': KeyInfo(), |
| 10808 |
'input.accept-nlri': KeyInfo(), |
| 10809 |
'input.affinity': KeyInfo(), |
| 10810 |
'input.allow-as': KeyInfo(), |
| 10811 |
'input.filter': KeyInfo(), |
| 10812 |
'input.limit-process-routes-ipv4': KeyInfo(), |
| 10813 |
'input.limit-process-routes-ipv6': KeyInfo(), |
| 10814 |
'keepalive-time': KeyInfo(default='3m'), |
| 10815 |
'multihop': KeyInfo(default=False), |
| 10816 |
'name': KeyInfo(), |
| 10817 |
'nexthop-choice': KeyInfo(default='default'), |
| 10818 |
'output.affinity': KeyInfo(), |
| 10819 |
'output.default-originate': KeyInfo(default='never'), |
| 10820 |
'output.filter-chain': KeyInfo(), |
| 10821 |
'output.filter-select': KeyInfo(), |
| 10822 |
'output.keep-sent-attributes': KeyInfo(default=False), |
| 10823 |
'output.network': KeyInfo(), |
| 10824 |
'output.no-client-to-client-reflection': KeyInfo(), |
| 10825 |
'output.no-early-cut': KeyInfo(), |
| 10826 |
'output.redistribute': KeyInfo(), |
| 10827 |
'output.remove-private-as': KeyInfo(default=False), |
| 10828 |
'routing-table': KeyInfo(default='main'), |
| 10829 |
'save-to': KeyInfo(), |
| 10830 |
'templates': KeyInfo(), |
| 10831 |
'use-bfd': KeyInfo(default=False), |
| 10832 |
'vrf': KeyInfo(default='main'), |
| 10833 |
}, |
| 10834 |
), |
| 10835 |
), |
| 10836 |
|
| 10837 |
('routing', 'bgp', 'vpls'): APIData( |
| 10838 |
versioned=[ |
| 10839 |
('7.15', '>=', VersionedAPIData( |
| 10840 |
fully_understood=True, |
| 10841 |
versioned_fields=[ |
| 10842 |
([('7.17', '>=')], 'bridge-pvid', KeyInfo()), |
| 10843 |
], |
| 10844 |
fields={ |
| 10845 |
'bridge': KeyInfo(), |
| 10846 |
'bridge-cost': KeyInfo(), |
| 10847 |
'bridge-horizon': KeyInfo(), |
| 10848 |
'cisco-id': KeyInfo(), |
| 10849 |
'comment': KeyInfo(), |
| 10850 |
# 'copy-from': KeyInfo(write_only=True), |
| 10851 |
'disabled': KeyInfo(), |
| 10852 |
'export-route-targets': KeyInfo(), |
| 10853 |
'import-route-targets': KeyInfo(), |
| 10854 |
'local-pref': KeyInfo(), |
| 10855 |
'name': KeyInfo(), |
| 10856 |
'numbers': KeyInfo(read_only=True), |
| 10857 |
'pw-control-word': KeyInfo(), |
| 10858 |
'pw-l2mtu': KeyInfo(), |
| 10859 |
'pw-type': KeyInfo(), |
| 10860 |
'rd': KeyInfo(), |
| 10861 |
'site-id': KeyInfo(), |
| 10862 |
'vrf': KeyInfo(), |
| 10863 |
}, |
| 10864 |
)), |
| 10865 |
], |
| 10866 |
), |
| 10867 |
|
| 10868 |
('routing', 'bgp', 'vpn'): APIData( |
| 10869 |
versioned=[ |
| 10870 |
('7.15', '>=', VersionedAPIData( |
| 10871 |
fully_understood=True, |
| 10872 |
versioned_fields=[ |
| 10873 |
([('7.20', '<')], 'import.router-id', KeyInfo()), |
| 10874 |
([('7.20', '>=')], 'instance', KeyInfo()), |
| 10875 |
], |
| 10876 |
fields={ |
| 10877 |
'comment': KeyInfo(), |
| 10878 |
# 'copy-from': KeyInfo(write_only=True), |
| 10879 |
'disabled': KeyInfo(), |
| 10880 |
'export.filter-chain': KeyInfo(), |
| 10881 |
'export.filter-select': KeyInfo(), |
| 10882 |
'export.redistribute': KeyInfo(), |
| 10883 |
'export.route-targets': KeyInfo(), |
| 10884 |
'import.filter-chain': KeyInfo(), |
| 10885 |
'import.route-targets': KeyInfo(), |
| 10886 |
'label-allocation-policy': KeyInfo(), |
| 10887 |
'name': KeyInfo(), |
| 10888 |
'numbers': KeyInfo(read_only=True), |
| 10889 |
'route-distinguisher': KeyInfo(), |
| 10890 |
'vrf': KeyInfo(), |
| 10891 |
}, |
| 10892 |
)), |
| 10893 |
], |
| 10894 |
), |
| 10895 |
|
| 10896 |
('routing', 'fantasy'): APIData( |
| 10897 |
versioned=[ |
| 10898 |
('7.15', '>=', VersionedAPIData( |
| 10899 |
fully_understood=True, |
| 10900 |
fields={ |
| 10901 |
'comment': KeyInfo(), |
| 10902 |
# 'copy-from': KeyInfo(write_only=True), |
| 10903 |
'count': KeyInfo(), |
| 10904 |
'dealer-id': KeyInfo(), |
| 10905 |
'disabled': KeyInfo(), |
| 10906 |
'dst-address': KeyInfo(), |
| 10907 |
'gateway': KeyInfo(), |
| 10908 |
'instance-id': KeyInfo(), |
| 10909 |
'name': KeyInfo(), |
| 10910 |
'numbers': KeyInfo(read_only=True), |
| 10911 |
'offset': KeyInfo(), |
| 10912 |
'prefix-length': KeyInfo(), |
| 10913 |
'priv-offs': KeyInfo(), |
| 10914 |
'priv-size': KeyInfo(), |
| 10915 |
'scope': KeyInfo(), |
| 10916 |
'seed': KeyInfo(), |
| 10917 |
'target-scope': KeyInfo(), |
| 10918 |
'use-hold': KeyInfo(), |
| 10919 |
}, |
| 10920 |
)), |
| 10921 |
], |
| 10922 |
), |
| 10923 |
|
| 10924 |
('routing', 'filter'): APIData( |
| 10925 |
versioned=[ |
| 10926 |
('7', '>=', 'Not supported anymore in version >= 7'), |
| 10927 |
('7', '<', VersionedAPIData( |
| 10928 |
fully_understood=True, |
| 10929 |
fields={ |
| 10930 |
'action': KeyInfo(default='passthrough'), |
| 10931 |
'address-family': KeyInfo(can_disable=True), |
| 10932 |
'append-bgp-communities': KeyInfo(can_disable=True), |
| 10933 |
'append-route-targets': KeyInfo(can_disable=True), |
| 10934 |
'bgp-as-path': KeyInfo(can_disable=True), |
| 10935 |
'bgp-as-path-length': KeyInfo(can_disable=True), |
| 10936 |
'bgp-atomic-aggregate': KeyInfo(can_disable=True), |
| 10937 |
'bgp-communities': KeyInfo(can_disable=True), |
| 10938 |
'bgp-local-pref': KeyInfo(can_disable=True), |
| 10939 |
'bgp-med': KeyInfo(can_disable=True), |
| 10940 |
'bgp-origin': KeyInfo(can_disable=True), |
| 10941 |
'bgp-weight': KeyInfo(can_disable=True), |
| 10942 |
'chain': KeyInfo(required=True), |
| 10943 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 10944 |
'disabled': KeyInfo(default=False), |
| 10945 |
'distance': KeyInfo(can_disable=True), |
| 10946 |
'invert-match': KeyInfo(default=False), |
| 10947 |
'jump-target': KeyInfo(), |
| 10948 |
'locally-originated-bgp': KeyInfo(can_disable=True), |
| 10949 |
'match-chain': KeyInfo(can_disable=True), |
| 10950 |
'ospf-type': KeyInfo(can_disable=True), |
| 10951 |
'pref-src': KeyInfo(can_disable=True), |
| 10952 |
'prefix': KeyInfo(default='0.0.0.0/0'), |
| 10953 |
'prefix-length': KeyInfo(can_disable=True), |
| 10954 |
'protocol': KeyInfo(can_disable=True), |
| 10955 |
'route-comment': KeyInfo(can_disable=True), |
| 10956 |
'route-tag': KeyInfo(can_disable=True), |
| 10957 |
'route-targets': KeyInfo(can_disable=True), |
| 10958 |
'routing-mark': KeyInfo(can_disable=True), |
| 10959 |
'scope': KeyInfo(can_disable=True), |
| 10960 |
'set-bgp-communities': KeyInfo(can_disable=True), |
| 10961 |
'set-bgp-local-pref': KeyInfo(can_disable=True), |
| 10962 |
'set-bgp-med': KeyInfo(can_disable=True), |
| 10963 |
'set-bgp-prepend': KeyInfo(can_disable=True), |
| 10964 |
'set-bgp-prepend-path': KeyInfo(), |
| 10965 |
'set-bgp-weight': KeyInfo(can_disable=True), |
| 10966 |
'set-check-gateway': KeyInfo(can_disable=True), |
| 10967 |
'set-disabled': KeyInfo(can_disable=True), |
| 10968 |
'set-distance': KeyInfo(can_disable=True), |
| 10969 |
'set-in-nexthop': KeyInfo(can_disable=True), |
| 10970 |
'set-in-nexthop-direct': KeyInfo(can_disable=True), |
| 10971 |
'set-in-nexthop-ipv6': KeyInfo(can_disable=True), |
| 10972 |
'set-in-nexthop-linklocal': KeyInfo(can_disable=True), |
| 10973 |
'set-out-nexthop': KeyInfo(can_disable=True), |
| 10974 |
'set-out-nexthop-ipv6': KeyInfo(can_disable=True), |
| 10975 |
'set-out-nexthop-linklocal': KeyInfo(can_disable=True), |
| 10976 |
'set-pref-src': KeyInfo(can_disable=True), |
| 10977 |
'set-route-comment': KeyInfo(can_disable=True), |
| 10978 |
'set-route-tag': KeyInfo(can_disable=True), |
| 10979 |
'set-route-targets': KeyInfo(can_disable=True), |
| 10980 |
'set-routing-mark': KeyInfo(can_disable=True), |
| 10981 |
'set-scope': KeyInfo(can_disable=True), |
| 10982 |
'set-site-of-origin': KeyInfo(can_disable=True), |
| 10983 |
'set-target-scope': KeyInfo(can_disable=True), |
| 10984 |
'set-type': KeyInfo(can_disable=True), |
| 10985 |
'set-use-te-nexthop': KeyInfo(can_disable=True), |
| 10986 |
'site-of-origin': KeyInfo(can_disable=True), |
| 10987 |
'target-scope': KeyInfo(can_disable=True), |
| 10988 |
}, |
| 10989 |
)), |
| 10990 |
], |
| 10991 |
), |
| 10992 |
|
| 10993 |
('routing', 'filter', 'community-ext-list'): APIData( |
| 10994 |
versioned=[ |
| 10995 |
('7.15', '>=', VersionedAPIData( |
| 10996 |
fully_understood=True, |
| 10997 |
fields={ |
| 10998 |
'comment': KeyInfo(), |
| 10999 |
'communities': KeyInfo(), |
| 11000 |
# 'copy-from': KeyInfo(write_only=True), |
| 11001 |
'disabled': KeyInfo(), |
| 11002 |
'list': KeyInfo(), |
| 11003 |
'numbers': KeyInfo(read_only=True), |
| 11004 |
# 'place-before': KeyInfo(write_only=True), |
| 11005 |
'regexp': KeyInfo(), |
| 11006 |
}, |
| 11007 |
)), |
| 11008 |
], |
| 11009 |
), |
| 11010 |
|
| 11011 |
('routing', 'filter', 'community-large-list'): APIData( |
| 11012 |
versioned=[ |
| 11013 |
('7.15', '>=', VersionedAPIData( |
| 11014 |
fully_understood=True, |
| 11015 |
fields={ |
| 11016 |
'comment': KeyInfo(), |
| 11017 |
'communities': KeyInfo(), |
| 11018 |
# 'copy-from': KeyInfo(write_only=True), |
| 11019 |
'disabled': KeyInfo(), |
| 11020 |
'list': KeyInfo(), |
| 11021 |
'numbers': KeyInfo(read_only=True), |
| 11022 |
# 'place-before': KeyInfo(write_only=True), |
| 11023 |
'regexp': KeyInfo(), |
| 11024 |
}, |
| 11025 |
)), |
| 11026 |
], |
| 11027 |
), |
| 11028 |
|
| 11029 |
('routing', 'filter', 'community-list'): APIData( |
| 11030 |
versioned=[ |
| 11031 |
('7', '>=', VersionedAPIData( |
| 11032 |
fully_understood=True, |
| 11033 |
versioned_fields=[ |
| 11034 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11035 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11036 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11037 |
], |
| 11038 |
fields={ |
| 11039 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11040 |
'communities': KeyInfo(can_disable=True), |
| 11041 |
'disabled': KeyInfo(can_disable=True), |
| 11042 |
'list': KeyInfo(required=True), |
| 11043 |
'regexp': KeyInfo(can_disable=True), |
| 11044 |
}, |
| 11045 |
)), |
| 11046 |
], |
| 11047 |
), |
| 11048 |
|
| 11049 |
('routing', 'filter', 'num-list'): APIData( |
| 11050 |
versioned=[ |
| 11051 |
('7', '>=', VersionedAPIData( |
| 11052 |
fully_understood=True, |
| 11053 |
versioned_fields=[ |
| 11054 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11055 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11056 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11057 |
], |
| 11058 |
fields={ |
| 11059 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11060 |
'disabled': KeyInfo(can_disable=True), |
| 11061 |
'list': KeyInfo(required=True), |
| 11062 |
'range': KeyInfo(can_disable=True), |
| 11063 |
}, |
| 11064 |
)), |
| 11065 |
], |
| 11066 |
), |
| 11067 |
|
| 11068 |
('routing', 'filter', 'rule'): APIData( |
| 11069 |
versioned=[ |
| 11070 |
('7', '>=', VersionedAPIData( |
| 11071 |
fully_understood=True, |
| 11072 |
versioned_fields=[ |
| 11073 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11074 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11075 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11076 |
], |
| 11077 |
fields={ |
| 11078 |
'chain': KeyInfo(required=True), |
| 11079 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11080 |
'disabled': KeyInfo(can_disable=True), |
| 11081 |
'rule': KeyInfo(can_disable=True), |
| 11082 |
}, |
| 11083 |
)), |
| 11084 |
], |
| 11085 |
), |
| 11086 |
|
| 11087 |
('routing', 'filter', 'select-rule'): APIData( |
| 11088 |
versioned=[ |
| 11089 |
('7', '>=', VersionedAPIData( |
| 11090 |
fully_understood=True, |
| 11091 |
versioned_fields=[ |
| 11092 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11093 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11094 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11095 |
], |
| 11096 |
fields={ |
| 11097 |
'chain': KeyInfo(required=True), |
| 11098 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11099 |
'disabled': KeyInfo(can_disable=True), |
| 11100 |
'do-group-num': KeyInfo(can_disable=True), |
| 11101 |
'do-group-prfx': KeyInfo(can_disable=True), |
| 11102 |
'do-jump': KeyInfo(can_disable=True), |
| 11103 |
'do-select-num': KeyInfo(can_disable=True), |
| 11104 |
'do-select-prfx': KeyInfo(can_disable=True), |
| 11105 |
'do-take': KeyInfo(can_disable=True), |
| 11106 |
'do-where': KeyInfo(can_disable=True), |
| 11107 |
}, |
| 11108 |
)), |
| 11109 |
], |
| 11110 |
), |
| 11111 |
|
| 11112 |
('routing', 'gmp'): APIData( |
| 11113 |
versioned=[ |
| 11114 |
('7.15', '>=', VersionedAPIData( |
| 11115 |
fully_understood=True, |
| 11116 |
fields={ |
| 11117 |
# 'copy-from': KeyInfo(write_only=True), |
| 11118 |
'disabled': KeyInfo(), |
| 11119 |
'exclude': KeyInfo(), |
| 11120 |
'groups': KeyInfo(), |
| 11121 |
'interfaces': KeyInfo(), |
| 11122 |
'numbers': KeyInfo(read_only=True), |
| 11123 |
'sources': KeyInfo(), |
| 11124 |
}, |
| 11125 |
)), |
| 11126 |
], |
| 11127 |
), |
| 11128 |
|
| 11129 |
('routing', 'id'): APIData( |
| 11130 |
unversioned=VersionedAPIData( |
| 11131 |
fully_understood=True, |
| 11132 |
versioned_fields=[ |
| 11133 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11134 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11135 |
], |
| 11136 |
fields={ |
| 11137 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11138 |
'disabled': KeyInfo(default=False), |
| 11139 |
'id': KeyInfo(), |
| 11140 |
'name': KeyInfo(), |
| 11141 |
'select-dynamic-id': KeyInfo(), |
| 11142 |
'select-from-vrf': KeyInfo(), |
| 11143 |
}, |
| 11144 |
), |
| 11145 |
), |
| 11146 |
|
| 11147 |
('routing', 'igmp-proxy'): APIData( |
| 11148 |
unversioned=VersionedAPIData( |
| 11149 |
fixed_entries=True, |
| 11150 |
fully_understood=True, |
| 11151 |
single_value=True, |
| 11152 |
fields={ |
| 11153 |
'query-interval': KeyInfo(), |
| 11154 |
'query-response-interval': KeyInfo(), |
| 11155 |
'quick-leave': KeyInfo(default=False), |
| 11156 |
}, |
| 11157 |
), |
| 11158 |
), |
| 11159 |
|
| 11160 |
('routing', 'igmp-proxy', 'interface'): APIData( |
| 11161 |
unversioned=VersionedAPIData( |
| 11162 |
fully_understood=True, |
| 11163 |
primary_keys=('interface',), |
| 11164 |
versioned_fields=[ |
| 11165 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11166 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11167 |
], |
| 11168 |
fields={ |
| 11169 |
'alternative-subnets': KeyInfo(default=''), |
| 11170 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11171 |
'disabled': KeyInfo(default=False), |
| 11172 |
'interface': KeyInfo(), |
| 11173 |
'threshold': KeyInfo(), |
| 11174 |
'upstream': KeyInfo(default=False), |
| 11175 |
}, |
| 11176 |
), |
| 11177 |
), |
| 11178 |
|
| 11179 |
('routing', 'igmp-proxy', 'mfc'): APIData( |
| 11180 |
versioned=[ |
| 11181 |
('7.15', '>=', VersionedAPIData( |
| 11182 |
fully_understood=True, |
| 11183 |
fields={ |
| 11184 |
# 'copy-from': KeyInfo(write_only=True), |
| 11185 |
'disabled': KeyInfo(), |
| 11186 |
'downstream-interfaces': KeyInfo(), |
| 11187 |
'group': KeyInfo(), |
| 11188 |
'numbers': KeyInfo(read_only=True), |
| 11189 |
'source': KeyInfo(), |
| 11190 |
'upstream-interface': KeyInfo(), |
| 11191 |
}, |
| 11192 |
)), |
| 11193 |
], |
| 11194 |
), |
| 11195 |
|
| 11196 |
('routing', 'isis', 'instance'): APIData( |
| 11197 |
versioned=[ |
| 11198 |
('7.15', '>=', VersionedAPIData( |
| 11199 |
fully_understood=True, |
| 11200 |
fields={ |
| 11201 |
'afi': KeyInfo(), |
| 11202 |
'areas': KeyInfo(), |
| 11203 |
'areas-max': KeyInfo(), |
| 11204 |
'comment': KeyInfo(), |
| 11205 |
# 'copy-from': KeyInfo(write_only=True), |
| 11206 |
'disabled': KeyInfo(), |
| 11207 |
'in-filter-chain': KeyInfo(can_disable=True), |
| 11208 |
'l1.lsp-max-age': KeyInfo(can_disable=True), |
| 11209 |
'l1.lsp-max-size': KeyInfo(can_disable=True), |
| 11210 |
'l1.lsp-refresh-interval': KeyInfo(can_disable=True), |
| 11211 |
'l1.lsp-update-interval': KeyInfo(can_disable=True), |
| 11212 |
'l1.originate-default': KeyInfo(can_disable=True), |
| 11213 |
'l1.out-filter-chain': KeyInfo(can_disable=True), |
| 11214 |
'l1.out-filter-select': KeyInfo(can_disable=True), |
| 11215 |
'l1.redistribute': KeyInfo(can_disable=True), |
| 11216 |
'l2.lsp-max-age': KeyInfo(can_disable=True), |
| 11217 |
'l2.lsp-max-size': KeyInfo(can_disable=True), |
| 11218 |
'l2.lsp-update-interval': KeyInfo(can_disable=True), |
| 11219 |
'l2.originate-default': KeyInfo(can_disable=True), |
| 11220 |
'l2.out-filter-chain': KeyInfo(can_disable=True), |
| 11221 |
'l2.out-filter-select': KeyInfo(can_disable=True), |
| 11222 |
'l2.redistribute': KeyInfo(can_disable=True), |
| 11223 |
'name': KeyInfo(), |
| 11224 |
'numbers': KeyInfo(read_only=True), |
| 11225 |
'system-id': KeyInfo(), |
| 11226 |
'vrf': KeyInfo(), |
| 11227 |
}, |
| 11228 |
)), |
| 11229 |
], |
| 11230 |
), |
| 11231 |
|
| 11232 |
('routing', 'isis', 'interface'): APIData( |
| 11233 |
versioned=[ |
| 11234 |
('7.15', '>=', VersionedAPIData( |
| 11235 |
# fixed_entries=True, |
| 11236 |
fully_understood=True, |
| 11237 |
has_identifier=True, |
| 11238 |
# primary_keys=('numbers',), |
| 11239 |
fields={ |
| 11240 |
'hello-interval': KeyInfo(can_disable=True), |
| 11241 |
'instance': KeyInfo(), |
| 11242 |
'interface': KeyInfo(), |
| 11243 |
'l1.csnp-interval': KeyInfo(can_disable=True), |
| 11244 |
'l1.hello-dr-interval': KeyInfo(can_disable=True), |
| 11245 |
'l1.hello-interval': KeyInfo(can_disable=True), |
| 11246 |
'l1.hello-multiplier': KeyInfo(can_disable=True), |
| 11247 |
'l1.metric': KeyInfo(can_disable=True), |
| 11248 |
'l1.passive': KeyInfo(), |
| 11249 |
'l1.priority': KeyInfo(can_disable=True), |
| 11250 |
'l1.psnp-interval': KeyInfo(can_disable=True), |
| 11251 |
'l2.csnp-interval': KeyInfo(can_disable=True), |
| 11252 |
'l2.hello-dr-interval': KeyInfo(can_disable=True), |
| 11253 |
'l2.hello-interval': KeyInfo(can_disable=True), |
| 11254 |
'l2.hello-multiplier': KeyInfo(can_disable=True), |
| 11255 |
'l2.metric': KeyInfo(can_disable=True), |
| 11256 |
'l2.passive': KeyInfo(), |
| 11257 |
'l2.priority': KeyInfo(can_disable=True), |
| 11258 |
'l2.psnp-interval': KeyInfo(can_disable=True), |
| 11259 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11260 |
'ptp': KeyInfo(), |
| 11261 |
'ptp.3way-state': KeyInfo(can_disable=True), |
| 11262 |
'ptp.usage': KeyInfo(can_disable=True), |
| 11263 |
}, |
| 11264 |
)), |
| 11265 |
], |
| 11266 |
), |
| 11267 |
|
| 11268 |
('routing', 'isis', 'interface-template'): APIData( |
| 11269 |
versioned=[ |
| 11270 |
('7.15', '>=', VersionedAPIData( |
| 11271 |
fully_understood=True, |
| 11272 |
versioned_fields=[ |
| 11273 |
([('7.17', '>=')], 'disabled', KeyInfo()), |
| 11274 |
([('7.20', '>=')], 'passive', KeyInfo(can_disable=True)), |
| 11275 |
], |
| 11276 |
fields={ |
| 11277 |
'bcast.l1.csnp-interval': KeyInfo(can_disable=True), |
| 11278 |
'bcast.l1.hello-interval': KeyInfo(can_disable=True), |
| 11279 |
'bcast.l1.hello-interval-dr': KeyInfo(can_disable=True), |
| 11280 |
'bcast.l1.hello-multiplier': KeyInfo(can_disable=True), |
| 11281 |
'bcast.l1.metric': KeyInfo(can_disable=True), |
| 11282 |
'bcast.l1.priority': KeyInfo(can_disable=True), |
| 11283 |
'bcast.l1.psnp-interval': KeyInfo(can_disable=True), |
| 11284 |
'bcast.l2.csnp-interval': KeyInfo(can_disable=True), |
| 11285 |
'bcast.l2.hello-interval': KeyInfo(can_disable=True), |
| 11286 |
'bcast.l2.hello-interval-dr': KeyInfo(can_disable=True), |
| 11287 |
'bcast.l2.hello-multiplier': KeyInfo(can_disable=True), |
| 11288 |
'bcast.l2.metric': KeyInfo(can_disable=True), |
| 11289 |
'bcast.l2.priority': KeyInfo(can_disable=True), |
| 11290 |
'bcast.l2.psnp-interval': KeyInfo(can_disable=True), |
| 11291 |
'comment': KeyInfo(), |
| 11292 |
# 'copy-from': KeyInfo(write_only=True), |
| 11293 |
'instance': KeyInfo(), |
| 11294 |
'interfaces': KeyInfo(can_disable=True), |
| 11295 |
'levels': KeyInfo(), |
| 11296 |
'numbers': KeyInfo(read_only=True), |
| 11297 |
# 'place-before': KeyInfo(write_only=True), |
| 11298 |
'ptp': KeyInfo(can_disable=True), |
| 11299 |
'ptp.hello-3way': KeyInfo(can_disable=True), |
| 11300 |
'ptp.hello-interval': KeyInfo(can_disable=True), |
| 11301 |
'ptp.hello-multiplier': KeyInfo(can_disable=True), |
| 11302 |
'ptp.l1.csnp-interval': KeyInfo(can_disable=True), |
| 11303 |
'ptp.l1.metric': KeyInfo(can_disable=True), |
| 11304 |
'ptp.l1.psnp-interval': KeyInfo(can_disable=True), |
| 11305 |
'ptp.l2.csnp-interval': KeyInfo(can_disable=True), |
| 11306 |
'ptp.l2.metric': KeyInfo(can_disable=True), |
| 11307 |
'ptp.l2.psnp-interval': KeyInfo(can_disable=True), |
| 11308 |
}, |
| 11309 |
)), |
| 11310 |
], |
| 11311 |
), |
| 11312 |
|
| 11313 |
('routing', 'isis', 'lsp'): APIData( |
| 11314 |
versioned=[ |
| 11315 |
('7.15', '>=', VersionedAPIData( |
| 11316 |
# fixed_entries=True, |
| 11317 |
fully_understood=True, |
| 11318 |
has_identifier=True, |
| 11319 |
# primary_keys=('numbers',), |
| 11320 |
fields={ |
| 11321 |
'age': KeyInfo(), |
| 11322 |
'body': KeyInfo(can_disable=True), |
| 11323 |
'checksum': KeyInfo(), |
| 11324 |
'instance': KeyInfo(), |
| 11325 |
'level': KeyInfo(), |
| 11326 |
'lsp-id': KeyInfo(), |
| 11327 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11328 |
'sequence': KeyInfo(), |
| 11329 |
}, |
| 11330 |
)), |
| 11331 |
], |
| 11332 |
), |
| 11333 |
|
| 11334 |
('routing', 'isis', 'neighbor'): APIData( |
| 11335 |
versioned=[ |
| 11336 |
('7.15', '>=', VersionedAPIData( |
| 11337 |
# fixed_entries=True, |
| 11338 |
fully_understood=True, |
| 11339 |
has_identifier=True, |
| 11340 |
# primary_keys=('numbers',), |
| 11341 |
fields={ |
| 11342 |
'instance': KeyInfo(), |
| 11343 |
'interface': KeyInfo(), |
| 11344 |
'level-type': KeyInfo(), |
| 11345 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11346 |
'snpa': KeyInfo(), |
| 11347 |
'srcid': KeyInfo(), |
| 11348 |
'state': KeyInfo(can_disable=True), |
| 11349 |
}, |
| 11350 |
)), |
| 11351 |
], |
| 11352 |
), |
| 11353 |
|
| 11354 |
('routing', 'mme'): APIData( |
| 11355 |
versioned=[ |
| 11356 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 11357 |
('7.15', '<', VersionedAPIData( |
| 11358 |
fully_understood=True, |
| 11359 |
single_value=True, |
| 11360 |
fields={ |
| 11361 |
'bidirectional-timeout': KeyInfo(default=2), |
| 11362 |
'gateway-class': KeyInfo(default='none'), |
| 11363 |
'gateway-keepalive': KeyInfo(default='1m'), |
| 11364 |
'gateway-selection': KeyInfo(default='no-gateway'), |
| 11365 |
'origination-interval': KeyInfo(default='5s'), |
| 11366 |
'preferred-gateway': KeyInfo(default='0.0.0.0'), |
| 11367 |
'timeout': KeyInfo(default='1m'), |
| 11368 |
'ttl': KeyInfo(default=50), |
| 11369 |
}, |
| 11370 |
)), |
| 11371 |
], |
| 11372 |
), |
| 11373 |
|
| 11374 |
('routing', 'ospf', 'area'): APIData( |
| 11375 |
unversioned=VersionedAPIData( |
| 11376 |
fully_understood=True, |
| 11377 |
primary_keys=('name',), |
| 11378 |
versioned_fields=[ |
| 11379 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11380 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11381 |
], |
| 11382 |
fields={ |
| 11383 |
'area-id': KeyInfo(default='0.0.0.0'), |
| 11384 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11385 |
'default-cost': KeyInfo(can_disable=True), |
| 11386 |
'disabled': KeyInfo(default=False), |
| 11387 |
'instance': KeyInfo(required=True), |
| 11388 |
'name': KeyInfo(), |
| 11389 |
'no-summaries': KeyInfo(can_disable=True), |
| 11390 |
'nssa-translator': KeyInfo(can_disable=True), |
| 11391 |
'type': KeyInfo(default='default'), |
| 11392 |
}, |
| 11393 |
), |
| 11394 |
), |
| 11395 |
|
| 11396 |
('routing', 'ospf', 'area', 'range'): APIData( |
| 11397 |
unversioned=VersionedAPIData( |
| 11398 |
fully_understood=True, |
| 11399 |
primary_keys=('area', 'prefix'), |
| 11400 |
versioned_fields=[ |
| 11401 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11402 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11403 |
], |
| 11404 |
fields={ |
| 11405 |
'advertise': KeyInfo(default=True), |
| 11406 |
'area': KeyInfo(), |
| 11407 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11408 |
'cost': KeyInfo(can_disable=True), |
| 11409 |
'disabled': KeyInfo(default=False), |
| 11410 |
'prefix': KeyInfo(), |
| 11411 |
}, |
| 11412 |
), |
| 11413 |
), |
| 11414 |
|
| 11415 |
('routing', 'ospf', 'instance'): APIData( |
| 11416 |
unversioned=VersionedAPIData( |
| 11417 |
fully_understood=True, |
| 11418 |
primary_keys=('name',), |
| 11419 |
versioned_fields=[ |
| 11420 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11421 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11422 |
], |
| 11423 |
fields={ |
| 11424 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11425 |
'disabled': KeyInfo(default=False), |
| 11426 |
'domain-id': KeyInfo(can_disable=True), |
| 11427 |
'domain-tag': KeyInfo(can_disable=True), |
| 11428 |
'in-filter-chain': KeyInfo(can_disable=True), |
| 11429 |
'mpls-te-address': KeyInfo(can_disable=True), |
| 11430 |
'mpls-te-area': KeyInfo(can_disable=True), |
| 11431 |
'name': KeyInfo(), |
| 11432 |
'originate-default': KeyInfo(can_disable=True), |
| 11433 |
'out-filter-chain': KeyInfo(can_disable=True), |
| 11434 |
'out-filter-select': KeyInfo(can_disable=True), |
| 11435 |
'redistribute': KeyInfo(can_disable=True), |
| 11436 |
'router-id': KeyInfo(default='main'), |
| 11437 |
'routing-table': KeyInfo(can_disable=True), |
| 11438 |
'use-dn': KeyInfo(can_disable=True), |
| 11439 |
'version': KeyInfo(default=2), |
| 11440 |
'vrf': KeyInfo(default='main'), |
| 11441 |
}, |
| 11442 |
), |
| 11443 |
), |
| 11444 |
|
| 11445 |
('routing', 'ospf', 'interface-template'): APIData( |
| 11446 |
unversioned=VersionedAPIData( |
| 11447 |
fully_understood=True, |
| 11448 |
versioned_fields=[ |
| 11449 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11450 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11451 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11452 |
([('7.10', '>=')], 'use-bfd', KeyInfo(can_disable=True, default=False)), |
| 11453 |
], |
| 11454 |
fields={ |
| 11455 |
'area': KeyInfo(required=True), |
| 11456 |
'auth': KeyInfo(can_disable=True), |
| 11457 |
'auth-id': KeyInfo(can_disable=True), |
| 11458 |
'auth-key': KeyInfo(can_disable=True), |
| 11459 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11460 |
'cost': KeyInfo(default=1), |
| 11461 |
'dead-interval': KeyInfo(default='40s'), |
| 11462 |
'disabled': KeyInfo(default=False), |
| 11463 |
'hello-interval': KeyInfo(default='10s'), |
| 11464 |
'instance-id': KeyInfo(default=0), |
| 11465 |
'interfaces': KeyInfo(can_disable=True), |
| 11466 |
'networks': KeyInfo(can_disable=True), |
| 11467 |
'passive': KeyInfo(can_disable=True), |
| 11468 |
'prefix-list': KeyInfo(can_disable=True), |
| 11469 |
'priority': KeyInfo(default=128), |
| 11470 |
'retransmit-interval': KeyInfo(default='5s'), |
| 11471 |
'transmit-delay': KeyInfo(default='1s'), |
| 11472 |
'type': KeyInfo(default='broadcast'), |
| 11473 |
'vlink-neighbor-id': KeyInfo(can_disable=True), |
| 11474 |
'vlink-transit-area': KeyInfo(can_disable=True), |
| 11475 |
}, |
| 11476 |
), |
| 11477 |
), |
| 11478 |
|
| 11479 |
('routing', 'ospf', 'neighbor'): APIData( |
| 11480 |
versioned=[ |
| 11481 |
('7.15', '>=', VersionedAPIData( |
| 11482 |
# fixed_entries=True, |
| 11483 |
fully_understood=True, |
| 11484 |
has_identifier=True, |
| 11485 |
modify_not_supported=True, |
| 11486 |
# primary_keys=('numbers',), |
| 11487 |
fields={ |
| 11488 |
'comment': KeyInfo(), |
| 11489 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11490 |
}, |
| 11491 |
)), |
| 11492 |
], |
| 11493 |
), |
| 11494 |
|
| 11495 |
('routing', 'ospf', 'static-neighbor'): APIData( |
| 11496 |
versioned=[ |
| 11497 |
('7', '>=', VersionedAPIData( |
| 11498 |
fully_understood=True, |
| 11499 |
versioned_fields=[ |
| 11500 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11501 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11502 |
], |
| 11503 |
fields={ |
| 11504 |
'address': KeyInfo(required=True), |
| 11505 |
'area': KeyInfo(required=True), |
| 11506 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11507 |
'disabled': KeyInfo(default=False), |
| 11508 |
'instance-id': KeyInfo(default=0), |
| 11509 |
'poll-interval': KeyInfo(default='2m'), |
| 11510 |
}, |
| 11511 |
)), |
| 11512 |
], |
| 11513 |
), |
| 11514 |
|
| 11515 |
('routing', 'ospf-v3', 'area'): APIData( |
| 11516 |
versioned=[ |
| 11517 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 11518 |
('7.15', '<', VersionedAPIData( |
| 11519 |
unknown_mechanism=True, |
| 11520 |
fields={ |
| 11521 |
'area-id': KeyInfo(), |
| 11522 |
'default': KeyInfo(), |
| 11523 |
'disabled': KeyInfo(), |
| 11524 |
'instance': KeyInfo(), |
| 11525 |
'name': KeyInfo(), |
| 11526 |
'type': KeyInfo(), |
| 11527 |
}, |
| 11528 |
)), |
| 11529 |
], |
| 11530 |
), |
| 11531 |
|
| 11532 |
('routing', 'ospf-v3', 'instance'): APIData( |
| 11533 |
versioned=[ |
| 11534 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 11535 |
('7.15', '<', VersionedAPIData( |
| 11536 |
unknown_mechanism=True, |
| 11537 |
fields={ |
| 11538 |
'default': KeyInfo(), |
| 11539 |
'disabled': KeyInfo(), |
| 11540 |
'distribute-default': KeyInfo(), |
| 11541 |
'metric-bgp': KeyInfo(), |
| 11542 |
'metric-connected': KeyInfo(), |
| 11543 |
'metric-default': KeyInfo(), |
| 11544 |
'metric-other-ospf': KeyInfo(), |
| 11545 |
'metric-rip': KeyInfo(), |
| 11546 |
'metric-static': KeyInfo(), |
| 11547 |
'name': KeyInfo(), |
| 11548 |
'redistribute-bgp': KeyInfo(), |
| 11549 |
'redistribute-connected': KeyInfo(), |
| 11550 |
'redistribute-other-ospf': KeyInfo(), |
| 11551 |
'redistribute-rip': KeyInfo(), |
| 11552 |
'redistribute-static': KeyInfo(), |
| 11553 |
'router-id': KeyInfo(), |
| 11554 |
}, |
| 11555 |
)), |
| 11556 |
], |
| 11557 |
), |
| 11558 |
|
| 11559 |
('routing', 'pimsm', 'bsr', 'candidate'): APIData( |
| 11560 |
versioned=[ |
| 11561 |
('7.15', '>=', VersionedAPIData( |
| 11562 |
fully_understood=True, |
| 11563 |
fields={ |
| 11564 |
'address': KeyInfo(), |
| 11565 |
# 'copy-from': KeyInfo(write_only=True), |
| 11566 |
'disabled': KeyInfo(), |
| 11567 |
'hashmask-length': KeyInfo(), |
| 11568 |
'instance': KeyInfo(), |
| 11569 |
'numbers': KeyInfo(read_only=True), |
| 11570 |
'priority': KeyInfo(), |
| 11571 |
'scope4': KeyInfo(), |
| 11572 |
'scope6': KeyInfo(), |
| 11573 |
}, |
| 11574 |
)), |
| 11575 |
], |
| 11576 |
), |
| 11577 |
|
| 11578 |
('routing', 'pimsm', 'bsr', 'rp-candidate'): APIData( |
| 11579 |
versioned=[ |
| 11580 |
('7.15', '>=', VersionedAPIData( |
| 11581 |
fully_understood=True, |
| 11582 |
fields={ |
| 11583 |
'address': KeyInfo(), |
| 11584 |
# 'copy-from': KeyInfo(write_only=True), |
| 11585 |
'disabled': KeyInfo(), |
| 11586 |
'group': KeyInfo(), |
| 11587 |
'holdtime': KeyInfo(), |
| 11588 |
'instance': KeyInfo(), |
| 11589 |
'numbers': KeyInfo(read_only=True), |
| 11590 |
'priority': KeyInfo(), |
| 11591 |
}, |
| 11592 |
)), |
| 11593 |
], |
| 11594 |
), |
| 11595 |
|
| 11596 |
('routing', 'pimsm', 'igmp-interface-template'): APIData( |
| 11597 |
versioned=[ |
| 11598 |
('7.15', '>=', VersionedAPIData( |
| 11599 |
# fixed_entries=True, |
| 11600 |
fully_understood=True, |
| 11601 |
has_identifier=True, |
| 11602 |
# primary_keys=('numbers',), |
| 11603 |
fields={ |
| 11604 |
'instance': KeyInfo(), |
| 11605 |
'interfaces': KeyInfo(), |
| 11606 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11607 |
}, |
| 11608 |
)), |
| 11609 |
], |
| 11610 |
), |
| 11611 |
|
| 11612 |
('routing', 'pimsm', 'instance'): APIData( |
| 11613 |
unversioned=VersionedAPIData( |
| 11614 |
fully_understood=True, |
| 11615 |
primary_keys=('name',), |
| 11616 |
versioned_fields=[ |
| 11617 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11618 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11619 |
], |
| 11620 |
fields={ |
| 11621 |
'afi': KeyInfo(default='ipv4'), |
| 11622 |
'bsm-forward-back': KeyInfo(), |
| 11623 |
'crp-advertise-contained': KeyInfo(), |
| 11624 |
'disabled': KeyInfo(default=False), |
| 11625 |
'name': KeyInfo(), |
| 11626 |
'rp-hash-mask-length': KeyInfo(), |
| 11627 |
'rp-static-override': KeyInfo(default=False), |
| 11628 |
'ssm-range': KeyInfo(), |
| 11629 |
'switch-to-spt': KeyInfo(default=True), |
| 11630 |
'switch-to-spt-bytes': KeyInfo(default=0), |
| 11631 |
'switch-to-spt-interval': KeyInfo(), |
| 11632 |
'vrf': KeyInfo(default='main'), |
| 11633 |
}, |
| 11634 |
), |
| 11635 |
), |
| 11636 |
|
| 11637 |
('routing', 'pimsm', 'interface-template'): APIData( |
| 11638 |
unversioned=VersionedAPIData( |
| 11639 |
fully_understood=True, |
| 11640 |
versioned_fields=[ |
| 11641 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11642 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11643 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11644 |
], |
| 11645 |
fields={ |
| 11646 |
'disabled': KeyInfo(default=False), |
| 11647 |
'hello-delay': KeyInfo(default='5s'), |
| 11648 |
'hello-period': KeyInfo(default='30s'), |
| 11649 |
'instance': KeyInfo(required=True), |
| 11650 |
'interfaces': KeyInfo(can_disable=True), |
| 11651 |
'join-prune-period': KeyInfo(default='1m'), |
| 11652 |
'join-tracking-support': KeyInfo(default=True), |
| 11653 |
'override-interval': KeyInfo(default='2s500ms'), |
| 11654 |
'priority': KeyInfo(default=1), |
| 11655 |
'propagation-delay': KeyInfo(default='500ms'), |
| 11656 |
'source-addresses': KeyInfo(can_disable=True), |
| 11657 |
}, |
| 11658 |
), |
| 11659 |
), |
| 11660 |
|
| 11661 |
('routing', 'pimsm', 'static-rp'): APIData( |
| 11662 |
versioned=[ |
| 11663 |
('7.15', '>=', VersionedAPIData( |
| 11664 |
fully_understood=True, |
| 11665 |
versioned_fields=[ |
| 11666 |
([('7.20.5', '>=')], 'comment', KeyInfo()), |
| 11667 |
], |
| 11668 |
fields={ |
| 11669 |
'address': KeyInfo(), |
| 11670 |
# 'copy-from': KeyInfo(write_only=True), |
| 11671 |
'disabled': KeyInfo(), |
| 11672 |
'group': KeyInfo(), |
| 11673 |
'instance': KeyInfo(), |
| 11674 |
'numbers': KeyInfo(read_only=True), |
| 11675 |
}, |
| 11676 |
)), |
| 11677 |
], |
| 11678 |
), |
| 11679 |
|
| 11680 |
('routing', 'rip'): APIData( |
| 11681 |
versioned=[ |
| 11682 |
('7.15', '>=', 'Not supported anymore in version >= 7.15'), |
| 11683 |
('7.15', '<', VersionedAPIData( |
| 11684 |
fully_understood=True, |
| 11685 |
single_value=True, |
| 11686 |
fields={ |
| 11687 |
'distribute-default': KeyInfo(default='never'), |
| 11688 |
'garbage-timer': KeyInfo(default='2m'), |
| 11689 |
'metric-bgp': KeyInfo(default=1), |
| 11690 |
'metric-connected': KeyInfo(default=1), |
| 11691 |
'metric-default': KeyInfo(default=1), |
| 11692 |
'metric-ospf': KeyInfo(default=1), |
| 11693 |
'metric-static': KeyInfo(default=1), |
| 11694 |
'redistribute-bgp': KeyInfo(default=False), |
| 11695 |
'redistribute-connected': KeyInfo(default=False), |
| 11696 |
'redistribute-ospf': KeyInfo(default=False), |
| 11697 |
'redistribute-static': KeyInfo(default=False), |
| 11698 |
'routing-table': KeyInfo(default='main'), |
| 11699 |
'timeout-timer': KeyInfo(default='3m'), |
| 11700 |
'update-timer': KeyInfo(default='30s'), |
| 11701 |
}, |
| 11702 |
)), |
| 11703 |
], |
| 11704 |
), |
| 11705 |
|
| 11706 |
('routing', 'rip', 'instance'): APIData( |
| 11707 |
versioned=[ |
| 11708 |
('7.15', '>=', VersionedAPIData( |
| 11709 |
fully_understood=True, |
| 11710 |
fields={ |
| 11711 |
'afi': KeyInfo(), |
| 11712 |
# 'copy-from': KeyInfo(write_only=True), |
| 11713 |
'disabled': KeyInfo(), |
| 11714 |
'in-filter-chain': KeyInfo(can_disable=True), |
| 11715 |
'name': KeyInfo(), |
| 11716 |
'numbers': KeyInfo(read_only=True), |
| 11717 |
'originate-default': KeyInfo(can_disable=True), |
| 11718 |
'out-filter-chain': KeyInfo(can_disable=True), |
| 11719 |
'out-filter-select': KeyInfo(can_disable=True), |
| 11720 |
'redistribute': KeyInfo(can_disable=True), |
| 11721 |
'route-gc-timeout': KeyInfo(), |
| 11722 |
'route-timeout': KeyInfo(), |
| 11723 |
'routing-table': KeyInfo(can_disable=True), |
| 11724 |
'update-interval': KeyInfo(), |
| 11725 |
'vrf': KeyInfo(), |
| 11726 |
}, |
| 11727 |
)), |
| 11728 |
], |
| 11729 |
), |
| 11730 |
|
| 11731 |
('routing', 'rip', 'interface-template'): APIData( |
| 11732 |
versioned=[ |
| 11733 |
('7.15', '>=', VersionedAPIData( |
| 11734 |
fully_understood=True, |
| 11735 |
fields={ |
| 11736 |
# 'copy-from': KeyInfo(write_only=True), |
| 11737 |
'cost': KeyInfo(), |
| 11738 |
'disabled': KeyInfo(), |
| 11739 |
'instance': KeyInfo(), |
| 11740 |
'interfaces': KeyInfo(can_disable=True), |
| 11741 |
'key-chain': KeyInfo(can_disable=True), |
| 11742 |
'mode': KeyInfo(can_disable=True), |
| 11743 |
'numbers': KeyInfo(read_only=True), |
| 11744 |
'password': KeyInfo(can_disable=True), |
| 11745 |
'poison-reverse': KeyInfo(), |
| 11746 |
'source-addresses': KeyInfo(can_disable=True), |
| 11747 |
'split-horizon': KeyInfo(), |
| 11748 |
'use-bfd': KeyInfo(can_disable=True), |
| 11749 |
}, |
| 11750 |
)), |
| 11751 |
], |
| 11752 |
), |
| 11753 |
|
| 11754 |
('routing', 'rip', 'keys'): APIData( |
| 11755 |
versioned=[ |
| 11756 |
('7.15', '>=', VersionedAPIData( |
| 11757 |
fully_understood=True, |
| 11758 |
fields={ |
| 11759 |
'chain': KeyInfo(), |
| 11760 |
# 'copy-from': KeyInfo(write_only=True), |
| 11761 |
'disabled': KeyInfo(), |
| 11762 |
'key': KeyInfo(), |
| 11763 |
'key-id': KeyInfo(), |
| 11764 |
'numbers': KeyInfo(read_only=True), |
| 11765 |
'valid-from': KeyInfo(), |
| 11766 |
'valid-till': KeyInfo(), |
| 11767 |
}, |
| 11768 |
)), |
| 11769 |
], |
| 11770 |
), |
| 11771 |
|
| 11772 |
('routing', 'rip', 'static-neighbor'): APIData( |
| 11773 |
versioned=[ |
| 11774 |
('7.15', '>=', VersionedAPIData( |
| 11775 |
fully_understood=True, |
| 11776 |
fields={ |
| 11777 |
'address': KeyInfo(), |
| 11778 |
# 'copy-from': KeyInfo(write_only=True), |
| 11779 |
'disabled': KeyInfo(), |
| 11780 |
'instance': KeyInfo(), |
| 11781 |
'numbers': KeyInfo(read_only=True), |
| 11782 |
}, |
| 11783 |
)), |
| 11784 |
], |
| 11785 |
), |
| 11786 |
|
| 11787 |
('routing', 'ripng'): APIData( |
| 11788 |
unversioned=VersionedAPIData( |
| 11789 |
fully_understood=True, |
| 11790 |
single_value=True, |
| 11791 |
fields={ |
| 11792 |
'distribute-default': KeyInfo(default='never'), |
| 11793 |
'garbage-timer': KeyInfo(default='2m'), |
| 11794 |
'metric-bgp': KeyInfo(default=1), |
| 11795 |
'metric-connected': KeyInfo(default=1), |
| 11796 |
'metric-default': KeyInfo(default=1), |
| 11797 |
'metric-ospf': KeyInfo(default=1), |
| 11798 |
'metric-static': KeyInfo(default=1), |
| 11799 |
'redistribute-bgp': KeyInfo(default=False), |
| 11800 |
'redistribute-connected': KeyInfo(default=False), |
| 11801 |
'redistribute-ospf': KeyInfo(default=False), |
| 11802 |
'redistribute-static': KeyInfo(default=False), |
| 11803 |
'timeout-timer': KeyInfo(default='3m'), |
| 11804 |
'update-timer': KeyInfo(default='30s'), |
| 11805 |
}, |
| 11806 |
), |
| 11807 |
), |
| 11808 |
|
| 11809 |
('routing', 'route'): APIData( |
| 11810 |
versioned=[ |
| 11811 |
('7.15', '>=', VersionedAPIData( |
| 11812 |
# fixed_entries=True, |
| 11813 |
fully_understood=True, |
| 11814 |
has_identifier=True, |
| 11815 |
modify_not_supported=True, |
| 11816 |
# primary_keys=('numbers',), |
| 11817 |
fields={ |
| 11818 |
'comment': KeyInfo(), |
| 11819 |
'disabled': KeyInfo(), |
| 11820 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11821 |
}, |
| 11822 |
)), |
| 11823 |
], |
| 11824 |
), |
| 11825 |
|
| 11826 |
('routing', 'route', 'rule'): APIData( |
| 11827 |
versioned=[ |
| 11828 |
('7.15', '>=', VersionedAPIData( |
| 11829 |
# fixed_entries=True, |
| 11830 |
fully_understood=True, |
| 11831 |
has_identifier=True, |
| 11832 |
# primary_keys=('numbers',), |
| 11833 |
fields={ |
| 11834 |
'action': KeyInfo(), |
| 11835 |
'comment': KeyInfo(), |
| 11836 |
'disabled': KeyInfo(), |
| 11837 |
'dst-address': KeyInfo(can_disable=True), |
| 11838 |
'interface': KeyInfo(can_disable=True), |
| 11839 |
'min-prefix': KeyInfo(can_disable=True), |
| 11840 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 11841 |
'routing-mark': KeyInfo(can_disable=True), |
| 11842 |
'src-address': KeyInfo(can_disable=True), |
| 11843 |
'table': KeyInfo(), |
| 11844 |
}, |
| 11845 |
)), |
| 11846 |
], |
| 11847 |
), |
| 11848 |
|
| 11849 |
('routing', 'rpki'): APIData( |
| 11850 |
versioned=[ |
| 11851 |
('7.15', '>=', VersionedAPIData( |
| 11852 |
fully_understood=True, |
| 11853 |
fields={ |
| 11854 |
'address': KeyInfo(), |
| 11855 |
'comment': KeyInfo(), |
| 11856 |
# 'copy-from': KeyInfo(write_only=True), |
| 11857 |
'disabled': KeyInfo(), |
| 11858 |
'expire-interval': KeyInfo(), |
| 11859 |
'group': KeyInfo(), |
| 11860 |
'numbers': KeyInfo(read_only=True), |
| 11861 |
'port': KeyInfo(), |
| 11862 |
'preference': KeyInfo(), |
| 11863 |
'refresh-interval': KeyInfo(), |
| 11864 |
'retry-interval': KeyInfo(), |
| 11865 |
'vrf': KeyInfo(), |
| 11866 |
}, |
| 11867 |
)), |
| 11868 |
], |
| 11869 |
), |
| 11870 |
|
| 11871 |
('routing', 'rule'): APIData( |
| 11872 |
versioned=[ |
| 11873 |
('7', '>=', VersionedAPIData( |
| 11874 |
fully_understood=True, |
| 11875 |
versioned_fields=[ |
| 11876 |
([('7.22', '>=')], 'chain', KeyInfo()), |
| 11877 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11878 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11879 |
# ([('7.15', '>=')], 'place-before', KeyInfo(write_only=True)), |
| 11880 |
([('7.22', '>=')], 'realm', KeyInfo()), |
| 11881 |
([('7.22', '>=')], 'vrf', KeyInfo()), |
| 11882 |
], |
| 11883 |
fields={ |
| 11884 |
'action': KeyInfo(can_disable=True), |
| 11885 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11886 |
'disabled': KeyInfo(default=False), |
| 11887 |
'dst-address': KeyInfo(can_disable=True), |
| 11888 |
'interface': KeyInfo(can_disable=True), |
| 11889 |
'min-prefix': KeyInfo(can_disable=True), |
| 11890 |
'routing-mark': KeyInfo(can_disable=True), |
| 11891 |
'src-address': KeyInfo(can_disable=True), |
| 11892 |
'table': KeyInfo(can_disable=True), |
| 11893 |
}, |
| 11894 |
)), |
| 11895 |
], |
| 11896 |
), |
| 11897 |
|
| 11898 |
('routing', 'settings'): APIData( |
| 11899 |
versioned=[ |
| 11900 |
('7.15', '>=', VersionedAPIData( |
| 11901 |
fixed_entries=True, |
| 11902 |
fully_understood=True, |
| 11903 |
single_value=True, |
| 11904 |
versioned_fields=[ |
| 11905 |
([('7.21', '>=')], 'check-gateway-ping-count', KeyInfo()), |
| 11906 |
([('7.21', '>=')], 'check-gateway-ping-interval', KeyInfo()), |
| 11907 |
([('7.21', '>=')], 'check-gateway-ping-timeout', KeyInfo()), |
| 11908 |
([('7.19', '>=')], 'connected-in-chain', KeyInfo()), |
| 11909 |
([('7.19', '>=')], 'dynamic-in-chain', KeyInfo()), |
| 11910 |
([('7.22', '>=')], 'policy-rules', KeyInfo()), |
| 11911 |
], |
| 11912 |
fields={ |
| 11913 |
'single-process': KeyInfo(), |
| 11914 |
}, |
| 11915 |
)), |
| 11916 |
], |
| 11917 |
), |
| 11918 |
|
| 11919 |
('routing', 'table'): APIData( |
| 11920 |
versioned=[ |
| 11921 |
('7', '>=', VersionedAPIData( |
| 11922 |
fully_understood=True, |
| 11923 |
versioned_fields=[ |
| 11924 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11925 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11926 |
], |
| 11927 |
fields={ |
| 11928 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11929 |
'disabled': KeyInfo(default=False), |
| 11930 |
'fib': KeyInfo(can_disable=True), |
| 11931 |
'name': KeyInfo(required=True), |
| 11932 |
}, |
| 11933 |
)), |
| 11934 |
], |
| 11935 |
), |
| 11936 |
|
| 11937 |
('rsync-daemon',): APIData( |
| 11938 |
versioned=[ |
| 11939 |
('7.16', '>=', 'Not supported anymore in version >= 7.16'), |
| 11940 |
('7.15', '>=', VersionedAPIData( |
| 11941 |
fixed_entries=True, |
| 11942 |
fully_understood=True, |
| 11943 |
single_value=True, |
| 11944 |
fields={ |
| 11945 |
'enabled': KeyInfo(), |
| 11946 |
}, |
| 11947 |
)), |
| 11948 |
], |
| 11949 |
), |
| 11950 |
|
| 11951 |
('snmp',): APIData( |
| 11952 |
unversioned=VersionedAPIData( |
| 11953 |
fixed_entries=True, |
| 11954 |
fully_understood=True, |
| 11955 |
single_value=True, |
| 11956 |
versioned_fields=[ |
| 11957 |
([('7.10', '<')], 'engine-id', KeyInfo(default='')), |
| 11958 |
([('7.10', '>=')], 'engine-id', KeyInfo(read_only=True)), |
| 11959 |
([('7.10', '>=')], 'engine-id-suffix', KeyInfo(default='')), |
| 11960 |
([('7.3', '>=')], 'vrf', KeyInfo(default='main')), |
| 11961 |
], |
| 11962 |
fields={ |
| 11963 |
'contact': KeyInfo(default=''), |
| 11964 |
'enabled': KeyInfo(default=False), |
| 11965 |
'location': KeyInfo(default=''), |
| 11966 |
'src-address': KeyInfo(default='::'), |
| 11967 |
'trap-community': KeyInfo(default='public'), |
| 11968 |
'trap-generators': KeyInfo(default='temp-exception'), |
| 11969 |
'trap-interfaces': KeyInfo(default=''), |
| 11970 |
'trap-target': KeyInfo(default=''), |
| 11971 |
'trap-version': KeyInfo(default=1), |
| 11972 |
}, |
| 11973 |
), |
| 11974 |
), |
| 11975 |
|
| 11976 |
('snmp', 'community'): APIData( |
| 11977 |
unversioned=VersionedAPIData( |
| 11978 |
fully_understood=True, |
| 11979 |
primary_keys=('name',), |
| 11980 |
versioned_fields=[ |
| 11981 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 11982 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 11983 |
], |
| 11984 |
fields={ |
| 11985 |
'addresses': KeyInfo(default='::/0'), |
| 11986 |
'authentication-password': KeyInfo(default=''), |
| 11987 |
'authentication-protocol': KeyInfo(default='MD5'), |
| 11988 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 11989 |
'default': KeyInfo(read_only=True), |
| 11990 |
'disabled': KeyInfo(default=False), |
| 11991 |
'encryption-password': KeyInfo(default=''), |
| 11992 |
'encryption-protocol': KeyInfo(default='DES'), |
| 11993 |
'name': KeyInfo(required=True), |
| 11994 |
'read-access': KeyInfo(default=True), |
| 11995 |
'security': KeyInfo(default='none'), |
| 11996 |
'write-access': KeyInfo(default=False), |
| 11997 |
}, |
| 11998 |
), |
| 11999 |
), |
| 12000 |
|
| 12001 |
('special-login',): APIData( |
| 12002 |
versioned=[ |
| 12003 |
('7.15', '>=', VersionedAPIData( |
| 12004 |
fully_understood=True, |
| 12005 |
fields={ |
| 12006 |
'channel': KeyInfo(), |
| 12007 |
# 'copy-from': KeyInfo(write_only=True), |
| 12008 |
'disabled': KeyInfo(), |
| 12009 |
'numbers': KeyInfo(read_only=True), |
| 12010 |
'port': KeyInfo(), |
| 12011 |
'user': KeyInfo(), |
| 12012 |
}, |
| 12013 |
)), |
| 12014 |
], |
| 12015 |
), |
| 12016 |
|
| 12017 |
('system', 'clock'): APIData( |
| 12018 |
unversioned=VersionedAPIData( |
| 12019 |
fixed_entries=True, |
| 12020 |
fully_understood=True, |
| 12021 |
single_value=True, |
| 12022 |
versioned_fields=[ |
| 12023 |
([('7.15', '<')], 'gmt-offset', KeyInfo()), |
| 12024 |
], |
| 12025 |
fields={ |
| 12026 |
'date': KeyInfo(), |
| 12027 |
'time': KeyInfo(), |
| 12028 |
'time-zone-autodetect': KeyInfo(default=True), |
| 12029 |
'time-zone-name': KeyInfo(default='manual'), |
| 12030 |
}, |
| 12031 |
), |
| 12032 |
), |
| 12033 |
|
| 12034 |
('system', 'clock', 'manual'): APIData( |
| 12035 |
unversioned=VersionedAPIData( |
| 12036 |
fixed_entries=True, |
| 12037 |
fully_understood=True, |
| 12038 |
single_value=True, |
| 12039 |
fields={ |
| 12040 |
'dst-delta': KeyInfo(default='00:00'), |
| 12041 |
'dst-end': KeyInfo(default='jan/01/1970 00:00:00'), |
| 12042 |
'dst-start': KeyInfo(default='jan/01/1970 00:00:00'), |
| 12043 |
'time-zone': KeyInfo(default='+00:00'), |
| 12044 |
}, |
| 12045 |
), |
| 12046 |
), |
| 12047 |
|
| 12048 |
('system', 'console'): APIData( |
| 12049 |
versioned=[ |
| 12050 |
('7.15', '>=', VersionedAPIData( |
| 12051 |
fully_understood=True, |
| 12052 |
fields={ |
| 12053 |
'channel': KeyInfo(), |
| 12054 |
# 'copy-from': KeyInfo(write_only=True), |
| 12055 |
'disabled': KeyInfo(), |
| 12056 |
'numbers': KeyInfo(read_only=True), |
| 12057 |
'port': KeyInfo(), |
| 12058 |
'term': KeyInfo(), |
| 12059 |
}, |
| 12060 |
)), |
| 12061 |
], |
| 12062 |
), |
| 12063 |
|
| 12064 |
('system', 'console', 'screen'): APIData( |
| 12065 |
versioned=[ |
| 12066 |
('7.16.1', '>=', 'Not supported anymore in version >= 7.16.1'), |
| 12067 |
('7.15.3', '>=', VersionedAPIData( |
| 12068 |
fixed_entries=True, |
| 12069 |
fully_understood=True, |
| 12070 |
single_value=True, |
| 12071 |
fields={ |
| 12072 |
'blank-interval': KeyInfo(), |
| 12073 |
'line-count': KeyInfo(), |
| 12074 |
}, |
| 12075 |
)), |
| 12076 |
], |
| 12077 |
), |
| 12078 |
|
| 12079 |
('system', 'gps'): APIData( |
| 12080 |
versioned=[ |
| 12081 |
('7.15', '>=', VersionedAPIData( |
| 12082 |
fixed_entries=True, |
| 12083 |
fully_understood=True, |
| 12084 |
single_value=True, |
| 12085 |
fields={ |
| 12086 |
'channel': KeyInfo(), |
| 12087 |
'coordinate-format': KeyInfo(), |
| 12088 |
'enabled': KeyInfo(), |
| 12089 |
'init-channel': KeyInfo(), |
| 12090 |
'init-string': KeyInfo(), |
| 12091 |
'port': KeyInfo(), |
| 12092 |
'set-system-time': KeyInfo(), |
| 12093 |
}, |
| 12094 |
)), |
| 12095 |
], |
| 12096 |
), |
| 12097 |
|
| 12098 |
('system', 'hardware'): APIData( |
| 12099 |
versioned=[ |
| 12100 |
('7.16.1', '>=', 'Not supported anymore in version >= 7.16.1'), |
| 12101 |
('7.15.3', '>=', VersionedAPIData( |
| 12102 |
fixed_entries=True, |
| 12103 |
fully_understood=True, |
| 12104 |
single_value=True, |
| 12105 |
fields={ |
| 12106 |
'multi-cpu': KeyInfo(), |
| 12107 |
}, |
| 12108 |
)), |
| 12109 |
], |
| 12110 |
), |
| 12111 |
|
| 12112 |
('system', 'health'): APIData( |
| 12113 |
versioned=[ |
| 12114 |
('7.16.1', '>=', 'Not supported anymore in version >= 7.16.1'), |
| 12115 |
('7.15.3', '>=', VersionedAPIData( |
| 12116 |
fixed_entries=True, |
| 12117 |
fully_understood=True, |
| 12118 |
single_value=True, |
| 12119 |
fields={ |
| 12120 |
'state-after-reboot': KeyInfo(), |
| 12121 |
}, |
| 12122 |
)), |
| 12123 |
], |
| 12124 |
), |
| 12125 |
|
| 12126 |
('system', 'health', 'settings'): APIData( |
| 12127 |
versioned=[ |
| 12128 |
('7.14', '>=', VersionedAPIData( |
| 12129 |
fixed_entries=True, |
| 12130 |
fully_understood=True, |
| 12131 |
single_value=True, |
| 12132 |
fields={ |
| 12133 |
'cpu-overtemp-check': KeyInfo(), |
| 12134 |
'cpu-overtemp-startup-delay': KeyInfo(), |
| 12135 |
'cpu-overtemp-threshold': KeyInfo(), |
| 12136 |
'fan-control-interval': KeyInfo(default=30), |
| 12137 |
'fan-full-speed-temp': KeyInfo(default=65), |
| 12138 |
'fan-min-speed-percent': KeyInfo(default=12), |
| 12139 |
'fan-mode': KeyInfo(), |
| 12140 |
'fan-on-threshold': KeyInfo(), |
| 12141 |
'fan-switch': KeyInfo(), |
| 12142 |
'fan-target-temp': KeyInfo(default=58), |
| 12143 |
'use-fan': KeyInfo(), |
| 12144 |
}, |
| 12145 |
)), |
| 12146 |
('7.14', '<', VersionedAPIData( |
| 12147 |
fixed_entries=True, |
| 12148 |
fully_understood=True, |
| 12149 |
single_value=True, |
| 12150 |
fields={ |
| 12151 |
'cpu-overtemp-check': KeyInfo(), |
| 12152 |
'cpu-overtemp-startup-delay': KeyInfo(), |
| 12153 |
'cpu-overtemp-threshold': KeyInfo(), |
| 12154 |
'fan-control-interval': KeyInfo(can_disable=True, default='30s'), |
| 12155 |
'fan-full-speed-temp': KeyInfo(default=65), |
| 12156 |
'fan-min-speed-percent': KeyInfo(default=0), |
| 12157 |
'fan-mode': KeyInfo(), |
| 12158 |
'fan-on-threshold': KeyInfo(), |
| 12159 |
'fan-switch': KeyInfo(), |
| 12160 |
'fan-target-temp': KeyInfo(default=58), |
| 12161 |
'use-fan': KeyInfo(), |
| 12162 |
}, |
| 12163 |
)), |
| 12164 |
], |
| 12165 |
), |
| 12166 |
|
| 12167 |
('system', 'identity'): APIData( |
| 12168 |
unversioned=VersionedAPIData( |
| 12169 |
fixed_entries=True, |
| 12170 |
fully_understood=True, |
| 12171 |
single_value=True, |
| 12172 |
fields={ |
| 12173 |
'name': KeyInfo(default='Mikrotik'), |
| 12174 |
}, |
| 12175 |
), |
| 12176 |
), |
| 12177 |
|
| 12178 |
('system', 'leds'): APIData( |
| 12179 |
versioned=[ |
| 12180 |
('7.15', '>=', VersionedAPIData( |
| 12181 |
fully_understood=True, |
| 12182 |
versioned_fields=[ |
| 12183 |
([('7.22.1', '>=')], 'color', KeyInfo()), |
| 12184 |
], |
| 12185 |
fields={ |
| 12186 |
# 'copy-from': KeyInfo(write_only=True), |
| 12187 |
'disabled': KeyInfo(), |
| 12188 |
'interface': KeyInfo(), |
| 12189 |
'leds': KeyInfo(), |
| 12190 |
'modem-signal-threshold': KeyInfo(), |
| 12191 |
'numbers': KeyInfo(read_only=True), |
| 12192 |
'type': KeyInfo(), |
| 12193 |
}, |
| 12194 |
)), |
| 12195 |
], |
| 12196 |
), |
| 12197 |
|
| 12198 |
('system', 'leds', 'settings'): APIData( |
| 12199 |
unversioned=VersionedAPIData( |
| 12200 |
fixed_entries=True, |
| 12201 |
fully_understood=True, |
| 12202 |
single_value=True, |
| 12203 |
fields={ |
| 12204 |
'all-leds-off': KeyInfo(default='never'), |
| 12205 |
}, |
| 12206 |
), |
| 12207 |
), |
| 12208 |
|
| 12209 |
('system', 'logging'): APIData( |
| 12210 |
unversioned=VersionedAPIData( |
| 12211 |
fully_understood=True, |
| 12212 |
versioned_fields=[ |
| 12213 |
([('7.22', '>=')], 'comment', KeyInfo()), |
| 12214 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12215 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12216 |
([('7.17', '>=')], 'regex', KeyInfo()), |
| 12217 |
], |
| 12218 |
fields={ |
| 12219 |
'action': KeyInfo(default='memory'), |
| 12220 |
'disabled': KeyInfo(default=False), |
| 12221 |
'prefix': KeyInfo(default=''), |
| 12222 |
'topics': KeyInfo(default=''), |
| 12223 |
}, |
| 12224 |
), |
| 12225 |
), |
| 12226 |
|
| 12227 |
('system', 'logging', 'action'): APIData( |
| 12228 |
unversioned=VersionedAPIData( |
| 12229 |
fully_understood=True, |
| 12230 |
primary_keys=('name',), |
| 12231 |
versioned_fields=[ |
| 12232 |
([('7.22', '>=')], 'add-topics-string', KeyInfo()), |
| 12233 |
([('7.18', '<')], 'bsd-syslog', KeyInfo(default=False)), |
| 12234 |
([('7.18', '>=')], 'cef-event-delimiter', KeyInfo(default='\r\n')), |
| 12235 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12236 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12237 |
([('7.18', '>=')], 'remote-log-format', KeyInfo(default='default')), |
| 12238 |
([('7.18', '>=')], 'remote-protocol', KeyInfo(default='udp')), |
| 12239 |
([('7.22', '>=')], 'script', KeyInfo()), |
| 12240 |
([('7.19.6', '>=')], 'vrf', KeyInfo(default='main')), |
| 12241 |
], |
| 12242 |
fields={ |
| 12243 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12244 |
'disk-file-count': KeyInfo(default=2), |
| 12245 |
'disk-file-name': KeyInfo(default='log'), |
| 12246 |
'disk-lines-per-file': KeyInfo(default=1000), |
| 12247 |
'disk-stop-on-full': KeyInfo(default=False), |
| 12248 |
'email-start-tls': KeyInfo(default=False), |
| 12249 |
'email-to': KeyInfo(default=''), |
| 12250 |
'memory-lines': KeyInfo(default=1000), |
| 12251 |
'memory-stop-on-full': KeyInfo(default=False), |
| 12252 |
'name': KeyInfo(), |
| 12253 |
'remember': KeyInfo(default=True), |
| 12254 |
'remote': KeyInfo(default='0.0.0.0'), |
| 12255 |
'remote-port': KeyInfo(default=514), |
| 12256 |
'src-address': KeyInfo(default='0.0.0.0'), |
| 12257 |
'syslog-facility': KeyInfo(default='daemon'), |
| 12258 |
'syslog-severity': KeyInfo(default='auto'), |
| 12259 |
'syslog-time-format': KeyInfo(default='bsd-syslog'), |
| 12260 |
'target': KeyInfo(required=True), |
| 12261 |
}, |
| 12262 |
), |
| 12263 |
), |
| 12264 |
|
| 12265 |
('system', 'note'): APIData( |
| 12266 |
unversioned=VersionedAPIData( |
| 12267 |
fixed_entries=True, |
| 12268 |
fully_understood=True, |
| 12269 |
single_value=True, |
| 12270 |
versioned_fields=[ |
| 12271 |
([('7.14', '>=')], 'show-at-cli-login', KeyInfo(default=False)), |
| 12272 |
], |
| 12273 |
fields={ |
| 12274 |
'note': KeyInfo(default=''), |
| 12275 |
'show-at-login': KeyInfo(default=True), |
| 12276 |
}, |
| 12277 |
), |
| 12278 |
), |
| 12279 |
|
| 12280 |
('system', 'ntp', 'client'): APIData( |
| 12281 |
unversioned=VersionedAPIData( |
| 12282 |
fixed_entries=True, |
| 12283 |
fully_understood=True, |
| 12284 |
single_value=True, |
| 12285 |
versioned_fields=[ |
| 12286 |
([('7.15', '<')], 'primary-ntp', KeyInfo(default='0.0.0.0')), |
| 12287 |
([('7.15', '<')], 'secondary-ntp', KeyInfo(default='0.0.0.0')), |
| 12288 |
([('7.15', '<')], 'server-dns-names', KeyInfo(default='')), |
| 12289 |
], |
| 12290 |
fields={ |
| 12291 |
'enabled': KeyInfo(default=False), |
| 12292 |
'mode': KeyInfo(default='unicast'), |
| 12293 |
'servers': KeyInfo(default=''), |
| 12294 |
'vrf': KeyInfo(default='main'), |
| 12295 |
}, |
| 12296 |
), |
| 12297 |
), |
| 12298 |
|
| 12299 |
('system', 'ntp', 'client', 'servers'): APIData( |
| 12300 |
unversioned=VersionedAPIData( |
| 12301 |
fully_understood=True, |
| 12302 |
primary_keys=('address',), |
| 12303 |
versioned_fields=[ |
| 12304 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12305 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12306 |
], |
| 12307 |
fields={ |
| 12308 |
'address': KeyInfo(), |
| 12309 |
'auth-key': KeyInfo(default='none'), |
| 12310 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12311 |
'disabled': KeyInfo(default=False), |
| 12312 |
'iburst': KeyInfo(default=True), |
| 12313 |
'max-poll': KeyInfo(default=10), |
| 12314 |
'min-poll': KeyInfo(default=6), |
| 12315 |
}, |
| 12316 |
), |
| 12317 |
), |
| 12318 |
|
| 12319 |
('system', 'ntp', 'key'): APIData( |
| 12320 |
versioned=[ |
| 12321 |
('7.15', '>=', VersionedAPIData( |
| 12322 |
fully_understood=True, |
| 12323 |
fields={ |
| 12324 |
'comment': KeyInfo(), |
| 12325 |
# 'copy-from': KeyInfo(write_only=True), |
| 12326 |
'key-id': KeyInfo(), |
| 12327 |
'key-val': KeyInfo(), |
| 12328 |
'numbers': KeyInfo(read_only=True), |
| 12329 |
}, |
| 12330 |
)), |
| 12331 |
], |
| 12332 |
), |
| 12333 |
|
| 12334 |
('system', 'ntp', 'server'): APIData( |
| 12335 |
unversioned=VersionedAPIData( |
| 12336 |
fixed_entries=True, |
| 12337 |
fully_understood=True, |
| 12338 |
single_value=True, |
| 12339 |
fields={ |
| 12340 |
'auth-key': KeyInfo(default='none'), |
| 12341 |
'broadcast': KeyInfo(default=False), |
| 12342 |
'broadcast-addresses': KeyInfo(default=''), |
| 12343 |
'enabled': KeyInfo(default=False), |
| 12344 |
'local-clock-stratum': KeyInfo(default=5), |
| 12345 |
'manycast': KeyInfo(default=False), |
| 12346 |
'multicast': KeyInfo(default=False), |
| 12347 |
'use-local-clock': KeyInfo(default=False), |
| 12348 |
'vrf': KeyInfo(default='main'), |
| 12349 |
}, |
| 12350 |
), |
| 12351 |
), |
| 12352 |
|
| 12353 |
('system', 'package', 'local-update'): APIData( |
| 12354 |
versioned=[ |
| 12355 |
('7.22', '>=', 'Not supported anymore in version 7.22'), |
| 12356 |
('7.17', '>=', VersionedAPIData( |
| 12357 |
# fixed_entries=True, |
| 12358 |
fully_understood=True, |
| 12359 |
has_identifier=True, |
| 12360 |
# primary_keys=('numbers',), |
| 12361 |
fields={ |
| 12362 |
'download': KeyInfo(), |
| 12363 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12364 |
}, |
| 12365 |
)), |
| 12366 |
], |
| 12367 |
), |
| 12368 |
|
| 12369 |
('system', 'package', 'local-update', 'mirror'): APIData( |
| 12370 |
versioned=[ |
| 12371 |
('7.17', '>=', VersionedAPIData( |
| 12372 |
fixed_entries=True, |
| 12373 |
fully_understood=True, |
| 12374 |
single_value=True, |
| 12375 |
fields={ |
| 12376 |
'check-interval': KeyInfo(), |
| 12377 |
'enabled': KeyInfo(), |
| 12378 |
'password': KeyInfo(), |
| 12379 |
'primary-server': KeyInfo(), |
| 12380 |
'secondary-server': KeyInfo(), |
| 12381 |
'user': KeyInfo(), |
| 12382 |
}, |
| 12383 |
)), |
| 12384 |
], |
| 12385 |
), |
| 12386 |
|
| 12387 |
('system', 'package', 'local-update', 'update-package-source'): APIData( |
| 12388 |
versioned=[ |
| 12389 |
('7.17', '>=', VersionedAPIData( |
| 12390 |
fully_understood=True, |
| 12391 |
versioned_fields=[ |
| 12392 |
([('7.22', '>=')], 'password', KeyInfo()), |
| 12393 |
], |
| 12394 |
fields={ |
| 12395 |
'address': KeyInfo(), |
| 12396 |
# 'copy-from': KeyInfo(write_only=True), |
| 12397 |
'numbers': KeyInfo(read_only=True), |
| 12398 |
'user': KeyInfo(), |
| 12399 |
}, |
| 12400 |
)), |
| 12401 |
], |
| 12402 |
), |
| 12403 |
|
| 12404 |
('system', 'package', 'update'): APIData( |
| 12405 |
unversioned=VersionedAPIData( |
| 12406 |
fixed_entries=True, |
| 12407 |
fully_understood=True, |
| 12408 |
single_value=True, |
| 12409 |
fields={ |
| 12410 |
'channel': KeyInfo(default='stable'), |
| 12411 |
'installed-version': KeyInfo(read_only=True), |
| 12412 |
'latest-version': KeyInfo(read_only=True), |
| 12413 |
'status': KeyInfo(read_only=True), |
| 12414 |
}, |
| 12415 |
), |
| 12416 |
), |
| 12417 |
|
| 12418 |
('system', 'resource', 'hardware', 'usb-settings'): APIData( |
| 12419 |
versioned=[ |
| 12420 |
('7.20', '>=', VersionedAPIData( |
| 12421 |
fixed_entries=True, |
| 12422 |
fully_understood=True, |
| 12423 |
single_value=True, |
| 12424 |
fields={ |
| 12425 |
'authorization': KeyInfo(), |
| 12426 |
}, |
| 12427 |
)), |
| 12428 |
], |
| 12429 |
), |
| 12430 |
|
| 12431 |
('system', 'resource', 'irq'): APIData( |
| 12432 |
unversioned=VersionedAPIData( |
| 12433 |
# fixed_entries=True, |
| 12434 |
fully_understood=True, |
| 12435 |
has_identifier=True, |
| 12436 |
# primary_keys=('numbers',), |
| 12437 |
fields={ |
| 12438 |
'cpu': KeyInfo(), |
| 12439 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12440 |
}, |
| 12441 |
), |
| 12442 |
), |
| 12443 |
|
| 12444 |
('system', 'resource', 'irq', 'rps'): APIData( |
| 12445 |
unversioned=VersionedAPIData( |
| 12446 |
fixed_entries=True, |
| 12447 |
fully_understood=True, |
| 12448 |
primary_keys=('name',), |
| 12449 |
versioned_fields=[ |
| 12450 |
([('7.15', '>=')], 'numbers', KeyInfo()), |
| 12451 |
], |
| 12452 |
fields={ |
| 12453 |
'disabled': KeyInfo(default=False), |
| 12454 |
'name': KeyInfo(), |
| 12455 |
}, |
| 12456 |
), |
| 12457 |
), |
| 12458 |
|
| 12459 |
('system', 'resource', 'usb'): APIData( |
| 12460 |
versioned=[ |
| 12461 |
('7.20', '>=', 'Not supported anymore in version >= 7.20'), |
| 12462 |
('7.15', '>=', VersionedAPIData( |
| 12463 |
# fixed_entries=True, |
| 12464 |
fully_understood=True, |
| 12465 |
has_identifier=True, |
| 12466 |
# primary_keys=('numbers',), |
| 12467 |
fields={ |
| 12468 |
'device': KeyInfo(), |
| 12469 |
'device-id': KeyInfo(), |
| 12470 |
'name': KeyInfo(), |
| 12471 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12472 |
'ports': KeyInfo(), |
| 12473 |
'serial-number': KeyInfo(), |
| 12474 |
'speed': KeyInfo(), |
| 12475 |
'usb-version': KeyInfo(), |
| 12476 |
'vendor': KeyInfo(), |
| 12477 |
'vendor-id': KeyInfo(), |
| 12478 |
}, |
| 12479 |
)), |
| 12480 |
], |
| 12481 |
), |
| 12482 |
|
| 12483 |
('system', 'resource', 'usb', 'settings'): APIData( |
| 12484 |
versioned=[ |
| 12485 |
('7.20', '>=', 'Not supported anymore in version >= 7.20'), |
| 12486 |
('7.15', '>=', VersionedAPIData( |
| 12487 |
fixed_entries=True, |
| 12488 |
fully_understood=True, |
| 12489 |
single_value=True, |
| 12490 |
fields={ |
| 12491 |
'authorization': KeyInfo(), |
| 12492 |
}, |
| 12493 |
)), |
| 12494 |
], |
| 12495 |
), |
| 12496 |
|
| 12497 |
('system', 'routerboard', 'mode-button'): APIData( |
| 12498 |
versioned=[ |
| 12499 |
('7.15', '>=', VersionedAPIData( |
| 12500 |
fixed_entries=True, |
| 12501 |
fully_understood=True, |
| 12502 |
single_value=True, |
| 12503 |
fields={ |
| 12504 |
'enabled': KeyInfo(), |
| 12505 |
'hold-time': KeyInfo(), |
| 12506 |
'on-event': KeyInfo(), |
| 12507 |
}, |
| 12508 |
)), |
| 12509 |
], |
| 12510 |
), |
| 12511 |
|
| 12512 |
('system', 'routerboard', 'reset-button'): APIData( |
| 12513 |
versioned=[ |
| 12514 |
('7.15', '>=', VersionedAPIData( |
| 12515 |
fixed_entries=True, |
| 12516 |
fully_understood=True, |
| 12517 |
single_value=True, |
| 12518 |
fields={ |
| 12519 |
'enabled': KeyInfo(), |
| 12520 |
'hold-time': KeyInfo(), |
| 12521 |
'on-event': KeyInfo(), |
| 12522 |
}, |
| 12523 |
)), |
| 12524 |
], |
| 12525 |
), |
| 12526 |
|
| 12527 |
('system', 'routerboard', 'settings'): APIData( |
| 12528 |
unversioned=VersionedAPIData( |
| 12529 |
fixed_entries=True, |
| 12530 |
fully_understood=True, |
| 12531 |
single_value=True, |
| 12532 |
versioned_fields=[ |
| 12533 |
([('7.15', '>=')], 'boot-os', KeyInfo(default='router-os')), |
| 12534 |
([('7.15', '>=')], 'cpu-mode', KeyInfo()), |
| 12535 |
([('7.15', '>=')], 'disable-pci', KeyInfo()), |
| 12536 |
([('7.15', '>=')], 'etherboot-port', KeyInfo()), |
| 12537 |
([('7.15', '>=')], 'gpio-function', KeyInfo()), |
| 12538 |
([('7.15', '>=')], 'init-delay', KeyInfo()), |
| 12539 |
([('7.15', '<')], 'memory-frequency', KeyInfo()), |
| 12540 |
([('7.22', '>=')], 'preferred-architecture', KeyInfo()), |
| 12541 |
([('7.15', '>=')], 'regulatory-domain-ce', KeyInfo()), |
| 12542 |
], |
| 12543 |
fields={ |
| 12544 |
'auto-upgrade': KeyInfo(default=False), |
| 12545 |
'baud-rate': KeyInfo(default=115200), |
| 12546 |
'boot-delay': KeyInfo(default='2s'), |
| 12547 |
'boot-device': KeyInfo(default='nand-if-fail-then-ethernet'), |
| 12548 |
'boot-protocol': KeyInfo(default='bootp'), |
| 12549 |
'cpu-frequency': KeyInfo(), |
| 12550 |
'enable-jumper-reset': KeyInfo(default=True), |
| 12551 |
'enter-setup-on': KeyInfo(), # default seems to differ per device but documentation say it's 'delete-key' not that it depends on model |
| 12552 |
'force-backup-booter': KeyInfo(default=False), |
| 12553 |
'preboot-etherboot': KeyInfo(default='disabled'), |
| 12554 |
'preboot-etherboot-server': KeyInfo(default='any'), |
| 12555 |
'protected-routerboot': KeyInfo(default='disabled'), |
| 12556 |
'reformat-hold-button': KeyInfo(default='20s'), |
| 12557 |
'reformat-hold-button-max': KeyInfo(default='10m'), |
| 12558 |
'silent-boot': KeyInfo(default=False), |
| 12559 |
}, |
| 12560 |
), |
| 12561 |
), |
| 12562 |
|
| 12563 |
('system', 'routerboard', 'usb'): APIData( |
| 12564 |
versioned=[ |
| 12565 |
('7.15', '>=', VersionedAPIData( |
| 12566 |
fixed_entries=True, |
| 12567 |
fully_understood=True, |
| 12568 |
single_value=True, |
| 12569 |
fields={ |
| 12570 |
'type': KeyInfo(), |
| 12571 |
'usb-mode': KeyInfo(), |
| 12572 |
}, |
| 12573 |
)), |
| 12574 |
], |
| 12575 |
), |
| 12576 |
|
| 12577 |
('system', 'routerboard', 'wps-button'): APIData( |
| 12578 |
versioned=[ |
| 12579 |
('7.15', '>=', VersionedAPIData( |
| 12580 |
fixed_entries=True, |
| 12581 |
fully_understood=True, |
| 12582 |
single_value=True, |
| 12583 |
fields={ |
| 12584 |
'enabled': KeyInfo(), |
| 12585 |
'hold-time': KeyInfo(), |
| 12586 |
'on-event': KeyInfo(), |
| 12587 |
}, |
| 12588 |
)), |
| 12589 |
], |
| 12590 |
), |
| 12591 |
|
| 12592 |
('system', 'scheduler'): APIData( |
| 12593 |
unversioned=VersionedAPIData( |
| 12594 |
fully_understood=True, |
| 12595 |
primary_keys=('name',), |
| 12596 |
versioned_fields=[ |
| 12597 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12598 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12599 |
], |
| 12600 |
fields={ |
| 12601 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12602 |
'disabled': KeyInfo(default=False), |
| 12603 |
'interval': KeyInfo(default='0s'), |
| 12604 |
'name': KeyInfo(), |
| 12605 |
'on-event': KeyInfo(default=''), |
| 12606 |
'policy': KeyInfo(default='ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon'), |
| 12607 |
'start-date': KeyInfo(), |
| 12608 |
'start-time': KeyInfo(), |
| 12609 |
}, |
| 12610 |
), |
| 12611 |
), |
| 12612 |
|
| 12613 |
('system', 'script'): APIData( |
| 12614 |
unversioned=VersionedAPIData( |
| 12615 |
fully_understood=True, |
| 12616 |
primary_keys=('name',), |
| 12617 |
versioned_fields=[ |
| 12618 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12619 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12620 |
], |
| 12621 |
fields={ |
| 12622 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12623 |
'dont-require-permissions': KeyInfo(default=False), |
| 12624 |
'name': KeyInfo(), |
| 12625 |
'owner': KeyInfo(), |
| 12626 |
'policy': KeyInfo(default='ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon'), |
| 12627 |
'source': KeyInfo(default=''), |
| 12628 |
}, |
| 12629 |
), |
| 12630 |
), |
| 12631 |
|
| 12632 |
('system', 'script', 'environment'): APIData( |
| 12633 |
versioned=[ |
| 12634 |
('7.15', '>=', VersionedAPIData( |
| 12635 |
# fixed_entries=True, |
| 12636 |
fully_understood=True, |
| 12637 |
has_identifier=True, |
| 12638 |
# primary_keys=('numbers',), |
| 12639 |
fields={ |
| 12640 |
'comment': KeyInfo(), |
| 12641 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12642 |
'value': KeyInfo(), |
| 12643 |
}, |
| 12644 |
)), |
| 12645 |
], |
| 12646 |
), |
| 12647 |
|
| 12648 |
('system', 'script', 'job'): APIData( |
| 12649 |
versioned=[ |
| 12650 |
('7.15', '>=', VersionedAPIData( |
| 12651 |
# fixed_entries=True, |
| 12652 |
fully_understood=True, |
| 12653 |
has_identifier=True, |
| 12654 |
# primary_keys=('numbers',), |
| 12655 |
fields={ |
| 12656 |
'comment': KeyInfo(), |
| 12657 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12658 |
'started': KeyInfo(), |
| 12659 |
'type': KeyInfo(), |
| 12660 |
}, |
| 12661 |
)), |
| 12662 |
], |
| 12663 |
), |
| 12664 |
|
| 12665 |
('system', 'swos'): APIData( |
| 12666 |
versioned=[ |
| 12667 |
('7.15', '>=', VersionedAPIData( |
| 12668 |
fixed_entries=True, |
| 12669 |
fully_understood=True, |
| 12670 |
single_value=True, |
| 12671 |
fields={ |
| 12672 |
'address-acquisition-mode': KeyInfo(), |
| 12673 |
'allow-from': KeyInfo(), |
| 12674 |
'allow-from-ports': KeyInfo(), |
| 12675 |
'allow-from-vlan': KeyInfo(), |
| 12676 |
'identity': KeyInfo(), |
| 12677 |
'static-ip-address': KeyInfo(), |
| 12678 |
}, |
| 12679 |
)), |
| 12680 |
], |
| 12681 |
), |
| 12682 |
|
| 12683 |
('system', 'upgrade'): APIData( |
| 12684 |
versioned=[ |
| 12685 |
('7.17', '>=', 'Not supported anymore in version >= 7.17'), |
| 12686 |
('7.15', '>=', VersionedAPIData( |
| 12687 |
# fixed_entries=True, |
| 12688 |
fully_understood=True, |
| 12689 |
has_identifier=True, |
| 12690 |
# primary_keys=('numbers',), |
| 12691 |
fields={ |
| 12692 |
'download': KeyInfo(), |
| 12693 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12694 |
}, |
| 12695 |
)), |
| 12696 |
], |
| 12697 |
), |
| 12698 |
|
| 12699 |
('system', 'upgrade', 'mirror'): APIData( |
| 12700 |
versioned=[ |
| 12701 |
('7.17', '>=', 'Not supported anymore in version >= 7.17'), |
| 12702 |
('7.17', '<', VersionedAPIData( |
| 12703 |
fixed_entries=True, |
| 12704 |
fully_understood=True, |
| 12705 |
single_value=True, |
| 12706 |
versioned_fields=[ |
| 12707 |
([('7.15', '>=')], 'password', KeyInfo()), |
| 12708 |
], |
| 12709 |
fields={ |
| 12710 |
'check-interval': KeyInfo(default='1d'), |
| 12711 |
'enabled': KeyInfo(default=False), |
| 12712 |
'primary-server': KeyInfo(default='0.0.0.0'), |
| 12713 |
'secondary-server': KeyInfo(default='0.0.0.0'), |
| 12714 |
'user': KeyInfo(default=''), |
| 12715 |
}, |
| 12716 |
)), |
| 12717 |
], |
| 12718 |
), |
| 12719 |
|
| 12720 |
('system', 'upgrade', 'upgrade-package-source'): APIData( |
| 12721 |
versioned=[ |
| 12722 |
('7.17', '>=', 'Not supported anymore in version >= 7.17'), |
| 12723 |
('7.15', '>=', VersionedAPIData( |
| 12724 |
fully_understood=True, |
| 12725 |
fields={ |
| 12726 |
'address': KeyInfo(), |
| 12727 |
# 'copy-from': KeyInfo(write_only=True), |
| 12728 |
'numbers': KeyInfo(read_only=True), |
| 12729 |
'user': KeyInfo(), |
| 12730 |
}, |
| 12731 |
)), |
| 12732 |
], |
| 12733 |
), |
| 12734 |
|
| 12735 |
('system', 'ups'): APIData( |
| 12736 |
unversioned=VersionedAPIData( |
| 12737 |
fully_understood=True, |
| 12738 |
primary_keys=('name',), |
| 12739 |
versioned_fields=[ |
| 12740 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12741 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12742 |
], |
| 12743 |
fields={ |
| 12744 |
'alarm-setting': KeyInfo(default='immediate'), |
| 12745 |
'check-capabilities': KeyInfo(can_disable=True, remove_value=True), |
| 12746 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12747 |
'disabled': KeyInfo(default=True), |
| 12748 |
'min-runtime': KeyInfo(default='never'), |
| 12749 |
'name': KeyInfo(), |
| 12750 |
'offline-time': KeyInfo(default='0s'), |
| 12751 |
'port': KeyInfo(required=True), |
| 12752 |
}, |
| 12753 |
), |
| 12754 |
), |
| 12755 |
|
| 12756 |
('system', 'watchdog'): APIData( |
| 12757 |
unversioned=VersionedAPIData( |
| 12758 |
fixed_entries=True, |
| 12759 |
fully_understood=True, |
| 12760 |
single_value=True, |
| 12761 |
fields={ |
| 12762 |
'auto-send-supout': KeyInfo(default=False), |
| 12763 |
'automatic-supout': KeyInfo(default=True), |
| 12764 |
'ping-start-after-boot': KeyInfo(default='5m'), |
| 12765 |
'ping-timeout': KeyInfo(default='1m'), |
| 12766 |
'send-email-from': KeyInfo(default='none'), |
| 12767 |
'send-email-to': KeyInfo(default='none'), |
| 12768 |
'send-smtp-server': KeyInfo(default='none'), |
| 12769 |
'watch-address': KeyInfo(default='none'), |
| 12770 |
'watchdog-timer': KeyInfo(default=True), |
| 12771 |
}, |
| 12772 |
), |
| 12773 |
), |
| 12774 |
|
| 12775 |
('task',): APIData( |
| 12776 |
versioned=[ |
| 12777 |
('7.15', '>=', VersionedAPIData( |
| 12778 |
fully_understood=True, |
| 12779 |
fields={ |
| 12780 |
'append': KeyInfo(can_disable=True), |
| 12781 |
# 'copy-from': KeyInfo(write_only=True), |
| 12782 |
'file-name': KeyInfo(), |
| 12783 |
'max-lines': KeyInfo(), |
| 12784 |
'max-size': KeyInfo(), |
| 12785 |
'no-header-paging': KeyInfo(can_disable=True), |
| 12786 |
'save-interval': KeyInfo(), |
| 12787 |
'save-timestamp': KeyInfo(can_disable=True), |
| 12788 |
'source': KeyInfo(), |
| 12789 |
'switch-to': KeyInfo(can_disable=True), |
| 12790 |
}, |
| 12791 |
)), |
| 12792 |
], |
| 12793 |
), |
| 12794 |
|
| 12795 |
('tool', 'bandwidth-server'): APIData( |
| 12796 |
unversioned=VersionedAPIData( |
| 12797 |
fixed_entries=True, |
| 12798 |
fully_understood=True, |
| 12799 |
single_value=True, |
| 12800 |
versioned_fields=[ |
| 12801 |
([('7.18', '>=')], 'allowed-addresses4', KeyInfo()), |
| 12802 |
([('7.18', '>=')], 'allowed-addresses6', KeyInfo()), |
| 12803 |
], |
| 12804 |
fields={ |
| 12805 |
'allocate-udp-ports-from': KeyInfo(default=2000), |
| 12806 |
'authenticate': KeyInfo(default=True), |
| 12807 |
'enabled': KeyInfo(default=True), |
| 12808 |
'max-sessions': KeyInfo(default=100), |
| 12809 |
}, |
| 12810 |
), |
| 12811 |
), |
| 12812 |
|
| 12813 |
('tool', 'calea'): APIData( |
| 12814 |
versioned=[ |
| 12815 |
('7.15', '>=', VersionedAPIData( |
| 12816 |
fully_understood=True, |
| 12817 |
fields={ |
| 12818 |
'action': KeyInfo(), |
| 12819 |
'case-id': KeyInfo(), |
| 12820 |
'case-name': KeyInfo(), |
| 12821 |
'comment': KeyInfo(), |
| 12822 |
# 'copy-from': KeyInfo(write_only=True), |
| 12823 |
'disabled': KeyInfo(), |
| 12824 |
'file-root': KeyInfo(), |
| 12825 |
'intercept-ip': KeyInfo(), |
| 12826 |
'intercept-port': KeyInfo(), |
| 12827 |
'limited-file-hash-method': KeyInfo(), |
| 12828 |
'limited-file-stop-interval': KeyInfo(), |
| 12829 |
'numbers': KeyInfo(read_only=True), |
| 12830 |
'pcap-file-hash-method': KeyInfo(), |
| 12831 |
'pcap-file-stop-count': KeyInfo(), |
| 12832 |
'pcap-file-stop-interval': KeyInfo(), |
| 12833 |
'pcap-file-stop-size': KeyInfo(), |
| 12834 |
}, |
| 12835 |
)), |
| 12836 |
], |
| 12837 |
), |
| 12838 |
|
| 12839 |
('tool', 'e-mail'): APIData( |
| 12840 |
versioned=[ |
| 12841 |
('7.12', '>=', VersionedAPIData( |
| 12842 |
fixed_entries=True, |
| 12843 |
fully_understood=True, |
| 12844 |
single_value=True, |
| 12845 |
versioned_fields=[ |
| 12846 |
([('7.21', '>=')], 'certificate-verification', KeyInfo()), |
| 12847 |
([('7.15', '<')], 'start-tls', KeyInfo(default=False)), |
| 12848 |
([('7.15', '<')], 'vfr', KeyInfo(default='')), |
| 12849 |
([('7.15', '>=')], 'vrf', KeyInfo()), |
| 12850 |
], |
| 12851 |
fields={ |
| 12852 |
'from': KeyInfo(default='<>'), |
| 12853 |
'password': KeyInfo(default=''), |
| 12854 |
'port': KeyInfo(default=25), |
| 12855 |
'server': KeyInfo(default='0.0.0.0'), |
| 12856 |
'tls': KeyInfo(default=False), |
| 12857 |
'user': KeyInfo(default=''), |
| 12858 |
}, |
| 12859 |
)), |
| 12860 |
('7.12', '<', VersionedAPIData( |
| 12861 |
fixed_entries=True, |
| 12862 |
fully_understood=True, |
| 12863 |
single_value=True, |
| 12864 |
fields={ |
| 12865 |
'address': KeyInfo(default='0.0.0.0'), |
| 12866 |
'from': KeyInfo(default='<>'), |
| 12867 |
'password': KeyInfo(default=''), |
| 12868 |
'port': KeyInfo(default=25), |
| 12869 |
'start-tls': KeyInfo(default=False), |
| 12870 |
'tls': KeyInfo(default=False), |
| 12871 |
'user': KeyInfo(default=''), |
| 12872 |
'vfr': KeyInfo(default=''), |
| 12873 |
}, |
| 12874 |
)), |
| 12875 |
], |
| 12876 |
), |
| 12877 |
|
| 12878 |
('tool', 'graphing'): APIData( |
| 12879 |
unversioned=VersionedAPIData( |
| 12880 |
fixed_entries=True, |
| 12881 |
fully_understood=True, |
| 12882 |
single_value=True, |
| 12883 |
fields={ |
| 12884 |
'page-refresh': KeyInfo(default=300), |
| 12885 |
'store-every': KeyInfo(default='5min'), |
| 12886 |
}, |
| 12887 |
), |
| 12888 |
), |
| 12889 |
|
| 12890 |
('tool', 'graphing', 'interface'): APIData( |
| 12891 |
versioned=[ |
| 12892 |
('7', '>=', VersionedAPIData( |
| 12893 |
fully_understood=True, |
| 12894 |
versioned_fields=[ |
| 12895 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12896 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12897 |
], |
| 12898 |
fields={ |
| 12899 |
'allow-address': KeyInfo(default='0.0.0.0/0'), |
| 12900 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12901 |
'disabled': KeyInfo(default=False), |
| 12902 |
'interface': KeyInfo(default='all'), |
| 12903 |
'store-on-disk': KeyInfo(default=True), |
| 12904 |
}, |
| 12905 |
)), |
| 12906 |
], |
| 12907 |
), |
| 12908 |
|
| 12909 |
('tool', 'graphing', 'queue'): APIData( |
| 12910 |
versioned=[ |
| 12911 |
('7.15', '>=', VersionedAPIData( |
| 12912 |
fully_understood=True, |
| 12913 |
fields={ |
| 12914 |
'allow-address': KeyInfo(), |
| 12915 |
'allow-target': KeyInfo(), |
| 12916 |
'comment': KeyInfo(), |
| 12917 |
# 'copy-from': KeyInfo(write_only=True), |
| 12918 |
'disabled': KeyInfo(), |
| 12919 |
'numbers': KeyInfo(read_only=True), |
| 12920 |
'simple-queue': KeyInfo(), |
| 12921 |
'store-on-disk': KeyInfo(), |
| 12922 |
}, |
| 12923 |
)), |
| 12924 |
], |
| 12925 |
), |
| 12926 |
|
| 12927 |
('tool', 'graphing', 'resource'): APIData( |
| 12928 |
versioned=[ |
| 12929 |
('7', '>=', VersionedAPIData( |
| 12930 |
fully_understood=True, |
| 12931 |
versioned_fields=[ |
| 12932 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 12933 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 12934 |
], |
| 12935 |
fields={ |
| 12936 |
'allow-address': KeyInfo(default='0.0.0.0/0'), |
| 12937 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 12938 |
'disabled': KeyInfo(default=False), |
| 12939 |
'store-on-disk': KeyInfo(default=True), |
| 12940 |
}, |
| 12941 |
)), |
| 12942 |
], |
| 12943 |
), |
| 12944 |
|
| 12945 |
('tool', 'mac-server'): APIData( |
| 12946 |
unversioned=VersionedAPIData( |
| 12947 |
fixed_entries=True, |
| 12948 |
fully_understood=True, |
| 12949 |
single_value=True, |
| 12950 |
fields={ |
| 12951 |
'allowed-interface-list': KeyInfo(), |
| 12952 |
}, |
| 12953 |
), |
| 12954 |
), |
| 12955 |
|
| 12956 |
('tool', 'mac-server', 'mac-winbox'): APIData( |
| 12957 |
unversioned=VersionedAPIData( |
| 12958 |
fixed_entries=True, |
| 12959 |
fully_understood=True, |
| 12960 |
single_value=True, |
| 12961 |
fields={ |
| 12962 |
'allowed-interface-list': KeyInfo(), |
| 12963 |
}, |
| 12964 |
), |
| 12965 |
), |
| 12966 |
|
| 12967 |
('tool', 'mac-server', 'ping'): APIData( |
| 12968 |
unversioned=VersionedAPIData( |
| 12969 |
fixed_entries=True, |
| 12970 |
fully_understood=True, |
| 12971 |
single_value=True, |
| 12972 |
fields={ |
| 12973 |
'enabled': KeyInfo(default=True), |
| 12974 |
}, |
| 12975 |
), |
| 12976 |
), |
| 12977 |
|
| 12978 |
('tool', 'mac-server', 'sessions'): APIData( |
| 12979 |
versioned=[ |
| 12980 |
('7.15', '>=', VersionedAPIData( |
| 12981 |
# fixed_entries=True, |
| 12982 |
fully_understood=True, |
| 12983 |
has_identifier=True, |
| 12984 |
# primary_keys=('numbers',), |
| 12985 |
fields={ |
| 12986 |
'interface': KeyInfo(), |
| 12987 |
'numbers': KeyInfo(depr=Depr('4.0.0', 'The numbers field will be read-only from community.routeros 4.0.0 on.', context='write')), |
| 12988 |
'src-address': KeyInfo(), |
| 12989 |
'uptime': KeyInfo(), |
| 12990 |
}, |
| 12991 |
)), |
| 12992 |
], |
| 12993 |
), |
| 12994 |
|
| 12995 |
('tool', 'netwatch'): APIData( |
| 12996 |
versioned=[ |
| 12997 |
('7', '>=', VersionedAPIData( |
| 12998 |
fully_understood=True, |
| 12999 |
versioned_fields=[ |
| 13000 |
([('7.16', '>=')], 'accept-icmp-time-exceeded', KeyInfo(can_disable=True, default=False)), |
| 13001 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 13002 |
([('7.16', '>=')], 'dns-server', KeyInfo(can_disable=True)), |
| 13003 |
([('7.20', '>=')], 'early-failure-detection', KeyInfo(can_disable=True)), |
| 13004 |
([('7.20', '>=')], 'early-success-detection', KeyInfo(can_disable=True)), |
| 13005 |
([('7.17', '>=')], 'ignore-initial-down', KeyInfo(can_disable=True)), |
| 13006 |
([('7.17', '>=')], 'ignore-initial-up', KeyInfo(can_disable=True)), |
| 13007 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 13008 |
([('7.16', '>=')], 'record-type', KeyInfo(can_disable=True)), |
| 13009 |
([('7.16', '>=')], 'ttl', KeyInfo(can_disable=True, default=255)), |
| 13010 |
], |
| 13011 |
fields={ |
| 13012 |
'certificate': KeyInfo(can_disable=True), |
| 13013 |
'check-certificate': KeyInfo(can_disable=True), |
| 13014 |
'comment': KeyInfo(), |
| 13015 |
'disabled': KeyInfo(default=False), |
| 13016 |
'down-script': KeyInfo(can_disable=True), |
| 13017 |
'host': KeyInfo(required=True), |
| 13018 |
'http-codes': KeyInfo(can_disable=True), |
| 13019 |
'interval': KeyInfo(can_disable=True), |
| 13020 |
'name': KeyInfo(), |
| 13021 |
'packet-count': KeyInfo(can_disable=True), |
| 13022 |
'packet-interval': KeyInfo(can_disable=True), |
| 13023 |
'packet-size': KeyInfo(can_disable=True), |
| 13024 |
'port': KeyInfo(can_disable=True), |
| 13025 |
'src-address': KeyInfo(can_disable=True), |
| 13026 |
'start-delay': KeyInfo(can_disable=True), |
| 13027 |
'startup-delay': KeyInfo(can_disable=True), |
| 13028 |
'test-script': KeyInfo(can_disable=True), |
| 13029 |
'thr-avg': KeyInfo(can_disable=True), |
| 13030 |
'thr-http-time': KeyInfo(can_disable=True), |
| 13031 |
'thr-jitter': KeyInfo(can_disable=True), |
| 13032 |
'thr-loss-count': KeyInfo(can_disable=True), |
| 13033 |
'thr-loss-percent': KeyInfo(can_disable=True), |
| 13034 |
'thr-max': KeyInfo(can_disable=True), |
| 13035 |
'thr-stdev': KeyInfo(can_disable=True), |
| 13036 |
'thr-tcp-conn-time': KeyInfo(can_disable=True), |
| 13037 |
'timeout': KeyInfo(can_disable=True), |
| 13038 |
'type': KeyInfo(default='simple'), |
| 13039 |
'up-script': KeyInfo(can_disable=True), |
| 13040 |
}, |
| 13041 |
)), |
| 13042 |
], |
| 13043 |
), |
| 13044 |
|
| 13045 |
('tool', 'romon'): APIData( |
| 13046 |
unversioned=VersionedAPIData( |
| 13047 |
fixed_entries=True, |
| 13048 |
fully_understood=True, |
| 13049 |
single_value=True, |
| 13050 |
fields={ |
| 13051 |
'enabled': KeyInfo(default=False), |
| 13052 |
'id': KeyInfo(default='00:00:00:00:00:00'), |
| 13053 |
'secrets': KeyInfo(default=''), |
| 13054 |
}, |
| 13055 |
), |
| 13056 |
), |
| 13057 |
|
| 13058 |
('tool', 'romon', 'port'): APIData( |
| 13059 |
unversioned=VersionedAPIData( |
| 13060 |
fully_understood=True, |
| 13061 |
versioned_fields=[ |
| 13062 |
([('7.15', '>=')], 'comment', KeyInfo()), |
| 13063 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 13064 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 13065 |
], |
| 13066 |
fields={ |
| 13067 |
'cost': KeyInfo(), |
| 13068 |
'disabled': KeyInfo(), |
| 13069 |
'forbid': KeyInfo(), |
| 13070 |
'interface': KeyInfo(), |
| 13071 |
'secrets': KeyInfo(), |
| 13072 |
}, |
| 13073 |
), |
| 13074 |
), |
| 13075 |
|
| 13076 |
('tool', 'sms'): APIData( |
| 13077 |
unversioned=VersionedAPIData( |
| 13078 |
fixed_entries=True, |
| 13079 |
fully_understood=True, |
| 13080 |
single_value=True, |
| 13081 |
versioned_fields=[ |
| 13082 |
([('7.15', '<')], 'auto-erase', KeyInfo(default=False)), |
| 13083 |
([('7.16', '>=')], 'polling', KeyInfo()), |
| 13084 |
([('7.20', '>=')], 'remove-sent-sms-after-send', KeyInfo()), |
| 13085 |
([('7.15', '>=')], 'sms-storage', KeyInfo()), |
| 13086 |
], |
| 13087 |
fields={ |
| 13088 |
'allowed-number': KeyInfo(default=''), |
| 13089 |
'channel': KeyInfo(default=0), |
| 13090 |
'port': KeyInfo(default='none'), |
| 13091 |
'receive-enabled': KeyInfo(default=False), |
| 13092 |
'secret': KeyInfo(default=''), |
| 13093 |
'sim-pin': KeyInfo(default=''), |
| 13094 |
}, |
| 13095 |
), |
| 13096 |
), |
| 13097 |
|
| 13098 |
('tool', 'sniffer'): APIData( |
| 13099 |
unversioned=VersionedAPIData( |
| 13100 |
fixed_entries=True, |
| 13101 |
fully_understood=True, |
| 13102 |
single_value=True, |
| 13103 |
versioned_fields=[ |
| 13104 |
([('7.15', '>=')], 'filter-dst-ip-address', KeyInfo()), |
| 13105 |
([('7.15', '>=')], 'filter-dst-ipv6-address', KeyInfo()), |
| 13106 |
([('7.15', '>=')], 'filter-dst-mac-address', KeyInfo()), |
| 13107 |
([('7.15', '>=')], 'filter-dst-port', KeyInfo()), |
| 13108 |
([('7.15', '>=')], 'filter-src-ip-address', KeyInfo()), |
| 13109 |
([('7.15', '>=')], 'filter-src-ipv6-address', KeyInfo()), |
| 13110 |
([('7.15', '>=')], 'filter-src-mac-address', KeyInfo()), |
| 13111 |
([('7.15', '>=')], 'filter-src-port', KeyInfo()), |
| 13112 |
([('7.15', '>=')], 'filter-vlan', KeyInfo()), |
| 13113 |
([('7.19', '>=')], 'max-packet-size', KeyInfo()), |
| 13114 |
([('7.15', '>=')], 'quick-rows', KeyInfo()), |
| 13115 |
([('7.15', '>=')], 'quick-show-frame', KeyInfo()), |
| 13116 |
], |
| 13117 |
fields={ |
| 13118 |
'file-limit': KeyInfo(default='1000KiB'), |
| 13119 |
'file-name': KeyInfo(default=''), |
| 13120 |
'filter-cpu': KeyInfo(default=''), |
| 13121 |
'filter-direction': KeyInfo(default='any'), |
| 13122 |
'filter-interface': KeyInfo(default=''), |
| 13123 |
'filter-ip-address': KeyInfo(default=''), |
| 13124 |
'filter-ip-protocol': KeyInfo(default=''), |
| 13125 |
'filter-ipv6-address': KeyInfo(default=''), |
| 13126 |
'filter-mac-address': KeyInfo(default=''), |
| 13127 |
'filter-mac-protocol': KeyInfo(default=''), |
| 13128 |
'filter-operator-between-entries': KeyInfo(default='or'), |
| 13129 |
'filter-port': KeyInfo(default=''), |
| 13130 |
'filter-size': KeyInfo(default=''), |
| 13131 |
'filter-stream': KeyInfo(default=False), |
| 13132 |
'memory-limit': KeyInfo(default='100KiB'), |
| 13133 |
'memory-scroll': KeyInfo(default=True), |
| 13134 |
'only-headers': KeyInfo(default=False), |
| 13135 |
'streaming-enabled': KeyInfo(default=False), |
| 13136 |
'streaming-server': KeyInfo(default='0.0.0.0:37008'), |
| 13137 |
}, |
| 13138 |
), |
| 13139 |
), |
| 13140 |
|
| 13141 |
('tool', 'traffic-generator'): APIData( |
| 13142 |
unversioned=VersionedAPIData( |
| 13143 |
fixed_entries=True, |
| 13144 |
fully_understood=True, |
| 13145 |
single_value=True, |
| 13146 |
fields={ |
| 13147 |
'latency-distribution-max': KeyInfo(default='100us'), |
| 13148 |
'measure-out-of-order': KeyInfo(default=True), |
| 13149 |
'stats-samples-to-keep': KeyInfo(default=100), |
| 13150 |
'test-id': KeyInfo(default=0), |
| 13151 |
}, |
| 13152 |
), |
| 13153 |
), |
| 13154 |
|
| 13155 |
('tool', 'traffic-generator', 'packet-template'): APIData( |
| 13156 |
versioned=[ |
| 13157 |
('7.15', '>=', VersionedAPIData( |
| 13158 |
fully_understood=True, |
| 13159 |
fields={ |
| 13160 |
'comment': KeyInfo(), |
| 13161 |
'compute-checksum-from-offset': KeyInfo(), |
| 13162 |
# 'copy-from': KeyInfo(write_only=True), |
| 13163 |
'data': KeyInfo(), |
| 13164 |
'data-byte': KeyInfo(), |
| 13165 |
'header-stack': KeyInfo(), |
| 13166 |
'interface': KeyInfo(can_disable=True), |
| 13167 |
'ip-dscp': KeyInfo(can_disable=True), |
| 13168 |
'ip-dst': KeyInfo(can_disable=True), |
| 13169 |
'ip-frag-off': KeyInfo(can_disable=True), |
| 13170 |
'ip-gateway': KeyInfo(can_disable=True), |
| 13171 |
'ip-id': KeyInfo(can_disable=True), |
| 13172 |
'ip-protocol': KeyInfo(can_disable=True), |
| 13173 |
'ip-src': KeyInfo(can_disable=True), |
| 13174 |
'ip-ttl': KeyInfo(can_disable=True), |
| 13175 |
'ipv6-dst': KeyInfo(can_disable=True), |
| 13176 |
'ipv6-flow-label': KeyInfo(can_disable=True), |
| 13177 |
'ipv6-gateway': KeyInfo(can_disable=True), |
| 13178 |
'ipv6-hop-limit': KeyInfo(can_disable=True), |
| 13179 |
'ipv6-next-header': KeyInfo(can_disable=True), |
| 13180 |
'ipv6-src': KeyInfo(can_disable=True), |
| 13181 |
'ipv6-traffic-class': KeyInfo(can_disable=True), |
| 13182 |
'mac-dst': KeyInfo(can_disable=True), |
| 13183 |
'mac-protocol': KeyInfo(can_disable=True), |
| 13184 |
'mac-src': KeyInfo(can_disable=True), |
| 13185 |
'name': KeyInfo(), |
| 13186 |
'numbers': KeyInfo(read_only=True), |
| 13187 |
'port': KeyInfo(can_disable=True), |
| 13188 |
'random-byte-offsets-and-masks': KeyInfo(), |
| 13189 |
'random-ranges': KeyInfo(), |
| 13190 |
'raw-header': KeyInfo(can_disable=True), |
| 13191 |
'special-footer': KeyInfo(), |
| 13192 |
'tcp-ack': KeyInfo(can_disable=True), |
| 13193 |
'tcp-data-offset': KeyInfo(can_disable=True), |
| 13194 |
'tcp-dst-port': KeyInfo(can_disable=True), |
| 13195 |
'tcp-flags': KeyInfo(can_disable=True), |
| 13196 |
'tcp-src-port': KeyInfo(can_disable=True), |
| 13197 |
'tcp-syn': KeyInfo(can_disable=True), |
| 13198 |
'tcp-urgent-pointer': KeyInfo(can_disable=True), |
| 13199 |
'tcp-window-size': KeyInfo(can_disable=True), |
| 13200 |
'udp-checksum': KeyInfo(can_disable=True), |
| 13201 |
'udp-dst-port': KeyInfo(can_disable=True), |
| 13202 |
'udp-src-port': KeyInfo(can_disable=True), |
| 13203 |
'vlan-id': KeyInfo(can_disable=True), |
| 13204 |
'vlan-priority': KeyInfo(can_disable=True), |
| 13205 |
'vlan-protocol': KeyInfo(can_disable=True), |
| 13206 |
}, |
| 13207 |
)), |
| 13208 |
], |
| 13209 |
), |
| 13210 |
|
| 13211 |
('tool', 'traffic-generator', 'port'): APIData( |
| 13212 |
versioned=[ |
| 13213 |
('7.15', '>=', VersionedAPIData( |
| 13214 |
fully_understood=True, |
| 13215 |
fields={ |
| 13216 |
# 'copy-from': KeyInfo(write_only=True), |
| 13217 |
'disabled': KeyInfo(), |
| 13218 |
'interface': KeyInfo(), |
| 13219 |
'name': KeyInfo(), |
| 13220 |
'numbers': KeyInfo(read_only=True), |
| 13221 |
}, |
| 13222 |
)), |
| 13223 |
], |
| 13224 |
), |
| 13225 |
|
| 13226 |
('tool', 'traffic-generator', 'raw-packet-template'): APIData( |
| 13227 |
versioned=[ |
| 13228 |
('7.15', '>=', VersionedAPIData( |
| 13229 |
fully_understood=True, |
| 13230 |
fields={ |
| 13231 |
'comment': KeyInfo(), |
| 13232 |
'compute-checksum-from-offset': KeyInfo(), |
| 13233 |
# 'copy-from': KeyInfo(write_only=True), |
| 13234 |
'data': KeyInfo(), |
| 13235 |
'data-byte': KeyInfo(), |
| 13236 |
'header': KeyInfo(), |
| 13237 |
'ip-header-offset': KeyInfo(), |
| 13238 |
'ipv6-header-offset': KeyInfo(), |
| 13239 |
'name': KeyInfo(), |
| 13240 |
'numbers': KeyInfo(read_only=True), |
| 13241 |
'port': KeyInfo(can_disable=True), |
| 13242 |
'random-byte-offsets-and-masks': KeyInfo(), |
| 13243 |
'random-ranges': KeyInfo(), |
| 13244 |
'special-footer': KeyInfo(), |
| 13245 |
'tcp-header-offset': KeyInfo(), |
| 13246 |
'udp-compute-checksum': KeyInfo(), |
| 13247 |
'udp-header-offset': KeyInfo(), |
| 13248 |
}, |
| 13249 |
)), |
| 13250 |
], |
| 13251 |
), |
| 13252 |
|
| 13253 |
('tool', 'traffic-generator', 'stream'): APIData( |
| 13254 |
versioned=[ |
| 13255 |
('7.15', '>=', VersionedAPIData( |
| 13256 |
fully_understood=True, |
| 13257 |
fields={ |
| 13258 |
# 'copy-from': KeyInfo(write_only=True), |
| 13259 |
'cpu-core': KeyInfo(), |
| 13260 |
'disabled': KeyInfo(), |
| 13261 |
'id': KeyInfo(), |
| 13262 |
'mbps': KeyInfo(), |
| 13263 |
'name': KeyInfo(), |
| 13264 |
'numbers': KeyInfo(read_only=True), |
| 13265 |
'packet-count': KeyInfo(), |
| 13266 |
'packet-size': KeyInfo(), |
| 13267 |
'port': KeyInfo(can_disable=True), |
| 13268 |
'pps': KeyInfo(), |
| 13269 |
'tx-template': KeyInfo(), |
| 13270 |
}, |
| 13271 |
)), |
| 13272 |
], |
| 13273 |
), |
| 13274 |
|
| 13275 |
('tool', 'traffic-monitor'): APIData( |
| 13276 |
versioned=[ |
| 13277 |
('7.15', '>=', VersionedAPIData( |
| 13278 |
fully_understood=True, |
| 13279 |
fields={ |
| 13280 |
'comment': KeyInfo(), |
| 13281 |
# 'copy-from': KeyInfo(write_only=True), |
| 13282 |
'disabled': KeyInfo(), |
| 13283 |
'interface': KeyInfo(), |
| 13284 |
'name': KeyInfo(), |
| 13285 |
'numbers': KeyInfo(read_only=True), |
| 13286 |
'on-event': KeyInfo(), |
| 13287 |
'threshold': KeyInfo(), |
| 13288 |
'traffic': KeyInfo(), |
| 13289 |
'trigger': KeyInfo(), |
| 13290 |
}, |
| 13291 |
)), |
| 13292 |
], |
| 13293 |
), |
| 13294 |
|
| 13295 |
('tr069-client',): APIData( |
| 13296 |
versioned=[ |
| 13297 |
('7.15', '>=', VersionedAPIData( |
| 13298 |
fixed_entries=True, |
| 13299 |
fully_understood=True, |
| 13300 |
single_value=True, |
| 13301 |
fields={ |
| 13302 |
'acs-url': KeyInfo(), |
| 13303 |
'check-certificate': KeyInfo(), |
| 13304 |
'client-certificate': KeyInfo(), |
| 13305 |
'connection-request-password': KeyInfo(), |
| 13306 |
'connection-request-port': KeyInfo(), |
| 13307 |
'connection-request-username': KeyInfo(), |
| 13308 |
'enabled': KeyInfo(), |
| 13309 |
'password': KeyInfo(), |
| 13310 |
'periodic-inform-enabled': KeyInfo(), |
| 13311 |
'periodic-inform-interval': KeyInfo(), |
| 13312 |
'provisioning-code': KeyInfo(), |
| 13313 |
'username': KeyInfo(), |
| 13314 |
}, |
| 13315 |
)), |
| 13316 |
], |
| 13317 |
), |
| 13318 |
|
| 13319 |
('user',): APIData( |
| 13320 |
unversioned=VersionedAPIData( |
| 13321 |
fully_understood=True, |
| 13322 |
primary_keys=('name',), |
| 13323 |
versioned_fields=[ |
| 13324 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 13325 |
([('7.16', '>=')], 'inactivity-policy', KeyInfo()), |
| 13326 |
([('7.16', '>=')], 'inactivity-timeout', KeyInfo()), |
| 13327 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 13328 |
], |
| 13329 |
fields={ |
| 13330 |
'address': KeyInfo(), |
| 13331 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 13332 |
'disabled': KeyInfo(default=False), |
| 13333 |
'expired': KeyInfo(read_only=True), |
| 13334 |
'group': KeyInfo(), |
| 13335 |
'last-logged-in': KeyInfo(read_only=True), |
| 13336 |
'name': KeyInfo(), |
| 13337 |
'password': KeyInfo(write_only=True), |
| 13338 |
}, |
| 13339 |
), |
| 13340 |
), |
| 13341 |
|
| 13342 |
('user', 'aaa'): APIData( |
| 13343 |
unversioned=VersionedAPIData( |
| 13344 |
fixed_entries=True, |
| 13345 |
fully_understood=True, |
| 13346 |
single_value=True, |
| 13347 |
fields={ |
| 13348 |
'accounting': KeyInfo(default=True), |
| 13349 |
'default-group': KeyInfo(default='read'), |
| 13350 |
'exclude-groups': KeyInfo(default=''), |
| 13351 |
'interim-update': KeyInfo(default='0s'), |
| 13352 |
'use-radius': KeyInfo(default=False), |
| 13353 |
}, |
| 13354 |
), |
| 13355 |
), |
| 13356 |
|
| 13357 |
('user', 'active'): APIData( |
| 13358 |
versioned=[ |
| 13359 |
('7.20', '>=', VersionedAPIData( |
| 13360 |
fully_understood=True, |
| 13361 |
modify_not_supported=True, |
| 13362 |
fields={ |
| 13363 |
# 'copy-from': KeyInfo(write_only=True), |
| 13364 |
}, |
| 13365 |
)), |
| 13366 |
], |
| 13367 |
), |
| 13368 |
|
| 13369 |
('user', 'group'): APIData( |
| 13370 |
unversioned=VersionedAPIData( |
| 13371 |
fully_understood=True, |
| 13372 |
primary_keys=('name',), |
| 13373 |
versioned_fields=[ |
| 13374 |
# ([('7.15', '>=')], 'copy-from', KeyInfo(write_only=True)), |
| 13375 |
([('7.15', '>=')], 'numbers', KeyInfo(read_only=True)), |
| 13376 |
], |
| 13377 |
fields={ |
| 13378 |
'comment': KeyInfo(can_disable=True, remove_value=''), |
| 13379 |
'name': KeyInfo(), |
| 13380 |
'policy': KeyInfo(), |
| 13381 |
'skin': KeyInfo(default='default'), |
| 13382 |
}, |
| 13383 |
), |
| 13384 |
), |
| 13385 |
|
| 13386 |
('user', 'settings'): APIData( |
| 13387 |
unversioned=VersionedAPIData( |
| 13388 |
fixed_entries=True, |
| 13389 |
fully_understood=True, |
| 13390 |
single_value=True, |
| 13391 |
fields={ |
| 13392 |
'minimum-categories': KeyInfo(), |
| 13393 |
'minimum-password-length': KeyInfo(), |
| 13394 |
}, |
| 13395 |
), |
| 13396 |
), |
| 13397 |
|
| 13398 |
('user', 'ssh-keys'): APIData( |
| 13399 |
versioned=[ |
| 13400 |
('7.15', '>=', VersionedAPIData( |
| 13401 |
fully_understood=True, |
| 13402 |
fields={ |
| 13403 |
'comment': KeyInfo(), |
| 13404 |
# 'copy-from': KeyInfo(write_only=True), |
| 13405 |
'key': KeyInfo(), |
| 13406 |
'user': KeyInfo(), |
| 13407 |
}, |
| 13408 |
)), |
| 13409 |
], |
| 13410 |
), |
| 13411 |
|
| 13412 |
('user-manager',): APIData( |
| 13413 |
versioned=[ |
| 13414 |
('7.15', '>=', VersionedAPIData( |
| 13415 |
fixed_entries=True, |
| 13416 |
fully_understood=True, |
| 13417 |
single_value=True, |
| 13418 |
versioned_fields=[ |
| 13419 |
([('7.21', '>=')], 'radsec-certificate', KeyInfo()), |
| 13420 |
], |
| 13421 |
fields={ |
| 13422 |
'accounting-port': KeyInfo(), |
| 13423 |
'authentication-port': KeyInfo(), |
| 13424 |
'certificate': KeyInfo(), |
| 13425 |
'enabled': KeyInfo(), |
| 13426 |
'require-message-auth': KeyInfo(), |
| 13427 |
'use-profiles': KeyInfo(), |
| 13428 |
}, |
| 13429 |
)), |
| 13430 |
], |
| 13431 |
), |
| 13432 |
|
| 13433 |
('user-manager', 'advanced'): APIData( |
| 13434 |
versioned=[ |
| 13435 |
('7.15', '>=', VersionedAPIData( |
| 13436 |
fixed_entries=True, |
| 13437 |
fully_understood=True, |
| 13438 |
single_value=True, |
| 13439 |
fields={ |
| 13440 |
'paypal-allow': KeyInfo(), |
| 13441 |
'paypal-currency': KeyInfo(), |
| 13442 |
'paypal-password': KeyInfo(), |
| 13443 |
'paypal-signature': KeyInfo(), |
| 13444 |
'paypal-use-sandbox': KeyInfo(), |
| 13445 |
'paypal-user': KeyInfo(), |
| 13446 |
'web-private-password': KeyInfo(), |
| 13447 |
'web-private-username': KeyInfo(), |
| 13448 |
}, |
| 13449 |
)), |
| 13450 |
], |
| 13451 |
), |
| 13452 |
|
| 13453 |
('user-manager', 'attribute'): APIData( |
| 13454 |
versioned=[ |
| 13455 |
('7.15', '>=', VersionedAPIData( |
| 13456 |
fully_understood=True, |
| 13457 |
fields={ |
| 13458 |
# 'copy-from': KeyInfo(write_only=True), |
| 13459 |
'name': KeyInfo(), |
| 13460 |
'numbers': KeyInfo(read_only=True), |
| 13461 |
'packet-types': KeyInfo(), |
| 13462 |
'type-id': KeyInfo(), |
| 13463 |
'value-type': KeyInfo(), |
| 13464 |
'vendor-id': KeyInfo(), |
| 13465 |
}, |
| 13466 |
)), |
| 13467 |
], |
| 13468 |
), |
| 13469 |
|
| 13470 |
('user-manager', 'database'): APIData( |
| 13471 |
versioned=[ |
| 13472 |
('7.15', '>=', VersionedAPIData( |
| 13473 |
fixed_entries=True, |
| 13474 |
fully_understood=True, |
| 13475 |
single_value=True, |
| 13476 |
fields={ |
| 13477 |
'db-path': KeyInfo(), |
| 13478 |
}, |
| 13479 |
)), |
| 13480 |
], |
| 13481 |
), |
| 13482 |
|
| 13483 |
('user-manager', 'limitation'): APIData( |
| 13484 |
versioned=[ |
| 13485 |
('7.15', '>=', VersionedAPIData( |
| 13486 |
fully_understood=True, |
| 13487 |
fields={ |
| 13488 |
'comment': KeyInfo(), |
| 13489 |
# 'copy-from': KeyInfo(write_only=True), |
| 13490 |
'download-limit': KeyInfo(), |
| 13491 |
'name': KeyInfo(), |
| 13492 |
'numbers': KeyInfo(read_only=True), |
| 13493 |
'rate-limit-burst-rx': KeyInfo(), |
| 13494 |
'rate-limit-burst-threshold-rx': KeyInfo(), |
| 13495 |
'rate-limit-burst-threshold-tx': KeyInfo(), |
| 13496 |
'rate-limit-burst-time-rx': KeyInfo(), |
| 13497 |
'rate-limit-burst-time-tx': KeyInfo(), |
| 13498 |
'rate-limit-burst-tx': KeyInfo(), |
| 13499 |
'rate-limit-min-rx': KeyInfo(), |
| 13500 |
'rate-limit-min-tx': KeyInfo(), |
| 13501 |
'rate-limit-priority': KeyInfo(), |
| 13502 |
'rate-limit-rx': KeyInfo(), |
| 13503 |
'rate-limit-tx': KeyInfo(), |
| 13504 |
'reset-counters-interval': KeyInfo(), |
| 13505 |
'reset-counters-start-time': KeyInfo(), |
| 13506 |
'transfer-limit': KeyInfo(), |
| 13507 |
'upload-limit': KeyInfo(), |
| 13508 |
'uptime-limit': KeyInfo(), |
| 13509 |
}, |
| 13510 |
)), |
| 13511 |
], |
| 13512 |
), |
| 13513 |
|
| 13514 |
('user-manager', 'payment'): APIData( |
| 13515 |
versioned=[ |
| 13516 |
('7.15', '>=', VersionedAPIData( |
| 13517 |
fully_understood=True, |
| 13518 |
fields={ |
| 13519 |
# 'copy-from': KeyInfo(write_only=True), |
| 13520 |
'currency': KeyInfo(), |
| 13521 |
'method': KeyInfo(), |
| 13522 |
'numbers': KeyInfo(read_only=True), |
| 13523 |
'price': KeyInfo(), |
| 13524 |
'profile': KeyInfo(), |
| 13525 |
'trans-end': KeyInfo(), |
| 13526 |
'trans-start': KeyInfo(), |
| 13527 |
'trans-status': KeyInfo(), |
| 13528 |
'user': KeyInfo(), |
| 13529 |
'user-message': KeyInfo(), |
| 13530 |
}, |
| 13531 |
)), |
| 13532 |
], |
| 13533 |
), |
| 13534 |
|
| 13535 |
('user-manager', 'profile'): APIData( |
| 13536 |
versioned=[ |
| 13537 |
('7.15', '>=', VersionedAPIData( |
| 13538 |
fully_understood=True, |
| 13539 |
fields={ |
| 13540 |
'comment': KeyInfo(), |
| 13541 |
# 'copy-from': KeyInfo(write_only=True), |
| 13542 |
'name': KeyInfo(), |
| 13543 |
'name-for-users': KeyInfo(), |
| 13544 |
'numbers': KeyInfo(read_only=True), |
| 13545 |
'override-shared-users': KeyInfo(), |
| 13546 |
'price': KeyInfo(), |
| 13547 |
'starts-when': KeyInfo(), |
| 13548 |
'validity': KeyInfo(), |
| 13549 |
}, |
| 13550 |
)), |
| 13551 |
], |
| 13552 |
), |
| 13553 |
|
| 13554 |
('user-manager', 'profile-limitation'): APIData( |
| 13555 |
versioned=[ |
| 13556 |
('7.15', '>=', VersionedAPIData( |
| 13557 |
fully_understood=True, |
| 13558 |
fields={ |
| 13559 |
'comment': KeyInfo(), |
| 13560 |
# 'copy-from': KeyInfo(write_only=True), |
| 13561 |
'from-time': KeyInfo(), |
| 13562 |
'limitation': KeyInfo(), |
| 13563 |
'numbers': KeyInfo(read_only=True), |
| 13564 |
'profile': KeyInfo(), |
| 13565 |
'till-time': KeyInfo(), |
| 13566 |
'weekdays': KeyInfo(), |
| 13567 |
}, |
| 13568 |
)), |
| 13569 |
], |
| 13570 |
), |
| 13571 |
|
| 13572 |
('user-manager', 'router'): APIData( |
| 13573 |
versioned=[ |
| 13574 |
('7.15', '>=', VersionedAPIData( |
| 13575 |
fully_understood=True, |
| 13576 |
versioned_fields=[ |
| 13577 |
([('7.21', '>=')], 'protocol', KeyInfo()), |
| 13578 |
], |
| 13579 |
fields={ |
| 13580 |
'address': KeyInfo(), |
| 13581 |
'coa-port': KeyInfo(), |
| 13582 |
'comment': KeyInfo(), |
| 13583 |
# 'copy-from': KeyInfo(write_only=True), |
| 13584 |
'disabled': KeyInfo(), |
| 13585 |
'name': KeyInfo(), |
| 13586 |
'numbers': KeyInfo(read_only=True), |
| 13587 |
'shared-secret': KeyInfo(), |
| 13588 |
}, |
| 13589 |
)), |
| 13590 |
], |
| 13591 |
), |
| 13592 |
|
| 13593 |
('user-manager', 'session'): APIData( |
| 13594 |
versioned=[ |
| 13595 |
('7.15', '>=', VersionedAPIData( |
| 13596 |
fully_understood=True, |
| 13597 |
modify_not_supported=True, |
| 13598 |
fields={ |
| 13599 |
# 'copy-from': KeyInfo(write_only=True), |
| 13600 |
}, |
| 13601 |
)), |
| 13602 |
], |
| 13603 |
), |
| 13604 |
|
| 13605 |
('user-manager', 'user'): APIData( |
| 13606 |
versioned=[ |
| 13607 |
('7.15', '>=', VersionedAPIData( |
| 13608 |
fully_understood=True, |
| 13609 |
fields={ |
| 13610 |
'attributes': KeyInfo(), |
| 13611 |
'caller-id': KeyInfo(), |
| 13612 |
'comment': KeyInfo(), |
| 13613 |
# 'copy-from': KeyInfo(write_only=True), |
| 13614 |
'disabled': KeyInfo(), |
| 13615 |
'group': KeyInfo(), |
| 13616 |
'name': KeyInfo(), |
| 13617 |
'numbers': KeyInfo(read_only=True), |
| 13618 |
'otp-secret': KeyInfo(), |
| 13619 |
'password': KeyInfo(), |
| 13620 |
'shared-users': KeyInfo(), |
| 13621 |
}, |
| 13622 |
)), |
| 13623 |
], |
| 13624 |
), |
| 13625 |
|
| 13626 |
('user-manager', 'user', 'group'): APIData( |
| 13627 |
versioned=[ |
| 13628 |
('7.15', '>=', VersionedAPIData( |
| 13629 |
fully_understood=True, |
| 13630 |
fields={ |
| 13631 |
'attributes': KeyInfo(), |
| 13632 |
'comment': KeyInfo(), |
| 13633 |
# 'copy-from': KeyInfo(write_only=True), |
| 13634 |
'inner-auths': KeyInfo(), |
| 13635 |
'name': KeyInfo(), |
| 13636 |
'numbers': KeyInfo(read_only=True), |
| 13637 |
'outer-auths': KeyInfo(), |
| 13638 |
}, |
| 13639 |
)), |
| 13640 |
], |
| 13641 |
), |
| 13642 |
|
| 13643 |
('user-manager', 'user-profile'): APIData( |
| 13644 |
versioned=[ |
| 13645 |
('7.15', '>=', VersionedAPIData( |
| 13646 |
fully_understood=True, |
| 13647 |
fields={ |
| 13648 |
# 'copy-from': KeyInfo(write_only=True), |
| 13649 |
'profile': KeyInfo(), |
| 13650 |
'user': KeyInfo(), |
| 13651 |
}, |
| 13652 |
)), |
| 13653 |
], |
| 13654 |
), |
| 13655 |
|
| 13656 |
('zerotier',): APIData( |
| 13657 |
versioned=[ |
| 13658 |
('7.15', '>=', VersionedAPIData( |
| 13659 |
fully_understood=True, |
| 13660 |
fields={ |
| 13661 |
'comment': KeyInfo(), |
| 13662 |
# 'copy-from': KeyInfo(write_only=True), |
| 13663 |
'disabled': KeyInfo(), |
| 13664 |
'identity': KeyInfo(), |
| 13665 |
'interfaces': KeyInfo(), |
| 13666 |
'name': KeyInfo(), |
| 13667 |
'numbers': KeyInfo(read_only=True), |
| 13668 |
'port': KeyInfo(), |
| 13669 |
'route-distance': KeyInfo(), |
| 13670 |
}, |
| 13671 |
)), |
| 13672 |
], |
| 13673 |
), |
| 13674 |
|
| 13675 |
('zerotier', 'controller'): APIData( |
| 13676 |
versioned=[ |
| 13677 |
('7.15', '>=', VersionedAPIData( |
| 13678 |
fully_understood=True, |
| 13679 |
fields={ |
| 13680 |
'broadcast': KeyInfo(), |
| 13681 |
'comment': KeyInfo(), |
| 13682 |
# 'copy-from': KeyInfo(write_only=True), |
| 13683 |
'disabled': KeyInfo(), |
| 13684 |
'instance': KeyInfo(), |
| 13685 |
'ip-range': KeyInfo(), |
| 13686 |
'ip6-6plane': KeyInfo(), |
| 13687 |
'ip6-range': KeyInfo(), |
| 13688 |
'ip6-rfc4193': KeyInfo(), |
| 13689 |
'mtu': KeyInfo(), |
| 13690 |
'multicast-limit': KeyInfo(), |
| 13691 |
'name': KeyInfo(), |
| 13692 |
'network': KeyInfo(), |
| 13693 |
'numbers': KeyInfo(read_only=True), |
| 13694 |
'private': KeyInfo(), |
| 13695 |
'routes': KeyInfo(), |
| 13696 |
}, |
| 13697 |
)), |
| 13698 |
], |
| 13699 |
), |
| 13700 |
|
| 13701 |
('zerotier', 'controller', 'member'): APIData( |
| 13702 |
versioned=[ |
| 13703 |
('7.15', '>=', VersionedAPIData( |
| 13704 |
fully_understood=True, |
| 13705 |
fields={ |
| 13706 |
'authorized': KeyInfo(), |
| 13707 |
'bridge': KeyInfo(), |
| 13708 |
'comment': KeyInfo(), |
| 13709 |
# 'copy-from': KeyInfo(write_only=True), |
| 13710 |
'disabled': KeyInfo(), |
| 13711 |
'ip-address': KeyInfo(), |
| 13712 |
'name': KeyInfo(), |
| 13713 |
'network': KeyInfo(), |
| 13714 |
'numbers': KeyInfo(read_only=True), |
| 13715 |
'zt-address': KeyInfo(), |
| 13716 |
}, |
| 13717 |
)), |
| 13718 |
], |
| 13719 |
), |
| 13720 |
|
| 13721 |
('zerotier', 'interface'): APIData( |
| 13722 |
versioned=[ |
| 13723 |
('7.15', '>=', VersionedAPIData( |
| 13724 |
fully_understood=True, |
| 13725 |
fields={ |
| 13726 |
'allow-default': KeyInfo(), |
| 13727 |
'allow-global': KeyInfo(), |
| 13728 |
'allow-managed': KeyInfo(), |
| 13729 |
'arp-timeout': KeyInfo(), |
| 13730 |
'comment': KeyInfo(), |
| 13731 |
# 'copy-from': KeyInfo(write_only=True), |
| 13732 |
'disable-running-check': KeyInfo(), |
| 13733 |
'disabled': KeyInfo(), |
| 13734 |
'instance': KeyInfo(), |
| 13735 |
'name': KeyInfo(), |
| 13736 |
'network': KeyInfo(), |
| 13737 |
'numbers': KeyInfo(read_only=True), |
| 13738 |
}, |
| 13739 |
)), |
| 13740 |
], |
| 13741 |
), |
| 13742 |
|
| 13743 |
} |