From 6de1bee469eb9eef2605eb090bf5f2fb382f10e1 Mon Sep 17 00:00:00 2001 From: Claus Holbech Date: Tue, 22 Oct 2024 09:07:12 +0200 Subject: [PATCH] Rearrange code and minor improvements --- .../_eos_cli_config_gen/schema/__init__.py | 2862 ++++++++++++++++- .../pyavd/_eos_designs/schema/__init__.py | 1286 +++++++- python-avd/pyavd/_schema/coerce_type.py | 73 + python-avd/pyavd/_schema/loader.py | 269 -- python-avd/pyavd/_schema/models/__init__.py | 3 + python-avd/pyavd/_schema/models/avd_base.py | 24 + .../pyavd/_schema/models/avd_indexed_list.py | 145 + .../{models.py => models/avd_model.py} | 195 +- .../_schema/models/eos_designs_root_model.py | 93 + python-avd/pyavd/_schema/models/type_vars.py | 15 + .../generate_classes/class_src_gen.py | 12 + .../generate_classes/src_generators.py | 13 +- 12 files changed, 4547 insertions(+), 443 deletions(-) create mode 100644 python-avd/pyavd/_schema/coerce_type.py delete mode 100644 python-avd/pyavd/_schema/loader.py create mode 100644 python-avd/pyavd/_schema/models/__init__.py create mode 100644 python-avd/pyavd/_schema/models/avd_base.py create mode 100644 python-avd/pyavd/_schema/models/avd_indexed_list.py rename python-avd/pyavd/_schema/{models.py => models/avd_model.py} (68%) create mode 100644 python-avd/pyavd/_schema/models/eos_designs_root_model.py create mode 100644 python-avd/pyavd/_schema/models/type_vars.py diff --git a/python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py b/python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py index d0d511ad10f..feac092231d 100644 --- a/python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py +++ b/python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py @@ -4,7 +4,8 @@ from typing import Any, ClassVar -from pyavd._schema.models import AvdIndexedList, AvdModel +from pyavd._schema.models.avd_indexed_list import AvdIndexedList +from pyavd._schema.models.avd_model import AvdModel from pyavd._utils import Undefined, UndefinedType @@ -14,6 +15,8 @@ class Exec(AvdModel): class Console(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None group: str | None @@ -47,6 +50,8 @@ def __init__( class Default(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None group: str | None @@ -79,6 +84,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "console": {"type": Console}, "default": {"type": Default}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] console: Console default: Default @@ -109,6 +116,8 @@ class System(AvdModel): class Default(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None group: str | None @@ -138,6 +147,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": Default}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: Default @@ -160,6 +171,8 @@ class Dot1x(AvdModel): class Default(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None group: str | None @@ -189,6 +202,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": Default}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: Default @@ -217,6 +232,8 @@ class ConsoleItem(AvdModel): "logging": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] commands: str | None """Privilege level 'all' or 0-15.""" @@ -260,6 +277,8 @@ class DefaultItem(AvdModel): "logging": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] commands: str | None """Privilege level 'all' or 0-15.""" @@ -300,6 +319,8 @@ def __init__( "default": {"type": list, "items": DefaultItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] console: list[ConsoleItem] default: list[DefaultItem] @@ -334,6 +355,8 @@ def __init__( "commands": {"type": Commands}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] exec: Exec system: System @@ -370,6 +393,8 @@ class AaaAuthentication(AvdModel): class Login(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": str}, "console": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: str | None """ @@ -427,6 +452,8 @@ def __init__( class Enable(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: str | None """ @@ -463,6 +490,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Dot1x(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: str | None """ @@ -498,6 +527,8 @@ class Policies(AvdModel): class Local(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "allow_nopassword": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allow_nopassword: bool | None @@ -521,6 +552,8 @@ def __init__( class Lockout(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "failure": {"type": int}, "duration": {"type": int}, "window": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] failure: int | None duration: int | None @@ -558,6 +591,8 @@ def __init__( "lockout": {"type": Lockout}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] on_failure_log: bool | None on_success_log: bool | None @@ -598,6 +633,8 @@ def __init__( "policies": {"type": Policies}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] login: Login enable: Enable @@ -634,6 +671,8 @@ class AaaAuthorization(AvdModel): class Policy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "local_default_role": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local_default_role: str | None @@ -655,6 +694,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Exec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: str | None """ @@ -691,6 +732,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dot1x_additional_groups": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dot1x_additional_groups: list[str] @@ -715,6 +758,8 @@ class Commands(AvdModel): class PrivilegeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Privilege level(s) 0-15.""" @@ -759,6 +804,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "all_default": {"type": str}, "privilege": {"type": list, "items": PrivilegeItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all_default: str | None """ @@ -810,6 +857,8 @@ def __init__( "commands": {"type": Commands}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy: Policy exec: Exec @@ -852,6 +901,8 @@ class AaaRoot(AvdModel): class Secret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sha512_password": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sha512_password: str | None @@ -872,6 +923,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "disabled": {"type": bool}, "secret": {"type": Secret}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Set to `true` to configure `no aaa root` which is the EOS default.""" @@ -903,6 +956,8 @@ class AaaServerGroupsItem(AvdModel): class ServersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "server": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server: str | None """Hostname or IP address.""" @@ -938,6 +993,8 @@ def __init__( "servers": {"type": list, "items": ServersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Group name.""" @@ -977,6 +1034,8 @@ class AccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -1023,6 +1082,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): "sequence_numbers": {"type": SequenceNumbers}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Access-list Name.""" @@ -1073,6 +1134,8 @@ class AddressLocking(AvdModel): class LeasesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": str}, "mac": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip", "mac") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: str """IP address.""" @@ -1105,6 +1168,8 @@ class LockedAddress(AvdModel): "ipv6_enforcement_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] expiration_mac_disabled: bool | None """Configure deauthorizing locked addresses upon MAC aging out.""" @@ -1146,6 +1211,8 @@ def __init__( "locked_address": {"type": LockedAddress}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dhcp_servers_ipv4: list[str] disabled: bool | None @@ -1186,6 +1253,8 @@ class AgentsItem(AvdModel): class EnvironmentVariablesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Environment variable name.""" @@ -1217,6 +1286,8 @@ class EnvironmentVariables(AvdIndexedList[str, EnvironmentVariablesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "environment_variables": {"type": EnvironmentVariables}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Agent name.""" @@ -1254,6 +1325,8 @@ class CategoriesItem(AvdModel): class ApplicationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "service": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Application name.""" @@ -1297,6 +1370,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "applications": {"type": list, "items": ApplicationsItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Category name.""" @@ -1334,6 +1409,8 @@ class FieldSets(AvdModel): class L4PortsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "port_values": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """L4 port field-set name.""" @@ -1369,6 +1446,8 @@ class L4Ports(AvdIndexedList[str, L4PortsItem]): class Ipv4PrefixesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "prefix_values": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """IPv4 prefix field-set name.""" @@ -1403,6 +1482,8 @@ class Ipv4Prefixes(AvdIndexedList[str, Ipv4PrefixesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "l4_ports": {"type": L4Ports}, "ipv4_prefixes": {"type": Ipv4Prefixes}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] l4_ports: L4Ports """L4 port field-set.""" @@ -1447,6 +1528,8 @@ class Ipv4ApplicationsItem(AvdModel): "tcp_dest_port_set_name": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Application name.""" @@ -1601,6 +1684,8 @@ class L4ApplicationsItem(AvdModel): "tcp_dest_port_set_name": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Application name.""" @@ -1724,6 +1809,8 @@ class L4Applications(AvdIndexedList[str, L4ApplicationsItem]): "l4_applications": {"type": L4Applications}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_applications: Ipv4Applications """ @@ -1766,6 +1853,8 @@ class ApplicationProfilesItem(AvdModel): class ApplicationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "service": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Application Name.""" @@ -1810,6 +1899,8 @@ def __init__( class CategoriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "service": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of a category.""" @@ -1859,6 +1950,8 @@ def __init__( "categories": {"type": list, "items": CategoriesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Application Profile name.""" @@ -1903,6 +1996,8 @@ def __init__( "application_profiles": {"type": list, "items": ApplicationProfilesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] categories: Categories """List of categories.""" @@ -1941,6 +2036,8 @@ class Arp(AvdModel): class Persistent(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "refresh_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool """Restore the ARP cache after reboot.""" @@ -1972,6 +2069,8 @@ def __init__( class Aging(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "timeout_default": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timeout_default: int | None """Timeout in seconds.""" @@ -1994,6 +2093,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class StaticEntriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_address": {"type": str}, "vrf": {"type": str}, "mac_address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "ipv4_address", "mac_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_address: str """ARP entry IPv4 address.""" @@ -2033,6 +2134,8 @@ def __init__( "static_entries": {"type": list, "items": StaticEntriesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] persistent: Persistent aging: Aging @@ -2073,6 +2176,8 @@ class EntriesItem(AvdModel): "origin": {"type": str, "default": "any"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None match: str | None @@ -2105,6 +2210,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "entries": {"type": list, "items": EntriesItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Access List Name.""" @@ -2139,6 +2246,8 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "regex_mode": {"type": str}, "access_lists": {"type": AccessLists}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] regex_mode: str | None access_lists: AccessLists @@ -2168,6 +2277,8 @@ def __init__( class Banners(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "login": {"type": str}, "motd": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] login: str | None """Multiline string ending with EOF on the last line.""" @@ -2205,6 +2316,8 @@ class BgpGroupsItem(AvdModel): "bgp_maintenance_profiles": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Group Name.""" @@ -2247,6 +2360,8 @@ class Boot(AvdModel): class Secret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hash_algorithm: str | None key: str | None @@ -2276,6 +2391,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "secret": {"type": Secret}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] secret: Secret @@ -2299,6 +2416,8 @@ class PbrItem(AvdModel): class Ip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "access_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_group: str | None """Standard Access-List Name.""" @@ -2320,6 +2439,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "ip": {"type": Ip}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Class-Map Name.""" @@ -2352,6 +2473,8 @@ class QosItem(AvdModel): class Ip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "access_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_group: str | None """IPv4 Access-List Name.""" @@ -2374,6 +2497,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Ipv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "access_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_group: str | None """IPv6 Access-List Name.""" @@ -2402,6 +2527,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "ipv6": {"type": Ipv6}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Class-Map Name.""" @@ -2447,6 +2574,8 @@ class Qos(AvdIndexedList[str, QosItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pbr": {"type": Pbr}, "qos": {"type": Qos}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pbr: Pbr qos: Qos @@ -2472,6 +2601,8 @@ def __init__( class Clock(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "timezone": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timezone: str | None @@ -2493,6 +2624,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class CommunityListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Community-list Name.""" @@ -2533,6 +2666,8 @@ class Mcs(AvdModel): class Redis(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "password": {"type": str}, "password_type": {"type": str, "default": "7"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] password: str | None """Hashed password using the password_type.""" @@ -2562,6 +2697,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "redis": {"type": Redis}, "shutdown": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] redis: Redis shutdown: bool | None @@ -2591,6 +2728,8 @@ def __init__( class Vxlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "shutdown": {"type": bool}, "vtep_mac_learning": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None vtep_mac_learning: str | None @@ -2619,6 +2758,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mcs": {"type": Mcs}, "vxlan": {"type": Vxlan}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mcs: Mcs vxlan: Vxlan @@ -2653,6 +2794,8 @@ def __init__( "services": {"type": Services}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None peer_hosts: list[str] @@ -2695,6 +2838,8 @@ class Cvauth(AvdModel): "key_file": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] method: str | None key: str | None @@ -2769,6 +2914,8 @@ def __init__( "cvvrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Cluster Name.""" @@ -2864,6 +3011,8 @@ class Cvauth(AvdModel): "key_file": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] method: str | None key: str | None @@ -2951,6 +3100,8 @@ def __init__( "cvconfig": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] cvaddrs: list[str] """ @@ -3134,6 +3285,8 @@ def __init__( class DaemonsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "exec": {"type": str}, "enabled": {"type": bool, "default": True}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "exec") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Daemon Name.""" @@ -3178,6 +3331,8 @@ class DhcpRelay(AvdModel): "mlag_peerlink_requests_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] servers: list[str] tunnel_requests_disabled: bool | None @@ -3211,6 +3366,8 @@ class DhcpServersItem(AvdModel): class LeaseTimeIpv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "days", "hours", "minutes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] days: int hours: int @@ -3243,6 +3400,8 @@ def __init__( class LeaseTimeIpv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "days", "hours", "minutes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] days: int hours: int @@ -3275,6 +3434,8 @@ def __init__( class TftpServer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "file_ipv4": {"type": str}, "file_ipv6": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] file_ipv4: str | None """Name of TFTP file for IPv4 clients.""" @@ -3313,6 +3474,8 @@ class SubOptionsItem(AvdModel): "array_ipv4_address": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "code") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] code: int string: str | None @@ -3388,6 +3551,8 @@ class SubOptions(AvdIndexedList[int, SubOptionsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vendor_id": {"type": str}, "sub_options": {"type": SubOptions}} _required_fields: ClassVar[tuple] = ("_custom_data", "vendor_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vendor_id: str sub_options: SubOptions @@ -3423,6 +3588,8 @@ class SubnetsItem(AvdModel): class RangesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "start": {"type": str}, "end": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "start", "end") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] start: str end: str @@ -3452,6 +3619,8 @@ def __init__( class LeaseTime(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "days", "hours", "minutes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] days: int hours: int @@ -3490,6 +3659,8 @@ class ReservationsItem(AvdModel): "ipv6_address": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "mac_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mac_address: str """Ethernet address in format - HHHH.HHHH.HHHH""" @@ -3551,6 +3722,8 @@ class Reservations(AvdIndexedList[str, ReservationsItem]): "reservations": {"type": Reservations}, } _required_fields: ClassVar[tuple] = ("_custom_data", "subnet") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] subnet: str """IPv4/IPv6 subnet.""" @@ -3615,6 +3788,8 @@ class Subnets(AvdIndexedList[str, SubnetsItem]): "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "vrf") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None vrf: str @@ -3684,6 +3859,8 @@ class Dot1x(AvdModel): class MacBasedAuthentication(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "delay": {"type": int}, "hold_period": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] delay: int | None hold_period: int | None @@ -3713,6 +3890,8 @@ def __init__( class RadiusAvPairUsernameFormat(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "delimiter": {"type": str}, "mac_string_case": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "delimiter", "mac_string_case") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] delimiter: str """Delimiter to use in MAC address string.""" @@ -3744,6 +3923,8 @@ def __init__( class RadiusAvPair(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "service_type": {"type": bool}, "framed_mtu": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] service_type: bool | None framed_mtu: int | None @@ -3776,6 +3957,8 @@ class Action(AvdModel): class CachedResultsTimeout(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "time_duration": {"type": int}, "time_duration_unit": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "time_duration_unit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] time_duration: int | None """ @@ -3825,6 +4008,8 @@ def __init__( "traffic_allow_vlan": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -3874,6 +4059,8 @@ class PhoneAction(AvdModel): class CachedResultsTimeout(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "time_duration": {"type": int}, "time_duration_unit": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "time_duration_unit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] time_duration: int | None """ @@ -3922,6 +4109,8 @@ def __init__( "traffic_allow": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -3972,6 +4161,8 @@ def __init__( "recovery_action_reauthenticate": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] eap_response: str | None """EAP response to send.""" @@ -4009,6 +4200,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "unresponsive": {"type": Unresponsive}, "accounting_update_interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] unresponsive: Unresponsive """Configure AAA timeout options.""" @@ -4047,6 +4240,8 @@ class CaptivePortal(AvdModel): "access_list_ipv4": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool url: str | None @@ -4104,6 +4299,8 @@ class ProfilesItem(AvdModel): "ssl_profile": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str eap_method: str | None @@ -4166,6 +4363,8 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): "disconnect_cached_results_timeout": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profiles: Profiles """Dot1x supplicant profiles.""" @@ -4212,6 +4411,8 @@ def __init__( "supplicant": {"type": Supplicant}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] system_auth_control: bool | None protocol_lldp_bypass: bool | None @@ -4274,6 +4475,8 @@ class DpsInterfacesItem(AvdModel): class FlowTracker(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sampled": {"type": str}, "hardware": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sampled: str | None """Sampled flow tracker name.""" @@ -4305,6 +4508,8 @@ def __init__( class TcpMssCeiling(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: int | None """Segment Size for IPv4.""" @@ -4349,6 +4554,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """"Dps1" is currently the only supported interface.""" @@ -4406,6 +4613,8 @@ class DynamicPrefixListsItem(AvdModel): class PrefixList(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": str}, "ipv6": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: str | None """Prefix-list name.""" @@ -4436,6 +4645,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "match_map": {"type": str}, "prefix_list": {"type": PrefixList}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Dynamic prefix-list name.""" @@ -4470,6 +4681,8 @@ def __init__( class EnablePassword(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "disabled": {"type": bool}, "hash_algorithm": {"type": str}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Set to `true` to configure `no enable password` which is the EOS default.""" @@ -4515,6 +4728,8 @@ class EosCliConfigGenConfiguration(AvdModel): "hide_passwords": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None """Generate device EOS configurations.""" @@ -4551,6 +4766,8 @@ def __init__( class EosCliConfigGenDocumentation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": True}, "hide_passwords": {"type": bool, "default": True}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None """Generate device Markdown documentation.""" @@ -4588,6 +4805,8 @@ class Errdisable(AvdModel): class Detect(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "causes": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] causes: list[str] @@ -4609,6 +4828,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Recovery(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "causes": {"type": list, "items": str}, "interval": {"type": int, "default": 300}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] causes: list[str] interval: int | None @@ -4638,6 +4859,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "detect": {"type": Detect}, "recovery": {"type": Recovery}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] detect: Detect recovery: Recovery @@ -4668,6 +4891,8 @@ class EthernetInterfacesItem(AvdModel): class Phone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "trunk": {"type": str}, "vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] trunk: str | None vlan: int | None @@ -4697,6 +4922,8 @@ def __init__( class L2Protocol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation_dot1q_vlan: int | None """Vlan tag to configure on sub-interface.""" @@ -4728,6 +4955,8 @@ def __init__( class AddressLocking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": bool}, "ipv6": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: bool | None """Enable address locking for IPv4.""" @@ -4759,6 +4988,8 @@ def __init__( class Flowcontrol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "received": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] received: str | None @@ -4780,6 +5011,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracker(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sampled": {"type": str}, "hardware": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sampled: str | None """Sampled flow tracker name.""" @@ -4816,6 +5049,8 @@ class ErrorCorrectionEncoding(AvdModel): "reed_solomon": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None fire_code: bool | None @@ -4848,6 +5083,8 @@ def __init__( class LinkTrackingGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "direction": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Group name.""" @@ -4892,6 +5129,8 @@ class DesignatedForwarderElection(AvdModel): "candidate_reachability_required": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] algorithm: str | None preference_value: int | None @@ -4935,6 +5174,8 @@ def __init__( class Mpls(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shared_index: int | None tunnel_flood_filter_time: int | None @@ -4970,6 +5211,8 @@ def __init__( "route_target": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] identifier: str | None """EVPN Ethernet Segment Identifier (Type 1 format).""" @@ -5010,6 +5253,8 @@ def __init__( class EncapsulationDot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "inner_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "vlan") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int """VLAD ID.""" @@ -5043,6 +5288,8 @@ class Client(AvdModel): class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Client VLAN ID.""" @@ -5086,6 +5333,8 @@ def __init__( "inner_encapsulation": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dot1q: Dot1q unmatched: bool | None @@ -5134,6 +5383,8 @@ class Network(AvdModel): class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Network VLAN ID.""" @@ -5177,6 +5428,8 @@ def __init__( "inner_encapsulation": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dot1q: Dot1q client: bool | None @@ -5231,6 +5484,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client": {"type": Client}, "network": {"type": Network}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client: Client network: Network @@ -5261,6 +5516,8 @@ def __init__( class IpHelpersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str source_interface: str | None @@ -5308,6 +5565,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "pool_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -5360,6 +5619,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -5428,6 +5689,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -5465,6 +5728,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "nat_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -5528,6 +5793,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -5596,6 +5863,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -5629,6 +5898,8 @@ def __init__( "source": {"type": Source}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] service_profile: str | None """NAT interface profile.""" @@ -5668,6 +5939,8 @@ class Ipv6NdPrefixesItem(AvdModel): "no_autoconfig_flag": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv6_prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv6_prefix: str valid_lifetime: str | None @@ -5717,6 +5990,8 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): "link_address": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """DHCP server's IPv6 address.""" @@ -5766,6 +6041,8 @@ class Ipv4(AvdModel): class BoundariesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundary": {"type": str}, "out": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundary: str | None """ACL name or multicast IP subnet.""" @@ -5795,6 +6072,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundaries": {"type": list, "items": BoundariesItem}, "static": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundaries: list[BoundariesItem] static: bool | None @@ -5825,6 +6104,8 @@ class Ipv6(AvdModel): class BoundariesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundary": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundary: str | None """ACL name or multicast IP subnet.""" @@ -5846,6 +6127,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundaries": {"type": list, "items": BoundariesItem}, "static": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundaries: list[BoundariesItem] static: bool | None @@ -5874,6 +6157,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 ipv6: Ipv6 @@ -5903,6 +6188,8 @@ def __init__( class OspfMessageDigestKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int hash_algorithm: str | None @@ -5943,6 +6230,8 @@ class Ipv4(AvdModel): class Hello(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": str}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" @@ -5981,6 +6270,8 @@ def __init__( "hello": {"type": Hello}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -6023,6 +6314,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 @@ -6044,6 +6337,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class MacSecurity(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -6070,6 +6365,8 @@ class TcpMssCeiling(AvdModel): "direction": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_segment_size: int | None ipv6_segment_size: int | None @@ -6102,6 +6399,8 @@ def __init__( class ChannelGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None mode: str | None @@ -6132,6 +6431,8 @@ class Poe(AvdModel): class Reboot(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """PoE action for interface.""" @@ -6154,6 +6455,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class LinkDown(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "power_off_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """PoE action for interface.""" @@ -6190,6 +6493,8 @@ def __init__( class Shutdown(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """PoE action for interface.""" @@ -6210,13 +6515,10 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, setattr(self, arg, arg_value) class Limit(AvdModel): - _fields: ClassVar[dict] = { - "_custom_data": {"type": dict}, - "field_class": {"type": int, "key": "class"}, - "watts": {"type": str}, - "fixed": {"type": bool}, - } + _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_class": {"type": int}, "watts": {"type": str}, "fixed": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_class": "class"} + _key_to_field_map: ClassVar[dict] = {"class": "field_class"} _custom_data: dict[str, Any] field_class: int | None watts: str | None @@ -6259,6 +6561,8 @@ def __init__( "legacy_detect": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Disable PoE on a POE capable port. PoE is enabled on all ports that support it by default in EOS.""" @@ -6332,6 +6636,8 @@ class Ptp(AvdModel): class Announce(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None timeout: int | None @@ -6362,6 +6668,8 @@ class Profile(AvdModel): class G82751(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination_mac_address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination_mac_address: str | None @@ -6384,6 +6692,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "g8275_1": {"type": G82751}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] g8275_1: G82751 @@ -6405,6 +6715,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SyncMessage(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None @@ -6436,6 +6748,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "transport": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None announce: Announce @@ -6488,6 +6802,8 @@ class StormControl(AvdModel): class All(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -6519,6 +6835,8 @@ def __init__( class Broadcast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -6550,6 +6868,8 @@ def __init__( class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -6581,6 +6901,8 @@ def __init__( class UnknownUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -6617,6 +6939,8 @@ def __init__( "unknown_unicast": {"type": UnknownUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all: All broadcast: Broadcast @@ -6659,6 +6983,8 @@ class Event(AvdModel): "storm_control_discards": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] link_status: bool | None congestion_drops: bool | None @@ -6694,6 +7020,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "event": {"type": Event}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] event: Event @@ -6715,6 +7043,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Lldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] transmit: bool | None receive: bool | None @@ -6748,11 +7078,13 @@ def __init__( class VlanTranslationsItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "direction": {"type": str, "default": "both"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str | None """List of vlans as string (only one vlan if direction is "both").""" @@ -6788,6 +7120,8 @@ class Dot1x(AvdModel): class Pae(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None @@ -6809,6 +7143,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class AuthenticationFailure(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "allow_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None allow_vlan: int | None @@ -6838,6 +7174,8 @@ def __init__( class HostMode(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multi_host_authenticated": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None multi_host_authenticated: bool | None @@ -6872,6 +7210,8 @@ class MacBasedAuthentication(AvdModel): "host_mode_common": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -6911,6 +7251,8 @@ class Timeout(AvdModel): "tx_period": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] idle_host: int | None quiet_period: int | None @@ -6954,6 +7296,8 @@ class Unauthorized(AvdModel): "native_vlan_membership_egress": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_vlan_membership_egress: bool | None native_vlan_membership_egress: bool | None @@ -6984,6 +7328,8 @@ class Eapol(AvdModel): class AuthenticationFailureFallbackMba(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None timeout: int | None @@ -7016,6 +7362,8 @@ def __init__( "authentication_failure_fallback_mba": {"type": AuthenticationFailureFallbackMba}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None authentication_failure_fallback_mba: AuthenticationFailureFallbackMba @@ -7048,6 +7396,8 @@ class Action(AvdModel): class CachedResultsTimeout(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "time_duration": {"type": int}, "time_duration_unit": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "time_duration_unit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] time_duration: int | None """ @@ -7098,6 +7448,8 @@ def __init__( "traffic_allow_vlan": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] traffic_allow_access_list: str | None """Name of standard access-list to apply when AAA times out.""" @@ -7151,6 +7503,8 @@ class PhoneAction(AvdModel): class CachedResultsTimeout(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "time_duration": {"type": int}, "time_duration_unit": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "time_duration_unit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] time_duration: int | None """ @@ -7199,6 +7553,8 @@ def __init__( "traffic_allow": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -7248,6 +7604,8 @@ def __init__( "phone_action": {"type": PhoneAction}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] eap_response: str | None """EAP response to send. EOS default is `success`.""" @@ -7282,6 +7640,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "unresponsive": {"type": Unresponsive}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] unresponsive: Unresponsive """Configure AAA timeout options.""" @@ -7318,6 +7678,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "aaa": {"type": Aaa}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_control: str | None port_control_force_authorized_phone: bool | None @@ -7381,6 +7743,8 @@ def __init__( class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -7419,6 +7783,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Qos(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] trust: str | None dscp: int | None @@ -7454,6 +7820,8 @@ class PriorityFlowControl(AvdModel): class PrioritiesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "priority": {"type": int}, "no_drop": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "priority") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] priority: int no_drop: bool | None @@ -7487,6 +7855,8 @@ class Priorities(AvdIndexedList[int, PrioritiesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "priorities": {"type": Priorities}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None priorities: Priorities @@ -7522,6 +7892,8 @@ class Bfd(AvdModel): "multiplier": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] echo: bool | None interval: int | None @@ -7560,6 +7932,8 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str | None """Policy Based Routing Policy-map name.""" @@ -7582,6 +7956,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Qos(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "input") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str """Quality of Service Policy-map name.""" @@ -7603,6 +7979,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pbr": {"type": Pbr}, "qos": {"type": Qos}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pbr: Pbr qos: Qos @@ -7629,6 +8007,8 @@ class Mpls(AvdModel): class Ldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": bool}, "igp_sync": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: bool | None igp_sync: bool | None @@ -7657,6 +8037,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": bool}, "ldp": {"type": Ldp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: bool | None ldp: Ldp @@ -7686,6 +8068,8 @@ def __init__( class LacpTimer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None multiplier: int | None @@ -7716,6 +8100,8 @@ class Transceiver(AvdModel): class Media(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "override": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] override: str | None """Transceiver type.""" @@ -7737,6 +8123,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "frequency": {"type": str}, "frequency_unit": {"type": str}, "media": {"type": Media}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] frequency: str | None """Transceiver Laser Frequency in GHz (min 190000, max 200000).""" @@ -7771,6 +8159,8 @@ def __init__( class TrafficPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}, "output": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str | None """Ingress traffic policy.""" @@ -7802,6 +8192,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "session_tracker": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] session_tracker: str | None """Name of session tracker.""" @@ -7826,6 +8218,8 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -7852,6 +8246,8 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -7877,6 +8273,8 @@ class Include(AvdIndexedList[str, IncludeItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} _required_fields: ClassVar[tuple] = ("_custom_data", "group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] group: str """Multicast Address.""" @@ -7917,6 +8315,8 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str @@ -7949,6 +8349,8 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: Groups @@ -7991,6 +8393,8 @@ class Sflow(AvdModel): class Egress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "unmodified_enable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None unmodified_enable: bool | None @@ -8019,6 +8423,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "egress": {"type": Egress}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None egress: Egress @@ -8048,6 +8454,8 @@ def __init__( class SyncE(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "priority": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None priority: str | None @@ -8093,6 +8501,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "min", "max") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """Indicate the units to be used for the threshold values.""" @@ -8135,6 +8545,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": bool}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: bool | None """Enable counter for random-detect ECNs.""" @@ -8164,6 +8576,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ecn": {"type": Ecn}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ecn: Ecn """Explicit Congestion Notification.""" @@ -8185,6 +8599,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "random_detect": {"type": RandomDetect}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """TX-Queue ID.""" @@ -8230,6 +8646,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "max", "max_probability") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """Indicate the units to be used for the threshold values.""" @@ -8272,6 +8690,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": bool}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: bool | None """Enable counter for random-detect ECNs.""" @@ -8301,6 +8721,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ecn": {"type": Ecn}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ecn: Ecn """Explicit Congestion Notification.""" @@ -8322,6 +8744,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "random_detect": {"type": RandomDetect}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """TX-Queue ID.""" @@ -8358,6 +8782,8 @@ class VrrpIdsItem(AvdModel): class Advertisement(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None """Interval in seconds.""" @@ -8381,6 +8807,8 @@ class Preempt(AvdModel): class Delay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "minimum": {"type": int}, "reload": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] minimum: int | None """Minimum preempt delay in seconds.""" @@ -8411,6 +8839,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "delay": {"type": Delay}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool delay: Delay @@ -8441,6 +8871,8 @@ class Timers(AvdModel): class Delay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "reload": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] reload: int | None """Delay after reload in seconds.""" @@ -8462,6 +8894,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "delay": {"type": Delay}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] delay: Delay @@ -8483,6 +8917,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class TrackedObjectItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tracked object name.""" @@ -8522,6 +8958,8 @@ class TrackedObject(AvdIndexedList[str, TrackedObjectItem]): class Ipv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}, "version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Virtual IPv4 address.""" @@ -8552,6 +8990,8 @@ def __init__( class Ipv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Virtual IPv6 address.""" @@ -8583,6 +9023,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "ipv6": {"type": Ipv6}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VRID.""" @@ -8645,6 +9087,8 @@ class Trunk(AvdModel): "groups": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allowed_vlan: str | None """ @@ -8716,6 +9160,8 @@ def __init__( class Phone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "trunk": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Warning: This should not be combined with `ethernet_interfaces[].phone.vlan`.""" @@ -8747,6 +9193,8 @@ def __init__( class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ethertype": {"type": int}, "vlan_tag": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ethertype: int | None """Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames.""" @@ -8779,12 +9227,14 @@ class VlanTranslations(AvdModel): class DirectionInItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "field_from", "to") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -8823,12 +9273,14 @@ def __init__( class DirectionOutItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel_to": {"type": str}, "inner_vlan_to": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "field_from") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -8875,13 +9327,15 @@ def __init__( class DirectionBothItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, "network": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "field_from", "to") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -8937,6 +9391,8 @@ def __init__( "direction_both": {"type": list, "items": DirectionBothItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] in_required: bool | None """Drop the ingress traffic that do not match any VLAN mapping.""" @@ -8980,6 +9436,8 @@ def __init__( class BackupLink(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": str}, "prefer_vlan": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: str | None """Backup interface. Example - Ethernet4, Vlan10 etc.""" @@ -9018,6 +9476,8 @@ class Backup(AvdModel): "preemption_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dest_macaddr: str | None """ @@ -9069,6 +9529,8 @@ class PortSecurity(AvdModel): class MacAddressMaximum(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "disabled": {"type": bool}, "limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Disable port level check for port security (only in violation 'shutdown' mode).""" @@ -9100,6 +9562,8 @@ def __init__( class Violation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "protect_log": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """Configure port security mode.""" @@ -9131,6 +9595,8 @@ def __init__( class VlansItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "range": {"type": str}, "mac_address_maximum": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "range", "mac_address_maximum") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] range: str """ @@ -9184,6 +9650,8 @@ class Vlans(AvdIndexedList[str, VlansItem]): "vlans": {"type": Vlans}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None mac_address_maximum: MacAddressMaximum @@ -9239,6 +9707,8 @@ def __init__( "port_security": {"type": PortSecurity}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Warning: This should not be combined with `ethernet_interfaces[].type = routed`.""" @@ -9448,6 +9918,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str description: str | None @@ -9902,6 +10374,8 @@ class Actions(AvdModel): "increment_device_health_metric": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bash_command: str | None """Define BASH command action. Command could be multiline also.""" @@ -9942,6 +10416,8 @@ class TriggerOnCounters(AvdModel): "poll_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] condition: str | None """Set the logical expression to evaluate.""" @@ -9990,6 +10466,8 @@ def __init__( class TriggerOnLogging(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "poll_interval": {"type": int}, "regex": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] poll_interval: int | None """Set the polling interval in seconds.""" @@ -10027,6 +10505,8 @@ class TriggerOnIntf(AvdModel): "operstatus": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "interface") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: str """ @@ -10084,6 +10564,8 @@ class TriggerOnMaintenance(AvdModel): "unit": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "operation", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] operation: str bgp_peer: str | None @@ -10151,6 +10633,8 @@ def __init__( "asynchronous": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Event Handler Name.""" @@ -10220,6 +10704,8 @@ class EventHandlers(AvdIndexedList[str, EventHandlersItem]): class EventMonitor(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -10243,6 +10729,8 @@ class Sampled(AvdModel): class Encapsulation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_ipv6: bool | None mpls: bool | None @@ -10272,6 +10760,8 @@ def __init__( class HardwareOffload(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: bool | None """Configure hardware offload for IPv4 traffic.""" @@ -10313,6 +10803,8 @@ class RecordExport(AvdModel): "on_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mpls: bool | None """Export MPLS forwarding information.""" @@ -10349,6 +10841,8 @@ class ExportersItem(AvdModel): class Collector(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "host": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name.""" @@ -10380,6 +10874,8 @@ def __init__( class Format(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipfix_version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipfix_version: int | None @@ -10409,6 +10905,8 @@ def __init__( "template_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Exporter Name.""" @@ -10460,6 +10958,8 @@ class Exporters(AvdIndexedList[str, ExportersItem]): "exporters": {"type": Exporters}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] table_size: int | None """Maximum number of entries in flow table.""" @@ -10508,6 +11008,8 @@ class Trackers(AvdIndexedList[str, TrackersItem]): "shutdown": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation: Encapsulation sample: int | None @@ -10547,6 +11049,8 @@ class Hardware(AvdModel): class Record(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "format_ipfix_standard_timestamps_counters": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] format_ipfix_standard_timestamps_counters: bool | None """Enable software export of IPFIX data records.""" @@ -10575,6 +11079,8 @@ class TrackersItem(AvdModel): class RecordExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "on_inactive_timeout": {"type": int}, "on_interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] on_inactive_timeout: int | None """Flow record inactive export timeout in milliseconds.""" @@ -10607,6 +11113,8 @@ class ExportersItem(AvdModel): class Collector(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "host": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name.""" @@ -10638,6 +11146,8 @@ def __init__( class Format(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipfix_version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipfix_version: int | None @@ -10667,6 +11177,8 @@ def __init__( "template_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Exporter Name.""" @@ -10717,6 +11229,8 @@ class Exporters(AvdIndexedList[str, ExportersItem]): "exporters": {"type": Exporters}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tracker Name.""" @@ -10759,6 +11273,8 @@ class Trackers(AvdIndexedList[str, TrackersItem]): "shutdown": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] record: Record trackers: Trackers @@ -10790,6 +11306,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sampled": {"type": Sampled}, "hardware": {"type": Hardware}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sampled: Sampled hardware: Hardware @@ -10820,6 +11338,8 @@ class Hardware(AvdModel): class AccessList(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mechanism": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mechanism: str | None @@ -10841,6 +11361,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SpeedGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "speed_group": {"type": str}, "serdes": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "speed_group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] speed_group: str serdes: str | None @@ -10876,6 +11398,8 @@ class SpeedGroups(AvdIndexedList[str, SpeedGroupsItem]): class PortGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "port_group": {"type": str}, "select": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "port_group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_group: str select: str | None @@ -10915,6 +11439,8 @@ class PortGroups(AvdIndexedList[str, PortGroupsItem]): "port_groups": {"type": PortGroups}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: AccessList speed_groups: SpeedGroups @@ -10957,6 +11483,8 @@ class FeaturesItem(AvdModel): "units_packets": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str direction: str | None @@ -11041,6 +11569,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "features": {"type": list, "items": FeaturesItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] features: list[FeaturesItem] """ @@ -11158,6 +11688,8 @@ class InterfaceDefaults(AvdModel): class Ethernet(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "shutdown": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None @@ -11178,6 +11710,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ethernet": {"type": Ethernet}, "mtu": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ethernet: Ethernet mtu: int | None @@ -11213,6 +11747,8 @@ class InterfaceGroupsItem(AvdModel): "interface_maintenance_profiles": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface-Group name.""" @@ -11254,6 +11790,8 @@ class InterfaceGroups(AvdIndexedList[str, InterfaceGroupsItem]): class InterfaceProfilesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "commands": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "commands") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface-Profile Name.""" @@ -11315,6 +11853,8 @@ class EntriesItem(AvdModel): "vlan_mask": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int | None """ACL entry sequence number.""" @@ -11456,6 +11996,8 @@ def __init__( "permit_response_traffic": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Access-list Name.""" @@ -11512,6 +12054,8 @@ class EntriesItem(AvdModel): "regexp": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str communities: list[str] @@ -11571,6 +12115,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "entries": {"type": list, "items": EntriesItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "entries") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """IP Community-list Name.""" @@ -11611,6 +12157,8 @@ class IpDhcpRelay(AvdModel): "information_option": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always_on: bool | None """DhcpRelay Agent will be in always-on mode.""" @@ -11652,6 +12200,8 @@ class InformationOption(AvdModel): "circuit_id_format": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable insertion of option-82 in DHCP request packets.""" @@ -11701,6 +12251,8 @@ def __init__( "vlan": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None bridging: bool | None @@ -11745,6 +12297,8 @@ class IpDomainLookup(AvdModel): class SourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Source Interface.""" @@ -11779,6 +12333,8 @@ class SourceInterfaces(AvdIndexedList[str, SourceInterfacesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_interfaces": {"type": SourceInterfaces}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_interfaces: SourceInterfaces @@ -11803,6 +12359,8 @@ class IpExtcommunityListsItem(AvdModel): class EntriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "extcommunities": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "type", "extcommunities") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str extcommunities: str @@ -11837,6 +12395,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "entries": {"type": list, "items": EntriesItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "entries") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Community-list Name.""" @@ -11873,6 +12433,8 @@ class IpExtcommunityListsRegexpItem(AvdModel): class EntriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "regexp": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "type", "regexp") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str regexp: str @@ -11902,6 +12464,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "entries": {"type": list, "items": EntriesItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "entries") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Community-list Name.""" @@ -11937,6 +12501,8 @@ class IpExtcommunityListsRegexp(AvdIndexedList[str, IpExtcommunityListsRegexpIte class IpFtpClientSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface Name.""" @@ -11971,6 +12537,8 @@ class Optimize(AvdModel): class Prefixes(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -11991,6 +12559,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefixes": {"type": Prefixes}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefixes: Prefixes @@ -12011,6 +12581,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "optimize": {"type": Optimize}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] optimize: Optimize @@ -12031,6 +12603,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "fib": {"type": Fib}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] fib: Fib @@ -12052,6 +12626,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class IpHttpClientSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface Name.""" @@ -12094,6 +12670,8 @@ class Querier(AvdModel): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None address: str | None @@ -12157,6 +12735,8 @@ class Querier(AvdModel): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None address: str | None @@ -12215,6 +12795,8 @@ def __init__( "proxy": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VLAN ID.""" @@ -12272,6 +12854,8 @@ class Vlans(AvdIndexedList[int, VlansItem]): "vlans": {"type": Vlans}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] globally_enabled: bool | None """ @@ -12325,6 +12909,8 @@ def __init__( class IpNameServersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "vrf": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str """IPv4 or IPv6 address for DNS server.""" @@ -12369,6 +12955,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "pool_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -12421,6 +13009,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -12489,6 +13079,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -12526,6 +13118,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "nat_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -12589,6 +13183,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -12657,6 +13253,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -12691,6 +13289,8 @@ def __init__( "source": {"type": Source}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str vrf: str | None @@ -12739,6 +13339,8 @@ class RangesItem(AvdModel): "last_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] first_ip: str | None """ @@ -12802,6 +13404,8 @@ def __init__( "utilization_log_threshold": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str type: str | None @@ -12852,6 +13456,8 @@ class PortRange(AvdModel): "split_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] first_port: int | None last_port: int | None @@ -12892,6 +13498,8 @@ def __init__( "shutdown": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None expiry_interval: int | None @@ -12937,6 +13545,8 @@ class Translation(AvdModel): class AddressSelection(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "any": {"type": bool}, "hash_field_source_ip": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] any: bool | None hash_field_source_ip: bool | None @@ -12966,6 +13576,8 @@ def __init__( class LowMark(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "percentage": {"type": int}, "host_percentage": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] percentage: int | None """Used to render 'ip nat translation low-mark '.""" @@ -12998,6 +13610,8 @@ class MaxEntries(AvdModel): class IpLimitsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": str}, "limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip", "limit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: str """IPv4 address.""" @@ -13032,6 +13646,8 @@ class IpLimits(AvdIndexedList[str, IpLimitsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "limit": {"type": int}, "host_limit": {"type": int}, "ip_limits": {"type": IpLimits}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] limit: int | None host_limit: int | None @@ -13064,6 +13680,8 @@ def __init__( class TimeoutsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "protocol": {"type": str}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "protocol", "timeout") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str timeout: int @@ -13105,6 +13723,8 @@ class Timeouts(AvdIndexedList[str, TimeoutsItem]): "timeouts": {"type": Timeouts}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_selection: AddressSelection counters: bool | None @@ -13149,6 +13769,8 @@ def __init__( "translation": {"type": Translation}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] kernel_buffer_size: int | None """Buffer size in MB.""" @@ -13188,6 +13810,8 @@ def __init__( class IpRadiusSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface Name.""" @@ -13228,6 +13852,8 @@ class IkePoliciesItem(AvdModel): "dh_group": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Policy name.""" @@ -13297,6 +13923,8 @@ class SaPoliciesItem(AvdModel): class SaLifetime(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "value": {"type": int}, "unit": {"type": str, "default": "hours"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] value: int | None """ @@ -13342,6 +13970,8 @@ def __init__( class Esp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "integrity": {"type": str}, "encryption": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] integrity: str | None encryption: str | None @@ -13376,6 +14006,8 @@ def __init__( "pfs_dh_group": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of the SA policy.""" @@ -13418,6 +14050,8 @@ class ProfilesItem(AvdModel): class Dpd(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "time": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "time", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval (in seconds) between keep-alive messages.""" @@ -13475,6 +14109,8 @@ def __init__( "flow_parallelization_encapsulation_udp": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of the IPsec profile.""" @@ -13542,6 +14178,8 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): class KeyController(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """IPsec profile name to use.""" @@ -13570,6 +14208,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "hardware_encryption_disabled": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ike_policies: IkePolicies """Internet Security Association and Key Mgmt Protocol.""" @@ -13617,6 +14257,8 @@ def __init__( class IpSshClientSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str, "default": "default"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface Name.""" @@ -13647,6 +14289,8 @@ def __init__( class IpTacacsSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface name.""" @@ -13677,6 +14321,8 @@ def __init__( class IpTelnetClientSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface Name.""" @@ -13708,6 +14354,8 @@ def __init__( class IpTftpClientSourceInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface Name.""" @@ -13740,6 +14388,8 @@ class Ipv6AccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -13785,6 +14435,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): "sequence_numbers": {"type": SequenceNumbers}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """IPv6 Access-list Name.""" @@ -13824,6 +14476,8 @@ class Ipv6DhcpRelay(AvdModel): class Option(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "link_layer_address": {"type": bool}, "remote_id_format": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] link_layer_address: bool | None """Add Option 79 (Link Layer Address Option).""" @@ -13859,6 +14513,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "always_on": {"type": bool}, "all_subnets": {"type": bool}, "option": {"type": Option}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always_on: bool | None """DhcpRelay Agent will be in always-on mode, off by default.""" @@ -13897,6 +14553,8 @@ class Optimize(AvdModel): class Prefixes(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """Pre-defined profile 'internet' or user-defined profile name.""" @@ -13918,6 +14576,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefixes": {"type": Prefixes}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefixes: Prefixes @@ -13938,6 +14598,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "optimize": {"type": Optimize}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] optimize: Optimize @@ -13958,6 +14620,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "fib": {"type": Fib}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] fib: Fib @@ -13986,6 +14650,8 @@ class StaticEntriesItem(AvdModel): "mac_address": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv6_address", "interface", "mac_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv6_address: str """IPv6 address of neighbor.""" @@ -14024,6 +14690,8 @@ def __init__( class Persistent(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "refresh_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool """Restore the IPv6 neighbor cache after reboot.""" @@ -14065,6 +14733,8 @@ def __init__( "persistent": {"type": Persistent}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] static_entries: list[StaticEntriesItem] """Static IPv6 neighbor entries.""" @@ -14096,6 +14766,8 @@ class Ipv6PrefixListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -14136,6 +14808,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Prefix-list Name.""" @@ -14172,6 +14846,8 @@ class Ipv6StandardAccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -14217,6 +14893,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): "sequence_numbers": {"type": SequenceNumbers}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Access-list Name.""" @@ -14266,6 +14944,8 @@ class Ipv6StaticRoutesItem(AvdModel): "metric": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vrf: str | None destination_address_prefix: str | None @@ -14328,6 +15008,8 @@ class ProtocolsItem(AvdModel): "untagged_forward": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str forward: bool | None @@ -14367,6 +15049,8 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "protocols": {"type": Protocols}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str protocols: Protocols @@ -14400,6 +15084,8 @@ class ForwardingProfiles(AvdIndexedList[str, ForwardingProfilesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "forwarding_profiles": {"type": ForwardingProfiles}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] forwarding_profiles: ForwardingProfiles @@ -14425,6 +15111,8 @@ class PortId(AvdModel): class Range(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "begin": {"type": int}, "end": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] begin: int | None """Minimum LACP port-ID range.""" @@ -14455,6 +15143,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "range": {"type": Range}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] range: Range @@ -14476,6 +15166,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class RateLimit(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: bool | None """Enable LACPDU rate limiting by default on all ports.""" @@ -14502,6 +15194,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "system_priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_id: PortId """LACP port-ID range configuration.""" @@ -14537,6 +15231,8 @@ def __init__( class LinkTrackingGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "links_minimum": {"type": int}, "recovery_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str links_minimum: int | None @@ -14575,6 +15271,8 @@ class Lldp(AvdModel): class TlvsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "transmit": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str transmit: bool | None @@ -14618,6 +15316,8 @@ class Tlvs(AvdIndexedList[str, TlvsItem]): "run": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timer: int | None timer_reinitialization: str | None @@ -14665,6 +15365,8 @@ def __init__( class LoadInterval(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: int | None """Default load interval in seconds.""" @@ -14698,6 +15400,8 @@ class LocalUsersItem(AvdModel): "shell": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Username.""" @@ -14780,6 +15484,8 @@ class Logging(AvdModel): class Buffered(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "size": {"type": int}, "level": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] size: int | None level: str | None @@ -14810,6 +15516,8 @@ def __init__( class Synchronous(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str, "default": "critical"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Synchronous logging severity level.""" @@ -14838,6 +15546,8 @@ class Format(AvdModel): "rfc5424": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timestamp: str | None """Timestamp format.""" @@ -14883,6 +15593,8 @@ class HostsItem(AvdModel): "ports": {"type": list, "items": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Syslog server name.""" @@ -14920,6 +15632,8 @@ class Hosts(AvdIndexedList[str, HostsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "source_interface": {"type": str}, "hosts": {"type": Hosts}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -14961,6 +15675,8 @@ class Match(AvdModel): class MatchListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Match list.""" @@ -14995,6 +15711,8 @@ class MatchLists(AvdIndexedList[str, MatchListsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "match_lists": {"type": MatchLists}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] match_lists: MatchLists @@ -15015,6 +15733,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "match": {"type": Match}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] match: Match @@ -15036,8 +15756,10 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Event(AvdModel): class StormControl(AvdModel): class Discards(AvdModel): - _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_global": {"type": bool, "key": "global"}, "interval": {"type": int}} + _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_global": {"type": bool}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_global": "global"} + _key_to_field_map: ClassVar[dict] = {"global": "field_global"} _custom_data: dict[str, Any] field_global: bool | None interval: int | None @@ -15067,6 +15789,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "discards": {"type": Discards}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] discards: Discards @@ -15092,6 +15816,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "storm_control": {"type": StormControl}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] congestion_drops_interval: int | None """Logging interval in seconds.""" @@ -15125,6 +15851,8 @@ def __init__( class LevelItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "facility": {"type": str}, "severity": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "facility") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] facility: str severity: str | None @@ -15203,6 +15931,8 @@ class Level(AvdIndexedList[str, LevelItem]): "level": {"type": Level}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] console: str | None """Console logging severity level.""" @@ -15273,6 +16003,8 @@ class Mpls(AvdModel): class Ldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: bool | None @@ -15293,6 +16025,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ldp": {"type": Ldp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ldp: Ldp @@ -15314,6 +16048,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class NodeSegment(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_index": {"type": int}, "ipv6_index": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_index: int | None ipv6_index: int | None @@ -15362,6 +16098,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Loopback interface name e.g. "Loopback0".""" @@ -15452,6 +16190,8 @@ class MacAccessListsItem(AvdModel): class EntriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int | None action: str | None @@ -15485,6 +16225,8 @@ def __init__( "entries": {"type": list, "items": EntriesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """MAC Access-list Name.""" @@ -15525,6 +16267,8 @@ class NotificationHostFlap(AvdModel): class Detection(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "window": {"type": int}, "moves": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] window: int | None moves: int | None @@ -15553,6 +16297,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "logging": {"type": bool}, "detection": {"type": Detection}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] logging: bool | None detection: Detection @@ -15581,6 +16327,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "aging_time": {"type": int}, "notification_host_flap": {"type": NotificationHostFlap}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] aging_time: int | None """Aging time in seconds.""" @@ -15612,6 +16360,8 @@ class MacSecurity(AvdModel): class License(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "license_name": {"type": str}, "license_key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "license_name", "license_key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] license_name: str license_key: str @@ -15642,6 +16392,8 @@ class ProfilesItem(AvdModel): class ConnectionKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": str}, "encrypted_key": {"type": str}, "fallback": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str encrypted_key: str | None @@ -15680,6 +16432,8 @@ class Mka(AvdModel): class Session(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rekey_period": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rekey_period: int | None """Rekey period in seconds.""" @@ -15703,6 +16457,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_server_priority": {"type": int}, "session": {"type": Session}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_server_priority: int | None session: Session @@ -15733,6 +16489,8 @@ class L2Protocols(AvdModel): class EthernetFlowControl(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "mode") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str @@ -15754,6 +16512,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Lldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "mode") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str @@ -15774,6 +16534,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ethernet_flow_control": {"type": EthernetFlowControl}, "lldp": {"type": Lldp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ethernet_flow_control: EthernetFlowControl lldp: Lldp @@ -15803,6 +16565,8 @@ def __init__( class TrafficUnprotected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "allow_active_sak": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Allow/drop the transmit/receive of unprotected traffic.""" @@ -15842,6 +16606,8 @@ def __init__( "traffic_unprotected": {"type": TrafficUnprotected}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Profile-Name.""" @@ -15896,6 +16662,8 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): "profiles": {"type": Profiles}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] license: License fips_restrictions: bool | None @@ -15930,6 +16698,8 @@ class InterfaceProfilesItem(AvdModel): class RateMonitoring(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "load_interval": {"type": int}, "threshold": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] load_interval: int | None """Load Interval in Seconds.""" @@ -15961,6 +16731,8 @@ def __init__( class Shutdown(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "max_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] max_delay: int | None """Max delay in seconds.""" @@ -15987,6 +16759,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "shutdown": {"type": Shutdown}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str rate_monitoring: RateMonitoring @@ -16025,6 +16799,8 @@ class BgpProfilesItem(AvdModel): class Initiator(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "route_map_inout": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] route_map_inout: str | None """Route Map.""" @@ -16048,6 +16824,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "initiator": {"type": Initiator}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """BGP Profile Name.""" @@ -16084,6 +16862,8 @@ class UnitProfilesItem(AvdModel): class OnBoot(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "duration": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] duration: int | None """On-boot in seconds.""" @@ -16105,6 +16885,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "on_boot": {"type": OnBoot}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Unit Profile Name.""" @@ -16145,6 +16927,8 @@ class Groups(AvdModel): "interface_groups": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp_groups: list[str] interface_groups: list[str] @@ -16179,6 +16963,8 @@ def __init__( "groups": {"type": Groups}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Unit Name.""" @@ -16229,6 +17015,8 @@ class Units(AvdIndexedList[str, UnitsItem]): "units": {"type": Units}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default_interface_profile: str | None """Name of default Interface Profile.""" @@ -16277,6 +17065,8 @@ class ManagementAccounts(AvdModel): class Password(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy: str | None @@ -16297,6 +17087,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "password": {"type": Password}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] password: Password @@ -16328,6 +17120,8 @@ class GrpcItem(AvdModel): "port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Transport name.""" @@ -16405,6 +17199,8 @@ class GrpcTunnelsItem(AvdModel): class Destination(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "address", "port") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """IP address or hostname.""" @@ -16436,6 +17232,8 @@ def __init__( class LocalInterface(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "port") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface name.""" @@ -16467,6 +17265,8 @@ def __init__( class Target(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "use_serial_number": {"type": bool}, "target_ids": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] use_serial_number: bool | None """Use serial number as the Target ID.""" @@ -16507,6 +17307,8 @@ def __init__( "target": {"type": Target}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Transport name.""" @@ -16563,6 +17365,8 @@ class GrpcTunnels(AvdIndexedList[str, GrpcTunnelsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "grpc": {"type": Grpc}, "grpc_tunnels": {"type": GrpcTunnels}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] grpc: Grpc grpc_tunnels: GrpcTunnels @@ -16591,6 +17395,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "provider": {"type": str, "default": "eos-native"}, "transport": {"type": Transport}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] provider: str | None transport: Transport @@ -16621,6 +17427,8 @@ class ManagementApiHttp(AvdModel): class EnableVrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "access_group": {"type": str}, "ipv6_access_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -16661,6 +17469,8 @@ class EnableVrfs(AvdIndexedList[str, EnableVrfsItem]): class ProtocolHttpsCertificate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "certificate": {"type": str}, "private_key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] certificate: str | None """Name of certificate; private key must also be specified.""" @@ -16699,6 +17509,8 @@ def __init__( "protocol_https_certificate": {"type": ProtocolHttpsCertificate}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable_http: bool | None enable_https: bool | None @@ -16744,6 +17556,8 @@ class ProvidersItem(AvdModel): class PathsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "path": {"type": str}, "disabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] path: str | None disabled: bool | None @@ -16772,6 +17586,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "paths": {"type": list, "items": PathsItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None paths: list[PathsItem] @@ -16800,6 +17616,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "providers": {"type": list, "items": ProvidersItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] providers: list[ProvidersItem] @@ -16821,6 +17639,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class ManagementConsole(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "idle_timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] idle_timeout: int | None @@ -16848,6 +17668,8 @@ class ManagementCvx(AvdModel): "vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None server_hosts: list[str] @@ -16886,6 +17708,8 @@ class ManagementDefaults(AvdModel): class Secret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hash": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hash: str | None @@ -16906,6 +17730,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "secret": {"type": Secret}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] secret: Secret @@ -16928,6 +17754,8 @@ class ManagementInterfacesItem(AvdModel): class Lldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] transmit: bool | None receive: bool | None @@ -16977,6 +17805,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Management Interface Name.""" @@ -17072,6 +17902,8 @@ class EntropySources(AvdModel): "hardware_exclusive": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hardware: bool | None """Use a hardware based source.""" @@ -17120,6 +17952,8 @@ class Minimum(AvdModel): "upper": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] digits: int | None length: int | None @@ -17158,6 +17992,8 @@ def __init__( class Maximum(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "repetitive": {"type": int}, "sequential": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] repetitive: int | None sequential: int | None @@ -17186,6 +18022,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "minimum": {"type": Minimum}, "maximum": {"type": Maximum}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str minimum: Minimum @@ -17228,6 +18066,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "policies": {"type": Policies}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] minimum_length: int | None encryption_key_common: bool | None @@ -17265,6 +18105,8 @@ class TrustCertificate(AvdModel): class Requirement(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "basic_constraint_ca": {"type": bool}, "hostname_fqdn": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] basic_constraint_ca: bool | None hostname_fqdn: bool | None @@ -17300,6 +18142,8 @@ def __init__( "system": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] certificates: list[str] """ @@ -17348,6 +18192,8 @@ class ChainCertificate(AvdModel): class Requirement(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "basic_constraint_ca": {"type": bool}, "include_root_ca": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] basic_constraint_ca: bool | None include_root_ca: bool | None @@ -17376,6 +18222,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "certificates": {"type": list, "items": str}, "requirement": {"type": Requirement}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] certificates: list[str] """ @@ -17416,6 +18264,8 @@ def __init__( class Certificate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "file": {"type": str}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] file: str | None key: str | None @@ -17453,6 +18303,8 @@ def __init__( "certificate_revocation_lists": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None tls_versions: str | None @@ -17531,6 +18383,8 @@ class ReceiveLifetime(AvdModel): "end_date_time": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] infinite: bool | None start_date_time: str | None @@ -17596,6 +18450,8 @@ class TransmitLifetime(AvdModel): "end_date_time": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] infinite: bool | None start_date_time: str | None @@ -17663,6 +18519,8 @@ def __init__( "local_time": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "secret", "receive_lifetime", "transmit_lifetime") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str secret: str @@ -17709,6 +18567,8 @@ class Secrets(AvdIndexedList[str, SecretsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "secrets": {"type": Secrets}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str secrets: Secrets @@ -17748,6 +18608,8 @@ class SharedSecretProfiles(AvdIndexedList[str, SharedSecretProfilesItem]): "shared_secret_profiles": {"type": SharedSecretProfiles}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] entropy_sources: EntropySources """Source of entropy.""" @@ -17785,6 +18647,8 @@ class ManagementSsh(AvdModel): class Authentication(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "empty_passwords": {"type": str}, "protocols": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] empty_passwords: str | None """Permit or deny empty passwords for SSH authentication.""" @@ -17816,6 +18680,8 @@ def __init__( class AccessGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Standard ACL Name.""" @@ -17847,6 +18713,8 @@ def __init__( class Ipv6AccessGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Standard ACL Name.""" @@ -17883,6 +18751,8 @@ class Hostkey(AvdModel): "client_strict_checking": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server: list[str] """SSH host key settings.""" @@ -17918,6 +18788,8 @@ def __init__( class Connection(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "limit": {"type": int}, "per_host": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] limit: int | None """Maximum total number of SSH sessions to device.""" @@ -17949,6 +18821,8 @@ def __init__( class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -17985,6 +18859,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class ClientAlive(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count_max": {"type": int}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count_max: int | None """ @@ -18036,6 +18912,8 @@ def __init__( "client_alive": {"type": ClientAlive}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] authentication: Authentication access_groups: list[AccessGroupsItem] @@ -18110,6 +18988,8 @@ class PolicyShowTechSupport(AvdModel): class ExcludeCommandsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "command": {"type": str}, "type": {"type": str, "default": "text"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] command: str | None """Command to exclude from tech-support.""" @@ -18141,6 +19021,8 @@ def __init__( class IncludeCommandsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "command": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] command: str | None """Command to include in tech-support.""" @@ -18166,6 +19048,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "include_commands": {"type": list, "items": IncludeCommandsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] exclude_commands: list[ExcludeCommandsItem] include_commands: list[IncludeCommandsItem] @@ -18194,6 +19078,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policy_show_tech_support": {"type": PolicyShowTechSupport}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy_show_tech_support: PolicyShowTechSupport @@ -18218,6 +19104,8 @@ class MatchListInput(AvdModel): class PrefixIpv4Item(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "prefixes": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "prefixes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Prefix-List Name.""" @@ -18254,6 +19142,8 @@ class PrefixIpv4(AvdIndexedList[str, PrefixIpv4Item]): class PrefixIpv6Item(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "prefixes": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "prefixes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Prefix-List Name.""" @@ -18291,6 +19181,8 @@ class StringItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "match_regex": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "match_regex") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -18326,6 +19218,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Match-list Name.""" @@ -18365,6 +19259,8 @@ class String(AvdIndexedList[str, StringItem]): "string": {"type": String}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_ipv4: PrefixIpv4 prefix_ipv6: PrefixIpv6 @@ -18403,6 +19299,8 @@ class CvxSecondary(AvdModel): "server_hosts": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None shutdown: bool | None @@ -18434,6 +19332,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "shutdown": {"type": bool}, "cvx_secondary": {"type": CvxSecondary}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None cvx_secondary: CvxSecondary @@ -18465,6 +19365,8 @@ class CvTags(AvdModel): class DeviceTagsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str value: str @@ -18495,6 +19397,8 @@ class InterfaceTagsItem(AvdModel): class TagsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str value: str @@ -18523,6 +19427,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": str}, "tags": {"type": list, "items": TagsItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "interface") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: str tags: list[TagsItem] @@ -18555,6 +19461,8 @@ def __init__( "interface_tags": {"type": list, "items": InterfaceTagsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] device_tags: list[DeviceTagsItem] interface_tags: list[InterfaceTagsItem] @@ -18585,6 +19493,8 @@ class CvPathfinder(AvdModel): class PathfindersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vtep_ip": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "vtep_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vtep_ip: str @@ -18613,6 +19523,8 @@ class InterfacesItem(AvdModel): "public_ip": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None carrier: str | None @@ -18652,6 +19564,8 @@ class PathgroupsItem(AvdModel): class CarriersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -18673,6 +19587,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class ImportedCarriersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -18698,6 +19614,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "imported_carriers": {"type": list, "items": ImportedCarriersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str carriers: list[CarriersItem] @@ -18733,6 +19651,8 @@ class SitesItem(AvdModel): class Location(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str | None @@ -18755,6 +19675,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "name": {"type": str}, "location": {"type": Location}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None name: str | None @@ -18791,6 +19713,8 @@ def __init__( "sites": {"type": list, "items": SitesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None name: str | None @@ -18827,6 +19751,8 @@ def __init__( "zones": {"type": list, "items": ZonesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None name: str | None @@ -18867,6 +19793,8 @@ class Constraints(AvdModel): "hop_count": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] jitter: int | None latency: int | None @@ -18902,6 +19830,8 @@ def __init__( class PathgroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "preference": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None preference: str | None @@ -18938,6 +19868,8 @@ def __init__( "application_profiles": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] constraints: Constraints description: str | None @@ -18983,6 +19915,8 @@ def __init__( "avts": {"type": list, "items": AvtsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None vni: int | None @@ -19021,6 +19955,8 @@ class VpnCredentialsItem(AvdModel): "pre_shared_key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "fqdn", "vpn_type", "pre_shared_key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] fqdn: str vpn_type: str @@ -19053,6 +19989,8 @@ def __init__( class TunnelsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "preference": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "preference") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str preference: str @@ -19105,6 +20043,8 @@ def __init__( "vpn_credentials", "tunnels", ) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str type: str @@ -19163,6 +20103,8 @@ class ProfilesItem(AvdModel): class BuiltinApplicationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "services": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None services: list[str] @@ -19192,6 +20134,8 @@ def __init__( class UserDefinedApplicationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -19213,6 +20157,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class CategoriesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "category": {"type": str}, "services": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] category: str | None services: list[str] @@ -19248,6 +20194,8 @@ def __init__( "transport_protocols": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None builtin_applications: list[BuiltinApplicationsItem] @@ -19292,6 +20240,8 @@ class BuiltinApplicationsItem(AvdModel): "services": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None category: str | None @@ -19324,6 +20274,8 @@ def __init__( class UserDefinedApplicationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "category": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None category: str | None @@ -19356,6 +20308,8 @@ def __init__( "user_defined_applications": {"type": list, "items": UserDefinedApplicationsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] builtin_applications: list[BuiltinApplicationsItem] user_defined_applications: list[UserDefinedApplicationsItem] @@ -19388,6 +20342,8 @@ def __init__( "categories": {"type": Categories}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profiles: list[ProfilesItem] categories: Categories @@ -19432,6 +20388,8 @@ def __init__( "applications": {"type": Applications}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] role: str | None region: str | None @@ -19502,6 +20460,8 @@ def __init__( "cv_pathfinder": {"type": CvPathfinder}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] platform: str | None system_mac_address: str | None @@ -19539,6 +20499,8 @@ class MlagConfiguration(AvdModel): class PeerAddressHeartbeat(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "peer_ip": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_ip: str | None """IPv4 or IPv6 Address.""" @@ -19582,6 +20544,8 @@ def __init__( "reload_delay_non_mlag": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain_id: str | None heartbeat_interval: int | None @@ -19648,6 +20612,8 @@ class MonitorConnectivity(AvdModel): class InterfaceSetsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "interfaces": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None interfaces: str | None @@ -19693,6 +20659,8 @@ class HostsItem(AvdModel): "url": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Host Name.""" @@ -19753,6 +20721,8 @@ class VrfsItem(AvdModel): class InterfaceSetsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "interfaces": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None interfaces: str | None @@ -19790,6 +20760,8 @@ class HostsItem(AvdModel): "url": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Host name.""" @@ -19856,6 +20828,8 @@ class Hosts(AvdIndexedList[str, HostsItem]): "hosts": {"type": Hosts}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -19923,6 +20897,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "vrfs": {"type": Vrfs}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shutdown: bool | None interval: int | None @@ -19980,6 +20956,8 @@ class MonitorLayer1(AvdModel): class LoggingTransceiver(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dom": {"type": bool}, "communication": {"type": bool}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dom: bool | None """Enable transceiver Digital Optical Monitoring (DOM) logging.""" @@ -20024,6 +21002,8 @@ def __init__( "logging_transceiver": {"type": LoggingTransceiver}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool """Enable monitor layer1.""" @@ -20059,6 +21039,8 @@ def __init__( class MonitorSessionDefaultEncapsulationGre(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "payload": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] payload: str | None """Mirroring GRE payload type configuration commands.""" @@ -20083,6 +21065,8 @@ class SourcesItem(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -20115,6 +21099,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "direction": {"type": str}, "access_group": {"type": AccessGroup}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface name, range or comma separated list.""" @@ -20148,6 +21134,8 @@ def __init__( class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -20178,6 +21166,8 @@ def __init__( class Truncate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "size": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -20219,6 +21209,8 @@ def __init__( "truncate": {"type": Truncate}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Session Name.""" @@ -20310,6 +21302,8 @@ class DestinationsItem(AvdModel): "password_type": {"type": str, "default": "7"}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """InfluxDB connection name.""" @@ -20362,6 +21356,8 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): class SourceSocketsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "connection_limit": {"type": int}, "url": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Label of the socket connection.""" @@ -20401,6 +21397,8 @@ class SourceSockets(AvdIndexedList[str, SourceSocketsItem]): class TagsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Key of the global tag pair.""" @@ -20439,6 +21437,8 @@ class Tags(AvdIndexedList[str, TagsItem]): "tags": {"type": Tags}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vrf: str | None destinations: Destinations @@ -20482,6 +21482,8 @@ class Ingress(AvdModel): class Collection(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}, "destination": {"type": str}, "version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str | None """Source IP address of GRE tunnel.""" @@ -20518,6 +21520,8 @@ class Sample(AvdModel): class TcpUdpChecksum(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "value": {"type": int}, "mask": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] value: int | None """TCP/UDP checksum or IP ID value.""" @@ -20548,6 +21552,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": int}, "tcp_udp_checksum": {"type": TcpUdpChecksum}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: int | None """Sampling rate. `rate` is preferred when both `rate` and `tcp_udp_checksum` are defined.""" @@ -20578,6 +21584,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "collection": {"type": Collection}, "sample": {"type": Sample}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] collection: Collection """Collector configuration.""" @@ -20609,6 +21617,8 @@ def __init__( class MarkerVxlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "header_word_zero_bit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable vxlan marking using default bit 0.""" @@ -20639,6 +21649,8 @@ def __init__( class ProfilesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "ingress_sample_policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Profile name.""" @@ -20681,6 +21693,8 @@ class ProtocolsItem(AvdModel): "destination_ports": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str source_ports: list[str] @@ -20752,6 +21766,8 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): "protocols": {"type": Protocols}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str type: str @@ -20807,6 +21823,8 @@ class MatchRules(AvdIndexedList[str, MatchRulesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "match_rules": {"type": MatchRules}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str match_rules: MatchRules @@ -20847,6 +21865,8 @@ class SamplePolicies(AvdIndexedList[str, SamplePoliciesItem]): "sample_policies": {"type": SamplePolicies}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Enable or disable the postcard telemetry feature.""" @@ -20894,6 +21914,8 @@ class Ldp(AvdModel): "transport_address_interface": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface_disabled_default: bool | None router_id: str | None @@ -20934,6 +21956,8 @@ class Icmp(AvdModel): "ttl_exceeded_tunneling": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] fragmentation_needed_tunneling: bool | None """Enables the MPLS tunneling of MTU exceeded ICMP replies (fragmentation needed, packet too big).""" @@ -20964,6 +21988,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": bool}, "ldp": {"type": Ldp}, "icmp": {"type": Icmp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: bool | None ldp: Ldp @@ -20998,6 +22024,8 @@ class Ntp(AvdModel): class LocalInterface(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Source interface.""" @@ -21041,6 +22069,8 @@ class ServersItem(AvdModel): "vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IP or hostname e.g., 2.2.2.55, 2001:db8::55, ie.pool.ntp.org.""" @@ -21105,6 +22135,8 @@ class AuthenticationKeysItem(AvdModel): "key_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Key identifier.""" @@ -21154,6 +22186,8 @@ class AuthenticationKeys(AvdIndexedList[int, AuthenticationKeysItem]): "trusted_keys": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local_interface: LocalInterface servers: list[ServersItem] @@ -21199,6 +22233,8 @@ class Interface(AvdModel): class Patch(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "bgp_vpws_remote_failure_errdisable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp_vpws_remote_failure_errdisable: bool | None @@ -21226,6 +22262,8 @@ class Recovery(AvdModel): class ReviewDelay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "min": {"type": int}, "max": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "min", "max") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] min: int """Minimum delay.""" @@ -21256,6 +22294,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "review_delay": {"type": ReviewDelay}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] review_delay: ReviewDelay @@ -21278,6 +22318,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "patch": {"type": Patch}, "recovery": {"type": Recovery}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] patch: Patch recovery: Recovery @@ -21306,6 +22348,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": Interface}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: Interface @@ -21328,6 +22372,8 @@ class PatchesItem(AvdModel): class ConnectorsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": str}, "type": {"type": str}, "endpoint": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "id", "type", "endpoint") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str type: str @@ -21381,6 +22427,8 @@ class Connectors(AvdIndexedList[str, ConnectorsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enabled": {"type": bool}, "connectors": {"type": Connectors}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str enabled: bool | None @@ -21418,6 +22466,8 @@ class Patches(AvdIndexedList[str, PatchesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "connector": {"type": Connector}, "patches": {"type": Patches}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] connector: Connector patches: Patches @@ -21448,6 +22498,8 @@ class PeerFiltersItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "match": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "match") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -21488,6 +22540,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-filter Name.""" @@ -21525,6 +22579,8 @@ class Trident(AvdModel): class L3(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "routing_mac_address_per_vlan": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] routing_mac_address_per_vlan: bool | None """Enable bridging of packets with destination MAC being a Router MAC in VLANs without routing.""" @@ -21552,6 +22608,8 @@ class MulticastQueuesItem(AvdModel): class Drop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "precedence": {"type": int}, "threshold": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "precedence", "threshold") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] precedence: int threshold: str @@ -21593,6 +22651,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int unit: str | None @@ -21645,6 +22705,8 @@ class UnicastQueuesItem(AvdModel): class Drop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "precedence": {"type": int}, "threshold": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "precedence", "threshold") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] precedence: int threshold: str @@ -21686,6 +22748,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int unit: str | None @@ -21741,6 +22805,8 @@ class UnicastQueues(AvdIndexedList[int, UnicastQueuesItem]): "unicast_queues": {"type": UnicastQueues}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str multicast_queues: MulticastQueues @@ -21777,6 +22843,8 @@ class QueueProfiles(AvdIndexedList[str, QueueProfilesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "active_profile": {"type": str}, "queue_profiles": {"type": QueueProfiles}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] active_profile: str | None """The queue profile to be applied to the platform.""" @@ -21806,6 +22874,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "forwarding_table_partition": {"type": str}, "l3": {"type": L3}, "mmu": {"type": Mmu}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] forwarding_table_partition: str | None l3: L3 @@ -21840,6 +22910,8 @@ class Sand(AvdModel): class QosMapsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "traffic_class": {"type": int}, "to_network_qos": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] traffic_class: int | None to_network_qos: int | None @@ -21869,6 +22941,8 @@ def __init__( class Lag(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hardware_only": {"type": bool}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hardware_only: bool | None mode: str | None @@ -21898,6 +22972,8 @@ def __init__( class MulticastReplication(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: str | None @@ -21925,6 +23001,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "mdb_profile": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] qos_maps: list[QosMapsItem] lag: Lag @@ -21964,6 +23042,8 @@ def __init__( class Sfe(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "data_plane_cpu_allocation_max": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] data_plane_cpu_allocation_max: int | None """Maximum number of CPUs used for data plane traffic forwarding.""" @@ -21987,6 +23067,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "trident": {"type": Trident}, "sand": {"type": Sand}, "sfe": {"type": Sfe}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] trident: Trident sand: Sand @@ -22022,6 +23104,8 @@ class Poe(AvdModel): class Reboot(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """PoE action for interface. By default in EOS, reboot action is set to power-off.""" @@ -22044,6 +23128,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class InterfaceShutdown(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """PoE action for interface. By default in EOS, interface shutdown action is set to maintain.""" @@ -22065,6 +23151,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "reboot": {"type": Reboot}, "interface_shutdown": {"type": InterfaceShutdown}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] reboot: Reboot """Set the global PoE power behavior for PoE ports when the system is rebooted.""" @@ -22100,6 +23188,8 @@ class Set(AvdModel): class Nexthop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "recursive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str | None """IPv4 or IPv6 Address.""" @@ -22129,6 +23219,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "nexthop": {"type": Nexthop}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] nexthop: Nexthop @@ -22155,6 +23247,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "set": {"type": Set}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Class Name.""" @@ -22202,6 +23296,8 @@ class Classes(AvdIndexedList[str, ClassesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "classes": {"type": Classes}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Policy-Map Name.""" @@ -22245,6 +23341,8 @@ class Set(AvdModel): "drop_precedence": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] cos: int | None dscp: str | None @@ -22281,6 +23379,8 @@ class Police(AvdModel): class Action(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "dscp_value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None """Set action for policed traffic.""" @@ -22322,6 +23422,8 @@ def __init__( "higher_rate_burst_size_unit": {"type": str, "default": "bytes"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: int | None """ @@ -22385,6 +23487,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "set": {"type": Set}, "police": {"type": Police}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Class Name.""" @@ -22422,6 +23526,8 @@ class Classes(AvdIndexedList[str, ClassesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "classes": {"type": Classes}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Policy-Map Name.""" @@ -22464,6 +23570,8 @@ class ClassesItem(AvdModel): "rate_unit": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str shape: int | None @@ -22506,6 +23614,8 @@ class Classes(AvdIndexedList[str, ClassesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "classes": {"type": Classes}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] classes: Classes @@ -22526,6 +23636,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pbr": {"type": Pbr}, "qos": {"type": Qos}, "copp_system_policy": {"type": CoppSystemPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pbr: Pbr """PBR Policy-Maps.""" @@ -22563,6 +23675,8 @@ class Logging(AvdModel): class Event(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "link_status": {"type": bool}, "storm_control_discards": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] link_status: bool | None storm_control_discards: bool | None @@ -22592,6 +23706,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "event": {"type": Event}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] event: Event @@ -22613,6 +23729,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class EncapsulationDot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "inner_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "vlan") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int """VLAD ID.""" @@ -22646,6 +23764,8 @@ class Client(AvdModel): class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Client VLAN ID.""" @@ -22689,6 +23809,8 @@ def __init__( "inner_encapsulation": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dot1q: Dot1q unmatched: bool | None @@ -22737,6 +23859,8 @@ class Network(AvdModel): class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Network VLAN ID.""" @@ -22780,6 +23904,8 @@ def __init__( "inner_encapsulation": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dot1q: Dot1q client: bool | None @@ -22834,6 +23960,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client": {"type": Client}, "network": {"type": Network}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client: Client network: Network @@ -22864,6 +23992,8 @@ def __init__( class LinkTrackingGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "direction": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Group name.""" @@ -22899,6 +24029,8 @@ class LinkTrackingGroups(AvdIndexedList[str, LinkTrackingGroupsItem]): class Phone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "trunk": {"type": str}, "vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] trunk: str | None vlan: int | None @@ -22928,6 +24060,8 @@ def __init__( class L2Protocol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation_dot1q_vlan: int | None """Vlan tag to configure on sub-interface.""" @@ -22959,6 +24093,8 @@ def __init__( class Qos(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] trust: str | None dscp: int | None @@ -22994,6 +24130,8 @@ class Bfd(AvdModel): class PerLink(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rfc_7130": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rfc_7130: bool | None @@ -23030,6 +24168,8 @@ def __init__( "per_link": {"type": PerLink}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] echo: bool | None interval: int | None @@ -23080,6 +24220,8 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str | None """Policy Based Routing Policy-map name.""" @@ -23102,6 +24244,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Qos(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "input") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str """Quality of Service Policy-map name.""" @@ -23123,6 +24267,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pbr": {"type": Pbr}, "qos": {"type": Qos}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pbr: Pbr qos: Qos @@ -23149,6 +24295,8 @@ class Mpls(AvdModel): class Ldp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": bool}, "igp_sync": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: bool | None igp_sync: bool | None @@ -23177,6 +24325,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": bool}, "ldp": {"type": Ldp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: bool | None ldp: Ldp @@ -23206,11 +24356,13 @@ def __init__( class VlanTranslationsItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "direction": {"type": str, "default": "both"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str | None """List of vlans as string (only one vlan if direction is "both").""" @@ -23245,6 +24397,8 @@ def __init__( class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -23284,6 +24438,8 @@ class StormControl(AvdModel): class All(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -23315,6 +24471,8 @@ def __init__( class Broadcast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -23346,6 +24504,8 @@ def __init__( class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -23377,6 +24537,8 @@ def __init__( class UnknownUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -23413,6 +24575,8 @@ def __init__( "unknown_unicast": {"type": UnknownUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all: All broadcast: Broadcast @@ -23448,6 +24612,8 @@ def __init__( class TrafficPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}, "output": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str | None """Ingress traffic policy.""" @@ -23488,6 +24654,8 @@ class DesignatedForwarderElection(AvdModel): "candidate_reachability_required": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] algorithm: str | None preference_value: int | None @@ -23531,6 +24699,8 @@ def __init__( class Mpls(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] shared_index: int | None tunnel_flood_filter_time: int | None @@ -23566,6 +24736,8 @@ def __init__( "route_target": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] identifier: str | None """EVPN Ethernet Segment Identifier (Type 1 format).""" @@ -23607,6 +24779,8 @@ class Ptp(AvdModel): class Announce(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None timeout: int | None @@ -23637,6 +24811,8 @@ class Profile(AvdModel): class G82751(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination_mac_address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination_mac_address: str | None @@ -23659,6 +24835,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "g8275_1": {"type": G82751}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] g8275_1: G82751 @@ -23680,6 +24858,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SyncMessage(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None @@ -23712,6 +24892,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "mpass": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None announce: Announce @@ -23788,6 +24970,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "pool_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -23840,6 +25024,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -23908,6 +25094,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -23945,6 +25133,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "nat_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -24008,6 +25198,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -24076,6 +25268,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -24104,6 +25298,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination": {"type": Destination}, "source": {"type": Source}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination: Destination source: Source @@ -24139,6 +25335,8 @@ class Ipv6NdPrefixesItem(AvdModel): "no_autoconfig_flag": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv6_prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv6_prefix: str valid_lifetime: str | None @@ -24183,6 +25381,8 @@ class Ipv4(AvdModel): class Hello(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": str}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" @@ -24221,6 +25421,8 @@ def __init__( "hello": {"type": Hello}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -24263,6 +25465,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 @@ -24284,6 +25488,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class OspfMessageDigestKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int hash_algorithm: str | None @@ -24322,6 +25528,8 @@ class OspfMessageDigestKeys(AvdIndexedList[int, OspfMessageDigestKeysItem]): class FlowTracker(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sampled": {"type": str}, "hardware": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sampled: str | None """Sampled flow tracker name.""" @@ -24353,6 +25561,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "session_tracker": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] session_tracker: str | None """Name of session tracker.""" @@ -24377,6 +25587,8 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -24403,6 +25615,8 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -24428,6 +25642,8 @@ class Include(AvdIndexedList[str, IncludeItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} _required_fields: ClassVar[tuple] = ("_custom_data", "group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] group: str """Multicast Address.""" @@ -24468,6 +25684,8 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str @@ -24500,6 +25718,8 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: Groups @@ -24542,6 +25762,8 @@ class Sflow(AvdModel): class Egress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "unmodified_enable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None unmodified_enable: bool | None @@ -24570,6 +25792,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "egress": {"type": Egress}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None egress: Egress @@ -24607,6 +25831,8 @@ class Trunk(AvdModel): "groups": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allowed_vlan: str | None """ @@ -24678,6 +25904,8 @@ def __init__( class Phone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vlan": {"type": int}, "trunk": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vlan: int | None """Warning: This should not be combined with `port_channel_interfaces[].phone.vlan`.""" @@ -24709,6 +25937,8 @@ def __init__( class Dot1q(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ethertype": {"type": int}, "vlan_tag": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ethertype: int | None """Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames.""" @@ -24740,12 +25970,14 @@ class VlanTranslations(AvdModel): class DirectionInItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str | None """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -24784,12 +26016,14 @@ def __init__( class DirectionOutItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel_to": {"type": str}, "inner_vlan_to": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "field_from") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -24836,13 +26070,15 @@ def __init__( class DirectionBothItem(AvdModel): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_from": {"type": str, "key": "from"}, + "field_from": {"type": str}, "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, "network": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "field_from", "to") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """VLAN ID or range of VLAN IDs to map from. Range 1-4094.""" @@ -24898,6 +26134,8 @@ def __init__( "direction_both": {"type": list, "items": DirectionBothItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] in_required: bool | None """Drop the ingress traffic that do not match any VLAN mapping.""" @@ -24941,6 +26179,8 @@ def __init__( class BackupLink(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interface": {"type": str}, "prefer_vlan": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "interface") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interface: str """Backup interface. Example - Ethernet4, Vlan10 etc.""" @@ -24979,6 +26219,8 @@ class Backup(AvdModel): "preemption_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dest_macaddr: str | None """ @@ -25030,6 +26272,8 @@ class PortSecurity(AvdModel): class MacAddressMaximum(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "disabled": {"type": bool}, "limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disabled: bool | None """Disable port level check for port security (only in violation 'shutdown' mode).""" @@ -25061,6 +26305,8 @@ def __init__( class Violation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "protect_log": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """Configure port security mode.""" @@ -25092,6 +26338,8 @@ def __init__( class VlansItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "range": {"type": str}, "mac_address_maximum": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "range") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] range: str """ @@ -25145,6 +26393,8 @@ class Vlans(AvdIndexedList[str, VlansItem]): "vlans": {"type": Vlans}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None mac_address_maximum: MacAddressMaximum @@ -25200,6 +26450,8 @@ def __init__( "port_security": {"type": PortSecurity}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Warning: This should not be combined with `port_channel_interfaces[].type = routed`.""" @@ -25384,6 +26636,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str description: str | None @@ -25738,6 +26992,8 @@ class PrefixListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -25778,6 +27034,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Prefix-list Name.""" @@ -25821,6 +27079,8 @@ class Watchdog(AvdModel): "override_action_drop": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None """Action on stuck queue.""" @@ -25894,6 +27154,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "all_off": {"type": bool}, "watchdog": {"type": Watchdog}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all_off: bool | None """Disable PFC on all interfaces.""" @@ -25925,6 +27187,8 @@ class Ptp(AvdModel): class Source(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip: str | None """Source IP.""" @@ -25948,6 +27212,8 @@ class MessageType(AvdModel): class General(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dscp": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp: int | None @@ -25969,6 +27235,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Event(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dscp": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp: int | None @@ -25989,6 +27257,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general": {"type": General}, "event": {"type": Event}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general: General event: Event @@ -26020,6 +27290,8 @@ class Threshold(AvdModel): class Drop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -26053,6 +27325,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -26086,6 +27360,8 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -26125,6 +27401,8 @@ class SequenceIds(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -26162,6 +27440,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -26195,6 +27475,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -26240,6 +27522,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None profile: str | None @@ -26307,6 +27591,8 @@ class Map(AvdModel): "traffic_class": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] cos: list[str] dscp: list[str] @@ -26344,6 +27630,8 @@ class Ecn(AvdModel): class AllowNonEct(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "chip_based": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """ @@ -26381,6 +27669,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "allow_non_ect": {"type": AllowNonEct}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allow_non_ect: AllowNonEct @@ -26401,6 +27691,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ecn": {"type": Ecn}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ecn: Ecn """Global ECN Configuration.""" @@ -26427,6 +27719,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "random_detect": {"type": RandomDetect}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] map: Map rewrite_dscp: bool | None @@ -26461,6 +27755,8 @@ class QosProfilesItem(AvdModel): class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -26489,6 +27785,8 @@ class ServicePolicy(AvdModel): class Type(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "qos_input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] qos_input: str | None """Policy-map name.""" @@ -26510,6 +27808,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": Type}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: Type @@ -26532,6 +27832,8 @@ class TxQueuesItem(AvdModel): class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -26568,6 +27870,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "min", "max") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """ @@ -26615,6 +27919,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": bool}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: bool | None """Enable counter for random-detect ECNs.""" @@ -26654,6 +27960,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "min", "max", "drop_probability") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """Units to be used for the threshold values.""" @@ -26700,6 +28008,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] threshold: Threshold @@ -26720,6 +28030,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ecn": {"type": Ecn}, "drop": {"type": Drop}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ecn: Ecn """Explicit Congestion Notification.""" @@ -26759,6 +28071,8 @@ def __init__( "random_detect": {"type": RandomDetect}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """TX-Queue ID.""" @@ -26811,6 +28125,8 @@ class UcTxQueuesItem(AvdModel): class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -26847,6 +28163,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "min", "max") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """Unit to be used for the threshold values.""" @@ -26889,6 +28207,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": bool}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: bool | None """Enable counter for random-detect ECNs.""" @@ -26928,6 +28248,8 @@ class Threshold(AvdModel): "weight": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "units", "min", "max", "drop_probability") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] units: str """Units to be used for the threshold values.""" @@ -26974,6 +28296,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "threshold": {"type": Threshold}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] threshold: Threshold @@ -26994,6 +28318,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ecn": {"type": Ecn}, "drop": {"type": Drop}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ecn: Ecn """Explicit Congestion Notification.""" @@ -27033,6 +28359,8 @@ def __init__( "random_detect": {"type": RandomDetect}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """UC TX queue ID.""" @@ -27085,6 +28413,8 @@ class McTxQueuesItem(AvdModel): class Shape(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: str | None """ @@ -27119,6 +28449,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "comment": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """MC TX queue ID.""" @@ -27175,6 +28507,8 @@ class Timer(AvdModel): "forced": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "timeout", "polling_interval", "recovery_time") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timeout: str """ @@ -27255,6 +28589,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "action": {"type": str}, "timer": {"type": Timer}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool """Enable the watchdog on stuck transmit queues.""" @@ -27297,6 +28633,8 @@ def __init__( class PrioritiesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "priority": {"type": int}, "no_drop": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "priority", "no_drop") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] priority: int """Priority queue number (COS value).""" @@ -27337,6 +28675,8 @@ class Priorities(AvdIndexedList[int, PrioritiesItem]): "priorities": {"type": Priorities}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable Priority Flow control.""" @@ -27383,6 +28723,8 @@ def __init__( "priority_flow_control": {"type": PriorityFlowControl}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Profile-Name.""" @@ -27444,6 +28786,8 @@ class QueueMonitorLength(AvdModel): class DefaultThresholds(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "high": {"type": int}, "low": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "high") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] high: int """Default high threshold for Ethernet Interfaces.""" @@ -27481,6 +28825,8 @@ class Cpu(AvdModel): class Thresholds(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "high": {"type": int}, "low": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "high") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] high: int low: int | None @@ -27509,6 +28855,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "thresholds": {"type": Thresholds}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] thresholds: Thresholds @@ -27537,6 +28885,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "tx_latency": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool default_thresholds: DefaultThresholds @@ -27588,6 +28938,8 @@ class QueueMonitorStreaming(AvdModel): "vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None ip_access_group: str | None @@ -27629,6 +28981,8 @@ class RadiusServer(AvdModel): class Attribute32IncludeInAccessReq(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hostname": {"type": bool}, "format": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: bool | None format: str | None @@ -27659,6 +29013,8 @@ def __init__( class DynamicAuthorization(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "port": {"type": int}, "tls_ssl_profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port: int | None """TCP Port.""" @@ -27691,6 +29047,8 @@ class HostsItem(AvdModel): class Tls(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "ssl_profile": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable TLS for radius-server.""" @@ -27733,6 +29091,8 @@ def __init__( "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "host") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str """Host IP address or name.""" @@ -27792,6 +29152,8 @@ class Hosts(AvdIndexedList[str, HostsItem]): "tls_ssl_profile": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attribute_32_include_in_access_req: Attribute32IncludeInAccessReq dynamic_authorization: DynamicAuthorization @@ -27828,6 +29190,8 @@ def __init__( class Redundancy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "protocol": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str | None """Redundancy Protocol.""" @@ -27857,6 +29221,8 @@ class SequenceNumbersItem(AvdModel): "command": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int | None """Sequence number.""" @@ -27894,6 +29260,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": list, "items": SequenceNumbersItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Role name.""" @@ -27931,6 +29299,8 @@ class SequenceNumbersItem(AvdModel): class Continue(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "sequence_number": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None sequence_number: int | None @@ -27965,9 +29335,11 @@ def __init__( "match": {"type": list, "items": str}, "set": {"type": list, "items": str}, "sub_route_map": {"type": str}, - "field_continue": {"type": Continue, "key": "continue"}, + "field_continue": {"type": Continue}, } _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "type") + _field_to_key_map: ClassVar[dict] = {"field_continue": "continue"} + _key_to_field_map: ClassVar[dict] = {"continue": "field_continue"} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -28020,6 +29392,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Route-map Name.""" @@ -28056,6 +29430,8 @@ class RouterAdaptiveVirtualTopology(AvdModel): class Region(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str id: int @@ -28081,6 +29457,8 @@ def __init__( class Zone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str id: int @@ -28106,6 +29484,8 @@ def __init__( class Site(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str id: int @@ -28136,6 +29516,8 @@ class ProfilesItem(AvdModel): "internet_exit_policy": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """AVT Name.""" @@ -28183,6 +29565,8 @@ class MatchesItem(AvdModel): "traffic_class": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] application_profile: str | None """Application profile name.""" @@ -28221,6 +29605,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "matches": {"type": list, "items": MatchesItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Policy name.""" @@ -28257,6 +29643,8 @@ class VrfsItem(AvdModel): class ProfilesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """AVT profile name.""" @@ -28292,6 +29680,8 @@ class Profiles(AvdIndexedList[int, ProfilesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "policy": {"type": str}, "profiles": {"type": Profiles}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -28341,6 +29731,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "vrfs": {"type": Vrfs}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] topology_role: str | None """Role name.""" @@ -28402,6 +29794,8 @@ class RouterBfd(AvdModel): class Multihop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None """Rate in milliseconds.""" @@ -28438,6 +29832,8 @@ class LocalInterface(AvdModel): class Protocols(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": bool}, "ipv6": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: bool | None ipv6: bool | None @@ -28466,6 +29862,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "protocols": {"type": Protocols}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Interface Name.""" @@ -28496,6 +29894,8 @@ def __init__( class Reflector(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "min_rx": {"type": int}, "local_discriminator": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] min_rx: int | None """Rate in milliseconds.""" @@ -28533,6 +29933,8 @@ def __init__( "reflector": {"type": Reflector}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local_interface: LocalInterface initiator_interval: int | None @@ -28582,6 +29984,8 @@ def __init__( "sbfd": {"type": Sbfd}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None """Rate in milliseconds.""" @@ -28646,6 +30050,8 @@ class Distance(AvdModel): "local_routes": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "external_routes", "internal_routes", "local_routes") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] external_routes: int internal_routes: int @@ -28683,6 +30089,8 @@ class GracefulRestart(AvdModel): "stalepath_time": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None restart_time: int | None @@ -28717,6 +30125,8 @@ def __init__( class GracefulRestartHelper(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "restart_time": {"type": int}, "long_lived": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None restart_time: int | None @@ -28765,6 +30175,8 @@ def __init__( class MaximumPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "paths": {"type": int}, "ecmp": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "paths") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] paths: int ecmp: int | None @@ -28794,6 +30206,8 @@ def __init__( class Updates(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] wait_for_convergence: bool | None """ @@ -28840,6 +30254,8 @@ class Bgp(AvdModel): class Default(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_unicast": {"type": bool}, "ipv4_unicast_transport_ipv6": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_unicast: bool | None """Default activation of IPv4 unicast address-family on all IPv4 neighbors (EOS default = True).""" @@ -28871,6 +30287,8 @@ def __init__( class RouteReflectorPreserveAttributes(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -28900,6 +30318,8 @@ def __init__( class Bestpath(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "d_path": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] d_path: bool | None @@ -28921,6 +30341,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -28984,6 +30406,8 @@ def __init__( "redistribute_internal": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: Default route_reflector_preserve_attributes: RouteReflectorPreserveAttributes @@ -29030,6 +30454,8 @@ class ListenRangesItem(AvdModel): "remote_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str | None """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -29092,6 +30518,8 @@ class PeerGroupsItem(AvdModel): class AsPath(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_as_replace_out: bool | None """Replace AS number with local AS number.""" @@ -29123,6 +30551,8 @@ def __init__( class RemovePrivateAs(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -29155,6 +30585,8 @@ def __init__( class RemovePrivateAsIngress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None replace_as: bool | None @@ -29184,6 +30616,8 @@ def __init__( class BfdTimers(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -29218,6 +30652,8 @@ def __init__( class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -29258,6 +30694,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -29303,6 +30741,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -29341,6 +30781,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -29372,6 +30814,8 @@ def __init__( class LinkBandwidth(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None default: str | None @@ -29402,6 +30846,8 @@ def __init__( class AllowasIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "times": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None times: int | None @@ -29432,6 +30878,8 @@ def __init__( class RibInPrePolicyRetain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -29461,6 +30909,8 @@ def __init__( class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "hash_algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "hash_algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Name of profile defined under `management_security`.""" @@ -29527,6 +30977,8 @@ def __init__( "ttl_maximum_hops": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -29701,6 +31153,8 @@ class NeighborsItem(AvdModel): class AsPath(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_as_replace_out: bool | None """Replace AS number with local AS number.""" @@ -29732,6 +31186,8 @@ def __init__( class BfdTimers(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -29766,6 +31222,8 @@ def __init__( class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -29805,6 +31263,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -29850,6 +31310,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -29888,6 +31350,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -29919,6 +31383,8 @@ def __init__( class AllowasIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "times": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None times: int | None @@ -29949,6 +31415,8 @@ def __init__( class LinkBandwidth(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None default: str | None @@ -29979,6 +31447,8 @@ def __init__( class RibInPrePolicyRetain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -30008,6 +31478,8 @@ def __init__( class RemovePrivateAs(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -30040,6 +31512,8 @@ def __init__( class RemovePrivateAsIngress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None replace_as: bool | None @@ -30069,6 +31543,8 @@ def __init__( class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "hash_algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "hash_algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Name of profile defined under `management_security`.""" @@ -30135,6 +31611,8 @@ def __init__( "ttl_maximum_hops": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str peer_group: str | None @@ -30315,6 +31793,8 @@ class NeighborInterfacesItem(AvdModel): "peer_filter": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface name.""" @@ -30382,6 +31862,8 @@ class AggregateAddressesItem(AvdModel): "match_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -30432,6 +31914,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30461,6 +31945,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30496,6 +31982,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30542,6 +32030,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30591,6 +32081,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -30647,6 +32139,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30685,6 +32179,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30724,6 +32220,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -30768,6 +32266,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -30820,6 +32320,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30858,6 +32360,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -30897,6 +32401,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -30941,6 +32447,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -30987,6 +32495,8 @@ def __init__( class Rip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -31022,6 +32532,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -31068,6 +32580,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -31118,6 +32632,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -31178,6 +32694,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -31239,6 +32757,8 @@ class VlanAwareBundlesItem(AvdModel): class RdEvpnDomain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "rd": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None rd: str | None @@ -31270,6 +32790,8 @@ class RouteTargets(AvdModel): class ImportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31299,6 +32821,8 @@ def __init__( class ExportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31328,6 +32852,8 @@ def __init__( class ImportExportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31357,13 +32883,15 @@ def __init__( _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, "both": {"type": list, "items": str}, - "field_import": {"type": list, "key": "import", "items": str}, + "field_import": {"type": list, "items": str}, "export": {"type": list, "items": str}, "import_evpn_domains": {"type": list, "items": ImportEvpnDomainsItem}, "export_evpn_domains": {"type": list, "items": ExportEvpnDomainsItem}, "import_export_evpn_domains": {"type": list, "items": ImportExportEvpnDomainsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_import": "import"} + _key_to_field_map: ClassVar[dict] = {"import": "field_import"} _custom_data: dict[str, Any] both: list[str] field_import: list[str] @@ -31416,6 +32944,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VLAN aware bundle name.""" @@ -31486,6 +33016,8 @@ class VlansItem(AvdModel): class RdEvpnDomain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "rd": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None rd: str | None @@ -31517,6 +33049,8 @@ class RouteTargets(AvdModel): class ImportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31546,6 +33080,8 @@ def __init__( class ExportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31575,6 +33111,8 @@ def __init__( class ImportExportEvpnDomainsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "domain": {"type": str}, "route_target": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain: str | None route_target: str | None @@ -31604,13 +33142,15 @@ def __init__( _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, "both": {"type": list, "items": str}, - "field_import": {"type": list, "key": "import", "items": str}, + "field_import": {"type": list, "items": str}, "export": {"type": list, "items": str}, "import_evpn_domains": {"type": list, "items": ImportEvpnDomainsItem}, "export_evpn_domains": {"type": list, "items": ExportEvpnDomainsItem}, "import_export_evpn_domains": {"type": list, "items": ImportExportEvpnDomainsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_import": "import"} + _key_to_field_map: ClassVar[dict] = {"import": "field_import"} _custom_data: dict[str, Any] both: list[str] field_import: list[str] @@ -31661,6 +33201,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int tenant: str | None @@ -31722,6 +33264,8 @@ class VpwsItem(AvdModel): class RouteTargets(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "import_export": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] import_export: str | None """Route Target.""" @@ -31744,6 +33288,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class PseudowiresItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "id_local": {"type": int}, "id_remote": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Pseudowire name.""" @@ -31792,6 +33338,8 @@ class Pseudowires(AvdIndexedList[str, PseudowiresItem]): "pseudowires": {"type": Pseudowires}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VPWS instance name.""" @@ -31845,6 +33393,8 @@ class NeighborDefault(AvdModel): class NextHopSelfReceivedEvpnRoutes(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "inter_domain": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None inter_domain: bool | None @@ -31878,6 +33428,8 @@ def __init__( "next_hop_self_received_evpn_routes": {"type": NextHopSelfReceivedEvpnRoutes}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation: str | None """Transport encapsulation for neighbor.""" @@ -31912,6 +33464,8 @@ def __init__( class NextHopMplsResolutionRibsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rib_type": {"type": str}, "rib_name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "rib_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rib_type: str """Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use.""" @@ -31944,6 +33498,8 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -31982,6 +33538,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -32047,6 +33605,8 @@ def __init__( "encapsulation": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -32110,6 +33670,8 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -32148,6 +33710,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -32216,6 +33780,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -32296,6 +33862,8 @@ class EvpnHostflapDetection(AvdModel): "expiry_timeout": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None window: int | None @@ -32334,6 +33902,8 @@ def __init__( class NextHop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "resolution_disabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] resolution_disabled: bool | None @@ -32363,6 +33933,8 @@ class Route(AvdModel): "export_ethernet_segment_ip_mass_withdraw": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] import_match_failure_action: str | None import_ethernet_segment_ip_mass_withdraw: bool | None @@ -32399,6 +33971,8 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -32455,6 +34029,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "additional_paths": {"type": AdditionalPaths}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] additional_paths: AdditionalPaths @@ -32478,6 +34054,8 @@ def __init__( class Layer2FecInPlaceUpdate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool timeout: int | None @@ -32516,6 +34094,8 @@ class Send(AvdModel): "limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] any: bool | None """Any eligible path.""" @@ -32558,6 +34138,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": Send}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Receive multiple paths.""" @@ -32602,6 +34184,8 @@ def __init__( "bgp_additional_paths": {"type": BgpAdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain_identifier: str | None neighbor_default: NeighborDefault @@ -32671,6 +34255,8 @@ class PeerGroupsItem(AvdModel): class DefaultRouteTarget(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "only": {"type": bool}, "encoding_origin_as_omit": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] only: bool | None encoding_origin_as_omit: str | None @@ -32704,6 +34290,8 @@ def __init__( "default_route_target": {"type": DefaultRouteTarget}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -32741,6 +34329,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "peer_groups": {"type": PeerGroups}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_groups: PeerGroups @@ -32763,6 +34353,8 @@ class AddressFamilyIpv4(AvdModel): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -32807,6 +34399,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] install: bool | None """Install BGP backup path.""" @@ -32875,6 +34469,8 @@ def __init__( "redistribute_internal": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] additional_paths: AdditionalPaths redistribute_internal: bool | None @@ -32906,6 +34502,8 @@ class PeerGroupsItem(AvdModel): class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "always": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always: bool | None route_map: str | None @@ -32942,6 +34540,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" @@ -33004,6 +34604,8 @@ class NextHop(AvdModel): class AddressFamilyIpv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "originate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool originate: bool | None @@ -33032,6 +34634,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address_family_ipv6": {"type": AddressFamilyIpv6}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family_ipv6: AddressFamilyIpv6 @@ -33067,6 +34671,8 @@ def __init__( "next_hop": {"type": NextHop}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -33146,6 +34752,8 @@ class NeighborsItem(AvdModel): class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "always": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always: bool | None route_map: str | None @@ -33181,6 +34789,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" @@ -33253,6 +34863,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -33328,6 +34940,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33357,6 +34971,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33392,6 +35008,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33438,6 +35056,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33487,6 +35107,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -33543,6 +35165,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33581,6 +35205,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33620,6 +35246,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -33664,6 +35292,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -33716,6 +35346,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33754,6 +35386,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33793,6 +35427,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -33837,6 +35473,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -33883,6 +35521,8 @@ def __init__( class Rip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33918,6 +35558,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -33964,6 +35606,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -34014,6 +35658,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -34074,6 +35720,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -34142,6 +35790,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] networks: Networks bgp: Bgp @@ -34185,6 +35835,8 @@ class AddressFamilyIpv4LabeledUnicast(AvdModel): class AigpSession(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "confederation": {"type": bool}, "ebgp": {"type": bool}, "ibgp": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] confederation: bool | None ebgp: bool | None @@ -34218,6 +35870,8 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -34282,6 +35936,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34327,6 +35983,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34365,6 +36023,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -34400,6 +36060,8 @@ def __init__( "next_hop_unchanged": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] additional_paths: AdditionalPaths missing_policy: MissingPolicy @@ -34433,6 +36095,8 @@ def __init__( class NeighborDefault(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "next_hop_self": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] next_hop_self: bool | None @@ -34455,6 +36119,8 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -34512,6 +36178,8 @@ def __init__( class GracefulRestartHelper(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "stale_route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] stale_route_map: str | None @@ -34542,6 +36210,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34587,6 +36257,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34625,6 +36297,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -34675,6 +36349,8 @@ def __init__( "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -34785,6 +36461,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -34842,6 +36520,8 @@ def __init__( class GracefulRestartHelper(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "stale_route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] stale_route_map: str | None @@ -34872,6 +36552,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34917,6 +36599,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -34955,6 +36639,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -35005,6 +36691,8 @@ def __init__( "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -35113,6 +36801,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -35149,6 +36839,8 @@ class Networks(AvdIndexedList[str, NetworksItem]): class NextHopsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "lfib_backup_ip_forwarding": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str lfib_backup_ip_forwarding: bool | None @@ -35183,6 +36875,8 @@ class NextHops(AvdIndexedList[str, NextHopsItem]): class NextHopResolutionRibsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rib_type": {"type": str}, "rib_name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "rib_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rib_type: str """Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use.""" @@ -35214,6 +36908,8 @@ def __init__( class TunnelSourceProtocolsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "protocol": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str rcf: str | None @@ -35268,6 +36964,8 @@ class TunnelSourceProtocols(AvdIndexedList[str, TunnelSourceProtocolsItem]): "update_wait_for_convergence": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] aigp_session: AigpSession bgp: Bgp @@ -35340,6 +37038,8 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -35360,6 +37060,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "additional_paths": {"type": AdditionalPaths}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] additional_paths: AdditionalPaths @@ -35384,6 +37086,8 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -35411,6 +37115,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -35458,6 +37164,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -35485,6 +37193,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -35531,6 +37241,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35560,6 +37272,8 @@ def __init__( class Connected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35596,6 +37310,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -35647,6 +37363,8 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35676,6 +37394,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35710,6 +37430,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -35749,6 +37471,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -35792,6 +37516,8 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35821,6 +37547,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35855,6 +37583,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -35894,6 +37624,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -35936,6 +37668,8 @@ def __init__( class Static(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -35972,6 +37706,8 @@ def __init__( "static": {"type": Static}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost connected: Connected @@ -36020,6 +37756,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -36085,6 +37823,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp peer_groups: PeerGroups @@ -36131,6 +37871,8 @@ class NeighborsItem(AvdModel): "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -36179,6 +37921,8 @@ class PeerGroupsItem(AvdModel): "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -36221,6 +37965,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] neighbors: Neighbors peer_groups: PeerGroups @@ -36251,6 +37997,8 @@ class AddressFamilyIpv6(AvdModel): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -36295,6 +38043,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] install: bool | None """Install BGP backup path.""" @@ -36363,6 +38113,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" @@ -36400,6 +38152,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" @@ -36471,6 +38225,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -36550,6 +38306,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" @@ -36621,6 +38379,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -36693,6 +38453,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36722,6 +38484,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36757,6 +38521,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36803,6 +38569,8 @@ def __init__( class Dhcp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36832,6 +38600,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36881,6 +38651,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -36937,6 +38709,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -36975,6 +38749,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37014,6 +38790,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -37058,6 +38836,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -37110,6 +38890,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37156,6 +38938,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -37205,6 +38989,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -37262,6 +39048,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -37327,6 +39115,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] networks: Networks bgp: Bgp @@ -37371,6 +39161,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -37400,6 +39192,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -37424,6 +39218,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy additional_paths: AdditionalPaths @@ -37454,6 +39250,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -37481,6 +39279,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -37527,6 +39327,8 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -37552,6 +39354,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -37590,6 +39394,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -37626,6 +39432,8 @@ class Redistribute(AvdModel): class Connected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37662,6 +39470,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -37713,6 +39523,8 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37742,6 +39554,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37776,6 +39590,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -37815,6 +39631,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -37858,6 +39676,8 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37887,6 +39707,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -37921,6 +39743,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -37960,6 +39784,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -38002,6 +39828,8 @@ def __init__( class Static(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -38037,6 +39865,8 @@ def __init__( "static": {"type": Static}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] connected: Connected isis: Isis @@ -38082,6 +39912,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str include_leaked: bool | None @@ -38148,6 +39980,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -38197,6 +40031,8 @@ class NeighborsItem(AvdModel): "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -38245,6 +40081,8 @@ class PeerGroupsItem(AvdModel): "route_map_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -38287,6 +40125,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] neighbors: Neighbors peer_groups: PeerGroups @@ -38318,6 +40158,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -38346,6 +40188,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "missing_policy": {"type": MissingPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy @@ -38370,6 +40214,8 @@ class PeerGroupsItem(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -38403,6 +40249,8 @@ def __init__( "missing_policy": {"type": MissingPolicy}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -38442,6 +40290,8 @@ class NeighborsItem(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -38475,6 +40325,8 @@ def __init__( "missing_policy": {"type": MissingPolicy}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -38518,6 +40370,8 @@ class Roles(AvdModel): "propagator": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] producer: bool | None consumer: bool | None @@ -38549,6 +40403,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "roles": {"type": Roles}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] roles: Roles @@ -38575,6 +40431,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "path_selection": {"type": PathSelection}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp peer_groups: PeerGroups @@ -38612,6 +40470,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -38640,6 +40500,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "missing_policy": {"type": MissingPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy @@ -38663,6 +40525,8 @@ def __init__( class NeighborsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -38697,6 +40561,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -38736,6 +40602,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): "peer_groups": {"type": PeerGroups}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -38770,6 +40638,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -38798,6 +40668,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "missing_policy": {"type": MissingPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy @@ -38821,6 +40693,8 @@ def __init__( class NeighborsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -38855,6 +40729,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -38894,6 +40770,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): "peer_groups": {"type": PeerGroups}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -38928,6 +40806,8 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -38984,6 +40864,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "additional_paths": {"type": AdditionalPaths}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] additional_paths: AdditionalPaths @@ -39008,6 +40890,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -39069,6 +40953,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -39107,6 +40993,8 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -39168,6 +41056,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -39210,6 +41100,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): "peer_groups": {"type": PeerGroups}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -39244,6 +41136,8 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -39290,6 +41184,8 @@ def __init__( "default_route": {"type": DefaultRoute}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -39354,6 +41250,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class Route(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "import_match_failure_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] import_match_failure_action: str | None @@ -39378,6 +41276,8 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -39424,6 +41324,8 @@ def __init__( "default_route": {"type": DefaultRoute}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -39487,6 +41389,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NeighborDefaultEncapsulationMplsNextHopSelf(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_interface": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_interface: str | None @@ -39516,6 +41420,8 @@ def __init__( "neighbor_default_encapsulation_mpls_next_hop_self": {"type": NeighborDefaultEncapsulationMplsNextHopSelf}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain_identifier: str | None peer_groups: PeerGroups @@ -39556,6 +41462,8 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -39602,6 +41510,8 @@ def __init__( "default_route": {"type": DefaultRoute}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Peer-group name.""" @@ -39666,6 +41576,8 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class Route(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "import_match_failure_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] import_match_failure_action: str | None @@ -39690,6 +41602,8 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -39736,6 +41650,8 @@ def __init__( "default_route": {"type": DefaultRoute}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -39799,6 +41715,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NeighborDefaultEncapsulationMplsNextHopSelf(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_interface": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_interface: str | None @@ -39828,6 +41746,8 @@ def __init__( "neighbor_default_encapsulation_mpls_next_hop_self": {"type": NeighborDefaultEncapsulationMplsNextHopSelf}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain_identifier: str | None peer_groups: PeerGroups @@ -39875,6 +41795,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] install: bool | None """Install BGP backup path.""" @@ -39943,6 +41865,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" @@ -39974,6 +41898,8 @@ class EvpnMulticastAddressFamily(AvdModel): class Ipv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "transit": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] transit: bool | None """Enable EVPN multicast transit mode.""" @@ -39995,6 +41921,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 @@ -40016,6 +41944,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class EvpnMulticastGatewayDrElection(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "algorithm": {"type": str}, "preference_value": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] algorithm: str """ @@ -40066,6 +41996,8 @@ class DefaultRouteExportsItem(AvdModel): "rcf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address_family") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family: str always: bool | None @@ -40120,6 +42052,8 @@ class ImportItem(AvdModel): "vpn_route_filter_rcf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address_family") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family: str route_targets: list[str] @@ -40192,6 +42126,8 @@ class ExportItem(AvdModel): "vpn_route_filter_rcf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address_family") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family: str route_targets: list[str] @@ -40254,8 +42190,10 @@ class Export(AvdIndexedList[str, ExportItem]): Export._item_type = ExportItem - _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_import": {"type": Import, "key": "import"}, "export": {"type": Export}} + _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_import": {"type": Import}, "export": {"type": Export}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_import": "import"} + _key_to_field_map: ClassVar[dict] = {"import": "field_import"} _custom_data: dict[str, Any] field_import: Import export: Export @@ -40285,6 +42223,8 @@ def __init__( class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -40320,6 +42260,8 @@ class Networks(AvdIndexedList[str, NetworksItem]): class Updates(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] wait_for_convergence: bool | None """ @@ -40372,6 +42314,8 @@ class ListenRangesItem(AvdModel): "remote_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str | None """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -40434,6 +42378,8 @@ class NeighborsItem(AvdModel): class RemovePrivateAs(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -40466,6 +42412,8 @@ def __init__( class RemovePrivateAsIngress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None replace_as: bool | None @@ -40495,6 +42443,8 @@ def __init__( class AsPath(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_as_replace_out: bool | None """Replace AS number with local AS number.""" @@ -40526,6 +42476,8 @@ def __init__( class BfdTimers(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -40560,6 +42512,8 @@ def __init__( class RibInPrePolicyRetain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -40589,6 +42543,8 @@ def __init__( class AllowasIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "times": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None times: int | None @@ -40619,6 +42575,8 @@ def __init__( class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -40651,6 +42609,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -40738,6 +42698,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str peer_group: str | None @@ -40898,6 +42860,8 @@ class NeighborInterfacesItem(AvdModel): "description": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface name.""" @@ -40955,6 +42919,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -40984,6 +42950,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41019,6 +42987,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41065,6 +43035,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41114,6 +43086,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -41170,6 +43144,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41208,6 +43184,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41247,6 +43225,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -41291,6 +43271,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -41343,6 +43325,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41381,6 +43365,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41420,6 +43406,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -41464,6 +43452,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -41510,6 +43500,8 @@ def __init__( class Rip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41545,6 +43537,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -41591,6 +43585,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -41641,6 +43637,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -41701,6 +43699,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -41769,6 +43769,8 @@ class AggregateAddressesItem(AvdModel): "match_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -41818,6 +43820,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -41854,6 +43858,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] install: bool | None """Install BGP backup path.""" @@ -41923,6 +43929,8 @@ def __init__( "redistribute_internal": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy additional_paths: AdditionalPaths @@ -41958,6 +43966,8 @@ class NextHop(AvdModel): class AddressFamilyIpv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "originate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool originate: bool | None @@ -41986,6 +43996,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address_family_ipv6": {"type": AddressFamilyIpv6}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family_ipv6: AddressFamilyIpv6 @@ -42017,6 +44029,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -42085,6 +44099,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -42159,6 +44175,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4 prefix "A.B.C.D/E".""" @@ -42195,6 +44213,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42224,6 +44244,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42259,6 +44281,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42305,6 +44329,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42354,6 +44380,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -42410,6 +44438,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42448,6 +44478,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42487,6 +44519,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -42531,6 +44565,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -42583,6 +44619,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42621,6 +44659,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42660,6 +44700,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -42704,6 +44746,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -42750,6 +44794,8 @@ def __init__( class Rip(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42785,6 +44831,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -42831,6 +44879,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -42881,6 +44931,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -42941,6 +44993,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -43007,6 +45061,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -43048,6 +45104,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -43084,6 +45142,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] install: bool | None """Install BGP backup path.""" @@ -43153,6 +45213,8 @@ def __init__( "redistribute_internal": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy additional_paths: AdditionalPaths @@ -43192,6 +45254,8 @@ class AdditionalPaths(AvdModel): "send_limit": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None """Enable or disable reception of additional-paths.""" @@ -43259,6 +45323,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -43330,6 +45396,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -43366,6 +45434,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43395,6 +45465,8 @@ def __init__( class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43430,6 +45502,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43476,6 +45550,8 @@ def __init__( class Dhcp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43505,6 +45581,8 @@ def __init__( class Dynamic(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43554,6 +45632,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -43610,6 +45690,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43648,6 +45730,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43687,6 +45771,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -43731,6 +45817,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -43783,6 +45871,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -43829,6 +45919,8 @@ def __init__( class User(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool rcf: str | None @@ -43878,6 +45970,8 @@ def __init__( "user": {"type": User}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost bgp: Bgp @@ -43935,6 +46029,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -43999,6 +46095,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -44040,6 +46138,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -44069,6 +46169,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -44095,6 +46197,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy additional_paths: AdditionalPaths @@ -44125,6 +46229,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -44154,6 +46260,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -44199,6 +46307,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv6 prefix "A.B.C.D/E".""" @@ -44235,6 +46345,8 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44264,6 +46376,8 @@ def __init__( class Connected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44300,6 +46414,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -44351,6 +46467,8 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44380,6 +46498,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44414,6 +46534,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -44453,6 +46575,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -44501,6 +46625,8 @@ class MatchExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44539,6 +46665,8 @@ class MatchInternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44578,6 +46706,8 @@ class MatchNssaExternal(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -44622,6 +46752,8 @@ def __init__( "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -44668,6 +46800,8 @@ def __init__( class Static(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -44704,6 +46838,8 @@ def __init__( "static": {"type": Static}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] attached_host: AttachedHost connected: Connected @@ -44752,6 +46888,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -44817,6 +46955,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -44858,6 +46998,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -44887,6 +47029,8 @@ def __init__( class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -44913,6 +47057,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy additional_paths: AdditionalPaths @@ -44943,6 +47089,8 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "receive": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] receive: bool | None @@ -44972,6 +47120,8 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -45017,6 +47167,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -45053,6 +47205,8 @@ class Redistribute(AvdModel): class Connected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45089,6 +47243,8 @@ class Isis(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool isis_level: str | None @@ -45140,6 +47296,8 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45169,6 +47327,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45203,6 +47363,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -45242,6 +47404,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPF routes.""" @@ -45285,6 +47449,8 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45314,6 +47480,8 @@ def __init__( class MatchInternal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45348,6 +47516,8 @@ class MatchNssaExternal(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool nssa_type: int | None @@ -45387,6 +47557,8 @@ def __init__( "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -45429,6 +47601,8 @@ def __init__( class Static(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -45464,6 +47638,8 @@ def __init__( "static": {"type": Static}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] connected: Connected isis: Isis @@ -45509,6 +47685,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -45574,6 +47752,8 @@ def __init__( "redistribute_routes": {"type": list, "items": RedistributeRoutesItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -45615,6 +47795,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -45643,6 +47825,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "missing_policy": {"type": MissingPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy @@ -45666,6 +47850,8 @@ def __init__( class NeighborsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -45699,6 +47885,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -45730,6 +47918,8 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction_in_action": {"type": str}, "direction_out_action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in_action: str | None direction_out_action: str | None @@ -45758,6 +47948,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "missing_policy": {"type": MissingPolicy}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] missing_policy: MissingPolicy @@ -45781,6 +47973,8 @@ def __init__( class NeighborsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "activate": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str activate: bool | None @@ -45814,6 +48008,8 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bgp: Bgp neighbors: Neighbors @@ -45869,6 +48065,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -45991,6 +48189,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class SessionTrackersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "recovery_delay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of session tracker.""" @@ -46026,7 +48226,7 @@ class SessionTrackers(AvdIndexedList[str, SessionTrackersItem]): _fields: ClassVar[dict] = { "_custom_data": {"type": dict}, - "field_as": {"type": str, "key": "as"}, + "field_as": {"type": str}, "as_notation": {"type": str}, "router_id": {"type": str}, "distance": {"type": Distance}, @@ -46067,6 +48267,8 @@ class SessionTrackers(AvdIndexedList[str, SessionTrackersItem]): "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_as": "as"} + _key_to_field_map: ClassVar[dict] = {"as": "field_as"} _custom_data: dict[str, Any] field_as: str | None """ @@ -46235,6 +48437,8 @@ class RouterGeneral(AvdModel): class RouterId(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": str}, "ipv6": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: str | None """IPv4 Address.""" @@ -46267,6 +48471,8 @@ class VrfsItem(AvdModel): class LeakRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_vrf": {"type": str}, "subscribe_policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_vrf: str | None subscribe_policy: str | None @@ -46298,6 +48504,8 @@ class Routes(AvdModel): class DynamicPrefixListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Dynamic Prefix List Name.""" @@ -46319,6 +48527,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic_prefix_lists": {"type": list, "items": DynamicPrefixListsItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic_prefix_lists: list[DynamicPrefixListsItem] @@ -46349,6 +48559,8 @@ def __init__( "routes": {"type": Routes}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Destination-VRF.""" @@ -46388,6 +48600,8 @@ class ControlFunctions(AvdModel): class CodeUnitsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "content": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "content") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of the code unit.""" @@ -46436,6 +48650,8 @@ class CodeUnits(AvdIndexedList[str, CodeUnitsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "code_units": {"type": CodeUnits}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] code_units: CodeUnits @@ -46462,6 +48678,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "control_functions": {"type": ControlFunctions}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] router_id: RouterId nexthop_fast_failover: bool | None @@ -46515,6 +48733,8 @@ class RouterIgmp(AvdModel): class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "host_proxy_match_mroute": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -46564,6 +48784,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "vrfs": {"type": Vrfs}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host_proxy_match_mroute: str | None """ @@ -46616,6 +48838,8 @@ class PoliciesItem(AvdModel): class ExitGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -46636,6 +48860,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "exit_groups": {"type": list, "items": ExitGroupsItem}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str exit_groups: list[ExitGroupsItem] @@ -46677,6 +48903,8 @@ class ExitGroupsItem(AvdModel): class LocalConnectionsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -46702,6 +48930,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "local_connections": {"type": list, "items": LocalConnectionsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str fib_default: bool | None @@ -46754,6 +48984,8 @@ class ExitGroups(AvdIndexedList[str, ExitGroupsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}, "exit_groups": {"type": ExitGroups}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """Internet-exit policy represent a policy which can be attached to a virtual topology profile.""" @@ -46794,6 +49026,8 @@ class Timers(AvdModel): class LocalConvergence(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "protected_prefixes": {"type": bool}, "delay": {"type": int, "default": 10000}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protected_prefixes: bool | None delay: int | None @@ -46823,6 +49057,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "local_convergence": {"type": LocalConvergence}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local_convergence: LocalConvergence @@ -46848,6 +49084,8 @@ class OnStartup(AvdModel): class WaitForBgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None timeout: int | None @@ -46877,6 +49115,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "delay": {"type": int}, "wait_for_bgp": {"type": WaitForBgp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] delay: int | None """Number of seconds.""" @@ -46906,6 +49146,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "on_startup": {"type": OnStartup}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None on_startup: OnStartup @@ -46944,6 +49186,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -46991,6 +49235,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -47012,6 +49258,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -47049,6 +49297,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -47107,6 +49357,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -47154,6 +49406,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -47175,6 +49429,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -47212,6 +49468,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -47270,6 +49528,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -47317,6 +49577,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -47338,6 +49600,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -47375,6 +49639,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -47424,6 +49690,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] both: Both """ @@ -47464,6 +49732,8 @@ def __init__( class Advertise(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "passive_only": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] passive_only: bool | None @@ -47491,6 +49761,8 @@ class RedistributeRoutesItem(AvdModel): "ospf_route_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_protocol: str route_map: str | None @@ -47530,6 +49802,8 @@ class FastRerouteTiLfa(AvdModel): class Srlg(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "strict": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None strict: bool | None @@ -47558,6 +49832,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None level: str | None @@ -47591,6 +49867,8 @@ def __init__( class TunnelSourceLabeledUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "rcf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None rcf: str | None @@ -47627,6 +49905,8 @@ def __init__( "tunnel_source_labeled_unicast": {"type": TunnelSourceLabeledUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool maximum_paths: int | None @@ -47668,6 +49948,8 @@ class FastRerouteTiLfa(AvdModel): class Srlg(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool}, "strict": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None strict: bool | None @@ -47696,6 +49978,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None level: str | None @@ -47735,6 +50019,8 @@ def __init__( "fast_reroute_ti_lfa": {"type": FastRerouteTiLfa}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool maximum_paths: int | None @@ -47772,6 +50058,8 @@ class SegmentRoutingMpls(AvdModel): class PrefixSegmentsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}, "index": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str | None index: int | None @@ -47805,6 +50093,8 @@ def __init__( "prefix_segments": {"type": list, "items": PrefixSegmentsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None router_id: str | None @@ -47843,6 +50133,8 @@ class SpfInterval(AvdModel): "hold_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None """ @@ -47892,6 +50184,8 @@ class GracefulRestart(AvdModel): class T2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level_1_wait_time": {"type": int}, "level_2_wait_time": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level_1_wait_time: int | None """Level-1 LSP database sync wait time in seconds.""" @@ -47922,6 +50216,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "restart_hold_time": {"type": int}, "t2": {"type": T2}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None restart_hold_time: int | None @@ -47973,6 +50269,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "instance") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] instance: str """ISIS Instance Name.""" @@ -48052,6 +50350,8 @@ class RouterL2Vpn(AvdModel): class ArpProxy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """Prefix-list name. ARP Proxying is disabled for IPv4 addresses defined in the prefix-list.""" @@ -48074,6 +50374,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class NdProxy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix_list: str | None """ @@ -48109,6 +50411,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "virtual_router_nd_ra_flooding_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] arp_learning_bridged: bool | None arp_proxy: ArpProxy @@ -48154,6 +50458,8 @@ class RouterMsdp(AvdModel): class GroupLimitsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_prefix": {"type": str}, "limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "source_prefix", "limit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_prefix: str """Source address prefix.""" @@ -48191,6 +50497,8 @@ class PeersItem(AvdModel): class DefaultPeer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "prefix_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None prefix_list: str | None @@ -48221,6 +50529,8 @@ def __init__( class MeshGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Mesh group name.""" @@ -48248,6 +50558,8 @@ class MeshGroups(AvdIndexedList[str, MeshGroupsItem]): class Keepalive(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "keepalive_timer": {"type": int}, "hold_timer": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "keepalive_timer", "hold_timer") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] keepalive_timer: int hold_timer: int @@ -48278,6 +50590,8 @@ def __init__( class SaFilter(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "in_list": {"type": str}, "out_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] in_list: str | None """ACL to filter inbound SA messages.""" @@ -48319,6 +50633,8 @@ def __init__( "sa_filter": {"type": SaFilter}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv4_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_address: str """Peer IP Address.""" @@ -48378,6 +50694,8 @@ class VrfsItem(AvdModel): class GroupLimitsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source_prefix": {"type": str}, "limit": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "source_prefix", "limit") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_prefix: str """Source address prefix.""" @@ -48415,6 +50733,8 @@ class PeersItem(AvdModel): class DefaultPeer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "prefix_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None prefix_list: str | None @@ -48445,6 +50765,8 @@ def __init__( class MeshGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Mesh group name.""" @@ -48472,6 +50794,8 @@ class MeshGroups(AvdIndexedList[str, MeshGroupsItem]): class Keepalive(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "keepalive_timer": {"type": int}, "hold_timer": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "keepalive_timer", "hold_timer") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] keepalive_timer: int hold_timer: int @@ -48502,6 +50826,8 @@ def __init__( class SaFilter(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "in_list": {"type": str}, "out_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] in_list: str | None """ACL to filter inbound SA messages.""" @@ -48543,6 +50869,8 @@ def __init__( "sa_filter": {"type": SaFilter}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv4_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_address: str """Peer IP Address.""" @@ -48609,6 +50937,8 @@ class Peers(AvdIndexedList[str, PeersItem]): "peers": {"type": Peers}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -48669,6 +50999,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "vrfs": {"type": Vrfs}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] originator_id_local_interface: str | None """Interface to use for originator ID.""" @@ -48717,6 +51049,8 @@ class Ipv4(AvdModel): class Counters(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate_period_decay": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate_period_decay: int | None """Rate in seconds.""" @@ -48743,6 +51077,8 @@ class RoutesItem(AvdModel): class DestinationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "nexthop": {"type": str}, "distance": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "nexthop") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] nexthop: str """Next-hop IP address or interface name.""" @@ -48777,6 +51113,8 @@ def __init__( "destinations": {"type": list, "items": DestinationsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "source_prefix", "destinations") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_prefix: str """Source address A.B.C.D or Source prefix A.B.C.D/E.""" @@ -48806,6 +51144,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "routes": {"type": list, "items": RoutesItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] routes: list[RoutesItem] @@ -48834,6 +51174,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "rpf": {"type": Rpf}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activity_polling_interval: int | None """MFIB entry activity polling interval.""" @@ -48876,6 +51218,8 @@ def __init__( class Ipv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "activity_polling_interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activity_polling_interval: int | None """MFIB entry activity polling interval.""" @@ -48901,6 +51245,8 @@ class VrfsItem(AvdModel): class Ipv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "routing": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] routing: bool | None @@ -48921,6 +51267,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str ipv4: Ipv4 @@ -48950,6 +51298,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "vrfs": {"type": Vrfs}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 ipv6: Ipv6 @@ -48984,6 +51334,8 @@ class ProcessIdsItem(AvdModel): class Distance(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "external": {"type": int}, "inter_area": {"type": int}, "intra_area": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] external: int | None inter_area: int | None @@ -49016,6 +51368,8 @@ def __init__( class NetworkPrefixesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_prefix": {"type": str}, "area": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "ipv4_prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_prefix: str area: str | None @@ -49050,6 +51404,8 @@ class NetworkPrefixes(AvdIndexedList[str, NetworkPrefixesItem]): class DistributeListIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] route_map: str | None @@ -49073,6 +51429,8 @@ class Lsa(AvdModel): class TxDelay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "initial": {"type": int}, "min": {"type": int}, "max": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] initial: int | None """Delay to generate first occurrence of LSA in msecs.""" @@ -49107,6 +51465,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rx_min_interval": {"type": int}, "tx_delay": {"type": TxDelay}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rx_min_interval: int | None """Min interval in msecs between accepting the same LSA.""" @@ -49137,6 +51497,8 @@ def __init__( class SpfDelay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "initial": {"type": int}, "min": {"type": int}, "max": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] initial: int | None """Initial SPF schedule delay in msecs.""" @@ -49171,6 +51533,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "lsa": {"type": Lsa}, "spf_delay": {"type": SpfDelay}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] lsa: Lsa spf_delay: SpfDelay @@ -49200,6 +51564,8 @@ def __init__( class DefaultInformationOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "always": {"type": bool}, "metric": {"type": int}, "metric_type": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always: bool | None metric: int | None @@ -49240,6 +51606,8 @@ class SummaryAddressesItem(AvdModel): "not_advertise": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """Summary Prefix Address.""" @@ -49287,6 +51655,8 @@ class Static(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -49325,6 +51695,8 @@ class Connected(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -49363,6 +51735,8 @@ class Bgp(AvdModel): "include_leaked": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool route_map: str | None @@ -49395,6 +51769,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "static": {"type": Static}, "connected": {"type": Connected}, "bgp": {"type": Bgp}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] static: Static connected: Connected @@ -49428,6 +51804,8 @@ class AreasItem(AvdModel): class Filter(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "networks": {"type": list, "items": str}, "prefix_list": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] networks: list[str] prefix_list: str | None @@ -49458,6 +51836,8 @@ def __init__( class DefaultInformationOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "metric": {"type": int}, "metric_type": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] metric: int | None """Metric for default route.""" @@ -49496,6 +51876,8 @@ def __init__( "default_information_originate": {"type": DefaultInformationOriginate}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str filter: Filter @@ -49544,6 +51926,8 @@ class RouterLsa(AvdModel): class ExternalLsa(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "override_metric": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] override_metric: int | None @@ -49567,6 +51951,8 @@ def __init__( class SummaryLsa(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "override_metric": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] override_metric: int | None @@ -49595,6 +51981,8 @@ def __init__( "summary_lsa": {"type": SummaryLsa}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] external_lsa: ExternalLsa include_stub: bool | None @@ -49635,6 +52023,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "router_lsa": {"type": RouterLsa}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] router_lsa: RouterLsa @@ -49679,6 +52069,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """OSPF Process ID.""" @@ -49777,6 +52169,8 @@ class ProcessIds(AvdIndexedList[int, ProcessIdsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "process_ids": {"type": ProcessIds}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] process_ids: ProcessIds @@ -49801,6 +52195,8 @@ class LocalInterfacesItem(AvdModel): class Stun(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "server_profiles": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "server_profiles") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server_profiles: list[str] """STUN server-profile names.""" @@ -49824,6 +52220,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Local interface name.""" @@ -49864,6 +52262,8 @@ class LocalIpsItem(AvdModel): class Stun(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "server_profiles": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "server_profiles") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server_profiles: list[str] """STUN server-profile names.""" @@ -49887,6 +52287,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_address": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str public_address: str | None @@ -49925,6 +52327,8 @@ class LocalIps(AvdIndexedList[str, LocalIpsItem]): class DynamicPeers(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "ip_local": {"type": bool}, "ipsec": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable `peer dynamic`.""" @@ -49965,6 +52369,8 @@ class StaticPeersItem(AvdModel): "ipv4_addresses": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "router_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] router_ip: str """Peer router IP.""" @@ -50010,6 +52416,8 @@ class Keepalive(AvdModel): "failure_threshold": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] auto: bool | None """Enable adaptive keepalive and feedback interval.""" @@ -50055,6 +52463,8 @@ def __init__( "keepalive": {"type": Keepalive}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Path group name.""" @@ -50116,6 +52526,8 @@ class LoadBalancePoliciesItem(AvdModel): class PathGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Path-group name.""" @@ -50164,6 +52576,8 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): "path_groups": {"type": PathGroups}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Load-balance policy name.""" @@ -50222,6 +52636,8 @@ class PoliciesItem(AvdModel): class DefaultMatch(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "load_balance": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] load_balance: str | None """Name of the load-balance policy.""" @@ -50249,6 +52665,8 @@ class RulesItem(AvdModel): "load_balance": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "application_profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Rule ID.""" @@ -50287,6 +52705,8 @@ class Rules(AvdIndexedList[int, RulesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "default_match": {"type": DefaultMatch}, "rules": {"type": Rules}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """DPS policy name.""" @@ -50325,6 +52745,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "path_selection_policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -50361,6 +52783,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class TcpMssCeiling(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_segment_size": {"type": str}, "direction": {"type": str, "default": "ingress"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_segment_size: str | None """ @@ -50419,6 +52843,8 @@ def __init__( "tcp_mss_ceiling": {"type": TcpMssCeiling}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_dynamic_source: str | None """Source of dynamic peer discovery.""" @@ -50471,6 +52897,8 @@ class RpAddressesItem(AvdModel): "override": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """RP Address.""" @@ -50514,6 +52942,8 @@ class AnycastRpsItem(AvdModel): class OtherAnycastRpAddressesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}, "register_count": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Other Anycast RP Address.""" @@ -50552,6 +52982,8 @@ class OtherAnycastRpAddresses(AvdIndexedList[str, OtherAnycastRpAddressesItem]): "other_anycast_rp_addresses": {"type": OtherAnycastRpAddresses}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Anycast RP Address.""" @@ -50592,6 +53024,8 @@ class AnycastRps(AvdIndexedList[str, AnycastRpsItem]): "anycast_rps": {"type": AnycastRps}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bfd: bool | None """Enable/Disable BFD.""" @@ -50639,6 +53073,8 @@ class RpAddressesItem(AvdModel): "override": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """RP Address.""" @@ -50680,6 +53116,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "bfd": {"type": bool}, "rp_addresses": {"type": list, "items": RpAddressesItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bfd: bool | None """Enable/Disable BFD.""" @@ -50709,6 +53147,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -50739,6 +53179,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "vrfs": {"type": Vrfs}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 vrfs: Vrfs @@ -50774,6 +53216,8 @@ class SequenceNumbersItem(AvdModel): "next_hop": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "application", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -50830,6 +53274,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Policy name.""" @@ -50873,6 +53319,8 @@ class MatchListsItem(AvdModel): "prefix": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address_family") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address_family: str """Indicate which address-family the match list belongs to e.g. ipv4 or ipv6.""" @@ -50922,6 +53370,8 @@ class MatchLists(AvdIndexedList[str, MatchListsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interfaces": {"type": list, "items": str}, "match_lists": {"type": MatchLists}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interfaces: list[str] """The names of the source interface e.g. Port-Channel1 - note that platform support is limited.""" @@ -50951,8 +53401,10 @@ def __init__( setattr(self, arg, arg_value) class PoliciesItem(AvdModel): - _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_from": {"type": str, "key": "from"}, "policy": {"type": str}} + _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "field_from": {"type": str}, "policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "field_from") + _field_to_key_map: ClassVar[dict] = {"field_from": "from"} + _key_to_field_map: ClassVar[dict] = {"from": "field_from"} _custom_data: dict[str, Any] field_from: str """The name of the source segment or 'forwarding-segments' for all segments.""" @@ -50999,6 +53451,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "fallback_policy": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Segment name.""" @@ -51046,6 +53500,8 @@ class Segments(AvdIndexedList[str, SegmentsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "segments": {"type": Segments}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "segments") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str segments: Segments @@ -51079,6 +53535,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "policies": {"type": Policies}, "vrfs": {"type": Vrfs}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None policies: Policies @@ -51124,6 +53582,8 @@ class ConnectionsItem(AvdModel): class EthernetInterface(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "next_hop": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "next_hop") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """e.g. Ethernet2 or Ethernet2/2.2""" @@ -51155,6 +53615,8 @@ def __init__( class TunnelInterface(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "primary": {"type": str}, "secondary": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] primary: str | None """e.g. Tunnel2""" @@ -51191,6 +53653,8 @@ def __init__( "monitor_connectivity_host": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Connection name.""" @@ -51253,6 +53717,8 @@ class Connections(AvdIndexedList[str, ConnectionsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "connections": {"type": Connections}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None connections: Connections @@ -51283,6 +53749,8 @@ class RouterTrafficEngineering(AvdModel): class RouterId(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": str}, "ipv6": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: str | None ipv6: str | None @@ -51321,6 +53789,8 @@ class SegmentListItem(AvdModel): "index": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] label_stack: str | None """ @@ -51363,6 +53833,8 @@ def __init__( "segment_list": {"type": list, "items": SegmentListItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] preference: int | None explicit_null: str | None @@ -51402,6 +53874,8 @@ def __init__( "path_group": {"type": list, "items": PathGroupItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] value: int binding_sid: int | None @@ -51448,6 +53922,8 @@ class Colors(AvdIndexedList[int, ColorsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}, "colors": {"type": Colors}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str | None """IPv4 or IPv6 address.""" @@ -51481,6 +53957,8 @@ def __init__( "policy_endpoints": {"type": list, "items": PolicyEndpointsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] colored_tunnel_rib: bool | None policy_endpoints: list[PolicyEndpointsItem] @@ -51514,6 +53992,8 @@ def __init__( "segment_routing": {"type": SegmentRouting}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool router_id: RouterId @@ -51546,6 +54026,8 @@ def __init__( class ServiceRoutingConfigurationBgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "no_equals_default": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] no_equals_default: bool | None @@ -51567,6 +54049,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class ServiceUnsupportedTransceiver(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "license_name": {"type": str}, "license_key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] license_name: str | None license_key: str | None @@ -51598,6 +54082,8 @@ class VrfsItem(AvdModel): class DestinationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "destination") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination: str """Sflow Destination IP Address.""" @@ -51639,6 +54125,8 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): "source_interface": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str destinations: Destinations @@ -51688,6 +54176,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class DestinationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "destination") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination: str """Sflow Destination IP Address.""" @@ -51724,6 +54214,8 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): class ExtensionsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Extension Name.""" @@ -51761,6 +54253,8 @@ class Interface(AvdModel): class Disable(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: bool | None @@ -51782,6 +54276,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Egress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable_default": {"type": bool}, "unmodified": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable_default: bool | None """Enable egress sFlow by default.""" @@ -51817,6 +54313,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "disable": {"type": Disable}, "egress": {"type": Egress}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] disable: Disable egress: Egress @@ -51847,6 +54345,8 @@ class HardwareAcceleration(AvdModel): class ModulesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enabled": {"type": bool, "default": True}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str enabled: bool | None @@ -51880,6 +54380,8 @@ class Modules(AvdIndexedList[str, ModulesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "sample": {"type": int}, "modules": {"type": Modules}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None sample: int | None @@ -51926,6 +54428,8 @@ def __init__( "hardware_acceleration": {"type": HardwareAcceleration}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sample: int | None sample_input_subinterface: bool | None @@ -52000,6 +54504,8 @@ class EngineIds(AvdModel): class RemotesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": str}, "address": {"type": str}, "udp_port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str | None """Remote engine ID in hexadecimal.""" @@ -52033,6 +54539,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "local": {"type": str}, "remotes": {"type": list, "items": RemotesItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local: str | None """Engine ID in hexadecimal.""" @@ -52064,6 +54572,8 @@ class CommunitiesItem(AvdModel): class AccessListIpv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv4 access list name.""" @@ -52086,6 +54596,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class AccessListIpv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv6 access list name.""" @@ -52114,6 +54626,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "view": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Community name.""" @@ -52158,6 +54672,8 @@ class Communities(AvdIndexedList[str, CommunitiesItem]): class Ipv4AclsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv4 access list name.""" @@ -52188,6 +54704,8 @@ def __init__( class Ipv6AclsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv6 access list name.""" @@ -52218,6 +54736,8 @@ def __init__( class LocalInterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface name.""" @@ -52253,6 +54773,8 @@ class LocalInterfaces(AvdIndexedList[str, LocalInterfacesItem]): class ViewsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """SNMP view name.""" @@ -52294,6 +54816,8 @@ class GroupsItem(AvdModel): "notify": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Group name.""" @@ -52351,6 +54875,8 @@ class UsersItem(AvdModel): "priv_passphrase": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Username.""" @@ -52419,6 +54945,8 @@ class HostsItem(AvdModel): class UsersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "username": {"type": str}, "authentication_level": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] username: str | None authentication_level: str | None @@ -52454,6 +54982,8 @@ def __init__( "users": {"type": list, "items": UsersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Host IP address or name.""" @@ -52495,6 +55025,8 @@ class Traps(AvdModel): class SnmpTrapsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enabled": {"type": bool, "default": True}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """ @@ -52538,6 +55070,8 @@ def __init__( "snmp_traps": {"type": list, "items": SnmpTrapsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None """Enable or disable all snmp-traps.""" @@ -52568,6 +55102,8 @@ def __init__( class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "enable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -52618,6 +55154,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "ifmib_ifspeed_shape_rate": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] engine_ids: EngineIds contact: str | None @@ -52687,6 +55225,8 @@ class SpanningTree(AvdModel): class EdgePort(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "bpdufilter_default": {"type": bool}, "bpduguard_default": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] bpdufilter_default: bool | None bpduguard_default: bool | None @@ -52716,6 +55256,8 @@ def __init__( class BpduguardRateLimit(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "default": {"type": bool}, "count": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] default: bool | None count: int | None @@ -52748,6 +55290,8 @@ class Configuration(AvdModel): class InstancesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "vlans": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Instance ID.""" @@ -52788,6 +55332,8 @@ class Instances(AvdIndexedList[int, InstancesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "revision": {"type": int}, "instances": {"type": Instances}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None revision: int | None @@ -52820,6 +55366,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pvst_border": {"type": bool}, "configuration": {"type": Configuration}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pvst_border: bool | None configuration: Configuration @@ -52849,6 +55397,8 @@ def __init__( class MstInstancesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str """Instance ID.""" @@ -52884,6 +55434,8 @@ class MstInstances(AvdIndexedList[str, MstInstancesItem]): class RapidPvstInstancesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: str """ @@ -52934,6 +55486,8 @@ class RapidPvstInstances(AvdIndexedList[str, RapidPvstInstancesItem]): "rapid_pvst_instances": {"type": RapidPvstInstances}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] root_super: bool | None edge_port: EdgePort @@ -52991,6 +55545,8 @@ class StandardAccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -53036,6 +55592,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): "sequence_numbers": {"type": SequenceNumbers}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Access-list Name.""" @@ -53085,6 +55643,8 @@ class StaticRoutesItem(AvdModel): "metric": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vrf: str | None """VRF Name.""" @@ -53148,6 +55708,8 @@ class ServerProfilesItem(AvdModel): "port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str ip_address: str | None @@ -53189,6 +55751,8 @@ class ServerProfiles(AvdIndexedList[str, ServerProfilesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "server_profiles": {"type": ServerProfiles}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server_profiles: ServerProfiles """List of server profiles for the client.""" @@ -53214,6 +55778,8 @@ class Server(AvdModel): class SslConnectionLifetime(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "minutes": {"type": int}, "hours": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] minutes: int | None """SSL connection lifetime in minutes (default - 120).""" @@ -53251,6 +55817,8 @@ def __init__( "port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] local_interfaces: list[str] bindings_timeout: int | None @@ -53299,6 +55867,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client": {"type": Client}, "server": {"type": Server}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client: Client """STUN client settings.""" @@ -53331,6 +55901,8 @@ class SwitchportDefault(AvdModel): class Phone(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "cos": {"type": int}, "trunk": {"type": str}, "vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] cos: int | None trunk: str | None @@ -53363,6 +55935,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "phone": {"type": Phone}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None phone: Phone @@ -53393,6 +55967,8 @@ class SwitchportPortSecurity(AvdModel): class MacAddress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "aging": {"type": bool}, "moveable": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] aging: bool | None moveable: bool | None @@ -53426,6 +56002,8 @@ def __init__( "violation_protect_chip_based": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mac_address: MacAddress persistence_disabled: bool | None @@ -53458,6 +56036,8 @@ def __init__( class SyncE(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "network_option": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "network_option") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] network_option: int @@ -53481,6 +56061,8 @@ class ControlPlane(AvdModel): class TcpMss(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": int}, "ipv6": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: int | None """Segment size.""" @@ -53512,6 +56094,8 @@ def __init__( class Ipv4AccessGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "acl_name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "acl_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] acl_name: str vrf: str | None @@ -53541,6 +56125,8 @@ def __init__( class Ipv6AccessGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "acl_name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "acl_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] acl_name: str vrf: str | None @@ -53574,6 +56160,8 @@ def __init__( "ipv6_access_groups": {"type": list, "items": Ipv6AccessGroupsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tcp_mss: TcpMss ipv4_access_groups: list[Ipv4AccessGroupsItem] @@ -53610,6 +56198,8 @@ class L1(AvdModel): "unsupported_error_correction_action": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] unsupported_speed_action: str | None unsupported_error_correction_action: str | None @@ -53638,6 +56228,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "control_plane": {"type": ControlPlane}, "l1": {"type": L1}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] control_plane: ControlPlane l1: L1 @@ -53676,6 +56268,8 @@ class HostsItem(AvdModel): "timeout": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Host IP address or name.""" @@ -53724,6 +56318,8 @@ def __init__( "policy_unknown_mandatory_attribute_ignore": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timeout: int | None """Timeout in seconds.""" @@ -53764,6 +56360,8 @@ class Exclusive(AvdModel): "no_errdisable": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -53796,6 +56394,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "exclusive": {"type": Exclusive}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] exclusive: Exclusive @@ -53819,6 +56419,8 @@ class Timestamp(AvdModel): class Header(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "format": {"type": str}, "eth_type": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] format: str | None eth_type: int | None @@ -53848,6 +56450,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "replace_source_mac": {"type": bool}, "header": {"type": Header}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] replace_source_mac: bool | None header: Header @@ -53881,6 +56485,8 @@ def __init__( "fcs_error": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] timestamp: Timestamp """ @@ -53932,6 +56538,8 @@ def __init__( "mac": {"type": Mac}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: Mode encapsulation_dot1br_strip: bool | None @@ -53975,6 +56583,8 @@ class TcamProfile(AvdModel): class ProfilesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "config": {"type": str}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tcam-Profile Name.""" @@ -54026,6 +56636,8 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "system": {"type": str}, "profiles": {"type": Profiles}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] system: str | None """TCAM profile name to activate.""" @@ -54056,6 +56668,8 @@ def __init__( class Terminal(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "length": {"type": int}, "width": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] length: int | None width: int | None @@ -54090,6 +56704,8 @@ class TrackersItem(AvdModel): "tracked_property": {"type": str, "default": "line-protocol"}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "interface") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of tracker object.""" @@ -54131,6 +56747,8 @@ class TrafficPolicies(AvdModel): class Options(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "counter_per_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] counter_per_interface: bool | None @@ -54155,6 +56773,8 @@ class FieldSets(AvdModel): class Ipv4Item(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "prefixes": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """IPv4 Prefix Field Set Name.""" @@ -54190,6 +56810,8 @@ class Ipv4(AvdIndexedList[str, Ipv4Item]): class Ipv6Item(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "prefixes": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """IPv6 Prefix Field Set Name.""" @@ -54225,6 +56847,8 @@ class Ipv6(AvdIndexedList[str, Ipv6Item]): class PortsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "port_range": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """L4 Port Field Set Name.""" @@ -54260,6 +56884,8 @@ class Ports(AvdIndexedList[str, PortsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "ports": {"type": Ports}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 ipv6: Ipv6 @@ -54298,6 +56924,8 @@ class Source(AvdModel): "prefix_lists": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefixes: list[str] prefix_lists: list[str] @@ -54332,6 +56960,8 @@ class Destination(AvdModel): "prefix_lists": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefixes: list[str] prefix_lists: list[str] @@ -54362,6 +56992,8 @@ def __init__( class Fragment(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "offset": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset: str | None """Fragment offset range.""" @@ -54394,6 +57026,8 @@ class ProtocolsItem(AvdModel): "enforce_gtsm": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "protocol") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str src_port: str | None @@ -54458,6 +57092,8 @@ class Actions(AvdModel): "log": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp: int | None traffic_class: int | None @@ -54508,6 +57144,8 @@ def __init__( "actions": {"type": Actions}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Traffic Policy Item.""" @@ -54578,6 +57216,8 @@ class Ipv4(AvdModel): "log": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp: int | None traffic_class: int | None @@ -54626,6 +57266,8 @@ class Ipv6(AvdModel): "log": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp: int | None traffic_class: int | None @@ -54666,6 +57308,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 ipv6: Ipv6 @@ -54699,6 +57343,8 @@ def __init__( "default_actions": {"type": DefaultActions}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Traffic Policy Name.""" @@ -54741,6 +57387,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "policies": {"type": Policies}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] options: Options field_sets: FieldSets @@ -54774,6 +57422,8 @@ class TunnelInterfacesItem(AvdModel): class TcpMssCeiling(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: int | None """Segment Size for IPv4.""" @@ -54831,6 +57481,8 @@ def __init__( "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tunnel Interface Name.""" @@ -54957,6 +57609,8 @@ class TunnelInterfaces(AvdIndexedList[str, TunnelInterfacesItem]): class VirtualSourceNatVrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "ip_address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -54995,6 +57649,8 @@ class Logging(AvdModel): class Event(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "link_status": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] link_status: bool | None @@ -55015,6 +57671,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "event": {"type": Event}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] event: Event @@ -55038,6 +57696,8 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -55064,6 +57724,8 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "source": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "source") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str @@ -55089,6 +57751,8 @@ class Include(AvdIndexedList[str, IncludeItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} _required_fields: ClassVar[tuple] = ("_custom_data", "group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] group: str """Multicast Address.""" @@ -55129,6 +57793,8 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str @@ -55161,6 +57827,8 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: Groups @@ -55202,6 +57870,8 @@ def __init__( class IpHelpersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IP address or hostname of DHCP server.""" @@ -55250,6 +57920,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "pool_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -55302,6 +57974,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -55370,6 +58044,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -55407,6 +58083,8 @@ class DynamicItem(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "access_list", "nat_type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str comment: str | None @@ -55470,6 +58148,8 @@ class StaticItem(AvdModel): "translated_port": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "translated_ip") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -55538,6 +58218,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "dynamic": {"type": Dynamic}, "static": {"type": list, "items": StaticItem}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic: Dynamic static: list[StaticItem] @@ -55566,6 +58248,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination": {"type": Destination}, "source": {"type": Source}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination: Destination source: Source @@ -55600,6 +58284,8 @@ class Ipv6NdCache(AvdModel): "refresh_always": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic_capacity: int | None """Capacity of dynamic cache entries.""" @@ -55641,6 +58327,8 @@ class Ipv6NdPrefixesItem(AvdModel): "no_autoconfig_flag": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipv6_prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv6_prefix: str """IPv6_address/Mask.""" @@ -55691,6 +58379,8 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): "link_address": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """DHCP server's IPv6 address.""" @@ -55740,6 +58430,8 @@ class Ipv4(AvdModel): class BoundariesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundary": {"type": str}, "out": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "boundary") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundary: str """IPv4 access-list name or IPv4 multicast group prefix with mask.""" @@ -55775,6 +58467,8 @@ class Boundaries(AvdIndexedList[str, BoundariesItem]): class SourceRouteExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "administrative_distance": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool administrative_distance: int | None @@ -55808,6 +58502,8 @@ def __init__( "static": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundaries: Boundaries """ @@ -55847,6 +58543,8 @@ class Ipv6(AvdModel): class BoundariesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "boundary": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "boundary") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundary: str """IPv6 access-list name or IPv6 multicast group prefix with mask.""" @@ -55874,6 +58572,8 @@ class Boundaries(AvdIndexedList[str, BoundariesItem]): class SourceRouteExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "administrative_distance": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool administrative_distance: int | None @@ -55907,6 +58607,8 @@ def __init__( "static": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] boundaries: Boundaries """ @@ -55944,6 +58646,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 ipv6: Ipv6 @@ -55973,6 +58677,8 @@ def __init__( class OspfMessageDigestKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int hash_algorithm: str | None @@ -56013,6 +58719,8 @@ class Ipv4(AvdModel): class Hello(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "count": {"type": str}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" @@ -56052,6 +58760,8 @@ def __init__( "hello": {"type": Hello}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -56097,6 +58807,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": Ipv4}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: Ipv4 @@ -56127,6 +58839,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -56174,6 +58888,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -56195,6 +58911,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -56232,6 +58950,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -56290,6 +59010,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -56337,6 +59059,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -56358,6 +59082,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -56395,6 +59121,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -56453,6 +59181,8 @@ class KeyIdsItem(AvdModel): "rfc_5310": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "algorithm", "key_type", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Configure authentication key-id.""" @@ -56500,6 +59230,8 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key_id": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "key_id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_id: int @@ -56521,6 +59253,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str algorithm: str @@ -56558,6 +59292,8 @@ def __init__( "rx_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key_type: str | None """Configure authentication key type.""" @@ -56607,6 +59343,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] both: Both """ @@ -56648,6 +59386,8 @@ class VrrpIdsItem(AvdModel): class Advertisement(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None """Interval in seconds.""" @@ -56671,6 +59411,8 @@ class Preempt(AvdModel): class Delay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "minimum": {"type": int}, "reload": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] minimum: int | None """Minimum preempt delay in seconds.""" @@ -56701,6 +59443,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "delay": {"type": Delay}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool delay: Delay @@ -56731,6 +59475,8 @@ class Timers(AvdModel): class Delay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "reload": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] reload: int | None """Delay after reload in seconds.""" @@ -56752,6 +59498,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "delay": {"type": Delay}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] delay: Delay @@ -56773,6 +59521,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class TrackedObjectItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tracked object name.""" @@ -56812,6 +59562,8 @@ class TrackedObject(AvdIndexedList[str, TrackedObjectItem]): class Ipv4(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}, "version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Virtual IPv4 address.""" @@ -56842,6 +59594,8 @@ def __init__( class Ipv6(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "address": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] address: str """Virtual IPv6 address.""" @@ -56873,6 +59627,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "ipv6": {"type": Ipv6}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VRID.""" @@ -56927,6 +59683,8 @@ class VrrpIds(AvdIndexedList[int, VrrpIdsItem]): class IpAttachedHostRouteExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "distance": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool distance: int | None @@ -56956,6 +59714,8 @@ def __init__( class Ipv6AttachedHostRouteExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "distance": {"type": int}, "prefix_length": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool distance: int | None @@ -56996,6 +59756,8 @@ class Bfd(AvdModel): "multiplier": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] echo: bool | None interval: int | None @@ -57034,6 +59796,8 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "input": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] input: str | None """Name of policy-map used for policy based routing.""" @@ -57055,6 +59819,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pbr": {"type": Pbr}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pbr: Pbr @@ -57142,6 +59908,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VLAN interface name like "Vlan123".""" @@ -57394,6 +60162,8 @@ class VlanInternalOrder(AvdModel): class Range(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "beginning": {"type": int}, "ending": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "beginning", "ending") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] beginning: int """First VLAN ID.""" @@ -57424,6 +60194,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "allocation": {"type": str}, "range": {"type": Range}} _required_fields: ClassVar[tuple] = ("_custom_data", "allocation", "range") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allocation: str range: Range @@ -57454,6 +60226,8 @@ class VlansItem(AvdModel): class PrivateVlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "primary_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None primary_vlan: int | None @@ -57491,6 +60265,8 @@ def __init__( "tenant": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VLAN ID.""" @@ -57548,6 +60324,8 @@ class VmtracerSessionsItem(AvdModel): "source_interface": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Vmtracer Session Name.""" @@ -57604,6 +60382,8 @@ class VrfsItem(AvdModel): "tenant": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -57655,6 +60435,8 @@ class Vxlan(AvdModel): class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "headend_replication": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] headend_replication: bool | None @@ -57678,6 +60460,8 @@ def __init__( class ControllerClient(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -57705,6 +60489,8 @@ class BfdVtepEvpn(AvdModel): "prefix_list": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None min_rx: int | None @@ -57745,6 +60531,8 @@ class Qos(AvdModel): "map_dscp_to_traffic_class_decapsulation": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp_propagation_encapsulation: bool | None ecn_propagation: bool | None @@ -57784,6 +60572,8 @@ class VlansItem(AvdModel): "flood_vteps": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VLAN ID.""" @@ -57826,6 +60616,8 @@ class Vlans(AvdIndexedList[int, VlansItem]): class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -57879,6 +60671,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "flood_vtep_learned_data_plane": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_interface: str | None """Source Interface Name.""" @@ -57954,6 +60748,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None vxlan: Vxlan @@ -57994,6 +60790,8 @@ class Vxlan(AvdModel): class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "headend_replication": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] headend_replication: bool | None @@ -58017,6 +60815,8 @@ def __init__( class ControllerClient(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -58044,6 +60844,8 @@ class BfdVtepEvpn(AvdModel): "prefix_list": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None min_rx: int | None @@ -58084,6 +60886,8 @@ class Qos(AvdModel): "map_dscp_to_traffic_class_decapsulation": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dscp_propagation_encapsulation: bool | None ecn_propagation: bool | None @@ -58123,6 +60927,8 @@ class VlansItem(AvdModel): "flood_vteps": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VLAN ID.""" @@ -58165,6 +60971,8 @@ class Vlans(AvdIndexedList[int, VlansItem]): class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF Name.""" @@ -58218,6 +61026,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "flood_vtep_learned_data_plane": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source_interface: str | None """Source Interface Name.""" @@ -58293,6 +61103,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None vxlan: Vxlan @@ -58328,8 +61140,10 @@ def __init__( continue setattr(self, arg, arg_value) - _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vxlan1": {"type": Vxlan1}, "field_Vxlan1": {"type": Vxlan1, "key": "Vxlan1"}} + _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "vxlan1": {"type": Vxlan1}, "field_Vxlan1": {"type": Vxlan1}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {"field_Vxlan1": "Vxlan1"} + _key_to_field_map: ClassVar[dict] = {"Vxlan1": "field_Vxlan1"} _custom_data: dict[str, Any] vxlan1: Vxlan1 field_Vxlan1: Vxlan1 @@ -58539,6 +61353,8 @@ def __init__( "vxlan_interface": {"type": VxlanInterface}, } _required_fields: ClassVar[tuple] = () + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _allow_other_keys: ClassVar[bool] = True aaa_accounting: AaaAccounting aaa_authentication: AaaAuthentication diff --git a/python-avd/pyavd/_eos_designs/schema/__init__.py b/python-avd/pyavd/_eos_designs/schema/__init__.py index 7a4c5105569..06225ba7cd0 100644 --- a/python-avd/pyavd/_eos_designs/schema/__init__.py +++ b/python-avd/pyavd/_eos_designs/schema/__init__.py @@ -5,18 +5,22 @@ from typing import Any, ClassVar from pyavd._eos_cli_config_gen.schema import EosCliConfigGen -from pyavd._schema.loader import coerce_type -from pyavd._schema.models import AvdIndexedList, AvdModel +from pyavd._schema.coerce_type import coerce_type +from pyavd._schema.models.avd_indexed_list import AvdIndexedList +from pyavd._schema.models.avd_model import AvdModel +from pyavd._schema.models.eos_designs_root_model import EosDesignsRootModel from pyavd._utils import Undefined, UndefinedType -class EosDesigns(AvdModel): +class EosDesigns(EosDesignsRootModel): class ApplicationClassification(EosCliConfigGen.ApplicationTrafficRecognition): pass class BfdMultihop(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int min_rx: int @@ -52,6 +56,8 @@ class BgpDistance(EosCliConfigGen.RouterBgp.Distance): class BgpGracefulRestart(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}, "restart_time": {"type": int, "default": 300}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool """Enable or disable graceful-restart for all BGP peers.""" @@ -93,6 +99,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -140,6 +148,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -187,6 +197,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -234,6 +246,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -281,6 +295,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -328,6 +344,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -375,6 +393,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -419,6 +439,8 @@ class BfdTimers(AvdModel): "multiplier": {"type": int, "default": 10}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -464,6 +486,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -552,6 +576,8 @@ class BfdTimers(AvdModel): "multiplier": {"type": int, "default": 10}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -596,6 +622,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Name of peer group.""" @@ -677,6 +705,8 @@ def __init__( "wan_rr_overlay_peers": {"type": WanRrOverlayPeers}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_underlay_peers: Ipv4UnderlayPeers mlag_ipv4_underlay_peer: MlagIpv4UnderlayPeer @@ -728,6 +758,8 @@ def __init__( class ConnectedEndpointsKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "key": {"type": str}, "type": {"type": str}, "description": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key: str type: str | None @@ -773,6 +805,8 @@ class P2pLinksIpPoolsItem(AvdModel): "prefix_size": {"type": int, "default": 31}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """P2P pool name.""" @@ -814,6 +848,8 @@ class P2pLinksProfilesItem(AvdModel): class Ptp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable PTP.""" @@ -836,6 +872,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -872,6 +910,8 @@ class NodesChildInterfacesItem(AvdModel): "channel_id": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str interfaces: list[str] @@ -920,6 +960,8 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "nodes_child_interfaces": {"type": NodesChildInterfaces}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None """ @@ -998,7 +1040,7 @@ def __init__( "ipv6_enable": {"type": bool, "default": False}, "nodes": {"type": list, "items": str}, "interfaces": {"type": list, "items": str}, - "field_as": {"type": list, "key": "as", "items": str}, + "field_as": {"type": list, "items": str}, "descriptions": {"type": list, "items": str}, "include_in_underlay_protocol": {"type": bool, "default": True}, "isis_hello_padding": {"type": bool, "default": False}, @@ -1022,6 +1064,8 @@ def __init__( "structured_config": {"type": dict}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {"field_as": "as"} + _key_to_field_map: ClassVar[dict] = {"as": "field_as"} _custom_data: dict[str, Any] name: str """P2P profile name. Any variable supported under `p2p_links` can be inherited from a profile.""" @@ -1217,6 +1261,8 @@ class P2pLinksItem(AvdModel): class Ptp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable PTP.""" @@ -1239,6 +1285,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -1275,6 +1323,8 @@ class NodesChildInterfacesItem(AvdModel): "channel_id": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str interfaces: list[str] @@ -1323,6 +1373,8 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "nodes_child_interfaces": {"type": NodesChildInterfaces}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None """ @@ -1401,7 +1453,7 @@ def __init__( "ip": {"type": list, "items": str}, "ipv6_enable": {"type": bool, "default": False}, "interfaces": {"type": list, "items": str}, - "field_as": {"type": list, "key": "as", "items": str}, + "field_as": {"type": list, "items": str}, "descriptions": {"type": list, "items": str}, "include_in_underlay_protocol": {"type": bool, "default": True}, "isis_hello_padding": {"type": bool, "default": False}, @@ -1425,6 +1477,8 @@ def __init__( "structured_config": {"type": dict}, } _required_fields: ClassVar[tuple] = ("_custom_data", "nodes") + _field_to_key_map: ClassVar[dict] = {"field_as": "as"} + _key_to_field_map: ClassVar[dict] = {"as": "field_as"} _custom_data: dict[str, Any] nodes: list[str] """Nodes where this link should be configured.""" @@ -1618,6 +1672,8 @@ def __init__( "p2p_links": {"type": list, "items": P2pLinksItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] p2p_links_ip_pools: P2pLinksIpPools p2p_links_profiles: P2pLinksProfiles @@ -1650,6 +1706,8 @@ def __init__( class CvPathfinderGlobalSitesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "description": {"type": str}, "location": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The site name.""" @@ -1691,6 +1749,8 @@ class Zscaler(AvdModel): class Firewall(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}, "ips": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enforce firewall controls.""" @@ -1730,6 +1790,8 @@ def __init__( "acceptable_use_policy": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ipsec_key_salt", "domain_name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipsec_key_salt: str """ @@ -1805,6 +1867,8 @@ def __init__( "zscaler": {"type": Zscaler}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "type") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -1867,6 +1931,8 @@ class SitesItem(AvdModel): "site_after_hours_contact": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The site name.""" @@ -1928,6 +1994,8 @@ class Sites(AvdIndexedList[str, SitesItem]): "sites": {"type": Sites}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str description: str | None @@ -1971,6 +2039,8 @@ class CvTopologyItem(AvdModel): class InterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "neighbor": {"type": str}, "neighbor_interface": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str neighbor: str | None @@ -2007,6 +2077,8 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hostname": {"type": str}, "platform": {"type": str}, "interfaces": {"type": Interfaces}} _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "platform", "interfaces") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str platform: str @@ -2051,6 +2123,8 @@ class DefaultInterfacesItem(AvdModel): "downlink_interfaces": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "types", "platforms") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] types: list[str] """List of node type keys.""" @@ -2101,6 +2175,8 @@ def __init__( class DefaultNodeTypesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "node_type": {"type": str}, "match_hostnames": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "node_type", "match_hostnames") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node_type: str """Resulting node type when regex matches.""" @@ -2137,6 +2213,8 @@ class DefaultNodeTypes(AvdIndexedList[str, DefaultNodeTypesItem]): class Design(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str, "default": "l3ls-evpn"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None """ @@ -2169,6 +2247,8 @@ class Options(AvdModel): "strip_empty_keys": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] list_merge: str | None """Merge strategy for lists.""" @@ -2199,6 +2279,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "template": {"type": str}, "options": {"type": Options}} _required_fields: ClassVar[tuple] = ("_custom_data", "template") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] template: str """Template file.""" @@ -2236,6 +2318,8 @@ class EosDesignsDocumentation(AvdModel): "p2p_links_csv": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None """Generate fabric-wide documentation.""" @@ -2291,6 +2375,8 @@ class EvpnHostflapDetection(AvdModel): "expiry_timeout": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """If set to false it will disable EVPN host-flap detection.""" @@ -2331,6 +2417,8 @@ class EvpnVlanBundlesItem(AvdModel): class Bgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "raw_eos_cli": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] raw_eos_cli: str | None """EOS cli commands rendered on router_bgp.vlans-aware-bundle.""" @@ -2360,6 +2448,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "bgp": {"type": Bgp}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """ @@ -2477,6 +2567,8 @@ class FabricFlowTracking(AvdModel): class Uplinks(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2507,6 +2599,8 @@ def __init__( class Downlinks(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2537,6 +2631,8 @@ def __init__( class Endpoints(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2567,6 +2663,8 @@ def __init__( class L3Edge(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2597,6 +2695,8 @@ def __init__( class CoreInterfaces(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2627,6 +2727,8 @@ def __init__( class MlagInterfaces(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2657,6 +2759,8 @@ def __init__( class L3Interfaces(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2687,6 +2791,8 @@ def __init__( class DpsInterfaces(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2717,6 +2823,8 @@ def __init__( class DirectWanHaLinks(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -2757,6 +2865,8 @@ def __init__( "direct_wan_ha_links": {"type": DirectWanHaLinks}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] uplinks: Uplinks """Enable flow-tracking on all fabric uplinks.""" @@ -2822,6 +2932,8 @@ class Mlag(AvdModel): "ipv6_prefix_length": {"type": int, "default": 64}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] algorithm: str | None """ @@ -2888,6 +3000,8 @@ def __init__( class P2pUplinks(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_prefix_length": {"type": int, "default": 31}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_prefix_length: int | None """IPv4 prefix length used for L3 point-to-point uplinks.""" @@ -2910,6 +3024,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class WanHa(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_prefix_length": {"type": int, "default": 31}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_prefix_length: int | None """IPv4 prefix length used for point-to-point interface for direct WAN HA link.""" @@ -2931,6 +3047,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mlag": {"type": Mlag}, "p2p_uplinks": {"type": P2pUplinks}, "wan_ha": {"type": WanHa}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mlag: Mlag p2p_uplinks: P2pUplinks @@ -2973,6 +3091,8 @@ class FabricSflow(AvdModel): "l3_interfaces": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] uplinks: bool | None """Enable sFlow on all fabric uplinks.""" @@ -3026,6 +3146,8 @@ class Sampled(AvdModel): class Encapsulation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_ipv6: bool | None mpls: bool | None @@ -3055,6 +3177,8 @@ def __init__( class HardwareOffload(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4: bool | None """Configure hardware offload for IPv4 traffic.""" @@ -3094,6 +3218,8 @@ def __init__( "hardware_offload": {"type": HardwareOffload}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation: Encapsulation sample: int | None @@ -3127,6 +3253,8 @@ class Hardware(AvdModel): class Record(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "format_ipfix_standard_timestamps_counters": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] format_ipfix_standard_timestamps_counters: bool | None """Enable software export of IPFIX data records.""" @@ -3153,6 +3281,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "record": {"type": Record}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] record: Record @@ -3176,6 +3306,8 @@ class Sampled(AvdModel): class RecordExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mpls": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mpls: bool | None """Export MPLS forwarding information.""" @@ -3197,6 +3329,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "table_size": {"type": int}, "record_export": {"type": RecordExport}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] table_size: int | None """Maximum number of entries in flow table.""" @@ -3227,6 +3361,8 @@ def __init__( class RecordExport(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "on_inactive_timeout": {"type": int}, "on_interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] on_inactive_timeout: int | None """Flow record inactive export timeout in milliseconds""" @@ -3259,6 +3395,8 @@ class ExportersItem(AvdModel): class Collector(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "host": {"type": str}, "port": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name""" @@ -3290,6 +3428,8 @@ def __init__( class Format(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "ipfix_version": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipfix_version: int | None @@ -3319,6 +3459,8 @@ def __init__( "template_interval": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Exporter Name""" @@ -3370,6 +3512,8 @@ class Exporters(AvdIndexedList[str, ExportersItem]): "exporters": {"type": Exporters}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tracker Name""" @@ -3430,6 +3574,8 @@ class Trackers(AvdIndexedList[str, TrackersItem]): }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sampled: Sampled """The options relevant only for flow tracker type sampled.""" @@ -3465,6 +3611,8 @@ class GenerateCvTags(AvdModel): class InterfaceTagsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tag name to be assigned to generated tags.""" @@ -3518,6 +3666,8 @@ class InterfaceTags(AvdIndexedList[str, InterfaceTagsItem]): class DeviceTagsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Tag name to be assigned to generated tags.""" @@ -3570,6 +3720,8 @@ def __init__( "device_tags": {"type": list, "items": DeviceTagsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] topology_hints: bool | None """Enable the generation of CloudVision Topology Tags (hints).""" @@ -3609,6 +3761,8 @@ class InternalVlanOrder(AvdModel): class Range(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "beginning": {"type": int}, "ending": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "beginning", "ending") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] beginning: int """First VLAN ID.""" @@ -3639,6 +3793,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "allocation": {"type": str}, "range": {"type": Range}} _required_fields: ClassVar[tuple] = ("_custom_data", "allocation") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] allocation: str range: Range @@ -3694,6 +3850,8 @@ class EntriesItem(AvdModel): "vlan_mask": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] source: str | None """ @@ -3847,6 +4005,8 @@ def __init__( "permit_response_traffic": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "entries") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """ @@ -3905,6 +4065,8 @@ class Ipv4PrefixListCatalogItem(AvdModel): class SequenceNumbersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "sequence": {"type": int}, "action": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "sequence", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sequence: int """Sequence ID.""" @@ -3945,6 +4107,8 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "sequence_numbers") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Prefix-list Name.""" @@ -3985,6 +4149,8 @@ class IsisTiLfa(AvdModel): "local_convergence_delay": {"type": int, "default": 10000}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None protection: str | None @@ -4024,6 +4190,8 @@ class P2pLinksIpPoolsItem(AvdModel): "prefix_size": {"type": int, "default": 31}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """P2P pool name.""" @@ -4065,6 +4233,8 @@ class P2pLinksProfilesItem(AvdModel): class Ptp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable PTP.""" @@ -4087,6 +4257,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -4123,6 +4295,8 @@ class NodesChildInterfacesItem(AvdModel): "channel_id": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str interfaces: list[str] @@ -4171,6 +4345,8 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "nodes_child_interfaces": {"type": NodesChildInterfaces}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None """ @@ -4249,7 +4425,7 @@ def __init__( "ipv6_enable": {"type": bool, "default": False}, "nodes": {"type": list, "items": str}, "interfaces": {"type": list, "items": str}, - "field_as": {"type": list, "key": "as", "items": str}, + "field_as": {"type": list, "items": str}, "descriptions": {"type": list, "items": str}, "include_in_underlay_protocol": {"type": bool, "default": True}, "isis_hello_padding": {"type": bool, "default": False}, @@ -4273,6 +4449,8 @@ def __init__( "structured_config": {"type": dict}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {"field_as": "as"} + _key_to_field_map: ClassVar[dict] = {"as": "field_as"} _custom_data: dict[str, Any] name: str """P2P profile name. Any variable supported under `p2p_links` can be inherited from a profile.""" @@ -4468,6 +4646,8 @@ class P2pLinksItem(AvdModel): class Ptp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable PTP.""" @@ -4490,6 +4670,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -4526,6 +4708,8 @@ class NodesChildInterfacesItem(AvdModel): "channel_id": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str interfaces: list[str] @@ -4574,6 +4758,8 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "nodes_child_interfaces": {"type": NodesChildInterfaces}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] description: str | None """ @@ -4652,7 +4838,7 @@ def __init__( "ip": {"type": list, "items": str}, "ipv6_enable": {"type": bool, "default": False}, "interfaces": {"type": list, "items": str}, - "field_as": {"type": list, "key": "as", "items": str}, + "field_as": {"type": list, "items": str}, "descriptions": {"type": list, "items": str}, "include_in_underlay_protocol": {"type": bool, "default": True}, "isis_hello_padding": {"type": bool, "default": False}, @@ -4676,6 +4862,8 @@ def __init__( "structured_config": {"type": dict}, } _required_fields: ClassVar[tuple] = ("_custom_data", "nodes") + _field_to_key_map: ClassVar[dict] = {"field_as": "as"} + _key_to_field_map: ClassVar[dict] = {"as": "field_as"} _custom_data: dict[str, Any] nodes: list[str] """Nodes where this link should be configured.""" @@ -4869,6 +5057,8 @@ def __init__( "p2p_links": {"type": list, "items": P2pLinksItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] p2p_links_ip_pools: P2pLinksIpPools p2p_links_profiles: P2pLinksProfiles @@ -4907,6 +5097,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -4963,6 +5155,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -4986,6 +5180,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -5028,6 +5224,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -5050,6 +5248,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -5109,6 +5309,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """ @@ -5354,6 +5556,8 @@ class LocalUsers(EosCliConfigGen.LocalUsers): class MacAddressTable(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "aging_time": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] aging_time: int | None """ @@ -5386,6 +5590,8 @@ class ManagementEapi(AvdModel): "default_services": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable_http: bool | None enable_https: bool | None @@ -5418,6 +5624,8 @@ def __init__( class MlagIbgpPeeringVrfs(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "base_vlan": {"type": int, "default": 3000}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] base_vlan: int | None @@ -5440,6 +5648,8 @@ class NetworkPortsItem(AvdModel): class Flowcontrol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "received": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] received: str | None @@ -5466,6 +5676,8 @@ class Ptp(AvdModel): "profile": {"type": str, "default": "aes67-r16-2016"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None endpoint_role: str | None @@ -5508,6 +5720,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -5538,6 +5752,8 @@ def __init__( class LinkTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -5580,6 +5796,8 @@ class Dot1x(AvdModel): class Pae(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None @@ -5601,6 +5819,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class AuthenticationFailure(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "allow_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None allow_vlan: int | None @@ -5630,6 +5850,8 @@ def __init__( class HostMode(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multi_host_authenticated": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None multi_host_authenticated: bool | None @@ -5664,6 +5886,8 @@ class MacBasedAuthentication(AvdModel): "host_mode_common": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -5703,6 +5927,8 @@ class Timeout(AvdModel): "tx_period": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] idle_host: int | None quiet_period: int | None @@ -5746,6 +5972,8 @@ class Unauthorized(AvdModel): "native_vlan_membership_egress": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_vlan_membership_egress: bool | None native_vlan_membership_egress: bool | None @@ -5786,6 +6014,8 @@ def __init__( "unauthorized": {"type": Unauthorized}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_control: str | None port_control_force_authorized_phone: bool | None @@ -5843,6 +6073,8 @@ class StormControl(AvdModel): class All(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -5874,6 +6106,8 @@ def __init__( class Broadcast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -5905,6 +6139,8 @@ def __init__( class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -5936,6 +6172,8 @@ def __init__( class UnknownUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -5972,6 +6210,8 @@ def __init__( "unknown_unicast": {"type": UnknownUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all: All broadcast: Broadcast @@ -6009,6 +6249,8 @@ class SourceSettings(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -6041,6 +6283,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction": {"type": str}, "access_group": {"type": AccessGroup}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction: str | None access_group: AccessGroup @@ -6072,6 +6316,8 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -6102,6 +6348,8 @@ def __init__( class Truncate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "size": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -6140,6 +6388,8 @@ def __init__( "truncate": {"type": Truncate}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -6216,6 +6466,8 @@ def __init__( "session_settings": {"type": SessionSettings}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Session name.""" @@ -6267,6 +6519,8 @@ class EthernetSegment(AvdModel): "dont_preempt": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "short_esi") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] short_esi: str """ @@ -6355,6 +6609,8 @@ class LacpFallback(AvdModel): class Individual(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """Port-profile name to inherit configuration.""" @@ -6376,6 +6632,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "individual": {"type": Individual}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """ @@ -6423,6 +6681,8 @@ def __init__( class LacpTimer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """LACP mode for interface members.""" @@ -6455,6 +6715,8 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client_dot1q": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client_dot1q: int | None @@ -6483,6 +6745,8 @@ def __init__( "encapsulation_vlan": {"type": EncapsulationVlan}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] number: int | None """Subinterface number.""" @@ -6552,6 +6816,8 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """Port-Channel Mode.""" @@ -6753,6 +7019,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] switches: list[str] """ @@ -7035,6 +7303,8 @@ def __init__( class NetworkServicesKeysItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str @@ -7067,6 +7337,8 @@ class NetworkServices(AvdModel): "l3": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] l1: bool | None """??""" @@ -7123,6 +7395,8 @@ class IpAddressing(AvdModel): "vtep_ip": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] python_module: str | None """Custom Python Module to import for IP addressing.""" @@ -7215,6 +7489,8 @@ class InterfaceDescriptions(AvdModel): "overlay_loopback_interface": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] python_module: str | None """Custom Python Module to import for interface descriptions.""" @@ -7304,6 +7580,8 @@ def __init__( "cv_tags_topology_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key: str type: str | None @@ -7518,6 +7796,8 @@ class NetworkServices(AvdModel): "l3": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] l1: bool | None """??""" @@ -7574,6 +7854,8 @@ class IpAddressing(AvdModel): "vtep_ip": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] python_module: str | None """Custom Python Module to import for IP addressing.""" @@ -7666,6 +7948,8 @@ class InterfaceDescriptions(AvdModel): "overlay_loopback_interface": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] python_module: str | None """Custom Python Module to import for interface descriptions.""" @@ -7755,6 +8039,8 @@ def __init__( "cv_tags_topology_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] key: str type: str | None @@ -7973,6 +8259,8 @@ class ServersItem(AvdModel): "version": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IP or hostname e.g., 2.2.2.55, 2001:db8::55, ie.pool.ntp.org.""" @@ -8030,6 +8318,8 @@ class AuthenticationKeys(EosCliConfigGen.Ntp.AuthenticationKeys): "trusted_keys": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] server_vrf: str | None """ @@ -8112,6 +8402,8 @@ class OverlayRdType(AvdModel): "vlan_assigned_number_subfield": {"type": str, "default": "mac_vrf_id"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] admin_subfield: str | None """ @@ -8255,6 +8547,8 @@ class OverlayRtType(AvdModel): "vlan_assigned_number_subfield": {"type": str, "default": "mac_vrf_id"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] admin_subfield: str | None """ @@ -8376,6 +8670,8 @@ class CustomPlatformSettingsItem(AvdModel): class ReloadDelay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mlag": {"type": int}, "non_mlag": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mlag: int | None """In seconds.""" @@ -8415,6 +8711,8 @@ class FeatureSupport(AvdModel): "bgp_update_wait_for_convergence": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] queue_monitor_length_notify: bool | None interface_storm_control: bool | None @@ -8496,6 +8794,8 @@ class SecurityEntropySources(AvdModel): "hardware_exclusive": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hardware: bool | None """Use a hardware based source.""" @@ -8551,6 +8851,8 @@ class StructuredConfig(EosCliConfigGen): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] platforms: list[str] trident_forwarding_table_partition: str | None @@ -8631,6 +8933,8 @@ class PlatformSettingsItem(AvdModel): class ReloadDelay(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mlag": {"type": int}, "non_mlag": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mlag: int | None """In seconds.""" @@ -8670,6 +8974,8 @@ class FeatureSupport(AvdModel): "bgp_update_wait_for_convergence": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] queue_monitor_length_notify: bool | None interface_storm_control: bool | None @@ -8751,6 +9057,8 @@ class SecurityEntropySources(AvdModel): "hardware_exclusive": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hardware: bool | None """Use a hardware based source.""" @@ -8806,6 +9114,8 @@ class StructuredConfig(EosCliConfigGen): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] platforms: list[str] trident_forwarding_table_partition: str | None @@ -8886,6 +9196,8 @@ class PlatformSpeedGroupsItem(AvdModel): class SpeedsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "speed": {"type": str}, "speed_groups": {"type": list, "items": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "speed") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] speed: str speed_groups: list[str] @@ -8919,6 +9231,8 @@ class Speeds(AvdIndexedList[str, SpeedsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "platform": {"type": str}, "speeds": {"type": Speeds}} _required_fields: ClassVar[tuple] = ("_custom_data", "platform") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] platform: str speeds: Speeds @@ -8954,6 +9268,8 @@ class PortProfilesItem(AvdModel): class Flowcontrol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "received": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] received: str | None @@ -8980,6 +9296,8 @@ class Ptp(AvdModel): "profile": {"type": str, "default": "aes67-r16-2016"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None endpoint_role: str | None @@ -9022,6 +9340,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -9052,6 +9372,8 @@ def __init__( class LinkTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -9094,6 +9416,8 @@ class Dot1x(AvdModel): class Pae(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None @@ -9115,6 +9439,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class AuthenticationFailure(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "allow_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None allow_vlan: int | None @@ -9144,6 +9470,8 @@ def __init__( class HostMode(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multi_host_authenticated": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None multi_host_authenticated: bool | None @@ -9178,6 +9506,8 @@ class MacBasedAuthentication(AvdModel): "host_mode_common": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -9217,6 +9547,8 @@ class Timeout(AvdModel): "tx_period": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] idle_host: int | None quiet_period: int | None @@ -9260,6 +9592,8 @@ class Unauthorized(AvdModel): "native_vlan_membership_egress": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_vlan_membership_egress: bool | None native_vlan_membership_egress: bool | None @@ -9300,6 +9634,8 @@ def __init__( "unauthorized": {"type": Unauthorized}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_control: str | None port_control_force_authorized_phone: bool | None @@ -9357,6 +9693,8 @@ class StormControl(AvdModel): class All(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -9388,6 +9726,8 @@ def __init__( class Broadcast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -9419,6 +9759,8 @@ def __init__( class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -9450,6 +9792,8 @@ def __init__( class UnknownUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -9486,6 +9830,8 @@ def __init__( "unknown_unicast": {"type": UnknownUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all: All broadcast: Broadcast @@ -9523,6 +9869,8 @@ class SourceSettings(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -9555,6 +9903,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction": {"type": str}, "access_group": {"type": AccessGroup}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction: str | None access_group: AccessGroup @@ -9586,6 +9936,8 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -9616,6 +9968,8 @@ def __init__( class Truncate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "size": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -9654,6 +10008,8 @@ def __init__( "truncate": {"type": Truncate}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -9730,6 +10086,8 @@ def __init__( "session_settings": {"type": SessionSettings}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Session name.""" @@ -9781,6 +10139,8 @@ class EthernetSegment(AvdModel): "dont_preempt": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "short_esi") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] short_esi: str """ @@ -9869,6 +10229,8 @@ class LacpFallback(AvdModel): class Individual(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """Port-profile name to inherit configuration.""" @@ -9890,6 +10252,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "individual": {"type": Individual}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """ @@ -9937,6 +10301,8 @@ def __init__( class LacpTimer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """LACP mode for interface members.""" @@ -9969,6 +10335,8 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client_dot1q": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client_dot1q: int | None @@ -9997,6 +10365,8 @@ def __init__( "encapsulation_vlan": {"type": EncapsulationVlan}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] number: int | None """Subinterface number.""" @@ -10066,6 +10436,8 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """Port-Channel Mode.""" @@ -10265,6 +10637,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Port profile name.""" @@ -10524,6 +10898,8 @@ class PtpProfilesItem(AvdModel): class Announce(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}, "timeout": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None timeout: int | None @@ -10553,6 +10929,8 @@ def __init__( class SyncMessage(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int | None @@ -10580,6 +10958,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "transport": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """PTP profile.""" @@ -10632,6 +11012,8 @@ class PtpSettings(AvdModel): "auto_clock_identity": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -10678,6 +11060,8 @@ class QueueMonitorLength(AvdModel): class DefaultThresholds(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "high": {"type": int}, "low": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "high") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] high: int """Default high threshold for Ethernet Interfaces.""" @@ -10715,6 +11099,8 @@ class Cpu(AvdModel): class Thresholds(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "high": {"type": int}, "low": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "high") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] high: int low: int | None @@ -10743,6 +11129,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "thresholds": {"type": Thresholds}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] thresholds: Thresholds @@ -10771,6 +11159,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "tx_latency": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool notifying: bool | None @@ -10820,6 +11210,8 @@ def __init__( class Redundancy(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "protocol": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] protocol: str | None @@ -10842,6 +11234,8 @@ class SflowSettings(AvdModel): class Sample(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "rate": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rate: int | None """ @@ -10873,6 +11267,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class DestinationsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "destination": {"type": str}, "port": {"type": int}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "destination") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination: str """sFlow destination name or IP address.""" @@ -10939,6 +11335,8 @@ def __init__( class VrfsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "source_interface": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -10986,6 +11384,8 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "vrfs": {"type": Vrfs}, } _required_fields: ClassVar[tuple] = ("_custom_data", "destinations") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] sample: Sample destinations: list[DestinationsItem] @@ -11031,6 +11431,8 @@ class UsersItem(AvdModel): "priv_passphrase": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Username.""" @@ -11080,6 +11482,8 @@ class HostsItem(AvdModel): class UsersItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "username": {"type": str}, "authentication_level": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] username: str | None authentication_level: str | None @@ -11117,6 +11521,8 @@ def __init__( "users": {"type": list, "items": UsersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] host: str | None """Host IP address or name.""" @@ -11194,6 +11600,8 @@ class Communities(EosCliConfigGen.SnmpServer.Communities): class Ipv4AclsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv4 access list name.""" @@ -11224,6 +11632,8 @@ def __init__( class Ipv6AclsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "vrf": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """IPv6 access list name.""" @@ -11254,6 +11664,8 @@ def __init__( class ViewsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """SNMP view name.""" @@ -11295,6 +11707,8 @@ class GroupsItem(AvdModel): "notify": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Group name.""" @@ -11360,6 +11774,8 @@ class Traps(EosCliConfigGen.SnmpServer.Traps): "traps": {"type": Traps}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] contact: str | None """SNMP contact.""" @@ -11514,6 +11930,8 @@ class SourceInterfaces(AvdModel): class DomainLookup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11563,6 +11981,8 @@ def __init__( class HttpClient(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11612,6 +12032,8 @@ def __init__( class Radius(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11661,6 +12083,8 @@ def __init__( class Snmp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11710,6 +12134,8 @@ def __init__( class SshClient(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11759,6 +12185,8 @@ def __init__( class Tacacs(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mgmt_interface": {"type": bool}, "inband_mgmt_interface": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mgmt_interface: bool | None """ @@ -11815,6 +12243,8 @@ def __init__( "tacacs": {"type": Tacacs}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] domain_lookup: DomainLookup """IP Domain Lookup source-interfaces.""" @@ -11869,6 +12299,8 @@ class IpHelpersItem(AvdModel): "source_vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IPv4 DHCP server IP.""" @@ -11909,6 +12341,8 @@ class IpHelpers(AvdIndexedList[str, IpHelpersItem]): class EvpnL2Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always_redistribute_igmp: bool | None @@ -11958,6 +12392,8 @@ def __init__( class EvpnL3Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -11985,6 +12421,8 @@ class IgmpSnoopingQuerier(AvdModel): "fast_leave": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -12035,6 +12473,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None hash_algorithm: str | None @@ -12076,6 +12516,8 @@ def __init__( "message_digest_keys": {"type": list, "items": MessageDigestKeysItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None point_to_point: bool | None @@ -12126,6 +12568,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] structured_config: StructuredConfig """ @@ -12198,6 +12642,8 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str """l3_leaf inventory hostname.""" @@ -12484,6 +12930,8 @@ class IpHelpersItem(AvdModel): "source_vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IPv4 DHCP server IP.""" @@ -12524,6 +12972,8 @@ class IpHelpers(AvdIndexedList[str, IpHelpersItem]): class EvpnL2Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always_redistribute_igmp: bool | None @@ -12573,6 +13023,8 @@ def __init__( class EvpnL3Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -12600,6 +13052,8 @@ class IgmpSnoopingQuerier(AvdModel): "fast_leave": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -12650,6 +13104,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None hash_algorithm: str | None @@ -12691,6 +13147,8 @@ def __init__( "message_digest_keys": {"type": list, "items": MessageDigestKeysItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None point_to_point: bool | None @@ -12741,6 +13199,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] structured_config: StructuredConfig """ @@ -12815,6 +13275,8 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Profile name.""" @@ -13121,6 +13583,8 @@ class TrunkGroups(AvdModel): class Mlag(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str, "default": "MLAG"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -13142,6 +13606,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class MlagL3(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str, "default": "MLAG"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -13163,6 +13629,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, class Uplink(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str, "default": "UPLINK"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None @@ -13183,6 +13651,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mlag": {"type": Mlag}, "mlag_l3": {"type": MlagL3}, "uplink": {"type": Uplink}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mlag: Mlag """Trunk Group used for MLAG VLAN (Typically VLAN 4094).""" @@ -13218,6 +13688,8 @@ def __init__( class UnderlayMulticastAnycastRp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str, "default": "pim"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None @@ -13245,6 +13717,8 @@ class NodesItem(AvdModel): "description": {"type": str, "default": "PIM RP"}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "loopback_number") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Hostname.""" @@ -13289,6 +13763,8 @@ class Nodes(AvdIndexedList[str, NodesItem]): "access_list_name": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "rp") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rp: str """RP IPv4 address.""" @@ -13350,6 +13826,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int hash_algorithm: str | None @@ -13402,6 +13880,8 @@ class MessageDigestKeys(AvdIndexedList[int, MessageDigestKeysItem]): "message_digest_keys": {"type": MessageDigestKeys}, } _required_fields: ClassVar[tuple] = ("_custom_data", "message_digest_keys") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool message_digest_keys: MessageDigestKeys @@ -13431,6 +13911,8 @@ def __init__( class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -13458,6 +13940,8 @@ class WanCarriersItem(AvdModel): "trusted": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "path_group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Carrier name.""" @@ -13509,6 +13993,8 @@ class WanCarriers(AvdIndexedList[str, WanCarriersItem]): class WanHa(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "lan_ha_path_group_name": {"type": str, "default": "LAN_HA"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] lan_ha_path_group_name: str | None """ @@ -13545,6 +14031,8 @@ class ControlPlane(AvdModel): "shared_key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "shared_key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ike_policy_name: str | None """Name of the IKE policy.""" @@ -13597,6 +14085,8 @@ class DataPlane(AvdModel): "shared_key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "shared_key") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ike_policy_name: str | None """Name of the IKE policy.""" @@ -13642,6 +14132,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "control_plane": {"type": ControlPlane}, "data_plane": {"type": DataPlane}} _required_fields: ClassVar[tuple] = ("_custom_data", "control_plane") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] control_plane: ControlPlane data_plane: DataPlane @@ -13677,6 +14169,8 @@ class Ipsec(AvdModel): "static_peers": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] dynamic_peers: bool | None """Enable IPSec for dynamic peers.""" @@ -13708,6 +14202,8 @@ def __init__( class ImportPathGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "remote": {"type": str}, "local": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote: str | None """Remote path-group to import.""" @@ -13739,6 +14235,8 @@ def __init__( class DpsKeepalive(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "interval": {"type": str}, "failure_threshold": {"type": int, "default": 5}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: str | None """ @@ -13790,6 +14288,8 @@ def __init__( "dps_keepalive": {"type": DpsKeepalive}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "id") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Path-group name.""" @@ -13878,6 +14378,8 @@ class PathGroupsItem(AvdModel): class InterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "public_ip": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Interface name.""" @@ -13913,6 +14415,8 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "interfaces": {"type": Interfaces}} _required_fields: ClassVar[tuple] = ("_custom_data", "name", "interfaces") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Path-group name.""" @@ -13947,6 +14451,8 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "hostname": {"type": str}, "vtep_ip": {"type": str}, "path_groups": {"type": PathGroups}} _required_fields: ClassVar[tuple] = ("_custom_data", "hostname") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Route-Reflector hostname.""" @@ -13993,6 +14499,8 @@ class VrfsItem(AvdModel): "wan_vni": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "wan_vni") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """VRF name.""" @@ -14072,6 +14580,8 @@ class ControlPlaneVirtualTopology(AvdModel): class Constraints(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" @@ -14112,6 +14622,8 @@ def __init__( class PathGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "names": {"type": list, "items": str}, "preference": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "names") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] names: list[str] """List of path-group names.""" @@ -14158,6 +14670,8 @@ def __init__( class InternetExit(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy: str | None """ @@ -14200,6 +14714,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "internet_exit": {"type": InternetExit}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Optional name, if not set `CONTROL-PLANE-PROFILE` is used.""" @@ -14280,6 +14796,8 @@ class ApplicationVirtualTopologiesItem(AvdModel): class Constraints(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" @@ -14320,6 +14838,8 @@ def __init__( class PathGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "names": {"type": list, "items": str}, "preference": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "names") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] names: list[str] """List of path-group names.""" @@ -14366,6 +14886,8 @@ def __init__( class InternetExit(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy: str | None """ @@ -14409,6 +14931,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "internet_exit": {"type": InternetExit}, } _required_fields: ClassVar[tuple] = ("_custom_data", "application_profile") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] application_profile: str """ @@ -14492,6 +15016,8 @@ class DefaultVirtualTopology(AvdModel): class Constraints(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" @@ -14532,6 +15058,8 @@ def __init__( class PathGroupsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "names": {"type": list, "items": str}, "preference": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "names") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] names: list[str] """List of path-group names.""" @@ -14578,6 +15106,8 @@ def __init__( class InternetExit(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policy": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policy: str | None """ @@ -14620,6 +15150,8 @@ def __init__(self, *, _custom_data: dict[str, Any] | UndefinedType = Undefined, "internet_exit": {"type": InternetExit}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Optional name, if not set `-DEFAULT` is used.""" @@ -14681,6 +15213,8 @@ def __init__( "default_virtual_topology": {"type": DefaultVirtualTopology}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name", "default_virtual_topology") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Name of the AVT policy.""" @@ -14734,6 +15268,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "policies": {"type": Policies}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] vrfs: Vrfs """Map a VRF that exists in network_services to an AVT policy.""" @@ -14870,6 +15406,8 @@ class Primary(AvdModel): "longitude": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address", "datacenter", "city", "country", "latitude", "longitude") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str datacenter: str @@ -14919,6 +15457,8 @@ class Secondary(AvdModel): "longitude": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address", "datacenter", "city", "country", "latitude", "longitude") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str datacenter: str @@ -14968,6 +15508,8 @@ class Tertiary(AvdModel): "longitude": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address", "datacenter", "city", "country", "latitude", "longitude") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str datacenter: str @@ -15009,6 +15551,8 @@ def __init__( class DeviceLocation(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "city": {"type": str}, "country": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "city", "country") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] city: str country: str @@ -15044,6 +15588,8 @@ def __init__( "device_location": {"type": DeviceLocation}, } _required_fields: ClassVar[tuple] = ("_custom_data", "primary", "cloud_name", "device_location") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] primary: Primary secondary: Secondary @@ -15094,6 +15640,8 @@ def __init__( class _CustomStructuredConfigurationsItem(AvdModel): _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": EosCliConfigGen}} _required_fields: ClassVar[tuple] = ("key", "value") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} key: str """Complete key including prefix""" value: EosCliConfigGen @@ -15123,6 +15671,8 @@ class AdaptersItem(AvdModel): class Flowcontrol(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "received": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] received: str | None @@ -15151,6 +15701,8 @@ class Ptp(AvdModel): "profile": {"type": str, "default": "aes67-r16-2016"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None endpoint_role: str | None @@ -15193,6 +15745,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -15223,6 +15777,8 @@ def __init__( class LinkTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -15265,6 +15821,8 @@ class Dot1x(AvdModel): class Pae(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None @@ -15288,6 +15846,8 @@ def __init__( class AuthenticationFailure(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "action": {"type": str}, "allow_vlan": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str | None allow_vlan: int | None @@ -15317,6 +15877,8 @@ def __init__( class HostMode(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multi_host_authenticated": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None multi_host_authenticated: bool | None @@ -15351,6 +15913,8 @@ class MacBasedAuthentication(AvdModel): "host_mode_common": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -15390,6 +15954,8 @@ class Timeout(AvdModel): "tx_period": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] idle_host: int | None quiet_period: int | None @@ -15433,6 +15999,8 @@ class Unauthorized(AvdModel): "native_vlan_membership_egress": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] access_vlan_membership_egress: bool | None native_vlan_membership_egress: bool | None @@ -15473,6 +16041,8 @@ def __init__( "unauthorized": {"type": Unauthorized}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] port_control: str | None port_control_force_authorized_phone: bool | None @@ -15530,6 +16100,8 @@ class StormControl(AvdModel): class All(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -15561,6 +16133,8 @@ def __init__( class Broadcast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -15592,6 +16166,8 @@ def __init__( class Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -15623,6 +16199,8 @@ def __init__( class UnknownUnicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "level": {"type": str}, "unit": {"type": str, "default": "percent"}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] level: str | None """Configure maximum storm-control level.""" @@ -15659,6 +16237,8 @@ def __init__( "unknown_unicast": {"type": UnknownUnicast}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] all: All broadcast: Broadcast @@ -15701,6 +16281,8 @@ class AccessGroup(AvdModel): "priority": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -15733,6 +16315,8 @@ def __init__( _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "direction": {"type": str}, "access_group": {"type": AccessGroup}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction: str | None access_group: AccessGroup @@ -15764,6 +16348,8 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "type": {"type": str}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None name: str | None @@ -15794,6 +16380,8 @@ def __init__( class Truncate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "size": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -15832,6 +16420,8 @@ def __init__( "truncate": {"type": Truncate}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -15908,6 +16498,8 @@ def __init__( "session_settings": {"type": SessionSettings}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Session name.""" @@ -15959,6 +16551,8 @@ class EthernetSegment(AvdModel): "dont_preempt": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "short_esi") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] short_esi: str """ @@ -16047,6 +16641,8 @@ class LacpFallback(AvdModel): class Individual(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """Port-profile name to inherit configuration.""" @@ -16075,6 +16671,8 @@ def __init__( "timeout": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """ @@ -16122,6 +16720,8 @@ def __init__( class LacpTimer(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "multiplier": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """LACP mode for interface members.""" @@ -16154,6 +16754,8 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "client_dot1q": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] client_dot1q: int | None @@ -16182,6 +16784,8 @@ def __init__( "encapsulation_vlan": {"type": EncapsulationVlan}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] number: int | None """Subinterface number.""" @@ -16251,6 +16855,8 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None """Port-Channel Mode.""" @@ -16453,6 +17059,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "switch_ports", "switches") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] switch_ports: list[str] """ @@ -16761,6 +17369,8 @@ def __init__( "adapters": {"type": list, "items": AdaptersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Endpoint name will be used in the switchport description.""" @@ -16798,8 +17408,10 @@ class ConnectedEndpointsKeysKey(AvdIndexedList[str, ConnectedEndpointsKeysKeyIte ConnectedEndpointsKeysKey._item_type = ConnectedEndpointsKeysKeyItem - _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": ConnectedEndpointsKeysKey, "key": "connected_endpoints_keys_key"}} + _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": ConnectedEndpointsKeysKey}} _required_fields: ClassVar[tuple] = ("key",) + _field_to_key_map: ClassVar[dict] = {"value": "connected_endpoints_keys_key"} + _key_to_field_map: ClassVar[dict] = {"connected_endpoints_keys_key": "value"} key: str """Key used as dynamic key""" value: ConnectedEndpointsKeysKey @@ -16832,6 +17444,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -16873,6 +17487,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -16915,6 +17531,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -16959,6 +17577,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -16982,6 +17602,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -17022,6 +17644,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -17114,6 +17738,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -17156,6 +17782,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -17183,6 +17811,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -17216,6 +17846,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -17268,6 +17900,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -17321,6 +17955,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -17386,6 +18022,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -17421,6 +18059,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -17454,6 +18094,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -17492,6 +18134,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -17531,6 +18175,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -17572,6 +18218,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -17605,6 +18253,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -17654,6 +18304,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -17778,6 +18430,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -17818,6 +18472,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -17926,6 +18582,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -17982,6 +18640,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -18005,6 +18665,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -18047,6 +18709,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -18071,6 +18735,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -18130,6 +18796,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -18473,6 +19141,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None """Unique identifier used for IP addressing and other algorithms.""" @@ -19714,6 +20384,8 @@ class DownlinkPoolsItem(AvdModel): "downlink_interfaces": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_pool: str | None """IPv4 pool from which subnets will be allocated for links to downlink switches.""" @@ -19756,6 +20428,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -19797,6 +20471,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -19839,6 +20515,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -19883,6 +20561,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -19906,6 +20586,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -19946,6 +20628,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -20038,6 +20722,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -20080,6 +20766,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -20107,6 +20795,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -20140,6 +20830,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -20192,6 +20884,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -20245,6 +20939,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -20310,6 +21006,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -20345,6 +21043,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -20378,6 +21078,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -20416,6 +21118,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -20455,6 +21159,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -20496,6 +21202,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -20529,6 +21237,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -20578,6 +21288,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -20702,6 +21414,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -20742,6 +21456,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -20850,6 +21566,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -20906,6 +21624,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -20931,6 +21651,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -20973,6 +21695,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -20997,6 +21721,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -21056,6 +21782,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -21401,6 +22129,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The Node Name is used as "hostname".""" @@ -22660,6 +23390,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -22701,6 +23433,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -22743,6 +23477,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -22787,6 +23523,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -22810,6 +23548,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -22850,6 +23590,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -22942,6 +23684,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -22984,6 +23728,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -23011,6 +23757,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -23044,6 +23792,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -23096,6 +23846,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -23149,6 +23901,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -23214,6 +23968,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -23249,6 +24005,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -23282,6 +24040,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -23320,6 +24080,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -23359,6 +24121,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -23400,6 +24164,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -23433,6 +24199,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -23482,6 +24250,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -23606,6 +24376,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -23646,6 +24418,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -23754,6 +24528,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -23810,6 +24586,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -23833,6 +24611,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -23875,6 +24655,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -23899,6 +24681,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -23958,6 +24742,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -24303,6 +25089,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] group: str """ @@ -25563,6 +26351,8 @@ class DownlinkPoolsItem(AvdModel): "downlink_interfaces": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_pool: str | None """IPv4 pool from which subnets will be allocated for links to downlink switches.""" @@ -25605,6 +26395,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -25646,6 +26438,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -25688,6 +26482,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -25732,6 +26528,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -25755,6 +26553,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -25795,6 +26595,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -25887,6 +26689,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -25929,6 +26733,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -25956,6 +26762,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -25989,6 +26797,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -26041,6 +26851,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -26094,6 +26906,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -26159,6 +26973,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -26194,6 +27010,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -26227,6 +27045,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -26265,6 +27085,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -26304,6 +27126,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -26345,6 +27169,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -26378,6 +27204,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -26427,6 +27255,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -26551,6 +27381,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -26591,6 +27423,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -26699,6 +27533,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -26755,6 +27591,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -26778,6 +27616,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -26820,6 +27660,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -26844,6 +27686,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -26903,6 +27747,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -27248,6 +28094,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The Node Name is used as "hostname".""" @@ -28505,6 +29353,8 @@ class Nodes(AvdIndexedList[str, NodesItem]): "nodes": {"type": Nodes}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] defaults: Defaults """Define variables for all nodes of this type.""" @@ -28537,8 +29387,10 @@ def __init__( continue setattr(self, arg, arg_value) - _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": CustomNodeTypeKeysKey, "key": "custom_node_type_keys_key"}} + _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": CustomNodeTypeKeysKey}} _required_fields: ClassVar[tuple] = ("key",) + _field_to_key_map: ClassVar[dict] = {"value": "custom_node_type_keys_key"} + _key_to_field_map: ClassVar[dict] = {"custom_node_type_keys_key": "value"} key: str """Key used as dynamic key""" value: CustomNodeTypeKeysKey @@ -28580,6 +29432,8 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop "prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activate: bool | None route_map_in: str | None @@ -28635,6 +29489,8 @@ class AddressFamilyIpv6(AvdModel): "prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activate: bool | None route_map_in: str | None @@ -28681,6 +29537,8 @@ class AsPath(AvdModel): "prepend_own_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_as_replace_out: bool | None """Replace AS number with local AS number.""" @@ -28717,6 +29575,8 @@ class RemovePrivateAs(AvdModel): "replace_as": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -28749,6 +29609,8 @@ def __init__( class RemovePrivateAsIngress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None replace_as: bool | None @@ -28783,6 +29645,8 @@ class BfdTimers(AvdModel): "multiplier": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -28822,6 +29686,8 @@ class DefaultOriginate(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -28862,6 +29728,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -28907,6 +29775,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -28949,6 +29819,8 @@ def __init__( "direction_out": {"type": DirectionOut}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -28980,6 +29852,8 @@ def __init__( class LinkBandwidth(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None default: str | None @@ -29010,6 +29884,8 @@ def __init__( class AllowasIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "times": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None times: int | None @@ -29040,6 +29916,8 @@ def __init__( class RibInPrePolicyRetain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -29069,6 +29947,8 @@ def __init__( class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "hash_algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "hash_algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Name of profile defined under `management_security`.""" @@ -29138,6 +30018,8 @@ def __init__( "ttl_maximum_hops": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """BGP peer group name.""" @@ -29337,6 +30219,8 @@ class EvpnL2Multicast(AvdModel): "always_redistribute_igmp": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None underlay_l2_multicast_group_ipv4_pool: str | None @@ -29400,6 +30284,8 @@ class EvpnL3Multicast(AvdModel): class EvpnPegItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "nodes": {"type": list, "items": str}, "transit": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] nodes: list[str] """A description will be applied to all nodes with RP addresses configured if not set.""" @@ -29436,6 +30322,8 @@ def __init__( "evpn_peg": {"type": list, "items": EvpnPegItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "evpn_underlay_l3_multicast_group_ipv4_pool") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None evpn_underlay_l3_multicast_group_ipv4_pool: str @@ -29486,6 +30374,8 @@ class PimRpAddressesItem(AvdModel): "access_list_name": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rps: list[str] """List of Rendevouz Points.""" @@ -29545,6 +30435,8 @@ class IgmpSnoopingQuerier(AvdModel): "version": {"type": int, "default": 2}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if "evpn_l2_multicast" is enabled.""" @@ -29585,6 +30477,8 @@ class IpHelpersItem(AvdModel): "source_vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IPv4 DHCP server IP.""" @@ -29626,6 +30520,8 @@ class VtepDiagnostic(AvdModel): class LoopbackIpPoolsItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "pod": {"type": str}, "ipv4_pool": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] pod: str | None """POD name.""" @@ -29662,6 +30558,8 @@ def __init__( "loopback_ip_pools": {"type": list, "items": LoopbackIpPoolsItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] loopback: int | None """Loopback interface number, required when vtep_diagnotics defined.""" @@ -29751,6 +30649,8 @@ class Ospf(AvdModel): class RedistributeBgp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": True}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None route_map: str | None @@ -29781,6 +30681,8 @@ def __init__( class RedistributeConnected(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}, "route_map": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None route_map: str | None @@ -29820,6 +30722,8 @@ def __init__( "nodes": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None process_id: int | None @@ -29874,6 +30778,8 @@ class EvpnPegItem(AvdModel): "transit": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] nodes: list[str] """ @@ -29916,6 +30822,8 @@ def __init__( "evpn_peg": {"type": list, "items": EvpnPegItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None evpn_underlay_l3_multicast_group: str | None @@ -29965,6 +30873,8 @@ class PimRpAddressesItem(AvdModel): "access_list_name": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] rps: list[str] """A minimum of one RP must be specified.""" @@ -30026,6 +30936,8 @@ class IpHelpersItem(AvdModel): "source_vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IPv4 DHCP server IP.""" @@ -30070,6 +30982,8 @@ class EvpnL2Multicast(AvdModel): "always_redistribute_igmp": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always_redistribute_igmp: bool | None @@ -30119,6 +31033,8 @@ def __init__( class EvpnL3Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -30148,6 +31064,8 @@ class IgmpSnoopingQuerier(AvdModel): "fast_leave": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -30198,6 +31116,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None hash_algorithm: str | None @@ -30239,6 +31159,8 @@ def __init__( "message_digest_keys": {"type": list, "items": MessageDigestKeysItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None point_to_point: bool | None @@ -30293,6 +31215,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] structured_config: StructuredConfig """ @@ -30366,6 +31290,8 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str """l3_leaf inventory hostname.""" @@ -30665,6 +31591,8 @@ class IpHelpersItem(AvdModel): "source_vrf": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_helper") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_helper: str """IPv4 DHCP server IP.""" @@ -30705,6 +31633,8 @@ class IpHelpers(AvdIndexedList[str, IpHelpersItem]): class EvpnL2Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always_redistribute_igmp: bool | None @@ -30754,6 +31684,8 @@ def __init__( class EvpnL3Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -30783,6 +31715,8 @@ class IgmpSnoopingQuerier(AvdModel): "fast_leave": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -30833,6 +31767,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None hash_algorithm: str | None @@ -30874,6 +31810,8 @@ def __init__( "message_digest_keys": {"type": list, "items": MessageDigestKeysItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None point_to_point: bool | None @@ -30928,6 +31866,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] structured_config: StructuredConfig """ @@ -31004,6 +31944,8 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """SVI interface id and VLAN id.""" @@ -31339,6 +32281,8 @@ class MessageDigestKeysItem(AvdModel): "key": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None hash_algorithm: str | None @@ -31380,6 +32324,8 @@ def __init__( "message_digest_keys": {"type": list, "items": MessageDigestKeysItem}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None point_to_point: bool | None @@ -31427,6 +32373,8 @@ def __init__( class Pim(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -31450,6 +32398,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -31499,6 +32449,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interfaces: list[str] encapsulation_dot1q_vlan: list[int] @@ -31595,6 +32547,8 @@ class Ospf(AvdModel): "area": {"type": str, "default": "0.0.0.0"}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None area: str | None @@ -31633,6 +32587,8 @@ def __init__( "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "node", "loopback", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] node: str loopback: int @@ -31690,6 +32646,8 @@ class StaticRoutesItem(AvdModel): "nodes": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination_address_prefix: str | None """IPv4_address.""" @@ -31755,6 +32713,8 @@ class Ipv6StaticRoutesItem(AvdModel): "nodes": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] destination_address_prefix: str | None """IPv6_address.""" @@ -31809,6 +32769,8 @@ class BgpPeersItem(AvdModel): class DefaultOriginate(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "always": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] always: bool | None @@ -31857,6 +32819,8 @@ def __init__( "shutdown": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "ip_address") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ip_address: str """IPv4_address or IPv6_address.""" @@ -32026,6 +32990,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VrfsItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """ @@ -32096,6 +33062,8 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop "prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activate: bool | None route_map_in: str | None @@ -32151,6 +33119,8 @@ class AddressFamilyIpv6(AvdModel): "prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] activate: bool | None route_map_in: str | None @@ -32197,6 +33167,8 @@ class AsPath(AvdModel): "prepend_own_disabled": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_as_replace_out: bool | None """Replace AS number with local AS number.""" @@ -32233,6 +33205,8 @@ class RemovePrivateAs(AvdModel): "replace_as": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -32265,6 +33239,8 @@ def __init__( class RemovePrivateAsIngress(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "replace_as": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None replace_as: bool | None @@ -32299,6 +33275,8 @@ class BfdTimers(AvdModel): "multiplier": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data", "interval", "min_rx", "multiplier") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] interval: int """Interval in milliseconds.""" @@ -32338,6 +33316,8 @@ class DefaultOriginate(AvdModel): "route_map": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None always: bool | None @@ -32378,6 +33358,8 @@ class DirectionIn(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -32423,6 +33405,8 @@ class DirectionOut(AvdModel): "include_sub_route_map": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "action") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] action: str """Missing policy action.""" @@ -32465,6 +33449,8 @@ def __init__( "direction_out": {"type": DirectionOut}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] direction_in: DirectionIn """Missing policy inbound direction.""" @@ -32496,6 +33482,8 @@ def __init__( class LinkBandwidth(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "default": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None default: str | None @@ -32526,6 +33514,8 @@ def __init__( class AllowasIn(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "times": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None times: int | None @@ -32556,6 +33546,8 @@ def __init__( class RibInPrePolicyRetain(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "all": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None all: bool | None @@ -32585,6 +33577,8 @@ def __init__( class SharedSecret(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}, "hash_algorithm": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "profile", "hash_algorithm") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str """Name of profile defined under `management_security`.""" @@ -32654,6 +33648,8 @@ def __init__( "ttl_maximum_hops": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """BGP peer group name.""" @@ -32847,6 +33843,8 @@ class AdditionalRouteTargetsItem(AvdModel): "nodes": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] type: str | None address_family: str | None @@ -32917,6 +33915,8 @@ class StructuredConfig(EosCliConfigGen): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str address_families: list[str] @@ -33291,6 +34291,8 @@ class L2vlansItem(AvdModel): class EvpnL2Multicast(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -33320,6 +34322,8 @@ class IgmpSnoopingQuerier(AvdModel): "fast_leave": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -33370,6 +34374,8 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): "raw_eos_cli": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] structured_config: StructuredConfig """ @@ -33430,6 +34436,8 @@ def __init__( "bgp": {"type": Bgp}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """VLAN ID.""" @@ -33604,6 +34612,8 @@ class PointToPointServicesItem(AvdModel): class SubinterfacesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "number": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data", "number") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] number: int """Subinterface number.""" @@ -33632,6 +34642,8 @@ class EndpointsItem(AvdModel): class PortChannel(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "mode": {"type": str}, "short_esi": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] mode: str | None short_esi: str | None @@ -33666,6 +34678,8 @@ def __init__( "port_channel": {"type": PortChannel}, } _required_fields: ClassVar[tuple] = ("_custom_data", "id", "nodes", "interfaces") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int """Pseudowire ID on this endpoint.""" @@ -33717,6 +34731,8 @@ def __init__( "lldp_disable": {"type": bool}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Pseudowire name.""" @@ -33787,6 +34803,8 @@ class PointToPointServices(AvdIndexedList[str, PointToPointServicesItem]): "point_to_point_services": {"type": PointToPointServices}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """ @@ -34106,8 +35124,10 @@ class NetworkServicesKeysName(AvdIndexedList[str, NetworkServicesKeysNameItem]): NetworkServicesKeysName._item_type = NetworkServicesKeysNameItem - _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": NetworkServicesKeysName, "key": "network_services_keys_name"}} + _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": NetworkServicesKeysName}} _required_fields: ClassVar[tuple] = ("key",) + _field_to_key_map: ClassVar[dict] = {"value": "network_services_keys_name"} + _key_to_field_map: ClassVar[dict] = {"network_services_keys_name": "value"} key: str """Key used as dynamic key""" value: NetworkServicesKeysName @@ -34140,6 +35160,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -34181,6 +35203,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -34223,6 +35247,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -34267,6 +35293,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -34290,6 +35318,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -34330,6 +35360,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -34422,6 +35454,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -34464,6 +35498,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -34491,6 +35527,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -34524,6 +35562,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -34576,6 +35616,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -34629,6 +35671,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -34694,6 +35738,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -34729,6 +35775,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -34762,6 +35810,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -34800,6 +35850,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -34839,6 +35891,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -34880,6 +35934,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -34913,6 +35969,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -34962,6 +36020,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -35086,6 +36146,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -35126,6 +36188,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -35234,6 +36298,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -35290,6 +36356,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -35313,6 +36381,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -35355,6 +36425,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -35379,6 +36451,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -35438,6 +36512,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -35781,6 +36857,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] id: int | None """Unique identifier used for IP addressing and other algorithms.""" @@ -37022,6 +38100,8 @@ class DownlinkPoolsItem(AvdModel): "downlink_interfaces": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_pool: str | None """IPv4 pool from which subnets will be allocated for links to downlink switches.""" @@ -37064,6 +38144,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -37105,6 +38187,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -37147,6 +38231,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -37191,6 +38277,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -37214,6 +38302,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -37254,6 +38344,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -37346,6 +38438,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -37388,6 +38482,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -37415,6 +38511,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -37448,6 +38546,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -37500,6 +38600,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -37553,6 +38655,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -37618,6 +38722,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -37653,6 +38759,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -37686,6 +38794,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -37724,6 +38834,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -37763,6 +38875,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -37804,6 +38918,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -37837,6 +38953,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -37886,6 +39004,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -38010,6 +39130,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -38050,6 +39172,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -38158,6 +39282,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -38214,6 +39340,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -38239,6 +39367,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -38281,6 +39411,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -38305,6 +39437,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -38364,6 +39498,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -38709,6 +39845,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The Node Name is used as "hostname".""" @@ -39968,6 +41106,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -40009,6 +41149,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -40051,6 +41193,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -40095,6 +41239,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -40118,6 +41264,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -40158,6 +41306,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -40250,6 +41400,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -40292,6 +41444,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -40319,6 +41473,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -40352,6 +41508,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -40404,6 +41562,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -40457,6 +41617,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -40522,6 +41684,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -40557,6 +41721,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -40590,6 +41756,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -40628,6 +41796,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -40667,6 +41837,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -40708,6 +41880,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -40741,6 +41915,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -40790,6 +41966,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -40914,6 +42092,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -40954,6 +42134,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -41062,6 +42244,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -41118,6 +42302,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -41141,6 +42327,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -41183,6 +42371,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -41207,6 +42397,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -41266,6 +42458,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -41611,6 +42805,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "group") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] group: str """ @@ -42871,6 +44067,8 @@ class DownlinkPoolsItem(AvdModel): "downlink_interfaces": {"type": list, "items": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] ipv4_pool: str | None """IPv4 pool from which subnets will be allocated for links to downlink switches.""" @@ -42913,6 +44111,8 @@ class GroupsItem(AvdModel): "links_minimum": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str | None """Tracking group name.""" @@ -42954,6 +44154,8 @@ def __init__( }, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None groups: list[GroupsItem] @@ -42996,6 +44198,8 @@ class LacpPortIdRange(AvdModel): "offset": {"type": int, "default": 0}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None size: int | None @@ -43040,6 +44244,8 @@ class StructuredConfig(EosCliConfigGen): class UplinkPtp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enable": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enable: bool | None @@ -43063,6 +44269,8 @@ def __init__( class UplinkMacsec(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "profile": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None @@ -43103,6 +44311,8 @@ class Filter(AvdModel): "only_vlans_in_use": {"type": bool, "default": False}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] tenants: list[str] """ @@ -43195,6 +44405,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str | None """Hostname of remote EVPN GW server.""" @@ -43237,6 +44449,8 @@ def __init__( class EvpnL2(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool, "default": False}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None @@ -43264,6 +44478,8 @@ class EvpnL3(AvdModel): "inter_domain": {"type": bool, "default": True}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None inter_domain: bool | None @@ -43297,6 +44513,8 @@ def __init__( "evpn_l3": {"type": EvpnL3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] remote_peers: list[RemotePeersItem] """ @@ -43349,6 +44567,8 @@ class RemotePeersItem(AvdModel): "bgp_as": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "hostname", "ip_address", "bgp_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] hostname: str """Hostname of remote IPVPN Peer.""" @@ -43402,6 +44622,8 @@ def __init__( "remote_peers": {"type": list, "items": RemotePeersItem}, } _required_fields: ClassVar[tuple] = ("_custom_data", "enabled") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool evpn_domain_id: str | None @@ -43467,6 +44689,8 @@ class Ptp(AvdModel): class Dscp(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "general_messages": {"type": int}, "event_messages": {"type": int}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] general_messages: int | None event_messages: int | None @@ -43502,6 +44726,8 @@ class Drop(AvdModel): "mean_path_delay": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -43535,6 +44761,8 @@ def __init__( "drop": {"type": Drop}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] offset_from_master: int | None mean_path_delay: int | None @@ -43573,6 +44801,8 @@ class Intervals(AvdModel): "sync": {"type": int}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] announce: int | None follow_up: int | None @@ -43612,6 +44842,8 @@ class SequenceIds(AvdModel): "sync": {"type": int, "default": 3}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None announce: int | None @@ -43653,6 +44885,8 @@ def __init__( "sequence_ids": {"type": SequenceIds}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] intervals: Intervals sequence_ids: SequenceIds @@ -43686,6 +44920,8 @@ def __init__( "missing_message": {"type": MissingMessage}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None threshold: Threshold @@ -43735,6 +44971,8 @@ def __init__( "monitor": {"type": Monitor}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None profile: str | None @@ -43859,6 +45097,8 @@ class WanHa(AvdModel): class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -43899,6 +45139,8 @@ def __init__( "flow_tracking": {"type": FlowTracking}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -44007,6 +45249,8 @@ class Bgp(AvdModel): "ipv4_prefix_list_out": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "peer_as") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] peer_as: str """ @@ -44063,6 +45307,8 @@ def __init__( class StaticRoutesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "prefix": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "prefix") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] prefix: str """IPv4_network/Mask.""" @@ -44086,6 +45332,8 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "name": {"type": str}, "tunnel_interface_numbers": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """Internet-exit policy name.""" @@ -44128,6 +45376,8 @@ class Policies(AvdIndexedList[str, PoliciesItem]): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "policies": {"type": Policies}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] policies: Policies """List of Internet-exit policies using this interface as exit.""" @@ -44152,6 +45402,8 @@ def __init__( class FlowTracking(AvdModel): _fields: ClassVar[dict] = {"_custom_data": {"type": dict}, "enabled": {"type": bool}, "name": {"type": str}} _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] enabled: bool | None name: str | None @@ -44211,6 +45463,8 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "structured_config": {"type": StructuredConfig}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -44556,6 +45810,8 @@ class L3Interfaces(AvdIndexedList[str, L3InterfacesItem]): "flow_tracker_type": {"type": str}, } _required_fields: ClassVar[tuple] = ("_custom_data", "name") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] name: str """The Node Name is used as "hostname".""" @@ -45813,6 +47069,8 @@ class Nodes(AvdIndexedList[str, NodesItem]): "nodes": {"type": Nodes}, } _required_fields: ClassVar[tuple] = ("_custom_data",) + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _custom_data: dict[str, Any] defaults: Defaults """Define variables for all nodes of this type.""" @@ -45845,8 +47103,10 @@ def __init__( continue setattr(self, arg, arg_value) - _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": NodeTypeKeysKey, "key": "node_type_keys_key"}} + _fields: ClassVar[dict] = {"key": {"type": str}, "value": {"type": NodeTypeKeysKey}} _required_fields: ClassVar[tuple] = ("key",) + _field_to_key_map: ClassVar[dict] = {"value": "node_type_keys_key"} + _key_to_field_map: ClassVar[dict] = {"node_type_keys_key": "value"} key: str """Key used as dynamic key""" value: NodeTypeKeysKey @@ -45880,6 +47140,8 @@ def __init__(self, *, key: str | UndefinedType = Undefined, value: NodeTypeKeysK "node_type_keys": {"type": list, "items": DynamicNodeTypeKeys}, } _required_fields: ClassVar[tuple] = ("connected_endpoints_keys", "custom_node_type_keys", "network_services_keys", "node_type_keys") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} connected_endpoints_keys: list[DynamicConnectedEndpointsKeys] """List of dynamic 'connected_endpoints_keys'.""" custom_node_type_keys: list[DynamicCustomNodeTypeKeys] @@ -46264,6 +47526,8 @@ def __init__( "_dynamic_keys": {"type": _DynamicKeys}, } _required_fields: ClassVar[tuple] = ("fabric_name", "_dynamic_keys") + _field_to_key_map: ClassVar[dict] = {} + _key_to_field_map: ClassVar[dict] = {} _allow_other_keys: ClassVar[bool] = True application_classification: ApplicationClassification """Application traffic recognition configuration.""" diff --git a/python-avd/pyavd/_schema/coerce_type.py b/python-avd/pyavd/_schema/coerce_type.py new file mode 100644 index 00000000000..c3e6782789a --- /dev/null +++ b/python-avd/pyavd/_schema/coerce_type.py @@ -0,0 +1,73 @@ +# Copyright (c) 2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. +from __future__ import annotations + +from collections.abc import Mapping, Sequence +from typing import TYPE_CHECKING, Any, ClassVar, TypeVar + +from .constants import ACCEPTED_COERCION_MAP + +if TYPE_CHECKING: + from typing import TypeVar + + T = TypeVar("T") + TT = TypeVar("TT") + + +def nullifiy_class(cls: type) -> type: + """ + Returns a subclass of the given class which has the extra attribute '_is_nullified'. + + This class is used when the input for a dict or a list is None/null/none, + to be able to signal to the deepmerge/inherit methods that this is not the same as an unset variable. + """ + + class NullifiedCls(cls): + _is_nullified: ClassVar[bool] = True + + return NullifiedCls + + +def coerce_type(value: Any, target_type: type[T], list_items_type: type[TT] | None = None) -> T | list[TT]: + """ + Return a coerced variant of the given value to the target_type or for lists a list of the the list_items_type. + + If the value is already of the correct type the value will be returned untouched. + + If coercion cannot be done, the original value will be returned. The calling function should catch the wrong type if necessary. + """ + if value is None and (target_type is list or hasattr(target_type, "_is_avd_class")): + # None values are sometimes used to overwrite inherited profiles. + # This ensures we still follow the type hint of the class. + return nullifiy_class(target_type)() + + # Special handling for lists since we need to check every item + if target_type is list: + if not isinstance(value, list) or list_items_type is None: + # Wrong type so we cannot coerce or just expecting a plain list so nothing to coerce. + return value + + # We got a type with items types like list[str] so we coerce every list item accordingly and return as a new list. + return [coerce_type(item_value, list_items_type) for item_value in value] + + if target_type is Any or isinstance(value, target_type): + pass + + elif target_type in ACCEPTED_COERCION_MAP and isinstance(value, ACCEPTED_COERCION_MAP[target_type]): + try: + return target_type(value) + except ValueError: + # Returns original value (too many returns triggers linting violation) + pass + + # Identify subclass of AvdModel without importing AvdModel (circular import) + elif hasattr(target_type, "_is_avd_model") and isinstance(value, Mapping): + return target_type._from_dict(value) + + # Identify subclass of AvdIndexedList without importing AvdIndexedList (circular import) + elif hasattr(target_type, "_is_avd_collection") and isinstance(value, Sequence): + return target_type._from_list(value) + + # Giving up and just returning the original value. + return value diff --git a/python-avd/pyavd/_schema/loader.py b/python-avd/pyavd/_schema/loader.py deleted file mode 100644 index f4234e9be09..00000000000 --- a/python-avd/pyavd/_schema/loader.py +++ /dev/null @@ -1,269 +0,0 @@ -# Copyright (c) 2024 Arista Networks, Inc. -# Use of this source code is governed by the Apache License 2.0 -# that can be found in the LICENSE file. -from __future__ import annotations - -from collections.abc import Mapping, Sequence -from types import NoneType -from typing import TYPE_CHECKING, Any, ClassVar, TypeVar - -from pyavd._utils import get_all - -from .constants import ACCEPTED_COERCION_MAP -from .store import create_store -from .utils import get_instance_with_defaults - -if TYPE_CHECKING: - from collections.abc import Generator - from typing import TypeVar - - from pyavd._eos_designs.schema import EosDesigns - - from .models import AvdIndexedList, AvdModel - - T = TypeVar("T") - TT = TypeVar("TT") - T_AvdModel = TypeVar("T_AvdModel", bound=AvdModel) - T_AvdIndexedList = TypeVar("T_AvdIndexedList", bound=AvdIndexedList) - - -def nullifiy_class(cls: type) -> type: - """ - Returns a subclass of the given class which has the extra attribute '_is_nullified'. - - This class is used when the input for a dict or a list is None/null/none, - to be able to signal to the deepmerge/inherit methods that this is not the same as an unset variable. - """ - - class NullifiedCls(cls): - _is_nullified: ClassVar[bool] = True - - return NullifiedCls - - -def coerce_type(value: Any, target_type: type[T], list_items_type: type[TT] | None = None) -> T | list[TT]: - """ - Return a coerced variant of the given value to the target_type or for lists a list of the the list_items_type. - - If the value is already of the correct type the value will be returned untouched. - - If coercion cannot be done, the original value will be returned. The calling function should catch the wrong type if necessary. - """ - if value is None and (target_type is list or hasattr(target_type, "_is_avd_class")): - # None values are sometimes used to overwrite inherited profiles. - # This ensures we still follow the type hint of the class. - return nullifiy_class(target_type)() - - # Special handling for lists since we need to check every item - if target_type is list: - if not isinstance(value, list) or list_items_type is None: - # Wrong type so we cannot coerce or just expecting a plain list so nothing to coerce. - return value - - # We got a type with items types like list[str] so we coerce every list item accordingly and return as a new list. - return [coerce_type(item_value, list_items_type) for item_value in value] - - if target_type is Any or isinstance(value, target_type): - pass - - elif target_type in ACCEPTED_COERCION_MAP and isinstance(value, ACCEPTED_COERCION_MAP[target_type]): - try: - return target_type(value) - except ValueError: - # Returns original value (too many returns triggers linting violation) - pass - - # Identify subclass of AvdModel without importing AvdModel (circular import) - elif hasattr(target_type, "_is_avd_model") and isinstance(value, Mapping): - return load_model(target_type, value) - - # Identify subclass of AvdIndexedList without importing AvdIndexedList (circular import) - elif hasattr(target_type, "_is_avd_collection") and isinstance(value, Sequence): - return load_collection(target_type, value) - - # Giving up and just returning the original value. - return value - - -def key_to_attr(cls: type[AvdModel], key: str) -> str | None: - """Returning attribute name for the given key or None if the key is invalid.""" - if key in cls._fields: - return key - if f"field_{key}" in cls._fields: - return f"field_{key}" - return None - - -def get_csc_items_as_dicts(_cls: type[EosDesigns], data: dict) -> Generator[dict, None, None]: - """ - Find any keys starting with any prefix defined under "custom_structured_configuration_prefix" and yield them as dicts. - - ```yaml - [{ - "key": - "value": - }] - ``` - """ - # TODO: Improve the fetch of default. We need to store the default value somewhere, since this is executed before __init__ of EosDesigns. - data_with_default = get_instance_with_defaults(data, "custom_structured_configuration_prefix", create_store()["eos_designs"]) - prefixes = data_with_default["custom_structured_configuration_prefix"] - if not isinstance(prefixes, list): - # Invalid prefix format. - return - - for prefix in prefixes: - if not isinstance(prefix, str): - # Invalid prefix format. - continue - - if not (matching_keys := [key for key in data if str(key).startswith(prefix)]): - continue - - prefix_length = len(prefix) - # TODO: Just create to proper data models instead of using coerce type. - for key in matching_keys: - yield { - "key": key, - "value": {key[prefix_length:]: data[key]}, - } - - -def get_csc_items(cls: type[EosDesigns], data: dict) -> list[EosDesigns._CustomStructuredConfigurationsItem]: - """Returns a list of _CustomStructuredConfigurationsItem objects containing each custom structured configuration extracted from the inputs.""" - # We do not have access to the target model directly (to avoid circular imports) so we will get it from the given class. - custom_structured_configurations_item_cls = cls._CustomStructuredConfigurationsItem - - return coerce_type(list(get_csc_items_as_dicts(cls, data)), target_type=list, list_items_type=custom_structured_configurations_item_cls) - - -def get_dynamic_keys_as_dict(cls: type[EosDesigns], data: Mapping) -> dict[str, list[dict]] | None: - """ - Extract content of dynamic keys and return them in a dict matching the _DynamicKeys model. - - {: [{"key": , "value": }]} - - This is used by both the loader and the validator. - - The corresponding data models are auto created by the conversion from schemas, which also sets "_dynamic_key_maps" on the class: - ```python - _dynamic_key_maps: list[dict] = [{"dynamic_keys_path": "connected_endpoints_keys.key", "model_key": "connected_endpoints_keys"}, ...] - ``` - - Here we parse "_dynamic_key_maps" and for entry find all values for the dynamic_keys_path (ex "node_type_keys.key") in the input data - to identify all dynamic keys (ex "l3leaf", "spine" ...) - """ - if getattr(cls, "_DynamicKeys", None) is None: - return None - - schema = create_store()["eos_designs"] - - dynamic_keys_dict = {} - - for dynamic_key_map in cls._DynamicKeys._dynamic_key_maps: - dynamic_keys_path: str = dynamic_key_map["dynamic_keys_path"] - model_key_list = dynamic_keys_dict.setdefault(dynamic_key_map["model_key"], []) - - # TODO: Improve the fetch of default. We need to store the default value somewhere, since this is executed before __init__ of EosDesigns. - data_with_default = get_instance_with_defaults(data, dynamic_keys_path, schema) - dynamic_keys = get_all(data_with_default, dynamic_keys_path) - for dynamic_key in dynamic_keys: - # dynamic_key is one key like "l3leaf". - if (value := data.get(dynamic_key)) is None: - # Do not add missing key or None. - continue - - model_key_list.append({"key": dynamic_key, "value": value}) - - return dynamic_keys_dict - - -def get_dynamic_keys(cls: type[EosDesigns], data: Mapping) -> EosDesigns._DynamicKeys: - """ - Returns the DynamicKeys object which holds a list for each dynamic key. - - The lists contain an entry for each dynamic key found in the inputs and the content of that key conforming to the schema. - """ - # We do not have access to the target model directly (to avoid circular imports) so we will get it from the given class. - dynamic_keys_cls = cls._DynamicKeys - - # TODO: Just create to proper data models instead of using coerce type. - return coerce_type(get_dynamic_keys_as_dict(cls, data), dynamic_keys_cls) - - -def loader(cls: type[T_AvdModel | T_AvdIndexedList], data: Mapping | Sequence) -> T_AvdData: - # Using hasattr to avoid importing the BaseClass which would lead to circular imports. - if hasattr(cls, "_is_avd_class"): - if hasattr(cls, "_is_avd_model"): - return load_model(cls, data) - if hasattr(cls, "_is_avd_collection"): - return load_collection(cls, data) - - msg = f"'cls' must be a subclass of 'AvdModel' or 'AvdIndexedList'. Got '{type(cls)}'" - raise TypeError(msg) - - -def load_model(cls: type[T_AvdModel], data: Mapping) -> T_AvdModel: - if not isinstance(data, Mapping): - msg = f"Expecting 'data' as a 'Mapping' when loading data into '{cls.__name__}'. Got '{type(data)}" - raise TypeError(msg) - - allow_other_keys = cls._allow_other_keys - cls_fields = cls._fields - has_custom_data = "_custom_data" in cls_fields - has_csc = "_custom_structured_configurations" in cls_fields - has_dynamic_keys = "_dynamic_keys" in cls_fields - cls_args = {} - - if has_csc: - cls_args["_custom_structured_configurations"] = get_csc_items(cls, data) - - if has_dynamic_keys: - cls_args["_dynamic_keys"] = get_dynamic_keys(cls, data) - - for key in data: - if has_custom_data and str(key).startswith("_"): - cls_args.setdefault("_custom_data", {})[key] = data[key] - continue - - if not (attr := key_to_attr(cls, key)): - if allow_other_keys: - # Ignore unknown keys. - # This also covers the case for custom_structured_configuration keys and dynamic keys, - # since the root dirs always allow other keys. - continue - msg = f"Invalid key '{key}'. Not available on '{cls.__name__}'." - raise KeyError(msg, has_custom_data) - - cls_field_data = cls_fields[attr] - - base_type = cls_field_data["type"] - value = coerce_type(data[key], base_type, list_items_type=cls_field_data.get("items")) - - # Raise for wrong type ignoring None values - we expect the validation to have sorted out required fields. - if not isinstance(value, (base_type, NoneType)): - msg = f"Invalid type '{type(value)}. Expected '{base_type}'. Value '{value}" - raise TypeError(msg) - - cls_args[attr] = value - - return cls(**cls_args) - - -def load_collection(cls: type[T_AvdIndexedList], data: Sequence) -> T_AvdIndexedList: - if not isinstance(data, Sequence): - msg = f"Expecting 'data' as a 'Sequence' when loading data into '{cls.__name__}'. Got '{type(data)}" - raise TypeError(msg) - - item_type = cls._item_type - cls_items = [] - for item in data: - value = coerce_type(item, item_type) - - # Raise for wrong type ignoring None values - we expect the validation to have sorted out required fields. - if not isinstance(value, (item_type, NoneType)): - msg = f"Invalid type '{type(value)}. Expected '{item_type}'. Value '{value}" - raise TypeError(msg) - - cls_items.append(value) - return cls(cls_items) diff --git a/python-avd/pyavd/_schema/models/__init__.py b/python-avd/pyavd/_schema/models/__init__.py new file mode 100644 index 00000000000..e772bee41fe --- /dev/null +++ b/python-avd/pyavd/_schema/models/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2023-2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. diff --git a/python-avd/pyavd/_schema/models/avd_base.py b/python-avd/pyavd/_schema/models/avd_base.py new file mode 100644 index 00000000000..e643cd8ddd7 --- /dev/null +++ b/python-avd/pyavd/_schema/models/avd_base.py @@ -0,0 +1,24 @@ +# Copyright (c) 2023-2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. +from __future__ import annotations + +from copy import deepcopy +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from typing_extensions import Self + + +class AvdBase: + _is_avd_class: bool = True + + def __eq__(self, other: object) -> bool: + """Compare two instances of AvdBase by comparing their repr.""" + if isinstance(other, self.__class__): + return repr(self) == repr(other) + return super().__eq__(other) + + def _deepcopy(self) -> Self: + """Return a copy including all nested models.""" + return deepcopy(self) diff --git a/python-avd/pyavd/_schema/models/avd_indexed_list.py b/python-avd/pyavd/_schema/models/avd_indexed_list.py new file mode 100644 index 00000000000..1c2500c110a --- /dev/null +++ b/python-avd/pyavd/_schema/models/avd_indexed_list.py @@ -0,0 +1,145 @@ +# Copyright (c) 2023-2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. +from __future__ import annotations + +from collections.abc import Iterable, Iterator, Sequence +from types import NoneType +from typing import TYPE_CHECKING, ClassVar, Generic, Literal + +from pyavd._schema.coerce_type import coerce_type +from pyavd._utils import Undefined + +from .avd_base import AvdBase +from .type_vars import T_AvdModel, T_PrimaryKey + +if TYPE_CHECKING: + from typing_extensions import Self + + from pyavd._utils import UndefinedType + + from .avd_model import AvdModel + from .type_vars import T, T_AvdIndexedList + + +class AvdIndexedList(Sequence[T_AvdModel], Generic[T_PrimaryKey, T_AvdModel], AvdBase): + _is_avd_collection = True + _item_type: ClassVar[type[AvdModel]] + _primary_key: ClassVar[str] + _items: dict[T_PrimaryKey, T_AvdModel] + + @classmethod + def _from_list(cls, data: Sequence) -> Self: + if not isinstance(data, Sequence): + msg = f"Expecting 'data' as a 'Sequence' when loading data into '{cls.__name__}'. Got '{type(data)}" + raise TypeError(msg) + + item_type = cls._item_type + cls_items = [] + for item in data: + value = coerce_type(item, item_type) + + # Raise for wrong type ignoring None values - we expect the validation to have sorted out required fields. + if not isinstance(value, (item_type, NoneType)): + msg = f"Invalid type '{type(value)}. Expected '{item_type}'. Value '{value}" + raise TypeError(msg) + + cls_items.append(value) + return cls(cls_items) + + def __init__(self, items: Iterable[T_AvdModel] | UndefinedType = Undefined) -> None: + if items is Undefined: + self._items = {} + else: + self._items = {getattr(item, self._primary_key): item for item in items} + + def __repr__(self) -> str: + """Returns a repr with all the items including any nested models.""" + cls_name = self.__class__.__name__ + attrs = [f"{item!r}" for item in (self._items or ())] + return f"<{cls_name}([{', '.join(attrs)}])>" + + def __bool__(self) -> bool: + """Boolean check on the class to quickly determine if any items are set.""" + return bool(self._items) + + def __len__(self) -> int: + return self._items.__len__() + + def __contains__(self, key: T_PrimaryKey) -> bool: + return self._items.__contains__(key) + + def __iter__(self) -> Iterator[T_AvdModel]: + return self._items.values().__iter__() + + def __getitem__(self, key: T_PrimaryKey) -> T_AvdModel: + return self._items[key] + + def __setitem__(self, key: T_PrimaryKey, value: T_AvdModel) -> None: + self._items[key] = value + + def get(self, key: T_PrimaryKey, default: T | Undefined = Undefined) -> T_AvdModel | T | Undefined: + return self._items.get(key, default) + + def items(self) -> Iterable[tuple[T_PrimaryKey, T_AvdModel]]: + return self._items.items() + + def keys(self) -> Iterable[T_PrimaryKey]: + return self._items.keys() + + def values(self) -> Iterable[T_AvdModel]: + return self._items.values() + + def append(self, item: T_AvdModel) -> None: + self._items[getattr(item, self._primary_key)] = item + + def extend(self, items: Iterable[T_AvdModel]) -> None: + self._items.update({getattr(item, self._primary_key): item for item in items}) + + def _as_list(self) -> list[T_AvdModel]: + """Returns a list with all the data from this model and any nested models.""" + return list(self._items.values()) + + def _deepmerge(self, other: Self, list_merge: Literal["append", "replace"] = "append") -> None: + """Update instance by deepmerging the other instance in.""" + cls = type(self) + if not isinstance(other, cls): + msg = f"Unable to merge type '{type(other)}' into '{cls}'" + raise TypeError(msg) + + copy_of_other = other._deepcopy() + + if list_merge == "replace": + self._items = copy_of_other._items + return + + for primary_key, new_item in copy_of_other.items(): + old_value = self.get(primary_key) + if old_value is Undefined or not isinstance(old_value, type(new_item)) or getattr(new_item, "_is_nullified", False): + # New item or different type so we can just replace + self[primary_key] = new_item + continue + + # Existing item of same type, so deepmerge. + self[primary_key]._deepmerge(new_item, list_merge=list_merge) + + def _deepmerged(self, other: Self, list_merge: Literal["append", "replace"] = "append") -> Self: + """Return new instance with the result of the deepmerge of "other" on this instance.""" + new_instance = self._deepcopy() + new_instance._deepmerge(other=other, list_merge=list_merge) + return new_instance + + def _cast_as(self, new_type: type[T_AvdIndexedList], ignore_extra_keys: bool = False) -> T_AvdIndexedList: + """ + Recast a class instance as another AvdIndexedList subclass if they are compatible. + + The classes are compatible if the items of the new class is a superset of the current class. + + Useful when inheriting from profiles. + """ + cls = type(self) + if not issubclass(new_type, AvdIndexedList): + msg = f"Unable to cast '{cls}' as type '{new_type}' since '{new_type}' is not an AvdIndexedList subclass." + raise TypeError(msg) + + return new_type([item._cast_as(new_type._item_type, ignore_extra_keys=ignore_extra_keys) for item in self]) diff --git a/python-avd/pyavd/_schema/models.py b/python-avd/pyavd/_schema/models/avd_model.py similarity index 68% rename from python-avd/pyavd/_schema/models.py rename to python-avd/pyavd/_schema/models/avd_model.py index 20cc86748db..e71929974f2 100644 --- a/python-avd/pyavd/_schema/models.py +++ b/python-avd/pyavd/_schema/models/avd_model.py @@ -3,46 +3,73 @@ # that can be found in the LICENSE file. from __future__ import annotations -from collections.abc import Iterable, Iterator, Sequence -from copy import deepcopy -from typing import Any, ClassVar, Generic, Literal, TypeVar +from collections.abc import Mapping +from types import NoneType +from typing import TYPE_CHECKING, Any, ClassVar, Literal -from typing_extensions import Self +from pyavd._schema.coerce_type import coerce_type +from pyavd._utils import Undefined -from pyavd._utils import Undefined, UndefinedType +from .avd_base import AvdBase +from .avd_indexed_list import AvdIndexedList -from .loader import loader +if TYPE_CHECKING: + from typing_extensions import Self -T = TypeVar("T") -T_AvdModel = TypeVar("T_AvdModel", bound="AvdModel") -T_AvdIndexedList = TypeVar("T_AvdIndexedList", bound="AvdIndexedList") -T_PrimaryKey = TypeVar("T_PrimaryKey", int, str) - - -class AvdBase: - _is_avd_class: bool = True - - def __eq__(self, other: object) -> bool: - """Compare two instances of AvdBase by comparing their repr.""" - if isinstance(other, self.__class__): - return repr(self) == repr(other) - return super().__eq__(other) - - def _deepcopy(self) -> Self: - """Return a copy including all nested models.""" - return deepcopy(self) + from .type_vars import T_AvdModel class AvdModel(AvdBase): _is_avd_model = True _allow_other_keys: bool = False _fields: ClassVar[dict[str, dict]] - _required_fields: tuple[str, ...] + _required_fields: ClassVar[tuple[str, ...]] + _field_to_key_map: ClassVar[dict[str, str]] + _key_to_field_map: ClassVar[dict[str, str]] @classmethod - def _from_dict(cls: type[T_AvdModel], data: dict) -> T_AvdModel: + def _from_dict(cls: type[T_AvdModel], data: Mapping) -> T_AvdModel: """Returns a new instance loaded with the data from the given dict.""" - return loader(cls, data) + if not isinstance(data, Mapping): + msg = f"Expecting 'data' as a 'Mapping' when loading data into '{cls.__name__}'. Got '{type(data)}" + raise TypeError(msg) + + has_custom_data = "_custom_data" in cls._fields + cls_args = {} + + for key in data: + if has_custom_data and str(key).startswith("_"): + cls_args.setdefault("_custom_data", {})[key] = data[key] + continue + + if not (field := cls._get_field_name(key)): + if cls._allow_other_keys: + # Ignore unknown keys. + continue + msg = f"Invalid key '{key}'. Not available on '{cls.__name__}'." + raise KeyError(msg, has_custom_data) + + field_info = cls._fields[field] + field_type = field_info["type"] + + value = coerce_type(data[key], field_type, list_items_type=field_info.get("items")) + + # Raise for wrong type ignoring None values - we expect the validation to have sorted out required fields. + if not isinstance(value, (field_type, NoneType)): + msg = f"Invalid type '{type(value)}. Expected '{field_type}'. Value '{value}" + raise TypeError(msg) + + cls_args[field] = value + + return cls(**cls_args) + + @classmethod + def _get_field_name(cls, key: str) -> str | None: + """Returns the field name for the given key. Returns None if the key is not matching a valid field.""" + field_name = cls._key_to_field_map.get(key, key) + if field_name in cls._fields: + return field_name + return None def __getattr__(self, name: str) -> Any: """ @@ -109,8 +136,12 @@ def _as_dict(self) -> dict: if (value := self._get_defined_attr(field)) is Undefined: continue + if field == "_custom_data" and isinstance(value, dict) and value: + as_dict.update(value) + continue + # Removing field_ prefix if needed. - key = field_info.get("key", field) + key = self._field_to_key_map.get(field, field) if issubclass(field_info["type"], AvdModel) and isinstance(value, AvdModel): as_dict[key] = value._as_dict() @@ -275,111 +306,3 @@ def _cast_as(self, new_type: type[T_AvdModel], ignore_extra_keys: bool = False) continue return new_type(**new_args) - - -class AvdIndexedList(Sequence[T_AvdModel], Generic[T_PrimaryKey, T_AvdModel], AvdBase): - _is_avd_collection = True - _item_type: ClassVar[type[AvdModel]] - _primary_key: ClassVar[str] - _items: dict[T_PrimaryKey, T_AvdModel] - - @classmethod - def from_list(cls, data: Sequence) -> Self: - return loader(cls, data) - - def __init__(self, items: Iterable[T_AvdModel] | UndefinedType = Undefined) -> None: - if items is Undefined: - self._items = {} - else: - self._items = {getattr(item, self._primary_key): item for item in items} - - def __repr__(self) -> str: - """Returns a repr with all the items including any nested models.""" - cls_name = self.__class__.__name__ - attrs = [f"{item!r}" for item in (self._items or ())] - return f"<{cls_name}([{', '.join(attrs)}])>" - - def __bool__(self) -> bool: - """Boolean check on the class to quickly determine if any items are set.""" - return bool(self._items) - - def __len__(self) -> int: - return self._items.__len__() - - def __contains__(self, key: T_PrimaryKey) -> bool: - return self._items.__contains__(key) - - def __iter__(self) -> Iterator[T_AvdModel]: - return self._items.values().__iter__() - - def __getitem__(self, key: T_PrimaryKey) -> T_AvdModel: - return self._items[key] - - def __setitem__(self, key: T_PrimaryKey, value: T_AvdModel) -> None: - self._items[key] = value - - def get(self, key: T_PrimaryKey, default: T | Undefined = Undefined) -> T_AvdModel | T | Undefined: - return self._items.get(key, default) - - def items(self) -> Iterable[tuple[T_PrimaryKey, T_AvdModel]]: - return self._items.items() - - def keys(self) -> Iterable[T_PrimaryKey]: - return self._items.keys() - - def values(self) -> Iterable[T_AvdModel]: - return self._items.values() - - def append(self, item: T_AvdModel) -> None: - self._items[getattr(item, self._primary_key)] = item - - def extend(self, items: Iterable[T_AvdModel]) -> None: - self._items.update({getattr(item, self._primary_key): item for item in items}) - - def _as_list(self) -> list[T_AvdModel]: - """Returns a list with all the data from this model and any nested models.""" - return list(self._items.values()) - - def _deepmerge(self, other: Self, list_merge: Literal["append", "replace"] = "append") -> None: - """Update instance by deepmerging the other instance in.""" - cls = type(self) - if not isinstance(other, cls): - msg = f"Unable to merge type '{type(other)}' into '{cls}'" - raise TypeError(msg) - - copy_of_other = other._deepcopy() - - if list_merge == "replace": - self._items = copy_of_other._items - return - - for primary_key, new_item in copy_of_other.items(): - old_value = self.get(primary_key) - if old_value is Undefined or not isinstance(old_value, type(new_item)) or getattr(new_item, "_is_nullified", False): - # New item or different type so we can just replace - self[primary_key] = new_item - continue - - # Existing item of same type, so deepmerge. - self[primary_key]._deepmerge(new_item, list_merge=list_merge) - - def _deepmerged(self, other: Self, list_merge: Literal["append", "replace"] = "append") -> Self: - """Return new instance with the result of the deepmerge of "other" on this instance.""" - new_instance = self._deepcopy() - new_instance._deepmerge(other=other, list_merge=list_merge) - return new_instance - - def _cast_as(self, new_type: type[T_AvdIndexedList], ignore_extra_keys: bool = False) -> T_AvdIndexedList: - """ - Recast a class instance as another AvdIndexedList subclass if they are compatible. - - The classes are compatible if the items of the new class is a superset of the current class. - - Useful when inheriting from profiles. - """ - cls = type(self) - if not issubclass(new_type, AvdIndexedList): - msg = f"Unable to cast '{cls}' as type '{new_type}' since '{new_type}' is not an AvdIndexedList subclass." - raise TypeError(msg) - - return new_type([item._cast_as(new_type._item_type, ignore_extra_keys=ignore_extra_keys) for item in self]) diff --git a/python-avd/pyavd/_schema/models/eos_designs_root_model.py b/python-avd/pyavd/_schema/models/eos_designs_root_model.py new file mode 100644 index 00000000000..51969416e78 --- /dev/null +++ b/python-avd/pyavd/_schema/models/eos_designs_root_model.py @@ -0,0 +1,93 @@ +# Copyright (c) 2023-2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. +from __future__ import annotations + +from collections import ChainMap +from collections.abc import Iterator, Mapping +from typing import TYPE_CHECKING + +from pyavd._eos_cli_config_gen.schema import EosCliConfigGen +from pyavd._schema.store import create_store +from pyavd._schema.utils import get_instance_with_defaults +from pyavd._utils import get_all + +from .avd_model import AvdModel + +if TYPE_CHECKING: + from pyavd._eos_designs.schema import EosDesigns + + +class EosDesignsRootModel(AvdModel): + @classmethod + def _from_dict(cls: type[EosDesigns], data: Mapping) -> EosDesigns: + """Returns a new instance loaded with the data from the given dict.""" + if not isinstance(data, Mapping): + msg = f"Expecting 'data' as a 'Mapping' when loading data into '{cls.__name__}'. Got '{type(data)}" + raise TypeError(msg) + + root_data = {} + root_data["_custom_structured_configurations"] = list(cls._get_csc_items(data)) + root_data["_dynamic_keys"] = cls._get_dynamic_keys(data) + return super()._from_dict(ChainMap(root_data, data)) + + @classmethod + def _get_csc_items(cls: type[EosDesigns], data: Mapping) -> Iterator[EosDesigns._CustomStructuredConfigurationsItem]: + """ + Returns a list of _CustomStructuredConfigurationsItem objects containing each custom structured configuration extracted from the inputs. + + Find any keys starting with any prefix defined under "custom_structured_configuration_prefix". + """ + prefixes = data.get("custom_structured_configuration_prefix", cls._fields["custom_structured_configuration_prefix"]["default"]) + if not isinstance(prefixes, list): + # Invalid prefix format. + return + + for prefix in prefixes: + if not isinstance(prefix, str): + # Invalid prefix format. + continue + + if not (matching_keys := [key for key in data if str(key).startswith(prefix)]): + continue + + prefix_length = len(prefix) + for key in matching_keys: + yield cls._CustomStructuredConfigurationsItem(key=key, value=EosCliConfigGen._from_dict({key[prefix_length:]: data[key]})) + + @classmethod + def _get_dynamic_keys(cls: type[EosDesigns], data: Mapping) -> EosDesigns._DynamicKeys: + """ + Returns the DynamicKeys object which holds a list for each dynamic key. + + The lists contain an entry for each dynamic key found in the inputs and the content of that key conforming to the schema. + + The corresponding data models are auto created by the conversion from schemas, which also sets "_dynamic_key_maps" on the class: + ```python + _dynamic_key_maps: list[dict] = [{"dynamic_keys_path": "connected_endpoints_keys.key", "model_key": "connected_endpoints_keys"}, ...] + ``` + + Here we parse "_dynamic_key_maps" and for entry find all values for the dynamic_keys_path (ex "node_type_keys.key") in the input data + to identify all dynamic keys (ex "l3leaf", "spine" ...) + """ + schema = create_store()["eos_designs"] + + dynamic_keys_dict = {} + + for dynamic_key_map in cls._DynamicKeys._dynamic_key_maps: + dynamic_keys_path: str = dynamic_key_map["dynamic_keys_path"] + model_key_list: list = dynamic_keys_dict.setdefault(dynamic_key_map["model_key"], []) + + # TODO: Improve the fetch of default. We need to store the default value somewhere, since this is executed before __init__ of EosDesigns. + data_with_default = get_instance_with_defaults(data, dynamic_keys_path, schema) + dynamic_keys = get_all(data_with_default, dynamic_keys_path) + for dynamic_key in dynamic_keys: + # dynamic_key is one key like "l3leaf". + if (value := data.get(dynamic_key)) is None: + # Do not add missing key or None. + continue + + model_key_list.append({"key": dynamic_key, "value": value}) + + # TODO: Just create to proper data models instead of using coerce type. + return cls._DynamicKeys._from_dict(dynamic_keys_dict) diff --git a/python-avd/pyavd/_schema/models/type_vars.py b/python-avd/pyavd/_schema/models/type_vars.py new file mode 100644 index 00000000000..32f14267923 --- /dev/null +++ b/python-avd/pyavd/_schema/models/type_vars.py @@ -0,0 +1,15 @@ +# Copyright (c) 2024 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. +from __future__ import annotations + +from typing import TYPE_CHECKING, TypeVar + +if TYPE_CHECKING: + from .avd_indexed_list import AvdIndexedList + from .avd_model import AvdModel + +T = TypeVar("T") +T_AvdModel = TypeVar("T_AvdModel", bound="AvdModel") +T_AvdIndexedList = TypeVar("T_AvdIndexedList", bound="AvdIndexedList") +T_PrimaryKey = TypeVar("T_PrimaryKey", int, str) diff --git a/python-avd/schema_tools/generate_classes/class_src_gen.py b/python-avd/schema_tools/generate_classes/class_src_gen.py index c69b46d0595..3b317bc95e0 100644 --- a/python-avd/schema_tools/generate_classes/class_src_gen.py +++ b/python-avd/schema_tools/generate_classes/class_src_gen.py @@ -330,6 +330,18 @@ def get_field(self) -> None: For the root dict there is no parent, so this always returns None. """ + def get_base_classes(self) -> list[str]: + """Return a list of base classes.""" + if self.get_class_name() == "EosDesigns": + return ["EosDesignsRootModel"] + return [] + + def get_imports(self) -> set[str]: + imports = super().get_imports() + if self.get_class_name() == "EosDesigns": + imports.add("from pyavd._schema.models.eos_designs_root_model import EosDesignsRootModel") + return imports + def get_children_classes_and_fields(self) -> tuple[list[ModelSrc], list[FieldSrc]]: """ Return lists of ModelSrc and FieldSrc for any nested fields. diff --git a/python-avd/schema_tools/generate_classes/src_generators.py b/python-avd/schema_tools/generate_classes/src_generators.py index e94198ba62a..1cef0ac64b5 100644 --- a/python-avd/schema_tools/generate_classes/src_generators.py +++ b/python-avd/schema_tools/generate_classes/src_generators.py @@ -12,7 +12,8 @@ SRC_HEADER = indent(LICENSE_HEADER + "\n\n", "# ") BASE_IMPORTS = """\ -from pyavd._schema.models import AvdIndexedList, AvdModel +from pyavd._schema.models.avd_indexed_list import AvdIndexedList +from pyavd._schema.models.avd_model import AvdModel from pyavd._utils import Undefined, UndefinedType """ BASE_MODEL_NAME = "AvdModel" @@ -70,7 +71,7 @@ def get_imports(self) -> set: """Return a set of strings with Python imports that are needed for this class.""" imports = set() if self.default_value and "coerce_type" in self.default_value: - imports.add("from pyavd._schema.loader import coerce_type") + imports.add("from pyavd._schema.coerce_type import coerce_type") for type_hint in self.type_hints: imports.update(type_hint.get_imports()) return imports @@ -86,8 +87,6 @@ def field_as_dict_str(self) -> str: field_type = "dict" dict_fields_src = [f'"type": {field_type}'] - if self.key is not None and self.key != self.name: - dict_fields_src.append(f'"key": "{self.key}"') if field_type == "list": items_type = self.type_hints[0].list_item_type dict_fields_src.append(f'"items": {items_type}') @@ -235,6 +234,12 @@ def _render_fields(self) -> str: extra_comma = "," if len(required_field_names_as_strings) == 1 else "" src += f" _required_fields: ClassVar[tuple] = ({', '.join(required_field_names_as_strings)}{extra_comma})\n" + field_to_key_map = str({field.name: field.key for field in self.fields if field.name and field.key and field.name != field.key}) + src += f" _field_to_key_map: ClassVar[dict] = {field_to_key_map}\n" + + key_to_field_map = str({field.key: field.name for field in self.fields if field.name and field.key and field.name != field.key}) + src += f" _key_to_field_map: ClassVar[dict] = {key_to_field_map}\n" + if self.allow_extra: src += " _allow_other_keys: ClassVar[bool] = True\n" if not self.fields: