From 06262b59257f4106f1b6a609314f10998069bd65 Mon Sep 17 00:00:00 2001 From: Claus Holbech Date: Fri, 7 Feb 2025 15:32:03 +0100 Subject: [PATCH] Refactor(eos_designs): structured_config for network_services router_bgp (#4961) Co-authored-by: Guillaume Mulocher --- ...e-interfaces-point-to-point-services-4.yml | 1 + ...icate-peer-ip-address-network-services.yml | 2 +- .../host_vars/duplicate-vrfs-id-conflict.yml | 7 +- ...ailure-duplicate-evpn-vlan-bundle-name.yml | 9 +- .../network-services-vrfs-bgp-settings.md | 4 +- .../_eos_cli_config_gen/schema/__init__.py | 12137 +++------------- python-avd/pyavd/_eos_designs/avdfacts.py | 2 +- .../_eos_designs/eos_designs_facts/vlans.py | 4 +- .../_eos_designs/eos_designs_facts/wan.py | 2 +- .../pyavd/_eos_designs/schema/__init__.py | 5034 +------ .../schema/eos_designs.schema.yml | 1 + ...ation_checks_across_all_models.schema.yml} | 0 .../defs_network_services.schema.yml | 1 + .../shared_utils/filtered_tenants.py | 18 +- .../pyavd/_eos_designs/shared_utils/utils.py | 3 +- .../pyavd/_eos_designs/shared_utils/wan.py | 7 +- .../ethernet_interfaces.py | 15 +- .../connected_endpoints/monitor_sessions.py | 22 +- .../port_channel_interfaces.py | 4 +- .../connected_endpoints/utils.py | 10 +- .../network_services/ethernet_interfaces.py | 4 +- .../network_services/loopback_interfaces.py | 8 +- .../network_services/route_maps.py | 4 +- .../network_services/router_bgp.py | 524 +- .../network_services/router_multicast.py | 2 +- .../network_services/router_ospf.py | 2 +- .../router_pim_sparse_mode.py | 2 +- .../network_services/utils.py | 37 +- .../network_services/utils_wan.py | 2 +- .../network_services/vlan_interfaces.py | 85 +- .../network_services/vlans.py | 7 +- .../network_services/vxlan_interface.py | 4 +- .../overlay/router_path_selection.py | 2 +- python-avd/pyavd/_schema/models/avd_base.py | 50 +- .../pyavd/_schema/models/avd_indexed_list.py | 34 +- python-avd/pyavd/_schema/models/avd_list.py | 34 +- python-avd/pyavd/_schema/models/avd_model.py | 216 +- .../models/eos_cli_config_gen_root_model.py | 2 +- .../_schema/models/eos_designs_root_model.py | 4 +- .../generate_classes/class_src_gen.py | 20 +- .../test_eos_designs_class.py | 2 +- .../pyavd/schema/data_merging_schema_class.py | 14 +- 42 files changed, 3085 insertions(+), 15257 deletions(-) rename python-avd/pyavd/_eos_designs/schema/schema_fragments/{avd_eos_designs_structured_config.schema copy.yml => avd_eos_designs_enforce_duplication_checks_across_all_models.schema.yml} (100%) diff --git a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-interfaces-point-to-point-services-4.yml b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-interfaces-point-to-point-services-4.yml index fe46ce6f272..71ef3c82ee7 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-interfaces-point-to-point-services-4.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-interfaces-point-to-point-services-4.yml @@ -28,6 +28,7 @@ tenants: - name: TENANT vrfs: - name: TEST + vrf_id: 1 # Only set to avoid the general VRF code triggering other errors. l3_interfaces: - nodes: ["duplicate-interfaces-point-to-point-services-4", "some_other_device"] interfaces: ["Ethernet6.1000", "some_other_interface"] diff --git a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-peer-ip-address-network-services.yml b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-peer-ip-address-network-services.yml index ad296dbdd81..f2adb28b06a 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-peer-ip-address-network-services.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-peer-ip-address-network-services.yml @@ -34,5 +34,5 @@ tenants: nodes: [ duplicate-peer-ip-address-network-services ] expected_error_message: >- - Found duplicate objects with conflicting data while generating configuration for BGP peer defined under VRFs. + Found duplicate objects with conflicting data while generating configuration for Neighbors. {'ip_address': '2.2.2.2', 'peer_group': 'Tenant_C_BGP_PEER_GROUP2'} conflicts with {'ip_address': '2.2.2.2', 'peer_group': 'Tenant_C_BGP_PEER_GROUP'}. diff --git a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-vrfs-id-conflict.yml b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-vrfs-id-conflict.yml index 99b8a95e887..339951b1919 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-vrfs-id-conflict.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/duplicate-vrfs-id-conflict.yml @@ -48,7 +48,8 @@ tenants: ip_address_virtual: 10.0.100.1/24 expected_error_message: >- - Found duplicate objects with conflicting data while generating configuration for BGP VRFs defined under network services. + Found duplicate objects with conflicting data while generating configuration for Vrfs. {'name': 'VRF1', 'rd': '192.168.255.101:1', 'route_targets': {'import': [{'address_family': 'evpn', 'route_targets': ['1:1']}], - 'export': [{'address_family': 'evpn', 'route_targets': ['1:1']}]}} conflicts with {'name': 'VRF1', 'rd': '192.168.255.101:2', 'route_targets': - {'import': [{'address_family': 'evpn', 'route_targets': ['2:2']}], 'export': [{'address_family': 'evpn', 'route_targets': ['2:2']}]}}. + 'export': [{'address_family': 'evpn', 'route_targets': ['1:1']}]}, 'router_id': '192.168.255.101', 'redistribute': {'connected': {'enabled': True}}} + conflicts with {'name': 'VRF1', 'rd': '192.168.255.101:2', 'route_targets': {'import': [{'address_family': 'evpn', 'route_targets': ['2:2']}], + 'export': [{'address_family': 'evpn', 'route_targets': ['2:2']}]}, 'router_id': '192.168.255.101', 'redistribute': {'connected': {'enabled': True}}}. diff --git a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/failure-duplicate-evpn-vlan-bundle-name.yml b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/failure-duplicate-evpn-vlan-bundle-name.yml index fbcd0f5052e..b83cef72c50 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/failure-duplicate-evpn-vlan-bundle-name.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_negative_unit_tests/inventory/host_vars/failure-duplicate-evpn-vlan-bundle-name.yml @@ -45,7 +45,8 @@ evpn_vlan_bundles: id: 1 expected_error_message: >- - Found duplicate objects with conflicting data while generating configuration for BGP VLAN-Aware Bundles - defined under network services. A common reason is that an 'l2vlan' name overlaps with an 'evpn_vlan_bundle' name. - {'name': 'bundle1', 'rd': '10.10.0.3:10010', 'route_targets': {'both': ['10010:10010']}, 'tenant': 'StorageProd', 'vlan': '10'} - conflicts with {'name': 'bundle1', 'rd': '10.10.0.3:1', 'route_targets': {'both': ['1:1']}, 'tenant': None, 'vlan': '50,60'}. + Found duplicate objects with conflicting data while generating configuration for VlanAwareBundles. + {'name': 'bundle1', 'tenant': 'StorageProd', 'rd': '10.10.0.3:10010', 'route_targets': {'both': ['10010:10010']}, + 'redistribute_routes': ['learned'], 'vlan': '10'} + conflicts with + {'name': 'bundle1', 'rd': '10.10.0.3:1', 'route_targets': {'both': ['1:1']}, 'redistribute_routes': ['learned'], 'vlan': '50,60'}. diff --git a/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-bgp-settings.md b/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-bgp-settings.md index 3ac0a8ff02b..2412361f562 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-bgp-settings.md +++ b/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-bgp-settings.md @@ -133,7 +133,7 @@ | [            bfd](## ".[].vrfs.[].bgp_peers.[].bfd") | Boolean | | | | | | [            shutdown](## ".[].vrfs.[].bgp_peers.[].shutdown") | Boolean | | | | | | [        bgp_peer_groups](## ".[].vrfs.[].bgp_peer_groups") | List, items: Dictionary | | | | List of BGP peer groups definitions.
This will configure BGP peer groups to be used inside the tenant VRF for peering with external devices.
Since BGP peer groups are configured at higher BGP level, shared between VRFs,
peer_group names should not overlap between VRFs.
| - | [          - name](## ".[].vrfs.[].bgp_peer_groups.[].name") | String | | | | BGP peer group name. | + | [          - name](## ".[].vrfs.[].bgp_peer_groups.[].name") | String | Required, Unique | | | BGP peer group name. | | [            nodes](## ".[].vrfs.[].bgp_peer_groups.[].nodes") | List, items: String | | | | Nodes is required to restrict configuration of BGP neighbors to certain nodes in the network.
If not set the peer-group is created on devices which have a bgp_peer mapped to the corresponding peer_group.
| | [              - <str>](## ".[].vrfs.[].bgp_peer_groups.[].nodes.[]") | String | | | | | | [            address_family_ipv4](## ".[].vrfs.[].bgp_peer_groups.[].address_family_ipv4") | Dictionary | | | | | @@ -534,7 +534,7 @@ bgp_peer_groups: # BGP peer group name. - - name: + - name: # Nodes is required to restrict configuration of BGP neighbors to certain nodes in the network. # If not set the peer-group is created on devices which have a bgp_peer mapped to the corresponding peer_group. 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 1535549571d..587fc083d40 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,7 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Any, ClassVar, Literal +from typing import TYPE_CHECKING, ClassVar, Literal from pyavd._schema.models.avd_indexed_list import AvdIndexedList from pyavd._schema.models.avd_list import AvdList @@ -27,12 +27,11 @@ class Exec(AvdModel): class Console(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} type: Literal["none", "start-stop", "stop-only"] group: str | None """Group Name.""" logging: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42,7 +41,6 @@ def __init__( type: Literal["none", "start-stop", "stop-only"] | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined, logging: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Console. @@ -54,19 +52,17 @@ def __init__( type: type group: Group Name. logging: logging - _custom_data: _custom_data """ class Default(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} type: Literal["none", "start-stop", "stop-only"] | None group: str | None """Group Name.""" logging: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -76,7 +72,6 @@ def __init__( type: Literal["none", "start-stop", "stop-only"] | None | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined, logging: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Default. @@ -88,26 +83,18 @@ def __init__( type: type group: Group Name. logging: logging - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"console": {"type": Console}, "default": {"type": Default}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"console": {"type": Console}, "default": {"type": Default}} console: Console """Subclass of AvdModel.""" default: Default """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - console: Console | UndefinedType = Undefined, - default: Default | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, console: Console | UndefinedType = Undefined, default: Default | UndefinedType = Undefined) -> None: """ Exec. @@ -117,7 +104,6 @@ def __init__( Args: console: Subclass of AvdModel. default: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -127,11 +113,10 @@ class System(AvdModel): class Default(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}} type: Literal["none", "start-stop", "stop-only"] | None group: str | None """Group Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -140,7 +125,6 @@ def __init__( *, type: Literal["none", "start-stop", "stop-only"] | None | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Default. @@ -151,18 +135,16 @@ def __init__( Args: type: type group: Group Name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"default": {"type": Default}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": Default}} default: Default """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: Default | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: Default | UndefinedType = Undefined) -> None: """ System. @@ -171,7 +153,6 @@ def __init__(self, *, default: Default | UndefinedType = Undefined, _custom_data Args: default: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -181,20 +162,15 @@ class Dot1x(AvdModel): class Default(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "group": {"type": str}} type: Literal["start-stop", "stop-only"] | None group: str | None """Group Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - type: Literal["start-stop", "stop-only"] | None | UndefinedType = Undefined, - group: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, type: Literal["start-stop", "stop-only"] | None | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined ) -> None: """ Default. @@ -205,18 +181,16 @@ def __init__( Args: type: type group: Group Name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"default": {"type": Default}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": Default}} default: Default """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: Default | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: Default | UndefinedType = Undefined) -> None: """ Dot1x. @@ -225,7 +199,6 @@ def __init__(self, *, default: Default | UndefinedType = Undefined, _custom_data Args: default: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -235,20 +208,13 @@ class Commands(AvdModel): class ConsoleItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "commands": {"type": str}, - "type": {"type": str}, - "group": {"type": str}, - "logging": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"commands": {"type": str}, "type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} commands: str | None """Privilege level 'all' or 0-15. Ensure that if ranges are used, they do not overlap with one another.""" type: Literal["none", "start-stop", "stop-only"] | None group: str | None """Group Name.""" logging: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -259,7 +225,6 @@ def __init__( type: Literal["none", "start-stop", "stop-only"] | None | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined, logging: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ConsoleItem. @@ -272,7 +237,6 @@ def __init__( type: type group: Group Name. logging: logging - _custom_data: _custom_data """ @@ -284,20 +248,13 @@ class Console(AvdList[ConsoleItem]): class DefaultItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "commands": {"type": str}, - "type": {"type": str}, - "group": {"type": str}, - "logging": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"commands": {"type": str}, "type": {"type": str}, "group": {"type": str}, "logging": {"type": bool}} commands: str | None """Privilege level 'all' or 0-15. Ensure that if ranges are used, they do not overlap with one another.""" type: Literal["none", "start-stop", "stop-only"] | None group: str | None """Group Name.""" logging: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -308,7 +265,6 @@ def __init__( type: Literal["none", "start-stop", "stop-only"] | None | UndefinedType = Undefined, group: str | None | UndefinedType = Undefined, logging: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultItem. @@ -321,7 +277,6 @@ def __init__( type: type group: Group Name. logging: logging - _custom_data: _custom_data """ @@ -330,22 +285,15 @@ class Default(AvdList[DefaultItem]): Default._item_type = DefaultItem - _fields: ClassVar[dict] = {"console": {"type": Console}, "default": {"type": Default}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"console": {"type": Console}, "default": {"type": Default}} console: Console """Subclass of AvdList with `ConsoleItem` items.""" default: Default """Subclass of AvdList with `DefaultItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - console: Console | UndefinedType = Undefined, - default: Default | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, console: Console | UndefinedType = Undefined, default: Default | UndefinedType = Undefined) -> None: """ Commands. @@ -355,17 +303,10 @@ def __init__( Args: console: Subclass of AvdList with `ConsoleItem` items. default: Subclass of AvdList with `DefaultItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "exec": {"type": Exec}, - "system": {"type": System}, - "dot1x": {"type": Dot1x}, - "commands": {"type": Commands}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"exec": {"type": Exec}, "system": {"type": System}, "dot1x": {"type": Dot1x}, "commands": {"type": Commands}} exec: Exec """Subclass of AvdModel.""" system: System @@ -374,7 +315,6 @@ def __init__( """Subclass of AvdModel.""" commands: Commands """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -385,7 +325,6 @@ def __init__( system: System | UndefinedType = Undefined, dot1x: Dot1x | UndefinedType = Undefined, commands: Commands | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AaaAccounting. @@ -398,7 +337,6 @@ def __init__( system: Subclass of AvdModel. dot1x: Subclass of AvdModel. commands: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -408,7 +346,7 @@ class AaaAuthentication(AvdModel): class Login(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": str}, "console": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": str}, "console": {"type": str}} default: str | None """ Login authentication method(s) as a string. @@ -426,17 +364,10 @@ class Login(AvdModel): none" - "group radius group MYGROUP local" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - default: str | None | UndefinedType = Undefined, - console: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, default: str | None | UndefinedType = Undefined, console: str | None | UndefinedType = Undefined) -> None: """ Login. @@ -457,14 +388,13 @@ def __init__( - "group MYGROUP none" - "group radius group MYGROUP local" - _custom_data: _custom_data """ class Enable(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": str}} default: str | None """ Enable authentication method(s) as a string. @@ -474,11 +404,10 @@ class Enable(AvdModel): none" - "group radius group MYGROUP local" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: str | None | UndefinedType = Undefined) -> None: """ Enable. @@ -493,14 +422,13 @@ def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_d - "group MYGROUP none" - "group radius group MYGROUP local" - _custom_data: _custom_data """ class Dot1x(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": str}} default: str | None """ 802.1x authentication method(s) as a string. @@ -509,11 +437,10 @@ class Dot1x(AvdModel): - "group MYGROUP group radius" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: str | None | UndefinedType = Undefined) -> None: """ Dot1x. @@ -527,7 +454,6 @@ def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_d - "group radius" - "group MYGROUP group radius" - _custom_data: _custom_data """ @@ -537,15 +463,12 @@ class Policies(AvdModel): class Local(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"allow_nopassword": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"allow_nopassword": {"type": bool}} allow_nopassword: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, allow_nopassword: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, allow_nopassword: bool | None | UndefinedType = Undefined) -> None: """ Local. @@ -554,18 +477,16 @@ def __init__( Args: allow_nopassword: allow_nopassword - _custom_data: _custom_data """ class Lockout(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"failure": {"type": int}, "duration": {"type": int}, "window": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"failure": {"type": int}, "duration": {"type": int}, "window": {"type": int}} failure: int | None duration: int | None window: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -575,7 +496,6 @@ def __init__( failure: int | None | UndefinedType = Undefined, duration: int | None | UndefinedType = Undefined, window: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lockout. @@ -587,7 +507,6 @@ def __init__( failure: failure duration: duration window: window - _custom_data: _custom_data """ @@ -596,7 +515,6 @@ def __init__( "on_success_log": {"type": bool}, "local": {"type": Local}, "lockout": {"type": Lockout}, - "_custom_data": {"type": dict}, } on_failure_log: bool | None on_success_log: bool | None @@ -604,7 +522,6 @@ def __init__( """Subclass of AvdModel.""" lockout: Lockout """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -615,7 +532,6 @@ def __init__( on_success_log: bool | None | UndefinedType = Undefined, local: Local | UndefinedType = Undefined, lockout: Lockout | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Policies. @@ -628,17 +544,10 @@ def __init__( on_success_log: on_success_log local: Subclass of AvdModel. lockout: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "login": {"type": Login}, - "enable": {"type": Enable}, - "dot1x": {"type": Dot1x}, - "policies": {"type": Policies}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"login": {"type": Login}, "enable": {"type": Enable}, "dot1x": {"type": Dot1x}, "policies": {"type": Policies}} login: Login """Subclass of AvdModel.""" enable: Enable @@ -647,7 +556,6 @@ def __init__( """Subclass of AvdModel.""" policies: Policies """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -658,7 +566,6 @@ def __init__( enable: Enable | UndefinedType = Undefined, dot1x: Dot1x | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AaaAuthentication. @@ -671,7 +578,6 @@ def __init__( enable: Subclass of AvdModel. dot1x: Subclass of AvdModel. policies: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -681,15 +587,12 @@ class AaaAuthorization(AvdModel): class Policy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"local_default_role": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"local_default_role": {"type": str}} local_default_role: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, local_default_role: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, local_default_role: str | None | UndefinedType = Undefined) -> None: """ Policy. @@ -698,14 +601,13 @@ def __init__( Args: local_default_role: local_default_role - _custom_data: _custom_data """ class Exec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": str}} default: str | None """ Exec authorization method(s) as a string. @@ -715,11 +617,10 @@ class Exec(AvdModel): - "group radius group MYGROUP local" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: str | None | UndefinedType = Undefined) -> None: """ Exec. @@ -734,7 +635,6 @@ def __init__(self, *, default: str | None | UndefinedType = Undefined, _custom_d - "group MYGROUP none" - "group radius group MYGROUP local" - _custom_data: _custom_data """ @@ -746,19 +646,13 @@ class Dot1xAdditionalGroups(AvdList[str]): Dot1xAdditionalGroups._item_type = str - _fields: ClassVar[dict] = {"dot1x_additional_groups": {"type": Dot1xAdditionalGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dot1x_additional_groups": {"type": Dot1xAdditionalGroups}} dot1x_additional_groups: Dot1xAdditionalGroups """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dot1x_additional_groups: Dot1xAdditionalGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dot1x_additional_groups: Dot1xAdditionalGroups | UndefinedType = Undefined) -> None: """ Dynamic. @@ -767,7 +661,6 @@ def __init__( Args: dot1x_additional_groups: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -777,7 +670,7 @@ class Commands(AvdModel): class PrivilegeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "default": {"type": str}} level: str | None """Privilege level(s) 0-15.""" default: str | None @@ -789,17 +682,10 @@ class PrivilegeItem(AvdModel): none" - "group tacacs+ group MYGROUP local" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - default: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, default: str | None | UndefinedType = Undefined) -> None: """ PrivilegeItem. @@ -815,7 +701,6 @@ def __init__( - "group MYGROUP none" - "group tacacs+ group MYGROUP local" - _custom_data: _custom_data """ @@ -824,7 +709,7 @@ class Privilege(AvdList[PrivilegeItem]): Privilege._item_type = PrivilegeItem - _fields: ClassVar[dict] = {"all_default": {"type": str}, "privilege": {"type": Privilege}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"all_default": {"type": str}, "privilege": {"type": Privilege}} all_default: str | None """ Command authorization method(s) as a string. @@ -836,17 +721,10 @@ class Privilege(AvdList[PrivilegeItem]): """ privilege: Privilege """Subclass of AvdList with `PrivilegeItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - all_default: str | None | UndefinedType = Undefined, - privilege: Privilege | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, all_default: str | None | UndefinedType = Undefined, privilege: Privilege | UndefinedType = Undefined) -> None: """ Commands. @@ -862,7 +740,6 @@ def __init__( none" - "group tacacs+ group MYGROUP local privilege: Subclass of AvdList with `PrivilegeItem` items. - _custom_data: _custom_data """ @@ -873,7 +750,6 @@ def __init__( "serial_console": {"type": bool}, "dynamic": {"type": Dynamic}, "commands": {"type": Commands}, - "_custom_data": {"type": dict}, } policy: Policy """Subclass of AvdModel.""" @@ -885,7 +761,6 @@ def __init__( """Subclass of AvdModel.""" commands: Commands """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -898,7 +773,6 @@ def __init__( serial_console: bool | None | UndefinedType = Undefined, dynamic: Dynamic | UndefinedType = Undefined, commands: Commands | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AaaAuthorization. @@ -913,7 +787,6 @@ def __init__( serial_console: serial_console dynamic: Subclass of AvdModel. commands: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -923,15 +796,12 @@ class AaaRoot(AvdModel): class Secret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sha512_password": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sha512_password": {"type": str}} sha512_password: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, sha512_password: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, sha512_password: str | None | UndefinedType = Undefined) -> None: """ Secret. @@ -940,26 +810,18 @@ def __init__( Args: sha512_password: sha512_password - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"disabled": {"type": bool}, "secret": {"type": Secret}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "secret": {"type": Secret}} disabled: bool | None """Set to `true` to configure `no aaa root` which is the EOS default.""" secret: Secret """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - disabled: bool | None | UndefinedType = Undefined, - secret: Secret | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, disabled: bool | None | UndefinedType = Undefined, secret: Secret | UndefinedType = Undefined) -> None: """ AaaRoot. @@ -969,7 +831,6 @@ def __init__( Args: disabled: Set to `true` to configure `no aaa root` which is the EOS default. secret: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -979,22 +840,15 @@ class AaaServerGroupsItem(AvdModel): class ServersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"server": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"server": {"type": str}, "vrf": {"type": str}} server: str | None """Hostname or IP address.""" vrf: str | None """VRF name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - server: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, server: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ ServersItem. @@ -1004,7 +858,6 @@ def __init__( Args: server: Hostname or IP address. vrf: VRF name. - _custom_data: _custom_data """ @@ -1013,13 +866,12 @@ class Servers(AvdList[ServersItem]): Servers._item_type = ServersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "type": {"type": str}, "servers": {"type": Servers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "type": {"type": str}, "servers": {"type": Servers}} name: str """Group name.""" type: Literal["tacacs+", "radius", "ldap"] | None servers: Servers """Subclass of AvdList with `ServersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1029,7 +881,6 @@ def __init__( name: str | UndefinedType = Undefined, type: Literal["tacacs+", "radius", "ldap"] | None | UndefinedType = Undefined, servers: Servers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AaaServerGroupsItem. @@ -1041,7 +892,6 @@ def __init__( name: Group name. type: type servers: Subclass of AvdList with `ServersItem` items. - _custom_data: _custom_data """ @@ -1058,7 +908,7 @@ class AccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -1066,17 +916,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "deny ip any any" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -1088,7 +931,6 @@ def __init__( action: Action as string. Example: "deny ip any any" - _custom_data: _custom_data """ @@ -1104,7 +946,6 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): "counters_per_entry": {"type": bool}, "permit_response_traffic": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, - "_custom_data": {"type": dict}, } name: str """Access-list Name.""" @@ -1117,7 +958,6 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): """ sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1128,7 +968,6 @@ def __init__( counters_per_entry: bool | None | UndefinedType = Undefined, permit_response_traffic: Literal["nat"] | None | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessListsItem. @@ -1144,7 +983,6 @@ def __init__( Minimum EOS version requirement 4.32.2F. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -1166,18 +1004,15 @@ class DhcpServersIpv4(AvdList[str]): class LeasesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip": {"type": str}, "mac": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip": {"type": str}, "mac": {"type": str}} ip: str """IP address.""" mac: str """MAC address (hhhh.hhhh.hhhh or hh:hh:hh:hh:hh:hh).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, ip: str | UndefinedType = Undefined, mac: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, ip: str | UndefinedType = Undefined, mac: str | UndefinedType = Undefined) -> None: """ LeasesItem. @@ -1187,7 +1022,6 @@ def __init__( Args: ip: IP address. mac: MAC address (hhhh.hhhh.hhhh or hh:hh:hh:hh:hh:hh). - _custom_data: _custom_data """ @@ -1203,7 +1037,6 @@ class LockedAddress(AvdModel): "expiration_mac_disabled": {"type": bool}, "ipv4_enforcement_disabled": {"type": bool}, "ipv6_enforcement_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } expiration_mac_disabled: bool | None """Configure deauthorizing locked addresses upon MAC aging out.""" @@ -1211,7 +1044,6 @@ class LockedAddress(AvdModel): """Configure enforcement for locked IPv4 addresses.""" ipv6_enforcement_disabled: bool | None """Configure enforcement for locked IPv6 addresses.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1221,7 +1053,6 @@ def __init__( expiration_mac_disabled: bool | None | UndefinedType = Undefined, ipv4_enforcement_disabled: bool | None | UndefinedType = Undefined, ipv6_enforcement_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LockedAddress. @@ -1233,7 +1064,6 @@ def __init__( expiration_mac_disabled: Configure deauthorizing locked addresses upon MAC aging out. ipv4_enforcement_disabled: Configure enforcement for locked IPv4 addresses. ipv6_enforcement_disabled: Configure enforcement for locked IPv6 addresses. - _custom_data: _custom_data """ @@ -1243,7 +1073,6 @@ def __init__( "leases": {"type": Leases}, "local_interface": {"type": str}, "locked_address": {"type": LockedAddress}, - "_custom_data": {"type": dict}, } dhcp_servers_ipv4: DhcpServersIpv4 """Subclass of AvdList with `str` items.""" @@ -1254,7 +1083,6 @@ def __init__( local_interface: str | None locked_address: LockedAddress """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1266,7 +1094,6 @@ def __init__( leases: Leases | UndefinedType = Undefined, local_interface: str | None | UndefinedType = Undefined, locked_address: LockedAddress | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressLocking. @@ -1280,7 +1107,6 @@ def __init__( leases: Subclass of AvdList with `LeasesItem` items. local_interface: local_interface locked_address: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -1290,22 +1116,15 @@ class AgentsItem(AvdModel): class EnvironmentVariablesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}} name: str """Environment variable name.""" value: str """Environment variable value.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - value: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, value: str | UndefinedType = Undefined) -> None: """ EnvironmentVariablesItem. @@ -1315,7 +1134,6 @@ def __init__( Args: name: Environment variable name. value: Environment variable value. - _custom_data: _custom_data """ @@ -1326,22 +1144,15 @@ class EnvironmentVariables(AvdIndexedList[str, EnvironmentVariablesItem]): EnvironmentVariables._item_type = EnvironmentVariablesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "environment_variables": {"type": EnvironmentVariables}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "environment_variables": {"type": EnvironmentVariables}} name: str """Agent name.""" environment_variables: EnvironmentVariables """Subclass of AvdIndexedList with `EnvironmentVariablesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - environment_variables: EnvironmentVariables | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, environment_variables: EnvironmentVariables | UndefinedType = Undefined) -> None: """ AgentsItem. @@ -1351,7 +1162,6 @@ def __init__( Args: name: Agent name. environment_variables: Subclass of AvdIndexedList with `EnvironmentVariablesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -1371,7 +1181,7 @@ class CategoriesItem(AvdModel): class ApplicationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}} name: str | None """Application name.""" service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None @@ -1383,7 +1193,6 @@ class ApplicationsItem(AvdModel): Not all valid values are valid for all applications, check on EOS CLI. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1394,7 +1203,6 @@ def __init__( service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ApplicationsItem. @@ -1411,7 +1219,6 @@ def __init__( supported services of the application are matched. Not all valid values are valid for all applications, check on EOS CLI. - _custom_data: _custom_data """ @@ -1420,7 +1227,7 @@ class Applications(AvdList[ApplicationsItem]): Applications._item_type = ApplicationsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "applications": {"type": Applications}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "applications": {"type": Applications}} name: str """Category name.""" applications: Applications @@ -1429,17 +1236,10 @@ class Applications(AvdList[ApplicationsItem]): Subclass of AvdList with `ApplicationsItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - applications: Applications | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, applications: Applications | UndefinedType = Undefined) -> None: """ CategoriesItem. @@ -1452,7 +1252,6 @@ def __init__( List of applications. Subclass of AvdList with `ApplicationsItem` items. - _custom_data: _custom_data """ @@ -1474,22 +1273,15 @@ class PortValues(AvdList[str]): PortValues._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "port_values": {"type": PortValues}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "port_values": {"type": PortValues}} name: str """L4 port field-set name.""" port_values: PortValues """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - port_values: PortValues | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, port_values: PortValues | UndefinedType = Undefined) -> None: """ L4PortsItem. @@ -1499,7 +1291,6 @@ def __init__( Args: name: L4 port field-set name. port_values: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -1518,22 +1309,15 @@ class PrefixValues(AvdList[str]): PrefixValues._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "prefix_values": {"type": PrefixValues}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "prefix_values": {"type": PrefixValues}} name: str """IPv4 prefix field-set name.""" prefix_values: PrefixValues """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - prefix_values: PrefixValues | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, prefix_values: PrefixValues | UndefinedType = Undefined) -> None: """ Ipv4PrefixesItem. @@ -1543,7 +1327,6 @@ def __init__( Args: name: IPv4 prefix field-set name. prefix_values: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -1554,7 +1337,7 @@ class Ipv4Prefixes(AvdIndexedList[str, Ipv4PrefixesItem]): Ipv4Prefixes._item_type = Ipv4PrefixesItem - _fields: ClassVar[dict] = {"l4_ports": {"type": L4Ports}, "ipv4_prefixes": {"type": Ipv4Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"l4_ports": {"type": L4Ports}, "ipv4_prefixes": {"type": Ipv4Prefixes}} l4_ports: L4Ports """ L4 port field-set. @@ -1569,17 +1352,10 @@ class Ipv4Prefixes(AvdIndexedList[str, Ipv4PrefixesItem]): Subclass of AvdIndexedList with `Ipv4PrefixesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - l4_ports: L4Ports | UndefinedType = Undefined, - ipv4_prefixes: Ipv4Prefixes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, l4_ports: L4Ports | UndefinedType = Undefined, ipv4_prefixes: Ipv4Prefixes | UndefinedType = Undefined) -> None: """ FieldSets. @@ -1597,7 +1373,6 @@ def __init__( Subclass of AvdIndexedList with `Ipv4PrefixesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -1633,7 +1408,6 @@ class ProtocolRanges(AvdList[str]): "tcp_src_port_set_name": {"type": str}, "udp_dest_port_set_name": {"type": str}, "tcp_dest_port_set_name": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Application name.""" @@ -1706,7 +1480,6 @@ class ProtocolRanges(AvdList[str]): this key value must be the same as `udp_dest_port_set_name`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1723,7 +1496,6 @@ def __init__( tcp_src_port_set_name: str | None | UndefinedType = Undefined, udp_dest_port_set_name: str | None | UndefinedType = Undefined, tcp_dest_port_set_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4ApplicationsItem. @@ -1786,7 +1558,6 @@ def __init__( When the `protocols` list contain both `tcp` and `udp`, this key value must be the same as `udp_dest_port_set_name`. - _custom_data: _custom_data """ @@ -1818,7 +1589,6 @@ class ProtocolRanges(AvdList[str]): "tcp_src_port_set_name": {"type": str}, "udp_dest_port_set_name": {"type": str}, "tcp_dest_port_set_name": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Application name.""" @@ -1875,7 +1645,6 @@ class ProtocolRanges(AvdList[str]): this key value must be the same as `udp_dest_port_set_name`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1889,7 +1658,6 @@ def __init__( tcp_src_port_set_name: str | None | UndefinedType = Undefined, udp_dest_port_set_name: str | None | UndefinedType = Undefined, tcp_dest_port_set_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L4ApplicationsItem. @@ -1940,7 +1708,6 @@ def __init__( When the `protocols` list contain both `tcp` and `udp`, this key value must be the same as `udp_dest_port_set_name`. - _custom_data: _custom_data """ @@ -1951,11 +1718,7 @@ class L4Applications(AvdIndexedList[str, L4ApplicationsItem]): L4Applications._item_type = L4ApplicationsItem - _fields: ClassVar[dict] = { - "ipv4_applications": {"type": Ipv4Applications}, - "l4_applications": {"type": L4Applications}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_applications": {"type": Ipv4Applications}, "l4_applications": {"type": L4Applications}} ipv4_applications: Ipv4Applications """ List of user defined IPv4 applications. The name should be unique over all defined applications @@ -1971,16 +1734,11 @@ class L4Applications(AvdIndexedList[str, L4ApplicationsItem]): Subclass of AvdIndexedList with `L4ApplicationsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4_applications: Ipv4Applications | UndefinedType = Undefined, - l4_applications: L4Applications | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4_applications: Ipv4Applications | UndefinedType = Undefined, l4_applications: L4Applications | UndefinedType = Undefined ) -> None: """ Applications. @@ -2000,7 +1758,6 @@ def __init__( and l4). Subclass of AvdIndexedList with `L4ApplicationsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -2010,7 +1767,7 @@ class ApplicationProfilesItem(AvdModel): class ApplicationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}} name: str | None """Application Name.""" service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None @@ -2022,7 +1779,6 @@ class ApplicationsItem(AvdModel): Not all valid values are valid for all applications, check on EOS CLI. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2033,7 +1789,6 @@ def __init__( service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ApplicationsItem. @@ -2050,7 +1805,6 @@ def __init__( supported services of the application are matched. Not all valid values are valid for all applications, check on EOS CLI. - _custom_data: _custom_data """ @@ -2067,7 +1821,7 @@ class ApplicationTransports(AvdList[str]): class CategoriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "service": {"type": str}} name: str | None """Name of a category.""" service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None @@ -2079,7 +1833,6 @@ class CategoriesItem(AvdModel): Not all valid values are valid for all applications, check on EOS CLI. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2090,7 +1843,6 @@ def __init__( service: Literal["audio-video", "chat", "default", "file-transfer", "networking-protocols", "peer-to-peer", "software-update"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CategoriesItem. @@ -2107,7 +1859,6 @@ def __init__( supported services of the application are matched. Not all valid values are valid for all applications, check on EOS CLI. - _custom_data: _custom_data """ @@ -2121,7 +1872,6 @@ class Categories(AvdList[CategoriesItem]): "applications": {"type": Applications}, "application_transports": {"type": ApplicationTransports}, "categories": {"type": Categories}, - "_custom_data": {"type": dict}, } name: str """Application Profile name.""" @@ -2144,7 +1894,6 @@ class Categories(AvdList[CategoriesItem]): Subclass of AvdList with `CategoriesItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2155,7 +1904,6 @@ def __init__( applications: Applications | UndefinedType = Undefined, application_transports: ApplicationTransports | UndefinedType = Undefined, categories: Categories | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ApplicationProfilesItem. @@ -2178,7 +1926,6 @@ def __init__( Categories under this application profile. Subclass of AvdList with `CategoriesItem` items. - _custom_data: _custom_data """ @@ -2194,7 +1941,6 @@ class ApplicationProfiles(AvdIndexedList[str, ApplicationProfilesItem]): "field_sets": {"type": FieldSets}, "applications": {"type": Applications}, "application_profiles": {"type": ApplicationProfiles}, - "_custom_data": {"type": dict}, } categories: Categories """ @@ -2214,7 +1960,6 @@ class ApplicationProfiles(AvdIndexedList[str, ApplicationProfilesItem]): Subclass of AvdIndexedList with `ApplicationProfilesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2225,7 +1970,6 @@ def __init__( field_sets: FieldSets | UndefinedType = Undefined, applications: Applications | UndefinedType = Undefined, application_profiles: ApplicationProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ApplicationTrafficRecognition. @@ -2246,7 +1990,6 @@ def __init__( Subclass of AvdIndexedList with `ApplicationProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -2256,22 +1999,15 @@ class Arp(AvdModel): class Persistent(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "refresh_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "refresh_delay": {"type": int}} enabled: bool """Restore the ARP cache after reboot.""" refresh_delay: int | None """Time to wait in seconds before refreshing the ARP cache after reboot (EOS default 600).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - refresh_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, refresh_delay: int | None | UndefinedType = Undefined) -> None: """ Persistent. @@ -2281,23 +2017,19 @@ def __init__( Args: enabled: Restore the ARP cache after reboot. refresh_delay: Time to wait in seconds before refreshing the ARP cache after reboot (EOS default 600). - _custom_data: _custom_data """ class Aging(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"timeout_default": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"timeout_default": {"type": int}} timeout_default: int | None """Timeout in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, timeout_default: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, timeout_default: int | None | UndefinedType = Undefined) -> None: """ Aging. @@ -2306,21 +2038,19 @@ def __init__( Args: timeout_default: Timeout in seconds. - _custom_data: _custom_data """ class StaticEntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_address": {"type": str}, "vrf": {"type": str}, "mac_address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_address": {"type": str}, "vrf": {"type": str}, "mac_address": {"type": str}} ipv4_address: str """ARP entry IPv4 address.""" vrf: str | None """ARP entry VRF.""" mac_address: str """ARP entry MAC address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2330,7 +2060,6 @@ def __init__( ipv4_address: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, mac_address: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticEntriesItem. @@ -2342,7 +2071,6 @@ def __init__( ipv4_address: ARP entry IPv4 address. vrf: ARP entry VRF. mac_address: ARP entry MAC address. - _custom_data: _custom_data """ @@ -2351,12 +2079,7 @@ class StaticEntries(AvdList[StaticEntriesItem]): StaticEntries._item_type = StaticEntriesItem - _fields: ClassVar[dict] = { - "persistent": {"type": Persistent}, - "aging": {"type": Aging}, - "static_entries": {"type": StaticEntries}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"persistent": {"type": Persistent}, "aging": {"type": Aging}, "static_entries": {"type": StaticEntries}} persistent: Persistent """Subclass of AvdModel.""" aging: Aging @@ -2367,7 +2090,6 @@ class StaticEntries(AvdList[StaticEntriesItem]): Subclass of AvdList with `StaticEntriesItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2377,7 +2099,6 @@ def __init__( persistent: Persistent | UndefinedType = Undefined, aging: Aging | UndefinedType = Undefined, static_entries: StaticEntries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Arp. @@ -2392,7 +2113,6 @@ def __init__( Static ARP entries. Subclass of AvdList with `StaticEntriesItem` items. - _custom_data: _custom_data """ @@ -2405,18 +2125,12 @@ class AccessListsItem(AvdModel): class EntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "type": {"type": str}, - "match": {"type": str}, - "origin": {"type": str, "default": "any"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"type": {"type": str}, "match": {"type": str}, "origin": {"type": str, "default": "any"}} type: Literal["permit", "deny"] | None match: str | None """Regex To Match.""" origin: Literal["any", "egp", "igp", "incomplete"] """Default value: `"any"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2426,7 +2140,6 @@ def __init__( type: Literal["permit", "deny"] | None | UndefinedType = Undefined, match: str | None | UndefinedType = Undefined, origin: Literal["any", "egp", "igp", "incomplete"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EntriesItem. @@ -2438,7 +2151,6 @@ def __init__( type: type match: Regex To Match. origin: origin - _custom_data: _custom_data """ @@ -2447,22 +2159,15 @@ class Entries(AvdList[EntriesItem]): Entries._item_type = EntriesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}} name: str """Access List Name.""" entries: Entries """Subclass of AvdList with `EntriesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - entries: Entries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined) -> None: """ AccessListsItem. @@ -2472,7 +2177,6 @@ def __init__( Args: name: Access List Name. entries: Subclass of AvdList with `EntriesItem` items. - _custom_data: _custom_data """ @@ -2483,20 +2187,15 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): AccessLists._item_type = AccessListsItem - _fields: ClassVar[dict] = {"regex_mode": {"type": str}, "access_lists": {"type": AccessLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"regex_mode": {"type": str}, "access_lists": {"type": AccessLists}} regex_mode: Literal["asn", "string"] | None access_lists: AccessLists """Subclass of AvdIndexedList with `AccessListsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - regex_mode: Literal["asn", "string"] | None | UndefinedType = Undefined, - access_lists: AccessLists | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, regex_mode: Literal["asn", "string"] | None | UndefinedType = Undefined, access_lists: AccessLists | UndefinedType = Undefined ) -> None: """ AsPath. @@ -2507,29 +2206,21 @@ def __init__( Args: regex_mode: regex_mode access_lists: Subclass of AvdIndexedList with `AccessListsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class Banners(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"login": {"type": str}, "motd": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"login": {"type": str}, "motd": {"type": str}} login: str | None """Multiline string ending with EOF on the last line.""" motd: str | None """Multiline string ending with EOF on the last line.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - login: str | None | UndefinedType = Undefined, - motd: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, login: str | None | UndefinedType = Undefined, motd: str | None | UndefinedType = Undefined) -> None: """ Banners. @@ -2539,7 +2230,6 @@ def __init__( Args: login: Multiline string ending with EOF on the last line. motd: Multiline string ending with EOF on the last line. - _custom_data: _custom_data """ @@ -2561,7 +2251,6 @@ class BgpMaintenanceProfiles(AvdList[str]): "vrf": {"type": str}, "neighbors": {"type": Neighbors}, "bgp_maintenance_profiles": {"type": BgpMaintenanceProfiles}, - "_custom_data": {"type": dict}, } name: str """Group Name.""" @@ -2570,7 +2259,6 @@ class BgpMaintenanceProfiles(AvdList[str]): """Subclass of AvdList with `str` items.""" bgp_maintenance_profiles: BgpMaintenanceProfiles """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2581,7 +2269,6 @@ def __init__( vrf: str | None | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, bgp_maintenance_profiles: BgpMaintenanceProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BgpGroupsItem. @@ -2594,7 +2281,6 @@ def __init__( vrf: vrf neighbors: Subclass of AvdList with `str` items. bgp_maintenance_profiles: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -2611,21 +2297,16 @@ class Boot(AvdModel): class Secret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} hash_algorithm: Literal["md5", "sha512"] """Default value: `"sha512"`""" key: str | None """Hashed Password.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - hash_algorithm: Literal["md5", "sha512"] | UndefinedType = Undefined, - key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, hash_algorithm: Literal["md5", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined ) -> None: """ Secret. @@ -2636,18 +2317,16 @@ def __init__( Args: hash_algorithm: hash_algorithm key: Hashed Password. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"secret": {"type": Secret}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"secret": {"type": Secret}} secret: Secret """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, secret: Secret | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, secret: Secret | UndefinedType = Undefined) -> None: """ Boot. @@ -2656,7 +2335,6 @@ def __init__(self, *, secret: Secret | UndefinedType = Undefined, _custom_data: Args: secret: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -2669,16 +2347,13 @@ class PbrItem(AvdModel): class Ip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"access_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"access_group": {"type": str}} access_group: str | None """Standard Access-List Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, access_group: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, access_group: str | None | UndefinedType = Undefined) -> None: """ Ip. @@ -2687,22 +2362,18 @@ def __init__( Args: access_group: Standard Access-List Name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "ip": {"type": Ip}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "ip": {"type": Ip}} name: str """Class-Map Name.""" ip: Ip """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, name: str | UndefinedType = Undefined, ip: Ip | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, ip: Ip | UndefinedType = Undefined) -> None: """ PbrItem. @@ -2712,7 +2383,6 @@ def __init__( Args: name: Class-Map Name. ip: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -2729,16 +2399,13 @@ class QosItem(AvdModel): class Ip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"access_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"access_group": {"type": str}} access_group: str | None """IPv4 Access-List Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, access_group: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, access_group: str | None | UndefinedType = Undefined) -> None: """ Ip. @@ -2747,23 +2414,19 @@ def __init__( Args: access_group: IPv4 Access-List Name. - _custom_data: _custom_data """ class Ipv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"access_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"access_group": {"type": str}} access_group: str | None """IPv6 Access-List Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, access_group: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, access_group: str | None | UndefinedType = Undefined) -> None: """ Ipv6. @@ -2772,7 +2435,6 @@ def __init__( Args: access_group: IPv6 Access-List Name. - _custom_data: _custom_data """ @@ -2784,7 +2446,6 @@ def __init__( "ipv6": {"type": Ipv6}, "dscp": {"type": str}, "ecn": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Class-Map Name.""" @@ -2816,7 +2477,6 @@ def __init__( - ce (matches 11). - ect-ce (matches 01, 10 and 11). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2830,7 +2490,6 @@ def __init__( ipv6: Ipv6 | UndefinedType = Undefined, dscp: str | None | UndefinedType = Undefined, ecn: Literal["ce", "ect", "ect-ce", "non-ect"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QosItem. @@ -2860,7 +2519,6 @@ def __init__( an 10). - ce (matches 11). - ect-ce (matches 01, 10 and 11). - _custom_data: _custom_data """ @@ -2871,7 +2529,7 @@ class Qos(AvdIndexedList[str, QosItem]): Qos._item_type = QosItem - _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}} pbr: Pbr """Subclass of AvdIndexedList with `PbrItem` items. Primary key is `name` (`str`).""" qos: Qos @@ -2883,13 +2541,10 @@ class Qos(AvdIndexedList[str, QosItem]): Subclass of AvdIndexedList with `QosItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, pbr: Pbr | UndefinedType = Undefined, qos: Qos | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, pbr: Pbr | UndefinedType = Undefined, qos: Qos | UndefinedType = Undefined) -> None: """ ClassMaps. @@ -2905,20 +2560,18 @@ def __init__( Subclass of AvdIndexedList with `QosItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class Clock(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"timezone": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"timezone": {"type": str}} timezone: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, timezone: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, timezone: str | None | UndefinedType = Undefined) -> None: """ Clock. @@ -2927,14 +2580,13 @@ def __init__(self, *, timezone: str | None | UndefinedType = Undefined, _custom_ Args: timezone: timezone - _custom_data: _custom_data """ class CommunityListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "action": {"type": str}} name: str """Community-list Name.""" action: str @@ -2942,17 +2594,10 @@ class CommunityListsItem(AvdModel): Action as string. Example: "permit GSHUT 65123:123" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ CommunityListsItem. @@ -2964,7 +2609,6 @@ def __init__( action: Action as string. Example: "permit GSHUT 65123:123" - _custom_data: _custom_data """ @@ -2997,21 +2641,16 @@ class Mcs(AvdModel): class Redis(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"password": {"type": str}, "password_type": {"type": str, "default": "7"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"password": {"type": str}, "password_type": {"type": str, "default": "7"}} password: str | None """Hashed password using the password_type.""" password_type: Literal["0", "7", "8a"] """Default value: `"7"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - password: str | None | UndefinedType = Undefined, - password_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, password: str | None | UndefinedType = Undefined, password_type: Literal["0", "7", "8a"] | UndefinedType = Undefined ) -> None: """ Redis. @@ -3022,25 +2661,17 @@ def __init__( Args: password: Hashed password using the password_type. password_type: password_type - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"redis": {"type": Redis}, "shutdown": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"redis": {"type": Redis}, "shutdown": {"type": bool}} redis: Redis """Subclass of AvdModel.""" shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - redis: Redis | UndefinedType = Undefined, - shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, redis: Redis | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined) -> None: """ Mcs. @@ -3050,17 +2681,15 @@ def __init__( Args: redis: Subclass of AvdModel. shutdown: shutdown - _custom_data: _custom_data """ class Vxlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "vtep_mac_learning": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "vtep_mac_learning": {"type": str}} shutdown: bool | None vtep_mac_learning: Literal["control-plane", "data-plane"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3069,7 +2698,6 @@ def __init__( *, shutdown: bool | None | UndefinedType = Undefined, vtep_mac_learning: Literal["control-plane", "data-plane"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Vxlan. @@ -3080,11 +2708,10 @@ def __init__( Args: shutdown: shutdown vtep_mac_learning: vtep_mac_learning - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mcs": {"type": Mcs}, "vxlan": {"type": Vxlan}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mcs": {"type": Mcs}, "vxlan": {"type": Vxlan}} mcs: Mcs """Subclass of AvdModel.""" vxlan: Vxlan @@ -3093,17 +2720,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mcs: Mcs | UndefinedType = Undefined, - vxlan: Vxlan | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mcs: Mcs | UndefinedType = Undefined, vxlan: Vxlan | UndefinedType = Undefined) -> None: """ Services. @@ -3116,22 +2736,15 @@ def __init__( VXLAN Controller service. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "shutdown": {"type": bool}, - "peer_hosts": {"type": PeerHosts}, - "services": {"type": Services}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "peer_hosts": {"type": PeerHosts}, "services": {"type": Services}} shutdown: bool | None peer_hosts: PeerHosts """Subclass of AvdList with `str` items.""" services: Services """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3141,7 +2754,6 @@ def __init__( shutdown: bool | None | UndefinedType = Undefined, peer_hosts: PeerHosts | UndefinedType = Undefined, services: Services | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Cvx. @@ -3153,7 +2765,6 @@ def __init__( shutdown: shutdown peer_hosts: Subclass of AvdList with `str` items. services: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -3183,7 +2794,6 @@ class Cvauth(AvdModel): "cert_file": {"type": str}, "ca_file": {"type": str}, "key_file": {"type": str}, - "_custom_data": {"type": dict}, } method: Literal["token", "token-secure", "key", "certs"] | None key: str | None @@ -3207,7 +2817,6 @@ class Cvauth(AvdModel): Client certificate key file path. e.g. "/persist/secure/ssl/terminattr/primary/keys/client.key" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3220,7 +2829,6 @@ def __init__( cert_file: str | None | UndefinedType = Undefined, ca_file: str | None | UndefinedType = Undefined, key_file: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Cvauth. @@ -3243,7 +2851,6 @@ def __init__( key_file: Client certificate key file path. e.g. "/persist/secure/ssl/terminattr/primary/keys/client.key" - _custom_data: _custom_data """ @@ -3256,7 +2863,6 @@ def __init__( "cvsourceip": {"type": str}, "cvsourceintf": {"type": str}, "cvvrf": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Cluster Name.""" @@ -3297,7 +2903,6 @@ def __init__( """ cvvrf: str | None """The VRF to use to connect to CloudVision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3312,7 +2917,6 @@ def __init__( cvsourceip: str | None | UndefinedType = Undefined, cvsourceintf: str | None | UndefinedType = Undefined, cvvrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ClustersItem. @@ -3348,7 +2952,6 @@ def __init__( interface name is case sensitive and has to match the interface name in the running-config, e.g.:Vlan100. cvvrf: The VRF to use to connect to CloudVision. - _custom_data: _custom_data """ @@ -3369,7 +2972,6 @@ class Cvauth(AvdModel): "cert_file": {"type": str}, "ca_file": {"type": str}, "key_file": {"type": str}, - "_custom_data": {"type": dict}, } method: Literal["token", "token-secure", "key", "certs"] | None key: str | None @@ -3393,7 +2995,6 @@ class Cvauth(AvdModel): Client certificate key file path. e.g. "/persist/secure/ssl/terminattr/primary/keys/client.key" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3406,7 +3007,6 @@ def __init__( cert_file: str | None | UndefinedType = Undefined, ca_file: str | None | UndefinedType = Undefined, key_file: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Cvauth. @@ -3429,7 +3029,6 @@ def __init__( key_file: Client certificate key file path. e.g. "/persist/secure/ssl/terminattr/primary/keys/client.key" - _custom_data: _custom_data """ @@ -3455,7 +3054,6 @@ def __init__( "sflow": {"type": bool}, "sflowaddr": {"type": str}, "cvconfig": {"type": bool}, - "_custom_data": {"type": dict}, } cvaddrs: Cvaddrs """ @@ -3557,7 +3155,6 @@ def __init__( """ cvconfig: bool | None """Subscribe to dynamic device configuration from CloudVision (TerminAttr default is false).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3585,7 +3182,6 @@ def __init__( sflow: bool | None | UndefinedType = Undefined, sflowaddr: str | None | UndefinedType = Undefined, cvconfig: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DaemonTerminattr. @@ -3659,31 +3255,24 @@ def __init__( ECO sFlow Collector address to listen on to receive sFlow packets (TerminAttr default "127.0.0.1:6343"). cvconfig: Subscribe to dynamic device configuration from CloudVision (TerminAttr default is false). - _custom_data: _custom_data """ class DaemonsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "exec": {"type": str}, "enabled": {"type": bool, "default": True}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "exec": {"type": str}, "enabled": {"type": bool, "default": True}} name: str """Daemon Name.""" exec: str """command to run as a daemon.""" enabled: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - exec: str | UndefinedType = Undefined, - enabled: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, exec: str | UndefinedType = Undefined, enabled: bool | UndefinedType = Undefined ) -> None: """ DaemonsItem. @@ -3695,7 +3284,6 @@ def __init__( name: Daemon Name. exec: command to run as a daemon. enabled: enabled - _custom_data: _custom_data """ @@ -3714,17 +3302,11 @@ class Servers(AvdList[str]): Servers._item_type = str - _fields: ClassVar[dict] = { - "servers": {"type": Servers}, - "tunnel_requests_disabled": {"type": bool}, - "mlag_peerlink_requests_disabled": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"servers": {"type": Servers}, "tunnel_requests_disabled": {"type": bool}, "mlag_peerlink_requests_disabled": {"type": bool}} servers: Servers """Subclass of AvdList with `str` items.""" tunnel_requests_disabled: bool | None mlag_peerlink_requests_disabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3734,7 +3316,6 @@ def __init__( servers: Servers | UndefinedType = Undefined, tunnel_requests_disabled: bool | None | UndefinedType = Undefined, mlag_peerlink_requests_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DhcpRelay. @@ -3746,7 +3327,6 @@ def __init__( servers: Subclass of AvdList with `str` items. tunnel_requests_disabled: tunnel_requests_disabled mlag_peerlink_requests_disabled: mlag_peerlink_requests_disabled - _custom_data: _custom_data """ @@ -3756,21 +3336,15 @@ class DhcpServersItem(AvdModel): class LeaseTimeIpv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} days: int hours: int minutes: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - days: int | UndefinedType = Undefined, - hours: int | UndefinedType = Undefined, - minutes: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, days: int | UndefinedType = Undefined, hours: int | UndefinedType = Undefined, minutes: int | UndefinedType = Undefined ) -> None: """ LeaseTimeIpv4. @@ -3782,28 +3356,21 @@ def __init__( days: days hours: hours minutes: minutes - _custom_data: _custom_data """ class LeaseTimeIpv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} days: int hours: int minutes: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - days: int | UndefinedType = Undefined, - hours: int | UndefinedType = Undefined, - minutes: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, days: int | UndefinedType = Undefined, hours: int | UndefinedType = Undefined, minutes: int | UndefinedType = Undefined ) -> None: """ LeaseTimeIpv6. @@ -3815,7 +3382,6 @@ def __init__( days: days hours: hours minutes: minutes - _custom_data: _custom_data """ @@ -3832,22 +3398,15 @@ class DnsServersIpv6(AvdList[str]): class TftpServer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"file_ipv4": {"type": str}, "file_ipv6": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"file_ipv4": {"type": str}, "file_ipv6": {"type": str}} file_ipv4: str | None """Name of TFTP file for IPv4 clients.""" file_ipv6: str | None """Name of TFTP file for IPv6 clients.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - file_ipv4: str | None | UndefinedType = Undefined, - file_ipv6: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, file_ipv4: str | None | UndefinedType = Undefined, file_ipv6: str | None | UndefinedType = Undefined) -> None: """ TftpServer. @@ -3857,7 +3416,6 @@ def __init__( Args: file_ipv4: Name of TFTP file for IPv4 clients. file_ipv6: Name of TFTP file for IPv6 clients. - _custom_data: _custom_data """ @@ -3877,7 +3435,6 @@ class ArrayIpv4Address(AvdList[str]): "string": {"type": str}, "ipv4_address": {"type": str}, "array_ipv4_address": {"type": ArrayIpv4Address}, - "_custom_data": {"type": dict}, } code: int string: str | None @@ -3905,7 +3462,6 @@ class ArrayIpv4Address(AvdList[str]): multiple of these variables are defined is `string` -> `ipv4_address` -> `array_ipv4_address`. Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3916,7 +3472,6 @@ def __init__( string: str | None | UndefinedType = Undefined, ipv4_address: str | None | UndefinedType = Undefined, array_ipv4_address: ArrayIpv4Address | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SubOptionsItem. @@ -3945,7 +3500,6 @@ def __init__( The order of precedence if multiple of these variables are defined is `string` -> `ipv4_address` -> `array_ipv4_address`. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -3956,21 +3510,14 @@ class SubOptions(AvdIndexedList[int, SubOptionsItem]): SubOptions._item_type = SubOptionsItem - _fields: ClassVar[dict] = {"vendor_id": {"type": str}, "sub_options": {"type": SubOptions}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vendor_id": {"type": str}, "sub_options": {"type": SubOptions}} vendor_id: str sub_options: SubOptions """Subclass of AvdIndexedList with `SubOptionsItem` items. Primary key is `code` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vendor_id: str | UndefinedType = Undefined, - sub_options: SubOptions | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vendor_id: str | UndefinedType = Undefined, sub_options: SubOptions | UndefinedType = Undefined) -> None: """ Ipv4VendorOptionsItem. @@ -3980,7 +3527,6 @@ def __init__( Args: vendor_id: vendor_id sub_options: Subclass of AvdIndexedList with `SubOptionsItem` items. Primary key is `code` (`int`). - _custom_data: _custom_data """ @@ -4002,20 +3548,13 @@ class DnsServers(AvdList[str]): class RangesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"start": {"type": str}, "end": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"start": {"type": str}, "end": {"type": str}} start: str end: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - start: str | UndefinedType = Undefined, - end: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, start: str | UndefinedType = Undefined, end: str | UndefinedType = Undefined) -> None: """ RangesItem. @@ -4025,7 +3564,6 @@ def __init__( Args: start: start end: end - _custom_data: _custom_data """ @@ -4037,21 +3575,15 @@ class Ranges(AvdList[RangesItem]): class LeaseTime(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"days": {"type": int}, "hours": {"type": int}, "minutes": {"type": int}} days: int hours: int minutes: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - days: int | UndefinedType = Undefined, - hours: int | UndefinedType = Undefined, - minutes: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, days: int | UndefinedType = Undefined, hours: int | UndefinedType = Undefined, minutes: int | UndefinedType = Undefined ) -> None: """ LeaseTime. @@ -4063,7 +3595,6 @@ def __init__( days: days hours: hours minutes: minutes - _custom_data: _custom_data """ @@ -4075,7 +3606,6 @@ class ReservationsItem(AvdModel): "hostname": {"type": str}, "ipv4_address": {"type": str}, "ipv6_address": {"type": str}, - "_custom_data": {"type": dict}, } mac_address: str """Ethernet address in format - HHHH.HHHH.HHHH""" @@ -4090,7 +3620,6 @@ class ReservationsItem(AvdModel): Valid IPv6 address from the given subnet. This should only be used within an IPv6 subnet. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4101,7 +3630,6 @@ def __init__( hostname: str | None | UndefinedType = Undefined, ipv4_address: str | None | UndefinedType = Undefined, ipv6_address: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ReservationsItem. @@ -4118,7 +3646,6 @@ def __init__( ipv6_address: Valid IPv6 address from the given subnet. This should only be used within an IPv6 subnet. - _custom_data: _custom_data """ @@ -4137,7 +3664,6 @@ class Reservations(AvdIndexedList[str, ReservationsItem]): "ranges": {"type": Ranges}, "lease_time": {"type": LeaseTime}, "reservations": {"type": Reservations}, - "_custom_data": {"type": dict}, } subnet: str """IPv4/IPv6 subnet.""" @@ -4156,7 +3682,6 @@ class Reservations(AvdIndexedList[str, ReservationsItem]): Subclass of AvdIndexedList with `ReservationsItem` items. Primary key is `mac_address` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4170,7 +3695,6 @@ def __init__( ranges: Ranges | UndefinedType = Undefined, lease_time: LeaseTime | UndefinedType = Undefined, reservations: Reservations | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SubnetsItem. @@ -4190,7 +3714,6 @@ def __init__( Subclass of AvdIndexedList with `ReservationsItem` items. Primary key is `mac_address` (`str`). - _custom_data: _custom_data """ @@ -4214,7 +3737,6 @@ class Subnets(AvdIndexedList[str, SubnetsItem]): "ipv4_vendor_options": {"type": Ipv4VendorOptions}, "subnets": {"type": Subnets}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } disabled: bool | None vrf: str @@ -4245,7 +3767,6 @@ class Subnets(AvdIndexedList[str, SubnetsItem]): """Subclass of AvdIndexedList with `SubnetsItem` items. Primary key is `subnet` (`str`).""" eos_cli: str | None """Multiline EOS CLI rendered directly on the dhcp server in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4264,7 +3785,6 @@ def __init__( ipv4_vendor_options: Ipv4VendorOptions | UndefinedType = Undefined, subnets: Subnets | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DhcpServersItem. @@ -4291,7 +3811,6 @@ def __init__( ipv4_vendor_options: Subclass of AvdIndexedList with `Ipv4VendorOptionsItem` items. Primary key is `vendor_id` (`str`). subnets: Subclass of AvdIndexedList with `SubnetsItem` items. Primary key is `subnet` (`str`). eos_cli: Multiline EOS CLI rendered directly on the dhcp server in the final EOS configuration. - _custom_data: _custom_data """ @@ -4313,20 +3832,13 @@ class Dot1x(AvdModel): class MacBasedAuthentication(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"delay": {"type": int}, "hold_period": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"delay": {"type": int}, "hold_period": {"type": int}} delay: int | None hold_period: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - delay: int | None | UndefinedType = Undefined, - hold_period: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, delay: int | None | UndefinedType = Undefined, hold_period: int | None | UndefinedType = Undefined) -> None: """ MacBasedAuthentication. @@ -4336,19 +3848,17 @@ def __init__( Args: delay: delay hold_period: hold_period - _custom_data: _custom_data """ class RadiusAvPairUsernameFormat(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"delimiter": {"type": str}, "mac_string_case": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"delimiter": {"type": str}, "mac_string_case": {"type": str}} delimiter: Literal["colon", "hyphen", "none", "period"] """Delimiter to use in MAC address string.""" mac_string_case: Literal["lowercase", "uppercase"] """MAC address string in lowercase/uppercase.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4357,7 +3867,6 @@ def __init__( *, delimiter: Literal["colon", "hyphen", "none", "period"] | UndefinedType = Undefined, mac_string_case: Literal["lowercase", "uppercase"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RadiusAvPairUsernameFormat. @@ -4368,7 +3877,6 @@ def __init__( Args: delimiter: Delimiter to use in MAC address string. mac_string_case: MAC address string in lowercase/uppercase. - _custom_data: _custom_data """ @@ -4381,20 +3889,13 @@ class Lldp(AvdModel): class SystemName(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}} enabled: bool auth_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - auth_only: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, auth_only: bool | None | UndefinedType = Undefined) -> None: """ SystemName. @@ -4404,27 +3905,19 @@ def __init__( Args: enabled: enabled auth_only: auth_only - _custom_data: _custom_data """ class SystemDescription(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}} enabled: bool auth_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - auth_only: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, auth_only: bool | None | UndefinedType = Undefined) -> None: """ SystemDescription. @@ -4434,15 +3927,10 @@ def __init__( Args: enabled: enabled auth_only: auth_only - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "system_name": {"type": SystemName}, - "system_description": {"type": SystemDescription}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"system_name": {"type": SystemName}, "system_description": {"type": SystemDescription}} system_name: SystemName """ LLDP system name (LLDP TLV 5) av-pair. @@ -4455,16 +3943,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - system_name: SystemName | UndefinedType = Undefined, - system_description: SystemDescription | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, system_name: SystemName | UndefinedType = Undefined, system_description: SystemDescription | UndefinedType = Undefined ) -> None: """ Lldp. @@ -4481,7 +3964,6 @@ def __init__( LLDP system description (LLDP TLV 6) av-pair. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4491,20 +3973,13 @@ class Dhcp(AvdModel): class Hostname(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}} enabled: bool auth_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - auth_only: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, auth_only: bool | None | UndefinedType = Undefined) -> None: """ Hostname. @@ -4514,27 +3989,19 @@ def __init__( Args: enabled: enabled auth_only: auth_only - _custom_data: _custom_data """ class ParameterRequestList(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}} enabled: bool auth_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - auth_only: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, auth_only: bool | None | UndefinedType = Undefined) -> None: """ ParameterRequestList. @@ -4544,27 +4011,19 @@ def __init__( Args: enabled: enabled auth_only: auth_only - _custom_data: _custom_data """ class VendorClassId(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "auth_only": {"type": bool}} enabled: bool auth_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - auth_only: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, auth_only: bool | None | UndefinedType = Undefined) -> None: """ VendorClassId. @@ -4574,7 +4033,6 @@ def __init__( Args: enabled: enabled auth_only: auth_only - _custom_data: _custom_data """ @@ -4582,7 +4040,6 @@ def __init__( "hostname": {"type": Hostname}, "parameter_request_list": {"type": ParameterRequestList}, "vendor_class_id": {"type": VendorClassId}, - "_custom_data": {"type": dict}, } hostname: Hostname """ @@ -4602,7 +4059,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4612,7 +4068,6 @@ def __init__( hostname: Hostname | UndefinedType = Undefined, parameter_request_list: ParameterRequestList | UndefinedType = Undefined, vendor_class_id: VendorClassId | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dhcp. @@ -4633,24 +4088,16 @@ def __init__( Vendor class identifier (DHCP Option 60). Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "service_type": {"type": bool}, - "framed_mtu": {"type": int}, - "lldp": {"type": Lldp}, - "dhcp": {"type": Dhcp}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"service_type": {"type": bool}, "framed_mtu": {"type": int}, "lldp": {"type": Lldp}, "dhcp": {"type": Dhcp}} service_type: bool | None framed_mtu: int | None lldp: Lldp """Subclass of AvdModel.""" dhcp: Dhcp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4661,7 +4108,6 @@ def __init__( framed_mtu: int | None | UndefinedType = Undefined, lldp: Lldp | UndefinedType = Undefined, dhcp: Dhcp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RadiusAvPair. @@ -4674,7 +4120,6 @@ def __init__( framed_mtu: framed_mtu lldp: Subclass of AvdModel. dhcp: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4690,7 +4135,7 @@ class Action(AvdModel): class CachedResultsTimeout(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}} time_duration: int | None """ Enable caching for a specific duration - @@ -4701,7 +4146,6 @@ class CachedResultsTimeout(AvdModel): <1-864000000> duration in seconds """ time_duration_unit: Literal["days", "hours", "minutes", "seconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4710,7 +4154,6 @@ def __init__( *, time_duration: int | None | UndefinedType = Undefined, time_duration_unit: Literal["days", "hours", "minutes", "seconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CachedResultsTimeout. @@ -4727,7 +4170,6 @@ def __init__( <1-240000> duration in hours <1-864000000> duration in seconds time_duration_unit: time_duration_unit - _custom_data: _custom_data """ @@ -4737,7 +4179,6 @@ def __init__( "apply_alternate": {"type": bool}, "traffic_allow": {"type": bool}, "traffic_allow_vlan": {"type": int}, - "_custom_data": {"type": dict}, } apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -4752,7 +4193,6 @@ def __init__( traffic_allow: bool | None """Set action for supplicant traffic when AAA times out.""" traffic_allow_vlan: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4764,7 +4204,6 @@ def __init__( apply_alternate: bool | None | UndefinedType = Undefined, traffic_allow: bool | None | UndefinedType = Undefined, traffic_allow_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Action. @@ -4781,7 +4220,6 @@ def __init__( else traffic allow traffic_allow: Set action for supplicant traffic when AAA times out. traffic_allow_vlan: traffic_allow_vlan - _custom_data: _custom_data """ @@ -4791,7 +4229,7 @@ class PhoneAction(AvdModel): class CachedResultsTimeout(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}} time_duration: int | None """ Enable caching for a specific duration - @@ -4802,7 +4240,6 @@ class CachedResultsTimeout(AvdModel): <1-864000000> duration in seconds """ time_duration_unit: Literal["days", "hours", "minutes", "seconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4811,7 +4248,6 @@ def __init__( *, time_duration: int | None | UndefinedType = Undefined, time_duration_unit: Literal["days", "hours", "minutes", "seconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CachedResultsTimeout. @@ -4828,7 +4264,6 @@ def __init__( <1-240000> duration in hours <1-864000000> duration in seconds time_duration_unit: time_duration_unit - _custom_data: _custom_data """ @@ -4837,7 +4272,6 @@ def __init__( "cached_results_timeout": {"type": CachedResultsTimeout}, "apply_alternate": {"type": bool}, "traffic_allow": {"type": bool}, - "_custom_data": {"type": dict}, } apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -4851,7 +4285,6 @@ def __init__( """ traffic_allow: bool | None """Set action for supplicant traffic when AAA times out.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4862,7 +4295,6 @@ def __init__( cached_results_timeout: CachedResultsTimeout | UndefinedType = Undefined, apply_alternate: bool | None | UndefinedType = Undefined, traffic_allow: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PhoneAction. @@ -4878,7 +4310,6 @@ def __init__( eg. aaa unresponsive phone action apply cached- results else traffic allow traffic_allow: Set action for supplicant traffic when AAA times out. - _custom_data: _custom_data """ @@ -4887,7 +4318,6 @@ def __init__( "action": {"type": Action}, "phone_action": {"type": PhoneAction}, "recovery_action_reauthenticate": {"type": bool}, - "_custom_data": {"type": dict}, } eap_response: Literal["success", "disabled"] | None """EAP response to send.""" @@ -4904,7 +4334,6 @@ def __init__( Subclass of AvdModel. """ recovery_action_reauthenticate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4915,7 +4344,6 @@ def __init__( action: Action | UndefinedType = Undefined, phone_action: PhoneAction | UndefinedType = Undefined, recovery_action_reauthenticate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Unresponsive. @@ -4934,11 +4362,10 @@ def __init__( Subclass of AvdModel. recovery_action_reauthenticate: recovery_action_reauthenticate - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"unresponsive": {"type": Unresponsive}, "accounting_update_interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"unresponsive": {"type": Unresponsive}, "accounting_update_interval": {"type": int}} unresponsive: Unresponsive """ Configure AAA timeout options. @@ -4947,16 +4374,11 @@ def __init__( """ accounting_update_interval: int | None """Interval period in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - unresponsive: Unresponsive | UndefinedType = Undefined, - accounting_update_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, unresponsive: Unresponsive | UndefinedType = Undefined, accounting_update_interval: int | None | UndefinedType = Undefined ) -> None: """ Aaa. @@ -4970,7 +4392,6 @@ def __init__( Subclass of AvdModel. accounting_update_interval: Interval period in seconds. - _custom_data: _custom_data """ @@ -4983,7 +4404,6 @@ class CaptivePortal(AvdModel): "ssl_profile": {"type": str}, "start_limit_infinite": {"type": bool}, "access_list_ipv4": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool url: str | None @@ -4997,7 +4417,6 @@ class CaptivePortal(AvdModel): """Set captive-portal start limit to infinite.""" access_list_ipv4: str | None """Standard access-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5009,7 +4428,6 @@ def __init__( ssl_profile: str | None | UndefinedType = Undefined, start_limit_infinite: bool | None | UndefinedType = Undefined, access_list_ipv4: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CaptivePortal. @@ -5026,7 +4444,6 @@ def __init__( ssl_profile: ssl_profile start_limit_infinite: Set captive-portal start limit to infinite. access_list_ipv4: Standard access-list name. - _custom_data: _custom_data """ @@ -5043,7 +4460,6 @@ class ProfilesItem(AvdModel): "passphrase_type": {"type": str, "default": "7"}, "passphrase": {"type": str}, "ssl_profile": {"type": str}, - "_custom_data": {"type": dict}, } name: str eap_method: Literal["fast", "tls"] | None @@ -5060,7 +4476,6 @@ class ProfilesItem(AvdModel): passphrase: str | None """Extensible Authentication Protocol password.""" ssl_profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5073,7 +4488,6 @@ def __init__( passphrase_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, passphrase: str | None | UndefinedType = Undefined, ssl_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -5092,7 +4506,6 @@ def __init__( passphrase_type: passphrase_type passphrase: Extensible Authentication Protocol password. ssl_profile: ssl_profile - _custom_data: _custom_data """ @@ -5103,12 +4516,7 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): Profiles._item_type = ProfilesItem - _fields: ClassVar[dict] = { - "profiles": {"type": Profiles}, - "logging": {"type": bool}, - "disconnect_cached_results_timeout": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"profiles": {"type": Profiles}, "logging": {"type": bool}, "disconnect_cached_results_timeout": {"type": int}} profiles: Profiles """ Dot1x supplicant profiles. @@ -5120,7 +4528,6 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): """Enable supplicant logging.""" disconnect_cached_results_timeout: int | None """Timeout in seconds for removing a disconnected supplicant.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5130,7 +4537,6 @@ def __init__( profiles: Profiles | UndefinedType = Undefined, logging: bool | None | UndefinedType = Undefined, disconnect_cached_results_timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Supplicant. @@ -5146,7 +4552,6 @@ def __init__( `name` (`str`). logging: Enable supplicant logging. disconnect_cached_results_timeout: Timeout in seconds for removing a disconnected supplicant. - _custom_data: _custom_data """ @@ -5161,7 +4566,6 @@ def __init__( "aaa": {"type": Aaa}, "captive_portal": {"type": CaptivePortal}, "supplicant": {"type": Supplicant}, - "_custom_data": {"type": dict}, } system_auth_control: bool | None protocol_lldp_bypass: bool | None @@ -5192,7 +4596,6 @@ def __init__( """ supplicant: Supplicant """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5209,7 +4612,6 @@ def __init__( aaa: Aaa | UndefinedType = Undefined, captive_portal: CaptivePortal | UndefinedType = Undefined, supplicant: Supplicant | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1x. @@ -5238,7 +4640,6 @@ def __init__( Subclass of AvdModel. supplicant: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -5248,22 +4649,15 @@ class DpsInterfacesItem(AvdModel): class FlowTracker(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}} sampled: str | None """Sampled flow tracker name.""" hardware: str | None """Hardware flow tracker name,""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sampled: str | None | UndefinedType = Undefined, - hardware: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sampled: str | None | UndefinedType = Undefined, hardware: str | None | UndefinedType = Undefined) -> None: """ FlowTracker. @@ -5273,21 +4667,19 @@ def __init__( Args: sampled: Sampled flow tracker name. hardware: Hardware flow tracker name, - _custom_data: _custom_data """ class TcpMssCeiling(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}} ipv4: int | None """Segment Size for IPv4.""" ipv6: int | None """Segment Size for IPv6.""" direction: Literal["ingress", "egress"] | None """Optional direction ('ingress', 'egress') for tcp mss ceiling.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5297,7 +4689,6 @@ def __init__( ipv4: int | None | UndefinedType = Undefined, ipv6: int | None | UndefinedType = Undefined, direction: Literal["ingress", "egress"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TcpMssCeiling. @@ -5309,7 +4700,6 @@ def __init__( ipv4: Segment Size for IPv4. ipv6: Segment Size for IPv6. direction: Optional direction ('ingress', 'egress') for tcp mss ceiling. - _custom_data: _custom_data """ @@ -5322,7 +4712,6 @@ def __init__( "flow_tracker": {"type": FlowTracker}, "tcp_mss_ceiling": {"type": TcpMssCeiling}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: Literal["Dps1"] """"Dps1" is currently the only supported interface.""" @@ -5338,7 +4727,6 @@ def __init__( """Subclass of AvdModel.""" eos_cli: str | None """Multiline String with EOS CLI rendered directly on the Dps interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5353,7 +4741,6 @@ def __init__( flow_tracker: FlowTracker | UndefinedType = Undefined, tcp_mss_ceiling: TcpMssCeiling | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DpsInterfacesItem. @@ -5370,7 +4757,6 @@ def __init__( flow_tracker: Subclass of AvdModel. tcp_mss_ceiling: Subclass of AvdModel. eos_cli: Multiline String with EOS CLI rendered directly on the Dps interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -5387,22 +4773,15 @@ class DynamicPrefixListsItem(AvdModel): class PrefixList(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}} ipv4: str | None """Prefix-list name.""" ipv6: str | None """Prefix-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: str | None | UndefinedType = Undefined, - ipv6: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: str | None | UndefinedType = Undefined, ipv6: str | None | UndefinedType = Undefined) -> None: """ PrefixList. @@ -5412,18 +4791,16 @@ def __init__( Args: ipv4: Prefix-list name. ipv6: Prefix-list name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "match_map": {"type": str}, "prefix_list": {"type": PrefixList}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "match_map": {"type": str}, "prefix_list": {"type": PrefixList}} name: str | None """Dynamic prefix-list name.""" match_map: str | None """Route-map name.""" prefix_list: PrefixList """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5433,7 +4810,6 @@ def __init__( name: str | None | UndefinedType = Undefined, match_map: str | None | UndefinedType = Undefined, prefix_list: PrefixList | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicPrefixListsItem. @@ -5445,7 +4821,6 @@ def __init__( name: Dynamic prefix-list name. match_map: Route-map name. prefix_list: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -5457,7 +4832,7 @@ class DynamicPrefixLists(AvdList[DynamicPrefixListsItem]): class EnablePassword(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"disabled": {"type": bool}, "hash_algorithm": {"type": str}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "hash_algorithm": {"type": str}, "key": {"type": str}} disabled: bool | None """Set to `true` to configure `no enable password` which is the EOS default.""" hash_algorithm: Literal["md5", "sha512"] | None @@ -5467,7 +4842,6 @@ class EnablePassword(AvdModel): By default EOS salts the password, so the simplest is to generate the hash on an EOS device. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5477,7 +4851,6 @@ def __init__( disabled: bool | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha512"] | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EnablePassword. @@ -5492,18 +4865,13 @@ def __init__( Must be the hash of the password using the specified algorithm. By default EOS salts the password, so the simplest is to generate the hash on an EOS device. - _custom_data: _custom_data """ class EosCliConfigGenConfiguration(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enable": {"type": bool, "default": True}, - "hide_passwords": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": True}, "hide_passwords": {"type": bool, "default": False}} enable: bool """ Generate device EOS configurations. @@ -5517,17 +4885,10 @@ class EosCliConfigGenConfiguration(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | UndefinedType = Undefined, - hide_passwords: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined, hide_passwords: bool | UndefinedType = Undefined) -> None: """ EosCliConfigGenConfiguration. @@ -5539,7 +4900,6 @@ def __init__( hide_passwords: Replace the input data using the `hide_passwords` filter in the Jinja2 templates by '' in the configuration if true. - _custom_data: _custom_data """ @@ -5550,7 +4910,6 @@ class EosCliConfigGenDocumentation(AvdModel): "enable": {"type": bool, "default": True}, "hide_passwords": {"type": bool, "default": True}, "toc": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, } enable: bool """ @@ -5571,17 +4930,11 @@ class EosCliConfigGenDocumentation(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enable: bool | UndefinedType = Undefined, - hide_passwords: bool | UndefinedType = Undefined, - toc: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enable: bool | UndefinedType = Undefined, hide_passwords: bool | UndefinedType = Undefined, toc: bool | UndefinedType = Undefined ) -> None: """ EosCliConfigGenDocumentation. @@ -5595,7 +4948,6 @@ def __init__( Replace the input data using the `hide_passwords` filter in the Jinja2 templates by '' in the documentation if true. toc: Generate the table of content(TOC) on device documentation. - _custom_data: _custom_data """ @@ -5610,14 +4962,13 @@ class Causes(AvdList[str]): Causes._item_type = str - _fields: ClassVar[dict] = {"causes": {"type": Causes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"causes": {"type": Causes}} causes: Causes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, causes: Causes | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, causes: Causes | UndefinedType = Undefined) -> None: """ Detect. @@ -5626,7 +4977,6 @@ def __init__(self, *, causes: Causes | UndefinedType = Undefined, _custom_data: Args: causes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -5638,7 +4988,7 @@ class Causes(AvdList[str]): Causes._item_type = str - _fields: ClassVar[dict] = {"causes": {"type": Causes}, "interval": {"type": int, "default": 300}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"causes": {"type": Causes}, "interval": {"type": int, "default": 300}} causes: Causes """Subclass of AvdList with `str` items.""" interval: int @@ -5647,17 +4997,10 @@ class Causes(AvdList[str]): Default value: `300` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - causes: Causes | UndefinedType = Undefined, - interval: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, causes: Causes | UndefinedType = Undefined, interval: int | UndefinedType = Undefined) -> None: """ Recovery. @@ -5667,26 +5010,18 @@ def __init__( Args: causes: Subclass of AvdList with `str` items. interval: Interval in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"detect": {"type": Detect}, "recovery": {"type": Recovery}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"detect": {"type": Detect}, "recovery": {"type": Recovery}} detect: Detect """Subclass of AvdModel.""" recovery: Recovery """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - detect: Detect | UndefinedType = Undefined, - recovery: Recovery | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, detect: Detect | UndefinedType = Undefined, recovery: Recovery | UndefinedType = Undefined) -> None: """ Errdisable. @@ -5696,7 +5031,6 @@ def __init__( Args: detect: Subclass of AvdModel. recovery: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -5706,10 +5040,9 @@ class EthernetInterfacesItem(AvdModel): class Phone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"trunk": {"type": str}, "vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"trunk": {"type": str}, "vlan": {"type": int}} trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None vlan: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5718,7 +5051,6 @@ def __init__( *, trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None | UndefinedType = Undefined, vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Phone. @@ -5729,28 +5061,22 @@ def __init__( Args: trunk: trunk vlan: vlan - _custom_data: _custom_data """ class L2Protocol(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}} encapsulation_dot1q_vlan: int | None """Vlan tag to configure on sub-interface.""" forwarding_profile: str | None """L2 protocol forwarding profile.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - encapsulation_dot1q_vlan: int | None | UndefinedType = Undefined, - forwarding_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, encapsulation_dot1q_vlan: int | None | UndefinedType = Undefined, forwarding_profile: str | None | UndefinedType = Undefined ) -> None: """ L2Protocol. @@ -5761,7 +5087,6 @@ def __init__( Args: encapsulation_dot1q_vlan: Vlan tag to configure on sub-interface. forwarding_profile: L2 protocol forwarding profile. - _custom_data: _custom_data """ @@ -5776,22 +5101,15 @@ class AddressLocking(AvdModel): class AddressFamily(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}} ipv4: bool | None """Enable/disable address locking for IPv4.""" ipv6: bool | None """Enable/disable address locking for IPv6.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: bool | None | UndefinedType = Undefined, - ipv6: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined) -> None: """ AddressFamily. @@ -5801,7 +5119,6 @@ def __init__( Args: ipv4: Enable/disable address locking for IPv4. ipv6: Enable/disable address locking for IPv6. - _custom_data: _custom_data """ @@ -5810,7 +5127,6 @@ def __init__( "ipv6": {"type": bool}, "address_family": {"type": AddressFamily}, "ipv4_enforcement_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } ipv4: bool | None """ @@ -5837,7 +5153,6 @@ def __init__( """ ipv4_enforcement_disabled: bool | None """Disable enforcement for IPv4 locked addresses.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5848,7 +5163,6 @@ def __init__( ipv6: bool | None | UndefinedType = Undefined, address_family: AddressFamily | UndefinedType = Undefined, ipv4_enforcement_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressLocking. @@ -5875,25 +5189,18 @@ def __init__( Subclass of AvdModel. ipv4_enforcement_disabled: Disable enforcement for IPv4 locked addresses. - _custom_data: _custom_data """ class Flowcontrol(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"received": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"received": {"type": str}} received: Literal["desired", "on", "off"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - received: Literal["desired", "on", "off"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, received: Literal["desired", "on", "off"] | None | UndefinedType = Undefined) -> None: """ Flowcontrol. @@ -5902,29 +5209,21 @@ def __init__( Args: received: received - _custom_data: _custom_data """ class FlowTracker(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}} sampled: str | None """Sampled flow tracker name.""" hardware: str | None """Hardware flow tracker name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sampled: str | None | UndefinedType = Undefined, - hardware: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sampled: str | None | UndefinedType = Undefined, hardware: str | None | UndefinedType = Undefined) -> None: """ FlowTracker. @@ -5934,24 +5233,17 @@ def __init__( Args: sampled: Sampled flow tracker name. hardware: Hardware flow tracker name. - _custom_data: _custom_data """ class ErrorCorrectionEncoding(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": True}, - "fire_code": {"type": bool}, - "reed_solomon": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": True}, "fire_code": {"type": bool}, "reed_solomon": {"type": bool}} enabled: bool """Default value: `True`""" fire_code: bool | None reed_solomon: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5961,7 +5253,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, fire_code: bool | None | UndefinedType = Undefined, reed_solomon: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ErrorCorrectionEncoding. @@ -5973,27 +5264,21 @@ def __init__( enabled: enabled fire_code: fire_code reed_solomon: reed_solomon - _custom_data: _custom_data """ class LinkTrackingGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}} name: str """Group name.""" direction: Literal["upstream", "downstream"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined ) -> None: """ LinkTrackingGroupsItem. @@ -6004,7 +5289,6 @@ def __init__( Args: name: Group name. direction: direction - _custom_data: _custom_data """ @@ -6023,7 +5307,7 @@ class Groups(AvdList[str]): Groups._item_type = str - _fields: ClassVar[dict] = {"direction": {"type": str}, "groups": {"type": Groups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction": {"type": str}, "groups": {"type": Groups}} direction: Literal["upstream", "downstream"] | None groups: Groups """ @@ -6031,16 +5315,11 @@ class Groups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined ) -> None: """ LinkTracking. @@ -6054,7 +5333,6 @@ def __init__( Link state group(s) an interface belongs to. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -6071,7 +5349,6 @@ class DesignatedForwarderElection(AvdModel): "hold_time": {"type": int}, "subsequent_hold_time": {"type": int}, "candidate_reachability_required": {"type": bool}, - "_custom_data": {"type": dict}, } algorithm: Literal["modulus", "preference"] | None preference_value: int | None @@ -6081,7 +5358,6 @@ class DesignatedForwarderElection(AvdModel): hold_time: int | None subsequent_hold_time: int | None candidate_reachability_required: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6094,7 +5370,6 @@ def __init__( hold_time: int | None | UndefinedType = Undefined, subsequent_hold_time: int | None | UndefinedType = Undefined, candidate_reachability_required: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DesignatedForwarderElection. @@ -6109,26 +5384,20 @@ def __init__( hold_time: hold_time subsequent_hold_time: subsequent_hold_time candidate_reachability_required: candidate_reachability_required - _custom_data: _custom_data """ class Mpls(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}} shared_index: int | None tunnel_flood_filter_time: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - shared_index: int | None | UndefinedType = Undefined, - tunnel_flood_filter_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, shared_index: int | None | UndefinedType = Undefined, tunnel_flood_filter_time: int | None | UndefinedType = Undefined ) -> None: """ Mpls. @@ -6139,7 +5408,6 @@ def __init__( Args: shared_index: shared_index tunnel_flood_filter_time: tunnel_flood_filter_time - _custom_data: _custom_data """ @@ -6149,7 +5417,6 @@ def __init__( "designated_forwarder_election": {"type": DesignatedForwarderElection}, "mpls": {"type": Mpls}, "route_target": {"type": str}, - "_custom_data": {"type": dict}, } identifier: str | None """EVPN Ethernet Segment Identifier (Type 1 format).""" @@ -6160,7 +5427,6 @@ def __init__( """Subclass of AvdModel.""" route_target: str | None """EVPN Route Target for ESI with format xx:xx:xx:xx:xx:xx.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6172,7 +5438,6 @@ def __init__( designated_forwarder_election: DesignatedForwarderElection | UndefinedType = Undefined, mpls: Mpls | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnEthernetSegment. @@ -6186,29 +5451,21 @@ def __init__( designated_forwarder_election: Subclass of AvdModel. mpls: Subclass of AvdModel. route_target: EVPN Route Target for ESI with format xx:xx:xx:xx:xx:xx. - _custom_data: _custom_data """ class EncapsulationDot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "inner_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "inner_vlan": {"type": int}} vlan: int """VLAD ID.""" inner_vlan: int | None """Inner VLAN ID. This setting can only be applied to sub-interfaces on EOS.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vlan: int | UndefinedType = Undefined, - inner_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vlan: int | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined) -> None: """ EncapsulationDot1q. @@ -6218,7 +5475,6 @@ def __init__( Args: vlan: VLAD ID. inner_vlan: Inner VLAN ID. This setting can only be applied to sub-interfaces on EOS. - _custom_data: _custom_data """ @@ -6231,14 +5487,13 @@ class Client(AvdModel): class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} vlan: int | None """Client VLAN ID.""" outer: int | None """Client Outer VLAN ID.""" inner: int | None """Client Inner VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6248,7 +5503,6 @@ def __init__( vlan: int | None | UndefinedType = Undefined, outer: int | None | UndefinedType = Undefined, inner: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -6260,7 +5514,6 @@ def __init__( vlan: Client VLAN ID. outer: Client Outer VLAN ID. inner: Client Inner VLAN ID. - _custom_data: _custom_data """ @@ -6272,7 +5525,6 @@ def __init__( "outer_vlan": {"type": int}, "inner_vlan": {"type": int}, "inner_encapsulation": {"type": str}, - "_custom_data": {"type": dict}, } dot1q: Dot1q """Subclass of AvdModel.""" @@ -6285,7 +5537,6 @@ def __init__( inner_vlan: int | None """Client Inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`.""" inner_encapsulation: Literal["dot1q", "dot1ad"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6299,7 +5550,6 @@ def __init__( outer_vlan: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined, inner_encapsulation: Literal["dot1q", "dot1ad"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Client. @@ -6315,7 +5565,6 @@ def __init__( outer_vlan: Client Outer VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`. inner_vlan: Client Inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`. inner_encapsulation: inner_encapsulation - _custom_data: _custom_data """ @@ -6325,14 +5574,13 @@ class Network(AvdModel): class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} vlan: int | None """Network VLAN ID.""" outer: int | None """Network outer VLAN ID.""" inner: int | None """Network inner VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6342,7 +5590,6 @@ def __init__( vlan: int | None | UndefinedType = Undefined, outer: int | None | UndefinedType = Undefined, inner: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -6354,7 +5601,6 @@ def __init__( vlan: Network VLAN ID. outer: Network outer VLAN ID. inner: Network inner VLAN ID. - _custom_data: _custom_data """ @@ -6366,7 +5612,6 @@ def __init__( "outer_vlan": {"type": int}, "inner_vlan": {"type": int}, "inner_encapsulation": {"type": str}, - "_custom_data": {"type": dict}, } dot1q: Dot1q """Subclass of AvdModel.""" @@ -6384,7 +5629,6 @@ def __init__( inner_vlan: int | None """Network inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`.""" inner_encapsulation: Literal["dot1q", "dot1ad"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6398,7 +5642,6 @@ def __init__( outer_vlan: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined, inner_encapsulation: Literal["dot1q", "dot1ad"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Network. @@ -6417,11 +5660,10 @@ def __init__( outer_vlan: Network outer VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`. inner_vlan: Network inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`. inner_encapsulation: inner_encapsulation - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"client": {"type": Client}, "network": {"type": Network}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client": {"type": Client}, "network": {"type": Network}} client: Client """Subclass of AvdModel.""" network: Network @@ -6431,17 +5673,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - client: Client | UndefinedType = Undefined, - network: Network | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, client: Client | UndefinedType = Undefined, network: Network | UndefinedType = Undefined) -> None: """ EncapsulationVlan. @@ -6455,7 +5690,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -6467,13 +5701,12 @@ class IpAddressSecondaries(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}} ip_helper: str source_interface: str | None """Source interface name.""" vrf: str | None """VRF name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6483,7 +5716,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -6495,7 +5727,6 @@ def __init__( ip_helper: ip_helper source_interface: Source interface name. vrf: VRF name. - _custom_data: _custom_data """ @@ -6515,18 +5746,11 @@ class Destination(AvdModel): class DynamicItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "access_list": {"type": str}, - "comment": {"type": str}, - "pool_name": {"type": str}, - "priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_list": {"type": str}, "comment": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}} access_list: str comment: str | None pool_name: str priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6537,7 +5761,6 @@ def __init__( comment: str | None | UndefinedType = Undefined, pool_name: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -6550,7 +5773,6 @@ def __init__( comment: comment pool_name: pool_name priority: priority - _custom_data: _custom_data """ @@ -6575,7 +5797,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -6599,7 +5820,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6616,7 +5836,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -6639,7 +5858,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -6648,22 +5866,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Destination. @@ -6673,7 +5884,6 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ @@ -6689,7 +5899,6 @@ class DynamicItem(AvdModel): "nat_type": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str comment: str | None @@ -6701,7 +5910,6 @@ class DynamicItem(AvdModel): overload. """ priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6713,7 +5921,6 @@ def __init__( nat_type: Literal["overload", "pool", "pool-address-only", "pool-full-cone"] | UndefinedType = Undefined, pool_name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -6730,7 +5937,6 @@ def __init__( ignored if 'nat_type' is overload. priority: priority - _custom_data: _custom_data """ @@ -6755,7 +5961,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -6779,7 +5984,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6796,7 +6000,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -6819,7 +6022,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -6828,22 +6030,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Source. @@ -6853,23 +6048,16 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "service_profile": {"type": str}, - "destination": {"type": Destination}, - "source": {"type": Source}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"service_profile": {"type": str}, "destination": {"type": Destination}, "source": {"type": Source}} service_profile: str | None """NAT interface profile.""" destination: Destination """Subclass of AvdModel.""" source: Source """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6879,7 +6067,6 @@ def __init__( service_profile: str | None | UndefinedType = Undefined, destination: Destination | UndefinedType = Undefined, source: Source | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpNat. @@ -6891,7 +6078,6 @@ def __init__( service_profile: NAT interface profile. destination: Subclass of AvdModel. source: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -6903,7 +6089,6 @@ class Ipv6NdPrefixesItem(AvdModel): "valid_lifetime": {"type": str}, "preferred_lifetime": {"type": str}, "no_autoconfig_flag": {"type": bool}, - "_custom_data": {"type": dict}, } ipv6_prefix: str valid_lifetime: str | None @@ -6911,7 +6096,6 @@ class Ipv6NdPrefixesItem(AvdModel): preferred_lifetime: str | None """Infinite or lifetime in seconds.""" no_autoconfig_flag: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6922,7 +6106,6 @@ def __init__( valid_lifetime: str | None | UndefinedType = Undefined, preferred_lifetime: str | None | UndefinedType = Undefined, no_autoconfig_flag: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6NdPrefixesItem. @@ -6935,7 +6118,6 @@ def __init__( valid_lifetime: Infinite or lifetime in seconds. preferred_lifetime: Infinite or lifetime in seconds. no_autoconfig_flag: no_autoconfig_flag - _custom_data: _custom_data """ @@ -6955,7 +6137,6 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): "local_interface": {"type": str}, "source_address": {"type": str}, "link_address": {"type": str}, - "_custom_data": {"type": dict}, } address: str """DHCP server's IPv6 address.""" @@ -6966,7 +6147,6 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): """Source IPv6 address to communicate with DHCP server - mutually exclusive to local_interface.""" link_address: str | None """Override the default link address specified in the relayed DHCP packet.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6978,7 +6158,6 @@ def __init__( local_interface: str | None | UndefinedType = Undefined, source_address: str | None | UndefinedType = Undefined, link_address: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6DhcpRelayDestinationsItem. @@ -6992,7 +6171,6 @@ def __init__( local_interface: Local interface to communicate with DHCP server - mutually exclusive to source_address. source_address: Source IPv6 address to communicate with DHCP server - mutually exclusive to local_interface. link_address: Override the default link address specified in the relayed DHCP packet. - _custom_data: _custom_data """ @@ -7015,21 +6193,14 @@ class Ipv4(AvdModel): class BoundariesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"boundary": {"type": str}, "out": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundary": {"type": str}, "out": {"type": bool}} boundary: str | None """ACL name or multicast IP subnet.""" out: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - boundary: str | None | UndefinedType = Undefined, - out: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, boundary: str | None | UndefinedType = Undefined, out: bool | None | UndefinedType = Undefined) -> None: """ BoundariesItem. @@ -7039,7 +6210,6 @@ def __init__( Args: boundary: ACL name or multicast IP subnet. out: out - _custom_data: _custom_data """ @@ -7048,21 +6218,14 @@ class Boundaries(AvdList[BoundariesItem]): Boundaries._item_type = BoundariesItem - _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "static": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "static": {"type": bool}} boundaries: Boundaries """Subclass of AvdList with `BoundariesItem` items.""" static: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - boundaries: Boundaries | UndefinedType = Undefined, - static: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, boundaries: Boundaries | UndefinedType = Undefined, static: bool | None | UndefinedType = Undefined) -> None: """ Ipv4. @@ -7072,7 +6235,6 @@ def __init__( Args: boundaries: Subclass of AvdList with `BoundariesItem` items. static: static - _custom_data: _custom_data """ @@ -7082,16 +6244,13 @@ class Ipv6(AvdModel): class BoundariesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"boundary": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundary": {"type": str}} boundary: str | None """ACL name or multicast IP subnet.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, boundary: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, boundary: str | None | UndefinedType = Undefined) -> None: """ BoundariesItem. @@ -7100,7 +6259,6 @@ def __init__( Args: boundary: ACL name or multicast IP subnet. - _custom_data: _custom_data """ @@ -7109,21 +6267,14 @@ class Boundaries(AvdList[BoundariesItem]): Boundaries._item_type = BoundariesItem - _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "static": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "static": {"type": bool}} boundaries: Boundaries """Subclass of AvdList with `BoundariesItem` items.""" static: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - boundaries: Boundaries | UndefinedType = Undefined, - static: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, boundaries: Boundaries | UndefinedType = Undefined, static: bool | None | UndefinedType = Undefined) -> None: """ Ipv6. @@ -7133,26 +6284,18 @@ def __init__( Args: boundaries: Subclass of AvdList with `BoundariesItem` items. static: static - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} ipv4: Ipv4 """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - ipv6: Ipv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined) -> None: """ Multicast. @@ -7162,19 +6305,17 @@ def __init__( Args: ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ class OspfMessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} id: int hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None key: str | None """Encrypted password - only type 7 supported.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7184,7 +6325,6 @@ def __init__( id: int | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ OspfMessageDigestKeysItem. @@ -7196,7 +6336,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Encrypted password - only type 7 supported. - _custom_data: _custom_data """ @@ -7216,22 +6355,15 @@ class Ipv4(AvdModel): class Hello(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}} count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" interval: int | None """PIM hello interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: str | None | UndefinedType = Undefined, - interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: str | None | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined) -> None: """ Hello. @@ -7241,7 +6373,6 @@ def __init__( Args: count: Number of missed hellos after which the neighbor expires. Range <1.5-65535>. interval: PIM hello interval in seconds. - _custom_data: _custom_data """ @@ -7252,7 +6383,6 @@ def __init__( "bfd": {"type": bool}, "bidirectional": {"type": bool}, "hello": {"type": Hello}, - "_custom_data": {"type": dict}, } border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -7263,7 +6393,6 @@ def __init__( bidirectional: bool | None hello: Hello """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7276,7 +6405,6 @@ def __init__( bfd: bool | None | UndefinedType = Undefined, bidirectional: bool | None | UndefinedType = Undefined, hello: Hello | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -7291,18 +6419,16 @@ def __init__( bfd: Set the default for whether Bidirectional Forwarding Detection is enabled for PIM. bidirectional: bidirectional hello: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}} ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ Pim. @@ -7311,20 +6437,18 @@ def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict Args: ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ class MacSecurity(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ MacSecurity. @@ -7333,23 +6457,16 @@ def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_d Args: profile: profile - _custom_data: _custom_data """ class TcpMssCeiling(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ipv4_segment_size": {"type": int}, - "ipv6_segment_size": {"type": int}, - "direction": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_segment_size": {"type": int}, "ipv6_segment_size": {"type": int}, "direction": {"type": str}} ipv4_segment_size: int | None ipv6_segment_size: int | None direction: Literal["egress", "ingress"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7359,7 +6476,6 @@ def __init__( ipv4_segment_size: int | None | UndefinedType = Undefined, ipv6_segment_size: int | None | UndefinedType = Undefined, direction: Literal["egress", "ingress"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TcpMssCeiling. @@ -7371,26 +6487,20 @@ def __init__( ipv4_segment_size: ipv4_segment_size ipv6_segment_size: ipv6_segment_size direction: direction - _custom_data: _custom_data """ class ChannelGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "mode": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "mode": {"type": str}} id: int | None mode: Literal["on", "active", "passive"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - id: int | None | UndefinedType = Undefined, - mode: Literal["on", "active", "passive"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, id: int | None | UndefinedType = Undefined, mode: Literal["on", "active", "passive"] | None | UndefinedType = Undefined ) -> None: """ ChannelGroup. @@ -7401,7 +6511,6 @@ def __init__( Args: id: id mode: mode - _custom_data: _custom_data """ @@ -7420,7 +6529,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -7431,7 +6539,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7443,7 +6550,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -7457,7 +6563,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -7471,13 +6576,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -7486,17 +6590,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7505,7 +6607,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -7516,7 +6617,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -7528,7 +6628,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -7552,7 +6651,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7566,7 +6664,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Both. @@ -7588,7 +6685,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -7604,7 +6700,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -7615,7 +6710,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7627,7 +6721,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -7641,7 +6734,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -7655,13 +6747,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -7670,17 +6761,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7689,7 +6778,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -7700,7 +6788,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -7712,7 +6799,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -7736,7 +6822,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7750,7 +6835,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level1. @@ -7772,7 +6856,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -7788,7 +6871,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -7799,7 +6881,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7811,7 +6892,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -7825,7 +6905,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -7839,13 +6918,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -7854,17 +6932,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7873,7 +6949,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -7884,7 +6959,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -7896,7 +6970,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -7920,7 +6993,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7934,7 +7006,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level2. @@ -7956,11 +7027,10 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} both: Both """ Authentication settings for level-1 and level-2. 'both' takes precedence over 'level_1' and @@ -7978,17 +7048,11 @@ def __init__( Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - both: Both | UndefinedType = Undefined, - level_1: Level1 | UndefinedType = Undefined, - level_2: Level2 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, both: Both | UndefinedType = Undefined, level_1: Level1 | UndefinedType = Undefined, level_2: Level2 | UndefinedType = Undefined ) -> None: """ IsisAuthentication. @@ -8008,7 +7072,6 @@ def __init__( level_2: Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -8018,19 +7081,13 @@ class Poe(AvdModel): class Reboot(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}} action: Literal["maintain", "power-off"] | None """PoE action for interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - action: Literal["maintain", "power-off"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, action: Literal["maintain", "power-off"] | None | UndefinedType = Undefined) -> None: """ Reboot. @@ -8039,14 +7096,13 @@ def __init__( Args: action: PoE action for interface. - _custom_data: _custom_data """ class LinkDown(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "power_off_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}, "power_off_delay": {"type": int}} action: Literal["maintain", "power-off"] | None """PoE action for interface.""" power_off_delay: int | None @@ -8054,7 +7110,6 @@ class LinkDown(AvdModel): Number of seconds to delay shutting the power off after a link down event occurs. Default value is 5 seconds in EOS. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8063,7 +7118,6 @@ def __init__( *, action: Literal["maintain", "power-off"] | None | UndefinedType = Undefined, power_off_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LinkDown. @@ -8076,26 +7130,19 @@ def __init__( power_off_delay: Number of seconds to delay shutting the power off after a link down event occurs. Default value is 5 seconds in EOS. - _custom_data: _custom_data """ class Shutdown(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}} action: Literal["maintain", "power-off"] | None """PoE action for interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - action: Literal["maintain", "power-off"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, action: Literal["maintain", "power-off"] | None | UndefinedType = Undefined) -> None: """ Shutdown. @@ -8104,21 +7151,19 @@ def __init__( Args: action: PoE action for interface. - _custom_data: _custom_data """ class Limit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"field_class": {"type": int}, "watts": {"type": str}, "fixed": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"field_class": {"type": int}, "watts": {"type": str}, "fixed": {"type": bool}} _field_to_key_map: ClassVar[dict] = {"field_class": "class"} _key_to_field_map: ClassVar[dict] = {"class": "field_class"} field_class: int | None watts: str | None fixed: bool | None """Set to ignore hardware classification.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8128,7 +7173,6 @@ def __init__( field_class: int | None | UndefinedType = Undefined, watts: str | None | UndefinedType = Undefined, fixed: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Limit. @@ -8140,7 +7184,6 @@ def __init__( field_class: field_class watts: watts fixed: Set to ignore hardware classification. - _custom_data: _custom_data """ @@ -8153,7 +7196,6 @@ def __init__( "limit": {"type": Limit}, "negotiation_lldp": {"type": bool}, "legacy_detect": {"type": bool}, - "_custom_data": {"type": dict}, } disabled: bool """ @@ -8199,7 +7241,6 @@ def __init__( Allow a subset of legacy devices to work with the PoE switch. Disabled by default in EOS because it can cause false positive detections. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8214,7 +7255,6 @@ def __init__( limit: Limit | UndefinedType = Undefined, negotiation_lldp: bool | None | UndefinedType = Undefined, legacy_detect: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Poe. @@ -8249,7 +7289,6 @@ def __init__( legacy_detect: Allow a subset of legacy devices to work with the PoE switch. Disabled by default in EOS because it can cause false positive detections. - _custom_data: _custom_data """ @@ -8259,20 +7298,13 @@ class Ptp(AvdModel): class Announce(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}} interval: int | None timeout: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ Announce. @@ -8282,7 +7314,6 @@ def __init__( Args: interval: interval timeout: timeout - _custom_data: _custom_data """ @@ -8292,18 +7323,12 @@ class Profile(AvdModel): class G82751(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"destination_mac_address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination_mac_address": {"type": str}} destination_mac_address: Literal["forwardable", "non-forwardable"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - destination_mac_address: Literal["forwardable", "non-forwardable"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, destination_mac_address: Literal["forwardable", "non-forwardable"] | None | UndefinedType = Undefined) -> None: """ G82751. @@ -8312,18 +7337,16 @@ def __init__( Args: destination_mac_address: destination_mac_address - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"g8275_1": {"type": G82751}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"g8275_1": {"type": G82751}} g8275_1: G82751 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined) -> None: """ Profile. @@ -8332,20 +7355,18 @@ def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined, _custom_data: Args: g8275_1: Subclass of AvdModel. - _custom_data: _custom_data """ class SyncMessage(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}} interval: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined) -> None: """ SyncMessage. @@ -8354,7 +7375,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Args: interval: interval - _custom_data: _custom_data """ @@ -8368,7 +7388,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ "role": {"type": str}, "vlan": {"type": str}, "transport": {"type": str}, - "_custom_data": {"type": dict}, } enable: bool | None announce: Announce @@ -8383,7 +7402,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ vlan: str | None """VLAN can be 'all' or list of vlans as string.""" transport: Literal["ipv4", "ipv6", "layer2"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8399,7 +7417,6 @@ def __init__( role: Literal["master", "dynamic"] | None | UndefinedType = Undefined, vlan: str | None | UndefinedType = Undefined, transport: Literal["ipv4", "ipv6", "layer2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -8417,7 +7434,6 @@ def __init__( role: role vlan: VLAN can be 'all' or list of vlans as string. transport: transport - _custom_data: _custom_data """ @@ -8427,7 +7443,7 @@ class StormControl(AvdModel): class All(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -8436,17 +7452,10 @@ class All(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ All. @@ -8456,14 +7465,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class Broadcast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -8472,17 +7480,10 @@ class Broadcast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Broadcast. @@ -8492,14 +7493,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -8508,17 +7508,10 @@ class Multicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Multicast. @@ -8528,14 +7521,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class UnknownUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -8544,17 +7536,10 @@ class UnknownUnicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ UnknownUnicast. @@ -8564,7 +7549,6 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ @@ -8573,7 +7557,6 @@ def __init__( "broadcast": {"type": Broadcast}, "multicast": {"type": Multicast}, "unknown_unicast": {"type": UnknownUnicast}, - "_custom_data": {"type": dict}, } all: All """Subclass of AvdModel.""" @@ -8583,7 +7566,6 @@ def __init__( """Subclass of AvdModel.""" unknown_unicast: UnknownUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8594,7 +7576,6 @@ def __init__( broadcast: Broadcast | UndefinedType = Undefined, multicast: Multicast | UndefinedType = Undefined, unknown_unicast: UnknownUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StormControl. @@ -8607,7 +7588,6 @@ def __init__( broadcast: Subclass of AvdModel. multicast: Subclass of AvdModel. unknown_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -8622,14 +7602,12 @@ class Event(AvdModel): "congestion_drops": {"type": bool}, "spanning_tree": {"type": bool}, "storm_control_discards": {"type": bool}, - "_custom_data": {"type": dict}, } link_status: bool | None congestion_drops: bool | None spanning_tree: bool | None storm_control_discards: bool | None """Discards due to storm-control.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8640,7 +7618,6 @@ def __init__( congestion_drops: bool | None | UndefinedType = Undefined, spanning_tree: bool | None | UndefinedType = Undefined, storm_control_discards: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Event. @@ -8653,18 +7630,16 @@ def __init__( congestion_drops: congestion_drops spanning_tree: spanning_tree storm_control_discards: Discards due to storm-control. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"event": {"type": Event}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"event": {"type": Event}} event: Event """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, event: Event | UndefinedType = Undefined) -> None: """ Logging. @@ -8673,19 +7648,17 @@ def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: di Args: event: Subclass of AvdModel. - _custom_data: _custom_data """ class Lldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}} transmit: bool | None receive: bool | None ztp_vlan: int | None """ZTP vlan number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8695,7 +7668,6 @@ def __init__( transmit: bool | None | UndefinedType = Undefined, receive: bool | None | UndefinedType = Undefined, ztp_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lldp. @@ -8707,19 +7679,13 @@ def __init__( transmit: transmit receive: receive ztp_vlan: ZTP vlan number. - _custom_data: _custom_data """ class VlanTranslationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "field_from": {"type": str}, - "to": {"type": int}, - "direction": {"type": str, "default": "both"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"field_from": {"type": str}, "to": {"type": int}, "direction": {"type": str, "default": "both"}} _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} field_from: str | None @@ -8728,7 +7694,6 @@ class VlanTranslationsItem(AvdModel): """VLAN ID.""" direction: Literal["in", "out", "both"] """Default value: `"both"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8738,7 +7703,6 @@ def __init__( field_from: str | None | UndefinedType = Undefined, to: int | None | UndefinedType = Undefined, direction: Literal["in", "out", "both"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanTranslationsItem. @@ -8750,7 +7714,6 @@ def __init__( field_from: List of vlans as string (only one vlan if direction is "both"). to: VLAN ID. direction: direction - _custom_data: _custom_data """ @@ -8765,15 +7728,12 @@ class Dot1x(AvdModel): class Pae(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}} mode: Literal["authenticator"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, mode: Literal["authenticator"] | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, mode: Literal["authenticator"] | None | UndefinedType = Undefined) -> None: """ Pae. @@ -8782,26 +7742,20 @@ def __init__( Args: mode: mode - _custom_data: _custom_data """ class AuthenticationFailure(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "allow_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}, "allow_vlan": {"type": int}} action: Literal["allow", "drop"] | None allow_vlan: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - action: Literal["allow", "drop"] | None | UndefinedType = Undefined, - allow_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, action: Literal["allow", "drop"] | None | UndefinedType = Undefined, allow_vlan: int | None | UndefinedType = Undefined ) -> None: """ AuthenticationFailure. @@ -8812,17 +7766,15 @@ def __init__( Args: action: action allow_vlan: allow_vlan - _custom_data: _custom_data """ class HostMode(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "multi_host_authenticated": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "multi_host_authenticated": {"type": bool}} mode: Literal["multi-host", "single-host"] | None multi_host_authenticated: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8831,7 +7783,6 @@ def __init__( *, mode: Literal["multi-host", "single-host"] | None | UndefinedType = Undefined, multi_host_authenticated: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostMode. @@ -8842,23 +7793,16 @@ def __init__( Args: mode: mode multi_host_authenticated: multi_host_authenticated - _custom_data: _custom_data """ class MacBasedAuthentication(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "always": {"type": bool}, - "host_mode_common": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "host_mode_common": {"type": bool}} enabled: bool | None always: bool | None host_mode_common: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8868,7 +7812,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, host_mode_common: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MacBasedAuthentication. @@ -8880,7 +7823,6 @@ def __init__( enabled: enabled always: always host_mode_common: host_mode_common - _custom_data: _custom_data """ @@ -8893,7 +7835,6 @@ class Timeout(AvdModel): "reauth_period": {"type": str}, "reauth_timeout_ignore": {"type": bool}, "tx_period": {"type": int}, - "_custom_data": {"type": dict}, } idle_host: int | None quiet_period: int | None @@ -8901,7 +7842,6 @@ class Timeout(AvdModel): """Value can be 60-4294967295 or 'server'.""" reauth_timeout_ignore: bool | None tx_period: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8913,7 +7853,6 @@ def __init__( reauth_period: str | None | UndefinedType = Undefined, reauth_timeout_ignore: bool | None | UndefinedType = Undefined, tx_period: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Timeout. @@ -8927,21 +7866,15 @@ def __init__( reauth_period: Value can be 60-4294967295 or 'server'. reauth_timeout_ignore: reauth_timeout_ignore tx_period: tx_period - _custom_data: _custom_data """ class Unauthorized(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "access_vlan_membership_egress": {"type": bool}, - "native_vlan_membership_egress": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_vlan_membership_egress": {"type": bool}, "native_vlan_membership_egress": {"type": bool}} access_vlan_membership_egress: bool | None native_vlan_membership_egress: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8950,7 +7883,6 @@ def __init__( *, access_vlan_membership_egress: bool | None | UndefinedType = Undefined, native_vlan_membership_egress: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Unauthorized. @@ -8961,7 +7893,6 @@ def __init__( Args: access_vlan_membership_egress: access_vlan_membership_egress native_vlan_membership_egress: native_vlan_membership_egress - _custom_data: _custom_data """ @@ -8971,20 +7902,13 @@ class Eapol(AvdModel): class AuthenticationFailureFallbackMba(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}} enabled: bool | None timeout: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ AuthenticationFailureFallbackMba. @@ -8994,19 +7918,13 @@ def __init__( Args: enabled: enabled timeout: timeout - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "disabled": {"type": bool}, - "authentication_failure_fallback_mba": {"type": AuthenticationFailureFallbackMba}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "authentication_failure_fallback_mba": {"type": AuthenticationFailureFallbackMba}} disabled: bool | None authentication_failure_fallback_mba: AuthenticationFailureFallbackMba """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9015,7 +7933,6 @@ def __init__( *, disabled: bool | None | UndefinedType = Undefined, authentication_failure_fallback_mba: AuthenticationFailureFallbackMba | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Eapol. @@ -9026,7 +7943,6 @@ def __init__( Args: disabled: disabled authentication_failure_fallback_mba: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -9042,7 +7958,7 @@ class Action(AvdModel): class CachedResultsTimeout(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}} time_duration: int | None """ Enable caching for a specific duration - @@ -9053,7 +7969,6 @@ class CachedResultsTimeout(AvdModel): <1-864000000> duration in seconds """ time_duration_unit: Literal["days", "hours", "minutes", "seconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9062,7 +7977,6 @@ def __init__( *, time_duration: int | None | UndefinedType = Undefined, time_duration_unit: Literal["days", "hours", "minutes", "seconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CachedResultsTimeout. @@ -9079,7 +7993,6 @@ def __init__( <1-240000> duration in hours <1-864000000> duration in seconds time_duration_unit: time_duration_unit - _custom_data: _custom_data """ @@ -9090,7 +8003,6 @@ def __init__( "apply_alternate": {"type": bool}, "traffic_allow": {"type": bool}, "traffic_allow_vlan": {"type": int}, - "_custom_data": {"type": dict}, } traffic_allow_access_list: str | None """Name of standard access-list to apply when AAA times out.""" @@ -9107,7 +8019,6 @@ def __init__( traffic_allow: bool | None """Set action for supplicant traffic when AAA times out.""" traffic_allow_vlan: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9120,7 +8031,6 @@ def __init__( apply_alternate: bool | None | UndefinedType = Undefined, traffic_allow: bool | None | UndefinedType = Undefined, traffic_allow_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Action. @@ -9138,7 +8048,6 @@ def __init__( else traffic allow traffic_allow: Set action for supplicant traffic when AAA times out. traffic_allow_vlan: traffic_allow_vlan - _custom_data: _custom_data """ @@ -9148,7 +8057,7 @@ class PhoneAction(AvdModel): class CachedResultsTimeout(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"time_duration": {"type": int}, "time_duration_unit": {"type": str}} time_duration: int | None """ Enable caching for a specific duration - @@ -9159,7 +8068,6 @@ class CachedResultsTimeout(AvdModel): <1-864000000> duration in seconds """ time_duration_unit: Literal["days", "hours", "minutes", "seconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9168,7 +8076,6 @@ def __init__( *, time_duration: int | None | UndefinedType = Undefined, time_duration_unit: Literal["days", "hours", "minutes", "seconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CachedResultsTimeout. @@ -9185,7 +8092,6 @@ def __init__( <1-240000> duration in hours <1-864000000> duration in seconds time_duration_unit: time_duration_unit - _custom_data: _custom_data """ @@ -9194,7 +8100,6 @@ def __init__( "cached_results_timeout": {"type": CachedResultsTimeout}, "apply_alternate": {"type": bool}, "traffic_allow": {"type": bool}, - "_custom_data": {"type": dict}, } apply_cached_results: bool | None """Use results from a previous AAA response.""" @@ -9208,7 +8113,6 @@ def __init__( """ traffic_allow: bool | None """Set action for supplicant traffic when AAA times out.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9219,7 +8123,6 @@ def __init__( cached_results_timeout: CachedResultsTimeout | UndefinedType = Undefined, apply_alternate: bool | None | UndefinedType = Undefined, traffic_allow: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PhoneAction. @@ -9235,16 +8138,10 @@ def __init__( eg. aaa unresponsive phone action apply cached- results else traffic allow traffic_allow: Set action for supplicant traffic when AAA times out. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "eap_response": {"type": str}, - "action": {"type": Action}, - "phone_action": {"type": PhoneAction}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"eap_response": {"type": str}, "action": {"type": Action}, "phone_action": {"type": PhoneAction}} eap_response: Literal["success", "disabled"] | None """EAP response to send. EOS default is `success`.""" action: Action @@ -9259,7 +8156,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9269,7 +8165,6 @@ def __init__( eap_response: Literal["success", "disabled"] | None | UndefinedType = Undefined, action: Action | UndefinedType = Undefined, phone_action: PhoneAction | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Unresponsive. @@ -9287,24 +8182,20 @@ def __init__( Set action for supplicant when AAA times out. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"unresponsive": {"type": Unresponsive}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"unresponsive": {"type": Unresponsive}} unresponsive: Unresponsive """ Configure AAA timeout options. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, unresponsive: Unresponsive | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, unresponsive: Unresponsive | UndefinedType = Undefined) -> None: """ Aaa. @@ -9316,7 +8207,6 @@ def __init__( Configure AAA timeout options. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -9334,7 +8224,6 @@ def __init__( "unauthorized": {"type": Unauthorized}, "eapol": {"type": Eapol}, "aaa": {"type": Aaa}, - "_custom_data": {"type": dict}, } port_control: Literal["auto", "force-authorized", "force-unauthorized"] | None port_control_force_authorized_phone: bool | None @@ -9358,7 +8247,6 @@ def __init__( """Subclass of AvdModel.""" aaa: Aaa """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9378,7 +8266,6 @@ def __init__( unauthorized: Unauthorized | UndefinedType = Undefined, eapol: Eapol | UndefinedType = Undefined, aaa: Aaa | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1x. @@ -9400,14 +8287,13 @@ def __init__( unauthorized: Subclass of AvdModel. eapol: Subclass of AvdModel. aaa: Subclass of AvdModel. - _custom_data: _custom_data """ class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Rate in kbps, pps or percent. @@ -9418,11 +8304,10 @@ class Shape(AvdModel): "1000 pps" - "20 percent" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -9438,20 +8323,18 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data - "1000 pps" - "20 percent" - _custom_data: _custom_data """ class Qos(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}} trust: Literal["dscp", "cos", "disabled"] | None dscp: int | None """DSCP value.""" cos: int | None """COS value.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9461,7 +8344,6 @@ def __init__( trust: Literal["dscp", "cos", "disabled"] | None | UndefinedType = Undefined, dscp: int | None | UndefinedType = Undefined, cos: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Qos. @@ -9473,7 +8355,6 @@ def __init__( trust: trust dscp: DSCP value. cos: COS value. - _custom_data: _custom_data """ @@ -9483,20 +8364,13 @@ class PriorityFlowControl(AvdModel): class PrioritiesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"priority": {"type": int}, "no_drop": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"priority": {"type": int}, "no_drop": {"type": bool}} priority: int no_drop: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - priority: int | UndefinedType = Undefined, - no_drop: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, priority: int | UndefinedType = Undefined, no_drop: bool | None | UndefinedType = Undefined) -> None: """ PrioritiesItem. @@ -9506,7 +8380,6 @@ def __init__( Args: priority: priority no_drop: no_drop - _custom_data: _custom_data """ @@ -9517,21 +8390,14 @@ class Priorities(AvdIndexedList[int, PrioritiesItem]): Priorities._item_type = PrioritiesItem - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "priorities": {"type": Priorities}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "priorities": {"type": Priorities}} enabled: bool | None priorities: Priorities """Subclass of AvdIndexedList with `PrioritiesItem` items. Primary key is `priority` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - priorities: Priorities | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, priorities: Priorities | UndefinedType = Undefined) -> None: """ PriorityFlowControl. @@ -9541,27 +8407,19 @@ def __init__( Args: enabled: enabled priorities: Subclass of AvdIndexedList with `PrioritiesItem` items. Primary key is `priority` (`int`). - _custom_data: _custom_data """ class Bfd(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "echo": {"type": bool}, - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"echo": {"type": bool}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} echo: bool | None interval: int | None """Interval in milliseconds.""" min_rx: int | None """Rate in milliseconds.""" multiplier: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9572,7 +8430,6 @@ def __init__( interval: int | None | UndefinedType = Undefined, min_rx: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bfd. @@ -9585,7 +8442,6 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ @@ -9595,14 +8451,13 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}} input: str | None """Policy Based Routing Policy-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, input: str | None | UndefinedType = Undefined) -> None: """ Pbr. @@ -9611,21 +8466,19 @@ def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_dat Args: input: Policy Based Routing Policy-map name. - _custom_data: _custom_data """ class Qos(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}} input: str """Quality of Service Policy-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, input: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, input: str | UndefinedType = Undefined) -> None: """ Qos. @@ -9634,26 +8487,18 @@ def __init__(self, *, input: str | UndefinedType = Undefined, _custom_data: dict Args: input: Quality of Service Policy-map name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}} pbr: Pbr """Subclass of AvdModel.""" qos: Qos """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - pbr: Pbr | UndefinedType = Undefined, - qos: Qos | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, pbr: Pbr | UndefinedType = Undefined, qos: Qos | UndefinedType = Undefined) -> None: """ ServicePolicy. @@ -9663,7 +8508,6 @@ def __init__( Args: pbr: Subclass of AvdModel. qos: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -9673,20 +8517,13 @@ class Mpls(AvdModel): class Ldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interface": {"type": bool}, "igp_sync": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": bool}, "igp_sync": {"type": bool}} interface: bool | None igp_sync: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interface: bool | None | UndefinedType = Undefined, - igp_sync: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interface: bool | None | UndefinedType = Undefined, igp_sync: bool | None | UndefinedType = Undefined) -> None: """ Ldp. @@ -9696,25 +8533,17 @@ def __init__( Args: interface: interface igp_sync: igp_sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ip": {"type": bool}, "ldp": {"type": Ldp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip": {"type": bool}, "ldp": {"type": Ldp}} ip: bool | None ldp: Ldp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip: bool | None | UndefinedType = Undefined, - ldp: Ldp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip: bool | None | UndefinedType = Undefined, ldp: Ldp | UndefinedType = Undefined) -> None: """ Mpls. @@ -9724,26 +8553,20 @@ def __init__( Args: ip: ip ldp: Subclass of AvdModel. - _custom_data: _custom_data """ class LacpTimer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}} mode: Literal["fast", "normal"] | None multiplier: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mode: Literal["fast", "normal"] | None | UndefinedType = Undefined, - multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mode: Literal["fast", "normal"] | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined ) -> None: """ LacpTimer. @@ -9754,7 +8577,6 @@ def __init__( Args: mode: mode multiplier: multiplier - _custom_data: _custom_data """ @@ -9764,14 +8586,13 @@ class Transceiver(AvdModel): class Media(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"override": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"override": {"type": str}} override: str | None """Transceiver type.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, override: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, override: str | None | UndefinedType = Undefined) -> None: """ Media. @@ -9780,18 +8601,16 @@ def __init__(self, *, override: str | None | UndefinedType = Undefined, _custom_ Args: override: Transceiver type. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"frequency": {"type": str}, "frequency_unit": {"type": str}, "media": {"type": Media}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"frequency": {"type": str}, "frequency_unit": {"type": str}, "media": {"type": Media}} frequency: str | None """Transceiver Laser Frequency in GHz (min 190000, max 200000).""" frequency_unit: Literal["ghz"] | None """Unit of Transceiver Laser Frequency.""" media: Media """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9801,7 +8620,6 @@ def __init__( frequency: str | None | UndefinedType = Undefined, frequency_unit: Literal["ghz"] | None | UndefinedType = Undefined, media: Media | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Transceiver. @@ -9813,29 +8631,21 @@ def __init__( frequency: Transceiver Laser Frequency in GHz (min 190000, max 200000). frequency_unit: Unit of Transceiver Laser Frequency. media: Subclass of AvdModel. - _custom_data: _custom_data """ class TrafficPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "output": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}, "output": {"type": str}} input: str | None """Ingress traffic policy.""" output: str | None """Egress traffic policy.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - input: str | None | UndefinedType = Undefined, - output: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, input: str | None | UndefinedType = Undefined, output: str | None | UndefinedType = Undefined) -> None: """ TrafficPolicy. @@ -9845,23 +8655,19 @@ def __init__( Args: input: Ingress traffic policy. output: Egress traffic policy. - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"session_tracker": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"session_tracker": {"type": str}} session_tracker: str | None """Name of session tracker.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, session_tracker: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, session_tracker: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -9870,7 +8676,6 @@ def __init__( Args: session_tracker: Name of session tracker. - _custom_data: _custom_data """ @@ -9883,13 +8688,12 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ ExcludeItem. @@ -9898,7 +8702,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -9912,13 +8715,12 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ IncludeItem. @@ -9927,7 +8729,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -9938,7 +8739,7 @@ class Include(AvdIndexedList[str, IncludeItem]): Include._item_type = IncludeItem - _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} group: str """Multicast Address.""" exclude: Exclude @@ -9955,7 +8756,6 @@ class Include(AvdIndexedList[str, IncludeItem]): Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9965,7 +8765,6 @@ def __init__( group: str | UndefinedType = Undefined, exclude: Exclude | UndefinedType = Undefined, include: Include | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -9985,7 +8784,6 @@ def __init__( Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). - _custom_data: _custom_data """ @@ -9999,13 +8797,12 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ AccessListsItem. @@ -10014,7 +8811,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ @@ -10031,7 +8827,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "report_interval": {"type": int}, "access_lists": {"type": AccessLists}, "version": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None groups: Groups @@ -10047,7 +8842,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): """ version: int | None """IGMP version on IGMP host-proxy interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10059,7 +8853,6 @@ def __init__( report_interval: int | None | UndefinedType = Undefined, access_lists: AccessLists | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpIgmpHostProxy. @@ -10077,7 +8870,6 @@ def __init__( Subclass of AvdIndexedList with `AccessListsItem` items. Primary key is `name` (`str`). version: IGMP version on IGMP host-proxy interface. - _custom_data: _custom_data """ @@ -10087,20 +8879,13 @@ class Sflow(AvdModel): class Egress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "unmodified_enable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "unmodified_enable": {"type": bool}} enable: bool | None unmodified_enable: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - unmodified_enable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, unmodified_enable: bool | None | UndefinedType = Undefined) -> None: """ Egress. @@ -10110,25 +8895,17 @@ def __init__( Args: enable: enable unmodified_enable: unmodified_enable - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enable": {"type": bool}, "egress": {"type": Egress}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "egress": {"type": Egress}} enable: bool | None egress: Egress """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - egress: Egress | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, egress: Egress | UndefinedType = Undefined) -> None: """ Sflow. @@ -10138,31 +8915,23 @@ def __init__( Args: enable: enable egress: Subclass of AvdModel. - _custom_data: _custom_data """ class SyncE(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "priority": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "priority": {"type": str}} enable: bool | None priority: str | None """ The priority is used to influence the reference clock selection. The EOS default priority is 127. The priority can be configured to any integer between 1-255, or set to `disabled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - priority: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, priority: str | None | UndefinedType = Undefined) -> None: """ SyncE. @@ -10174,7 +8943,6 @@ def __init__( priority: The priority is used to influence the reference clock selection. The EOS default priority is 127. The priority can be configured to any integer between 1-255, or set to `disabled`. - _custom_data: _custom_data """ @@ -10196,7 +8964,6 @@ class Threshold(AvdModel): "max": {"type": int}, "max_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "milliseconds"] """Indicate the units to be used for the threshold values.""" @@ -10208,7 +8975,6 @@ class Threshold(AvdModel): """Set the random-detect ECN max-mark-probability.""" weight: int | None """Set the random-detect ECN weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10220,7 +8986,6 @@ def __init__( max: int | UndefinedType = Undefined, max_probability: int | None | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -10234,26 +8999,18 @@ def __init__( max: Set the random-detect ECN maximum-threshold. max_probability: Set the random-detect ECN max-mark-probability. weight: Set the random-detect ECN weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}} count: bool | None """Enable counter for random-detect ECNs.""" threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: bool | None | UndefinedType = Undefined, - threshold: Threshold | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: bool | None | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined) -> None: """ Ecn. @@ -10263,22 +9020,20 @@ def __init__( Args: count: Enable counter for random-detect ECNs. threshold: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ecn": {"type": Ecn}} ecn: Ecn """ Explicit Congestion Notification. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ecn: Ecn | UndefinedType = Undefined) -> None: """ RandomDetect. @@ -10290,26 +9045,18 @@ def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[s Explicit Congestion Notification. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"id": {"type": int}, "random_detect": {"type": RandomDetect}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "random_detect": {"type": RandomDetect}} id: int """TX-Queue ID.""" random_detect: RandomDetect """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: int | UndefinedType = Undefined, - random_detect: RandomDetect | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: int | UndefinedType = Undefined, random_detect: RandomDetect | UndefinedType = Undefined) -> None: """ UcTxQueuesItem. @@ -10319,7 +9066,6 @@ def __init__( Args: id: TX-Queue ID. random_detect: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -10348,7 +9094,6 @@ class Threshold(AvdModel): "max": {"type": int}, "max_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "milliseconds"] """Indicate the units to be used for the threshold values.""" @@ -10360,7 +9105,6 @@ class Threshold(AvdModel): """Set the random-detect ECN max-mark-probability.""" weight: int | None """Set the random-detect ECN weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10372,7 +9116,6 @@ def __init__( max: int | UndefinedType = Undefined, max_probability: int | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -10386,26 +9129,18 @@ def __init__( max: Set the random-detect ECN maximum-threshold. max_probability: Set the random-detect ECN max-mark-probability. weight: Set the random-detect ECN weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}} count: bool | None """Enable counter for random-detect ECNs.""" threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: bool | None | UndefinedType = Undefined, - threshold: Threshold | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: bool | None | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined) -> None: """ Ecn. @@ -10415,22 +9150,20 @@ def __init__( Args: count: Enable counter for random-detect ECNs. threshold: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ecn": {"type": Ecn}} ecn: Ecn """ Explicit Congestion Notification. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ecn: Ecn | UndefinedType = Undefined) -> None: """ RandomDetect. @@ -10442,26 +9175,18 @@ def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[s Explicit Congestion Notification. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"id": {"type": int}, "random_detect": {"type": RandomDetect}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "random_detect": {"type": RandomDetect}} id: int """TX-Queue ID.""" random_detect: RandomDetect """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: int | UndefinedType = Undefined, - random_detect: RandomDetect | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: int | UndefinedType = Undefined, random_detect: RandomDetect | UndefinedType = Undefined) -> None: """ TxQueuesItem. @@ -10471,7 +9196,6 @@ def __init__( Args: id: TX-Queue ID. random_detect: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -10488,14 +9212,13 @@ class VrrpIdsItem(AvdModel): class Advertisement(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}} interval: int | None """Interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined) -> None: """ Advertisement. @@ -10504,7 +9227,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Args: interval: Interval in seconds. - _custom_data: _custom_data """ @@ -10514,22 +9236,15 @@ class Preempt(AvdModel): class Delay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"minimum": {"type": int}, "reload": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"minimum": {"type": int}, "reload": {"type": int}} minimum: int | None """Minimum preempt delay in seconds.""" reload: int | None """Reload preempt delay in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - minimum: int | None | UndefinedType = Undefined, - reload: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, minimum: int | None | UndefinedType = Undefined, reload: int | None | UndefinedType = Undefined) -> None: """ Delay. @@ -10539,25 +9254,17 @@ def __init__( Args: minimum: Minimum preempt delay in seconds. reload: Reload preempt delay in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "delay": {"type": Delay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "delay": {"type": Delay}} enabled: bool delay: Delay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - delay: Delay | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, delay: Delay | UndefinedType = Undefined) -> None: """ Preempt. @@ -10567,7 +9274,6 @@ def __init__( Args: enabled: enabled delay: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -10577,14 +9283,13 @@ class Timers(AvdModel): class Delay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"reload": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"reload": {"type": int}} reload: int | None """Delay after reload in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, reload: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, reload: int | None | UndefinedType = Undefined) -> None: """ Delay. @@ -10593,18 +9298,16 @@ def __init__(self, *, reload: int | None | UndefinedType = Undefined, _custom_da Args: reload: Delay after reload in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"delay": {"type": Delay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"delay": {"type": Delay}} delay: Delay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, delay: Delay | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, delay: Delay | UndefinedType = Undefined) -> None: """ Timers. @@ -10613,20 +9316,18 @@ def __init__(self, *, delay: Delay | UndefinedType = Undefined, _custom_data: di Args: delay: Subclass of AvdModel. - _custom_data: _custom_data """ class TrackedObjectItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}} name: str """Tracked object name.""" decrement: int | None """Decrement VRRP priority by 1-254.""" shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10636,7 +9337,6 @@ def __init__( name: str | UndefinedType = Undefined, decrement: int | None | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrackedObjectItem. @@ -10648,7 +9348,6 @@ def __init__( name: Tracked object name. decrement: Decrement VRRP priority by 1-254. shutdown: shutdown - _custom_data: _custom_data """ @@ -10662,21 +9361,14 @@ class TrackedObject(AvdIndexedList[str, TrackedObjectItem]): class Ipv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}, "version": {"type": int}} address: str """Virtual IPv4 address.""" version: Literal[2, 3] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address: str | UndefinedType = Undefined, - version: Literal[2, 3] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined, version: Literal[2, 3] | None | UndefinedType = Undefined) -> None: """ Ipv4. @@ -10686,21 +9378,19 @@ def __init__( Args: address: Virtual IPv4 address. version: version - _custom_data: _custom_data """ class Ipv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}} address: str """Virtual IPv6 address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined) -> None: """ Ipv6. @@ -10709,7 +9399,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di Args: address: Virtual IPv6 address. - _custom_data: _custom_data """ @@ -10722,7 +9411,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di "tracked_object": {"type": TrackedObject}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, - "_custom_data": {"type": dict}, } id: int """VRID.""" @@ -10740,7 +9428,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10755,7 +9442,6 @@ def __init__( tracked_object: TrackedObject | UndefinedType = Undefined, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrrpIdsItem. @@ -10772,7 +9458,6 @@ def __init__( tracked_object: Subclass of AvdIndexedList with `TrackedObjectItem` items. Primary key is `name` (`str`). ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -10800,7 +9485,6 @@ class Groups(AvdList[str]): "native_vlan_tag": {"type": bool}, "private_vlan_secondary": {"type": bool}, "groups": {"type": Groups}, - "_custom_data": {"type": dict}, } allowed_vlan: str | None """ @@ -10834,7 +9518,6 @@ class Groups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10846,7 +9529,6 @@ def __init__( native_vlan_tag: bool | None | UndefinedType = Undefined, private_vlan_secondary: bool | None | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Trunk. @@ -10877,19 +9559,17 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Phone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "trunk": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "trunk": {"type": str}} vlan: int | None """Warning: This should not be combined with `ethernet_interfaces[].phone.vlan`.""" trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None """Warning: This should not be combined with `ethernet_interfaces[].phone.trunk`.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10898,7 +9578,6 @@ def __init__( *, vlan: int | None | UndefinedType = Undefined, trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Phone. @@ -10909,19 +9588,17 @@ def __init__( Args: vlan: Warning: This should not be combined with `ethernet_interfaces[].phone.vlan`. trunk: Warning: This should not be combined with `ethernet_interfaces[].phone.trunk`. - _custom_data: _custom_data """ class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ethertype": {"type": int}, "vlan_tag": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ethertype": {"type": int}, "vlan_tag": {"type": str}} ethertype: int | None """Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames.""" vlan_tag: Literal["disallowed", "required"] | None """Allow/disallow VLAN tagged frames.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10930,7 +9607,6 @@ def __init__( *, ethertype: int | None | UndefinedType = Undefined, vlan_tag: Literal["disallowed", "required"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -10941,7 +9617,6 @@ def __init__( Args: ethertype: Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames. vlan_tag: Allow/disallow VLAN tagged frames. - _custom_data: _custom_data """ @@ -10956,7 +9631,6 @@ class DirectionInItem(AvdModel): "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -10967,7 +9641,6 @@ class DirectionInItem(AvdModel): dot1q_tunnel: bool | None inner_vlan_from: int | None """Inner VLAN ID to map from.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10978,7 +9651,6 @@ def __init__( to: int | UndefinedType = Undefined, dot1q_tunnel: bool | None | UndefinedType = Undefined, inner_vlan_from: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionInItem. @@ -10991,7 +9663,6 @@ def __init__( to: VLAN ID to map to. dot1q_tunnel: dot1q_tunnel inner_vlan_from: Inner VLAN ID to map from. - _custom_data: _custom_data """ @@ -11008,7 +9679,6 @@ class DirectionOutItem(AvdModel): "to": {"type": int}, "dot1q_tunnel_to": {"type": str}, "inner_vlan_to": {"type": int}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -11024,7 +9694,6 @@ class DirectionOutItem(AvdModel): """ inner_vlan_to: int | None """Inner VLAN ID to map to.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11035,7 +9704,6 @@ def __init__( to: int | None | UndefinedType = Undefined, dot1q_tunnel_to: str | None | UndefinedType = Undefined, inner_vlan_to: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOutItem. @@ -11051,7 +9719,6 @@ def __init__( This takes precedence over `to` and `inner_vlan_to`. inner_vlan_to: Inner VLAN ID to map to. - _custom_data: _custom_data """ @@ -11069,7 +9736,6 @@ class DirectionBothItem(AvdModel): "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, "network": {"type": bool}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -11086,7 +9752,6 @@ class DirectionBothItem(AvdModel): This setting can only be enabled when `inner_vlan_from` is defined. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11098,7 +9763,6 @@ def __init__( dot1q_tunnel: bool | None | UndefinedType = Undefined, inner_vlan_from: int | None | UndefinedType = Undefined, network: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionBothItem. @@ -11115,7 +9779,6 @@ def __init__( Enable use of network-side VLAN ID. This setting can only be enabled when `inner_vlan_from` is defined. - _custom_data: _custom_data """ @@ -11130,7 +9793,6 @@ class DirectionBoth(AvdList[DirectionBothItem]): "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "direction_both": {"type": DirectionBoth}, - "_custom_data": {"type": dict}, } in_required: bool | None """Drop the ingress traffic that do not match any VLAN mapping.""" @@ -11154,7 +9816,6 @@ class DirectionBoth(AvdList[DirectionBothItem]): Subclass of AvdList with `DirectionBothItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11166,7 +9827,6 @@ def __init__( direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined, direction_both: DirectionBoth | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanTranslations. @@ -11189,29 +9849,21 @@ def __init__( Map both egress and ingress traffic. Subclass of AvdList with `DirectionBothItem` items. - _custom_data: _custom_data """ class BackupLink(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interface": {"type": str}, "prefer_vlan": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": str}, "prefer_vlan": {"type": str}} interface: str | None """Backup interface. Example - Ethernet4, Vlan10 etc.""" prefer_vlan: str | None """VLANs to carry on the backup interface (1-4094).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interface: str | None | UndefinedType = Undefined, - prefer_vlan: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interface: str | None | UndefinedType = Undefined, prefer_vlan: str | None | UndefinedType = Undefined) -> None: """ BackupLink. @@ -11221,7 +9873,6 @@ def __init__( Args: interface: Backup interface. Example - Ethernet4, Vlan10 etc. prefer_vlan: VLANs to carry on the backup interface (1-4094). - _custom_data: _custom_data """ @@ -11234,7 +9885,6 @@ class Backup(AvdModel): "mac_move_burst": {"type": int}, "mac_move_burst_interval": {"type": int}, "preemption_delay": {"type": int}, - "_custom_data": {"type": dict}, } dest_macaddr: str | None """ @@ -11250,7 +9900,6 @@ class Backup(AvdModel): """MAC move burst interval in milliseconds.""" preemption_delay: int | None """Preemption delay in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11262,7 +9911,6 @@ def __init__( mac_move_burst: int | None | UndefinedType = Undefined, mac_move_burst_interval: int | None | UndefinedType = Undefined, preemption_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Backup. @@ -11279,7 +9927,6 @@ def __init__( mac_move_burst: Size of MAC move bursts. mac_move_burst_interval: MAC move burst interval in milliseconds. preemption_delay: Preemption delay in milliseconds. - _custom_data: _custom_data """ @@ -11289,22 +9936,15 @@ class PortSecurity(AvdModel): class MacAddressMaximum(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"disabled": {"type": bool}, "limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "limit": {"type": int}} disabled: bool | None """Disable port level check for port security (only in violation 'shutdown' mode).""" limit: int | None """MAC address limit.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - disabled: bool | None | UndefinedType = Undefined, - limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, disabled: bool | None | UndefinedType = Undefined, limit: int | None | UndefinedType = Undefined) -> None: """ MacAddressMaximum. @@ -11314,19 +9954,17 @@ def __init__( Args: disabled: Disable port level check for port security (only in violation 'shutdown' mode). limit: MAC address limit. - _custom_data: _custom_data """ class Violation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "protect_log": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "protect_log": {"type": bool}} mode: Literal["shutdown", "protect"] | None """Configure port security mode.""" protect_log: bool | None """Log new addresses seen after limit is reached in protect mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11335,7 +9973,6 @@ def __init__( *, mode: Literal["shutdown", "protect"] | None | UndefinedType = Undefined, protect_log: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Violation. @@ -11346,14 +9983,13 @@ def __init__( Args: mode: Configure port security mode. protect_log: Log new addresses seen after limit is reached in protect mode. - _custom_data: _custom_data """ class VlansItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"range": {"type": str}, "mac_address_maximum": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"range": {"type": str}, "mac_address_maximum": {"type": int}} range: str """ VLAN ID or range(s) of VLAN IDs, <1-4094>. @@ -11363,17 +9999,10 @@ class VlansItem(AvdModel): - 1-10 """ mac_address_maximum: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - range: str | UndefinedType = Undefined, - mac_address_maximum: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, range: str | UndefinedType = Undefined, mac_address_maximum: int | UndefinedType = Undefined) -> None: """ VlansItem. @@ -11388,7 +10017,6 @@ def __init__( - 1,3 - 1-10 mac_address_maximum: mac_address_maximum - _custom_data: _custom_data """ @@ -11405,7 +10033,6 @@ class Vlans(AvdIndexedList[str, VlansItem]): "violation": {"type": Violation}, "vlan_default_mac_address_maximum": {"type": int}, "vlans": {"type": Vlans}, - "_custom_data": {"type": dict}, } enabled: bool | None mac_address_maximum: MacAddressMaximum @@ -11424,7 +10051,6 @@ class Vlans(AvdIndexedList[str, VlansItem]): """Default maximum MAC addresses for all VLANs on this interface.""" vlans: Vlans """Subclass of AvdIndexedList with `VlansItem` items. Primary key is `range` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11436,7 +10062,6 @@ def __init__( violation: Violation | UndefinedType = Undefined, vlan_default_mac_address_maximum: int | None | UndefinedType = Undefined, vlans: Vlans | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortSecurity. @@ -11456,7 +10081,6 @@ def __init__( Subclass of AvdModel. vlan_default_mac_address_maximum: Default maximum MAC addresses for all VLANs on this interface. vlans: Subclass of AvdIndexedList with `VlansItem` items. Primary key is `range` (`str`). - _custom_data: _custom_data """ @@ -11481,12 +10105,7 @@ class NexthopGroups(AvdList[str]): NexthopGroups._item_type = str - _fields: ClassVar[dict] = { - "groups": {"type": Groups}, - "interfaces": {"type": Interfaces}, - "nexthop_groups": {"type": NexthopGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"groups": {"type": Groups}, "interfaces": {"type": Interfaces}, "nexthop_groups": {"type": NexthopGroups}} groups: Groups """ Tap group names for the interface. @@ -11506,7 +10125,6 @@ class NexthopGroups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11516,7 +10134,6 @@ def __init__( groups: Groups | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, nexthop_groups: NexthopGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Default. @@ -11538,29 +10155,21 @@ def __init__( Default nexthop-group names. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Identity(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "inner_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "inner_vlan": {"type": int}} id: int | None """Tap port VLAN ID (1-4094) or DzGRE extended ID (1-65535).""" inner_vlan: int | None """Tap port inner VLAN ID. Only applicable if `id` is a VLAN ID (1-4094).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: int | None | UndefinedType = Undefined, - inner_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined) -> None: """ Identity. @@ -11570,28 +10179,20 @@ def __init__( Args: id: Tap port VLAN ID (1-4094) or DzGRE extended ID (1-65535). inner_vlan: Tap port inner VLAN ID. Only applicable if `id` is a VLAN ID (1-4094). - _custom_data: _custom_data """ class Truncation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Ingress packet truncation size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined) -> None: """ Truncation. @@ -11601,29 +10202,21 @@ def __init__( Args: enabled: enabled size: Ingress packet truncation size in bytes. - _custom_data: _custom_data """ class MacAddress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}} source: str | None """MAC address for the source.""" destination: str | None """MAC address for the destination.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source: str | None | UndefinedType = Undefined, - destination: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source: str | None | UndefinedType = Undefined, destination: str | None | UndefinedType = Undefined) -> None: """ MacAddress. @@ -11633,7 +10226,6 @@ def __init__( Args: source: MAC address for the source. destination: MAC address for the destination. - _custom_data: _custom_data """ @@ -11651,7 +10243,6 @@ class ProtocolsItem(AvdModel): "strip": {"type": bool}, "feature_header_length": {"type": int}, "re_encapsulation_ethernet_header": {"type": bool}, - "_custom_data": {"type": dict}, } protocol: str """ @@ -11673,7 +10264,6 @@ class ProtocolsItem(AvdModel): Note: This setting does not appear in the EOS running-config for protocol 0x0. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11684,7 +10274,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, feature_header_length: int | None | UndefinedType = Undefined, re_encapsulation_ethernet_header: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -11706,7 +10295,6 @@ def __init__( Extra ethernet header to prepend to the terminated packet. Note: This setting does not appear in the EOS running-config for protocol 0x0. - _custom_data: _custom_data """ @@ -11728,7 +10316,6 @@ class ProtocolsItem(AvdModel): "strip": {"type": bool}, "feature_header_length": {"type": int}, "re_encapsulation_ethernet_header": {"type": bool}, - "_custom_data": {"type": dict}, } protocol: str """ @@ -11750,7 +10337,6 @@ class ProtocolsItem(AvdModel): Note: This setting does not appear in the EOS running-config for protocol 0x0. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11761,7 +10347,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, feature_header_length: int | None | UndefinedType = Undefined, re_encapsulation_ethernet_header: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -11783,7 +10368,6 @@ def __init__( Extra ethernet header to prepend to the terminated packet. Note: This setting does not appear in the EOS running-config for protocol 0x0. - _custom_data: _custom_data """ @@ -11799,7 +10383,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): "source": {"type": str}, "strip": {"type": bool}, "protocols": {"type": Protocols}, - "_custom_data": {"type": dict}, } destination: str """Destination IP address of tunnel packets.""" @@ -11812,7 +10395,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): """Strip GRE encapsulation header for specific destination.""" protocols: Protocols """Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11823,7 +10405,6 @@ def __init__( source: str | None | UndefinedType = Undefined, strip: bool | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DestinationsItem. @@ -11838,7 +10419,6 @@ def __init__( GRE packet that matches the `destination` is terminated. strip: Strip GRE encapsulation header for specific destination. protocols: Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`). - _custom_data: _custom_data """ @@ -11849,12 +10429,7 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): Destinations._item_type = DestinationsItem - _fields: ClassVar[dict] = { - "strip": {"type": bool}, - "protocols": {"type": Protocols}, - "destinations": {"type": Destinations}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"strip": {"type": bool}, "protocols": {"type": Protocols}, "destinations": {"type": Destinations}} strip: bool | None """Strip GRE encapsulation header for all GRE tunnels.""" protocols: Protocols @@ -11873,7 +10448,6 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): Subclass of AvdIndexedList with `DestinationsItem` items. Primary key is `destination` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11883,7 +10457,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, destinations: Destinations | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Gre. @@ -11905,11 +10478,10 @@ def __init__( Subclass of AvdIndexedList with `DestinationsItem` items. Primary key is `destination` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"vxlan_strip": {"type": bool}, "gre": {"type": Gre}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vxlan_strip": {"type": bool}, "gre": {"type": Gre}} vxlan_strip: bool | None """ Strip VXLAN encapsulation header. @@ -11919,17 +10491,10 @@ def __init__( """ gre: Gre """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vxlan_strip: bool | None | UndefinedType = Undefined, - gre: Gre | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vxlan_strip: bool | None | UndefinedType = Undefined, gre: Gre | UndefinedType = Undefined) -> None: """ Encapsulation. @@ -11943,7 +10508,6 @@ def __init__( exclusive. `mpls_pop_all` takes precedence. gre: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11956,7 +10520,6 @@ def __init__( "truncation": {"type": Truncation}, "mac_address": {"type": MacAddress}, "encapsulation": {"type": Encapsulation}, - "_custom_data": {"type": dict}, } allowed_vlan: str | None """VLAN ID or range(s) of VLAN IDs within range 1-4094.""" @@ -11978,7 +10541,6 @@ def __init__( """Subclass of AvdModel.""" encapsulation: Encapsulation """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11993,7 +10555,6 @@ def __init__( truncation: Truncation | UndefinedType = Undefined, mac_address: MacAddress | UndefinedType = Undefined, encapsulation: Encapsulation | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tap. @@ -12013,7 +10574,6 @@ def __init__( truncation: Subclass of AvdModel. mac_address: Subclass of AvdModel. encapsulation: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12023,21 +10583,16 @@ class Tool(AvdModel): class Encapsulation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"dot1br_strip": {"type": bool}, "vn_tag_strip": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dot1br_strip": {"type": bool}, "vn_tag_strip": {"type": bool}} dot1br_strip: bool | None """Remove a 802.1 BR tag in packet header. 'mpls_pop_all' takes precedence over 'dot1br_strip' in EOS.""" vn_tag_strip: bool | None """Remove a VN-tag in packet header. 'mpls_pop_all' takes precedence over 'vn_tag_strip' in EOS.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - dot1br_strip: bool | None | UndefinedType = Undefined, - vn_tag_strip: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, dot1br_strip: bool | None | UndefinedType = Undefined, vn_tag_strip: bool | None | UndefinedType = Undefined ) -> None: """ Encapsulation. @@ -12048,23 +10603,16 @@ def __init__( Args: dot1br_strip: Remove a 802.1 BR tag in packet header. 'mpls_pop_all' takes precedence over 'dot1br_strip' in EOS. vn_tag_strip: Remove a VN-tag in packet header. 'mpls_pop_all' takes precedence over 'vn_tag_strip' in EOS. - _custom_data: _custom_data """ class Identity(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "tag": {"type": str}, - "dot1q_dzgre_source": {"type": str}, - "qinq_dzgre_source": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"tag": {"type": str}, "dot1q_dzgre_source": {"type": str}, "qinq_dzgre_source": {"type": str}} tag: Literal["dot1q", "qinq"] | None dot1q_dzgre_source: Literal["policy", "port"] | None qinq_dzgre_source: Literal["policy inner port", "port inner policy"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12074,7 +10622,6 @@ def __init__( tag: Literal["dot1q", "qinq"] | None | UndefinedType = Undefined, dot1q_dzgre_source: Literal["policy", "port"] | None | UndefinedType = Undefined, qinq_dzgre_source: Literal["policy inner port", "port inner policy"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Identity. @@ -12086,7 +10633,6 @@ def __init__( tag: tag dot1q_dzgre_source: dot1q_dzgre_source qinq_dzgre_source: qinq_dzgre_source - _custom_data: _custom_data """ @@ -12102,7 +10648,6 @@ class Groups(AvdList[str]): "identity": {"type": Identity}, "groups": {"type": Groups}, "dot1q_remove_outer_vlan_tag": {"type": str}, - "_custom_data": {"type": dict}, } mpls_pop_all: bool | None """Pop all MPLS labels.""" @@ -12123,7 +10668,6 @@ class Groups(AvdList[str]): Indices of vlan tags to be removed. Range: 1-2 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12136,7 +10680,6 @@ def __init__( identity: Identity | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, dot1q_remove_outer_vlan_tag: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tool. @@ -12156,7 +10699,6 @@ def __init__( dot1q_remove_outer_vlan_tag: Indices of vlan tags to be removed. Range: 1-2 - _custom_data: _custom_data """ @@ -12176,7 +10718,6 @@ def __init__( "port_security": {"type": PortSecurity}, "tap": {"type": Tap}, "tool": {"type": Tool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Warning: This should not be combined with `ethernet_interfaces[].type = routed`.""" @@ -12247,7 +10788,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12269,7 +10809,6 @@ def __init__( port_security: PortSecurity | UndefinedType = Undefined, tap: Tap | UndefinedType = Undefined, tool: Tool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Switchport. @@ -12325,7 +10864,6 @@ def __init__( This setting applies only to parent interfaces. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12340,19 +10878,14 @@ class AdministrativeGroups(AvdList[str]): class Bandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int unit: Literal["gbps", "mbps", "percent"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["gbps", "mbps", "percent"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["gbps", "mbps", "percent"] | UndefinedType = Undefined ) -> None: """ Bandwidth. @@ -12363,30 +10896,24 @@ def __init__( Args: number: number unit: unit - _custom_data: _custom_data """ class MinDelayStatic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int """ Valid values are 1-16777215 microseconds. This is regardless of whether the specified unit is milliseconds or microseconds. """ unit: Literal["microseconds", "milliseconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined ) -> None: """ MinDelayStatic. @@ -12399,7 +10926,6 @@ def __init__( Valid values are 1-16777215 microseconds. This is regardless of whether the specified unit is milliseconds or microseconds. unit: unit - _custom_data: _custom_data """ @@ -12409,7 +10935,7 @@ class MinDelayDynamic(AvdModel): class TwampLightFallback(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int """ Valid values are 1-16777215 microseconds. @@ -12417,16 +10943,11 @@ class TwampLightFallback(AvdModel): milliseconds or microseconds. """ unit: Literal["microseconds", "milliseconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined ) -> None: """ TwampLightFallback. @@ -12440,20 +10961,16 @@ def __init__( This is regardless of whether the specified unit is milliseconds or microseconds. unit: unit - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"twamp_light_fallback": {"type": TwampLightFallback}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"twamp_light_fallback": {"type": TwampLightFallback}} twamp_light_fallback: TwampLightFallback """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, twamp_light_fallback: TwampLightFallback | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, twamp_light_fallback: TwampLightFallback | UndefinedType = Undefined) -> None: """ MinDelayDynamic. @@ -12462,7 +10979,6 @@ def __init__( Args: twamp_light_fallback: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12474,7 +10990,6 @@ def __init__( "bandwidth": {"type": Bandwidth}, "min_delay_static": {"type": MinDelayStatic}, "min_delay_dynamic": {"type": MinDelayDynamic}, - "_custom_data": {"type": dict}, } enabled: bool | None """Whether to enable traffic-engineering on this interface.""" @@ -12504,7 +11019,6 @@ def __init__( Mutually exclusive with min_delay_static, if both are defined min_delay_static takes precedence. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12518,7 +11032,6 @@ def __init__( bandwidth: Bandwidth | UndefinedType = Undefined, min_delay_static: MinDelayStatic | UndefinedType = Undefined, min_delay_dynamic: MinDelayDynamic | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrafficEngineering. @@ -12545,7 +11058,6 @@ def __init__( min_delay_dynamic: Mutually exclusive with min_delay_static, if both are defined min_delay_static takes precedence. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12666,7 +11178,6 @@ def __init__( "switchport": {"type": Switchport}, "traffic_engineering": {"type": TrafficEngineering}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str comment: str | None @@ -12936,7 +11447,6 @@ def __init__( """Subclass of AvdModel.""" eos_cli: str | None """Multiline EOS CLI rendered directly on the ethernet interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13059,7 +11569,6 @@ def __init__( switchport: Switchport | UndefinedType = Undefined, traffic_engineering: TrafficEngineering | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EthernetInterfacesItem. @@ -13235,7 +11744,6 @@ def __init__( AvdModel. traffic_engineering: Subclass of AvdModel. eos_cli: Multiline EOS CLI rendered directly on the ethernet interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -13252,19 +11760,13 @@ class EventHandlersItem(AvdModel): class Actions(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "bash_command": {"type": str}, - "log": {"type": bool}, - "increment_device_health_metric": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"bash_command": {"type": str}, "log": {"type": bool}, "increment_device_health_metric": {"type": str}} bash_command: str | None """Define BASH command action. Command could be multiline also.""" log: bool | None """Log a message when the event is triggered.""" increment_device_health_metric: str | None """Name of device-health metric.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13274,7 +11776,6 @@ def __init__( bash_command: str | None | UndefinedType = Undefined, log: bool | None | UndefinedType = Undefined, increment_device_health_metric: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Actions. @@ -13286,19 +11787,13 @@ def __init__( bash_command: Define BASH command action. Command could be multiline also. log: Log a message when the event is triggered. increment_device_health_metric: Name of device-health metric. - _custom_data: _custom_data """ class TriggerOnCounters(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "condition": {"type": str}, - "granularity_per_source": {"type": bool}, - "poll_interval": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"condition": {"type": str}, "granularity_per_source": {"type": bool}, "poll_interval": {"type": int}} condition: str | None """Set the logical expression to evaluate.""" granularity_per_source: bool | None @@ -13312,7 +11807,6 @@ class TriggerOnCounters(AvdModel): """ poll_interval: int | None """Set the polling interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13322,7 +11816,6 @@ def __init__( condition: str | None | UndefinedType = Undefined, granularity_per_source: bool | None | UndefinedType = Undefined, poll_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TriggerOnCounters. @@ -13340,29 +11833,21 @@ def __init__( [* wildcard is used here] poll_interval: Set the polling interval in seconds. - _custom_data: _custom_data """ class TriggerOnLogging(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"poll_interval": {"type": int}, "regex": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"poll_interval": {"type": int}, "regex": {"type": str}} poll_interval: int | None """Set the polling interval in seconds.""" regex: str | None """Regular expression to use for searching log messages.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - poll_interval: int | None | UndefinedType = Undefined, - regex: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, poll_interval: int | None | UndefinedType = Undefined, regex: str | None | UndefinedType = Undefined) -> None: """ TriggerOnLogging. @@ -13372,20 +11857,13 @@ def __init__( Args: poll_interval: Set the polling interval in seconds. regex: Regular expression to use for searching log messages. - _custom_data: _custom_data """ class TriggerOnIntf(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interface": {"type": str}, - "ip": {"type": bool}, - "ipv6": {"type": bool}, - "operstatus": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interface": {"type": str}, "ip": {"type": bool}, "ipv6": {"type": bool}, "operstatus": {"type": bool}} interface: str """ Interface name. @@ -13399,7 +11877,6 @@ class TriggerOnIntf(AvdModel): """Action is triggered upon changes to interface ipv6 address assignment.""" operstatus: bool | None """Action is triggered upon changes to interface operStatus.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13410,7 +11887,6 @@ def __init__( ip: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined, operstatus: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TriggerOnIntf. @@ -13427,7 +11903,6 @@ def __init__( ip: Action is triggered upon changes to interface IP address assignment. ipv6: Action is triggered upon changes to interface ipv6 address assignment. operstatus: Action is triggered upon changes to interface operStatus. - _custom_data: _custom_data """ @@ -13442,7 +11917,6 @@ class TriggerOnMaintenance(AvdModel): "vrf": {"type": str}, "interface": {"type": str}, "unit": {"type": str}, - "_custom_data": {"type": dict}, } operation: Literal["enter", "exit"] bgp_peer: str | None @@ -13461,7 +11935,6 @@ class TriggerOnMaintenance(AvdModel): """Trigger condition occurs on maintenance operation of specified interface.""" unit: str | None """Name of unit. Trigger condition occurs on maintenance operation of specified unit""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13475,7 +11948,6 @@ def __init__( vrf: str | None | UndefinedType = Undefined, interface: str | None | UndefinedType = Undefined, unit: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TriggerOnMaintenance. @@ -13494,7 +11966,6 @@ def __init__( vrf: VRF name. VRF can be defined for "bgp_peer" only. interface: Trigger condition occurs on maintenance operation of specified interface. unit: Name of unit. Trigger condition occurs on maintenance operation of specified unit - _custom_data: _custom_data """ @@ -13508,7 +11979,6 @@ def __init__( "trigger_on_intf": {"type": TriggerOnIntf}, "trigger_on_maintenance": {"type": TriggerOnMaintenance}, "asynchronous": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } name: str """Event Handler Name.""" @@ -13545,7 +12015,6 @@ def __init__( Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13563,7 +12032,6 @@ def __init__( trigger_on_intf: TriggerOnIntf | UndefinedType = Undefined, trigger_on_maintenance: TriggerOnMaintenance | UndefinedType = Undefined, asynchronous: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EventHandlersItem. @@ -13591,7 +12059,6 @@ def __init__( Subclass of AvdModel. asynchronous: Set the action to be non-blocking. - _custom_data: _custom_data """ @@ -13605,13 +12072,12 @@ class EventHandlers(AvdIndexedList[str, EventHandlersItem]): class EventMonitor(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EventMonitor. @@ -13620,7 +12086,6 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ Args: enabled: enabled - _custom_data: _custom_data """ @@ -13633,20 +12098,13 @@ class Sampled(AvdModel): class Encapsulation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}} ipv4_ipv6: bool | None mpls: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4_ipv6: bool | None | UndefinedType = Undefined, - mpls: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4_ipv6: bool | None | UndefinedType = Undefined, mpls: bool | None | UndefinedType = Undefined) -> None: """ Encapsulation. @@ -13656,21 +12114,19 @@ def __init__( Args: ipv4_ipv6: ipv4_ipv6 mpls: mpls - _custom_data: _custom_data """ class HardwareOffload(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}} ipv4: bool | None """Configure hardware offload for IPv4 traffic.""" ipv6: bool | None """Configure hardware offload for IPv6 traffic.""" threshold_minimum: int | None """Minimum number of samples.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13680,7 +12136,6 @@ def __init__( ipv4: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined, threshold_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HardwareOffload. @@ -13692,7 +12147,6 @@ def __init__( ipv4: Configure hardware offload for IPv4 traffic. ipv6: Configure hardware offload for IPv6 traffic. threshold_minimum: Minimum number of samples. - _custom_data: _custom_data """ @@ -13702,19 +12156,13 @@ class TrackersItem(AvdModel): class RecordExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mpls": {"type": bool}, - "on_inactive_timeout": {"type": int}, - "on_interval": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mpls": {"type": bool}, "on_inactive_timeout": {"type": int}, "on_interval": {"type": int}} mpls: bool | None """Export MPLS forwarding information.""" on_inactive_timeout: int | None """Flow record inactive export timeout in milliseconds.""" on_interval: int | None """Flow record export interval in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13724,7 +12172,6 @@ def __init__( mpls: bool | None | UndefinedType = Undefined, on_inactive_timeout: int | None | UndefinedType = Undefined, on_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RecordExport. @@ -13736,7 +12183,6 @@ def __init__( mpls: Export MPLS forwarding information. on_inactive_timeout: Flow record inactive export timeout in milliseconds. on_interval: Flow record export interval in milliseconds. - _custom_data: _custom_data """ @@ -13746,22 +12192,15 @@ class ExportersItem(AvdModel): class Collector(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}} host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name.""" port: int | None """Collector Port Number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - host: str | None | UndefinedType = Undefined, - port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, host: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined) -> None: """ Collector. @@ -13771,22 +12210,18 @@ def __init__( Args: host: Collector IPv4 address or IPv6 address or fully qualified domain name. port: Collector Port Number. - _custom_data: _custom_data """ class Format(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipfix_version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipfix_version": {"type": int}} ipfix_version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, ipfix_version: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, ipfix_version: int | None | UndefinedType = Undefined) -> None: """ Format. @@ -13795,7 +12230,6 @@ def __init__( Args: ipfix_version: ipfix_version - _custom_data: _custom_data """ @@ -13805,7 +12239,6 @@ def __init__( "format": {"type": Format}, "local_interface": {"type": str}, "template_interval": {"type": int}, - "_custom_data": {"type": dict}, } name: str """Exporter Name.""" @@ -13817,7 +12250,6 @@ def __init__( """Local Source Interface.""" template_interval: int | None """Template interval in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13829,7 +12261,6 @@ def __init__( format: Format | UndefinedType = Undefined, local_interface: str | None | UndefinedType = Undefined, template_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ExportersItem. @@ -13843,7 +12274,6 @@ def __init__( format: Subclass of AvdModel. local_interface: Local Source Interface. template_interval: Template interval in milliseconds. - _custom_data: _custom_data """ @@ -13859,7 +12289,6 @@ class Exporters(AvdIndexedList[str, ExportersItem]): "record_export": {"type": RecordExport}, "name": {"type": str}, "exporters": {"type": Exporters}, - "_custom_data": {"type": dict}, } table_size: int | None """Maximum number of entries in flow table.""" @@ -13869,7 +12298,6 @@ class Exporters(AvdIndexedList[str, ExportersItem]): """Tracker Name.""" exporters: Exporters """Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13880,7 +12308,6 @@ def __init__( record_export: RecordExport | UndefinedType = Undefined, name: str | UndefinedType = Undefined, exporters: Exporters | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrackersItem. @@ -13893,7 +12320,6 @@ def __init__( record_export: Subclass of AvdModel. name: Tracker Name. exporters: Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -13910,7 +12336,6 @@ class Trackers(AvdIndexedList[str, TrackersItem]): "hardware_offload": {"type": HardwareOffload}, "trackers": {"type": Trackers}, "shutdown": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } encapsulation: Encapsulation """Subclass of AvdModel.""" @@ -13921,7 +12346,6 @@ class Trackers(AvdIndexedList[str, TrackersItem]): """Subclass of AvdIndexedList with `TrackersItem` items. Primary key is `name` (`str`).""" shutdown: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13933,7 +12357,6 @@ def __init__( hardware_offload: HardwareOffload | UndefinedType = Undefined, trackers: Trackers | UndefinedType = Undefined, shutdown: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sampled. @@ -13947,7 +12370,6 @@ def __init__( hardware_offload: Subclass of AvdModel. trackers: Subclass of AvdIndexedList with `TrackersItem` items. Primary key is `name` (`str`). shutdown: shutdown - _custom_data: _custom_data """ @@ -13957,19 +12379,13 @@ class Hardware(AvdModel): class Record(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"format_ipfix_standard_timestamps_counters": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"format_ipfix_standard_timestamps_counters": {"type": bool}} format_ipfix_standard_timestamps_counters: bool | None """Enable software export of IPFIX data records.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - format_ipfix_standard_timestamps_counters: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, format_ipfix_standard_timestamps_counters: bool | None | UndefinedType = Undefined) -> None: """ Record. @@ -13978,7 +12394,6 @@ def __init__( Args: format_ipfix_standard_timestamps_counters: Enable software export of IPFIX data records. - _custom_data: _custom_data """ @@ -13988,21 +12403,16 @@ class TrackersItem(AvdModel): class RecordExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"on_inactive_timeout": {"type": int}, "on_interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"on_inactive_timeout": {"type": int}, "on_interval": {"type": int}} on_inactive_timeout: int | None """Flow record inactive export timeout in milliseconds.""" on_interval: int | None """Flow record export interval in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - on_inactive_timeout: int | None | UndefinedType = Undefined, - on_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, on_inactive_timeout: int | None | UndefinedType = Undefined, on_interval: int | None | UndefinedType = Undefined ) -> None: """ RecordExport. @@ -14013,7 +12423,6 @@ def __init__( Args: on_inactive_timeout: Flow record inactive export timeout in milliseconds. on_interval: Flow record export interval in milliseconds. - _custom_data: _custom_data """ @@ -14023,22 +12432,15 @@ class ExportersItem(AvdModel): class Collector(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}} host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name.""" port: int | None """Collector Port Number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - host: str | None | UndefinedType = Undefined, - port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, host: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined) -> None: """ Collector. @@ -14048,22 +12450,18 @@ def __init__( Args: host: Collector IPv4 address or IPv6 address or fully qualified domain name. port: Collector Port Number. - _custom_data: _custom_data """ class Format(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipfix_version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipfix_version": {"type": int}} ipfix_version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, ipfix_version: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, ipfix_version: int | None | UndefinedType = Undefined) -> None: """ Format. @@ -14072,7 +12470,6 @@ def __init__( Args: ipfix_version: ipfix_version - _custom_data: _custom_data """ @@ -14082,7 +12479,6 @@ def __init__( "format": {"type": Format}, "local_interface": {"type": str}, "template_interval": {"type": int}, - "_custom_data": {"type": dict}, } name: str """Exporter Name.""" @@ -14094,7 +12490,6 @@ def __init__( """Local Source Interface.""" template_interval: int | None """Template interval in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14106,7 +12501,6 @@ def __init__( format: Format | UndefinedType = Undefined, local_interface: str | None | UndefinedType = Undefined, template_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ExportersItem. @@ -14120,7 +12514,6 @@ def __init__( format: Subclass of AvdModel. local_interface: Local Source Interface. template_interval: Template interval in milliseconds. - _custom_data: _custom_data """ @@ -14131,19 +12524,13 @@ class Exporters(AvdIndexedList[str, ExportersItem]): Exporters._item_type = ExportersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "record_export": {"type": RecordExport}, - "exporters": {"type": Exporters}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "record_export": {"type": RecordExport}, "exporters": {"type": Exporters}} name: str """Tracker Name.""" record_export: RecordExport """Subclass of AvdModel.""" exporters: Exporters """Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14153,7 +12540,6 @@ def __init__( name: str | UndefinedType = Undefined, record_export: RecordExport | UndefinedType = Undefined, exporters: Exporters | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrackersItem. @@ -14165,7 +12551,6 @@ def __init__( name: Tracker Name. record_export: Subclass of AvdModel. exporters: Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -14176,19 +12561,13 @@ class Trackers(AvdIndexedList[str, TrackersItem]): Trackers._item_type = TrackersItem - _fields: ClassVar[dict] = { - "record": {"type": Record}, - "trackers": {"type": Trackers}, - "shutdown": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"record": {"type": Record}, "trackers": {"type": Trackers}, "shutdown": {"type": bool, "default": False}} record: Record """Subclass of AvdModel.""" trackers: Trackers """Subclass of AvdIndexedList with `TrackersItem` items. Primary key is `name` (`str`).""" shutdown: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14198,7 +12577,6 @@ def __init__( record: Record | UndefinedType = Undefined, trackers: Trackers | UndefinedType = Undefined, shutdown: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Hardware. @@ -14210,26 +12588,18 @@ def __init__( record: Subclass of AvdModel. trackers: Subclass of AvdIndexedList with `TrackersItem` items. Primary key is `name` (`str`). shutdown: shutdown - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"sampled": {"type": Sampled}, "hardware": {"type": Hardware}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sampled": {"type": Sampled}, "hardware": {"type": Hardware}} sampled: Sampled """Subclass of AvdModel.""" hardware: Hardware """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sampled: Sampled | UndefinedType = Undefined, - hardware: Hardware | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sampled: Sampled | UndefinedType = Undefined, hardware: Hardware | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -14239,7 +12609,6 @@ def __init__( Args: sampled: Subclass of AvdModel. hardware: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -14249,18 +12618,12 @@ class Hardware(AvdModel): class AccessList(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mechanism": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mechanism": {"type": str}} mechanism: Literal["algomatch", "none", "tcam"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mechanism: Literal["algomatch", "none", "tcam"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mechanism: Literal["algomatch", "none", "tcam"] | None | UndefinedType = Undefined) -> None: """ AccessList. @@ -14269,28 +12632,20 @@ def __init__( Args: mechanism: mechanism - _custom_data: _custom_data """ class SpeedGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"speed_group": {"type": str}, "serdes": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"speed_group": {"type": str}, "serdes": {"type": str}} speed_group: str serdes: str | None """Serdes speed like "10g" or "25g".""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - speed_group: str | UndefinedType = Undefined, - serdes: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, speed_group: str | UndefinedType = Undefined, serdes: str | None | UndefinedType = Undefined) -> None: """ SpeedGroupsItem. @@ -14300,7 +12655,6 @@ def __init__( Args: speed_group: speed_group serdes: Serdes speed like "10g" or "25g". - _custom_data: _custom_data """ @@ -14314,21 +12668,14 @@ class SpeedGroups(AvdIndexedList[str, SpeedGroupsItem]): class PortGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"port_group": {"type": str}, "select": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"port_group": {"type": str}, "select": {"type": str}} port_group: str select: str | None """Select Ports to activate""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - port_group: str | UndefinedType = Undefined, - select: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, port_group: str | UndefinedType = Undefined, select: str | None | UndefinedType = Undefined) -> None: """ PortGroupsItem. @@ -14338,7 +12685,6 @@ def __init__( Args: port_group: port_group select: Select Ports to activate - _custom_data: _custom_data """ @@ -14349,19 +12695,13 @@ class PortGroups(AvdIndexedList[str, PortGroupsItem]): PortGroups._item_type = PortGroupsItem - _fields: ClassVar[dict] = { - "access_list": {"type": AccessList}, - "speed_groups": {"type": SpeedGroups}, - "port_groups": {"type": PortGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_list": {"type": AccessList}, "speed_groups": {"type": SpeedGroups}, "port_groups": {"type": PortGroups}} access_list: AccessList """Subclass of AvdModel.""" speed_groups: SpeedGroups """Subclass of AvdIndexedList with `SpeedGroupsItem` items. Primary key is `speed_group` (`str`).""" port_groups: PortGroups """Subclass of AvdIndexedList with `PortGroupsItem` items. Primary key is `port_group` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14371,7 +12711,6 @@ def __init__( access_list: AccessList | UndefinedType = Undefined, speed_groups: SpeedGroups | UndefinedType = Undefined, port_groups: PortGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Hardware. @@ -14383,7 +12722,6 @@ def __init__( access_list: Subclass of AvdModel. speed_groups: Subclass of AvdIndexedList with `SpeedGroupsItem` items. Primary key is `speed_group` (`str`). port_groups: Subclass of AvdIndexedList with `PortGroupsItem` items. Primary key is `port_group` (`str`). - _custom_data: _custom_data """ @@ -14401,7 +12739,6 @@ class FeaturesItem(AvdModel): "vrf": {"type": str}, "prefix": {"type": str}, "units_packets": {"type": bool}, - "_custom_data": {"type": dict}, } name: Literal[ "acl", @@ -14466,7 +12803,6 @@ class FeaturesItem(AvdModel): made by the schemas. """ units_packets: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14512,7 +12848,6 @@ def __init__( vrf: str | None | UndefinedType = Undefined, prefix: str | None | UndefinedType = Undefined, units_packets: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FeaturesItem. @@ -14544,7 +12879,6 @@ def __init__( This validation IS NOT made by the schemas. units_packets: units_packets - _custom_data: _custom_data """ @@ -14553,7 +12887,7 @@ class Features(AvdList[FeaturesItem]): Features._item_type = FeaturesItem - _fields: ClassVar[dict] = {"features": {"type": Features}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"features": {"type": Features}} features: Features """ This data model allows to configure the list of hardware counters feature @@ -14607,11 +12941,10 @@ class Features(AvdList[FeaturesItem]): Subclass of AvdList with `FeaturesItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, features: Features | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, features: Features | UndefinedType = Undefined) -> None: """ HardwareCounters. @@ -14670,7 +13003,6 @@ def __init__(self, *, features: Features | UndefinedType = Undefined, _custom_da Subclass of AvdList with `FeaturesItem` items. - _custom_data: _custom_data """ @@ -14680,13 +13012,12 @@ class InterfaceDefaults(AvdModel): class Ethernet(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"shutdown": {"type": bool}} shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, shutdown: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, shutdown: bool | None | UndefinedType = Undefined) -> None: """ Ethernet. @@ -14695,25 +13026,17 @@ def __init__(self, *, shutdown: bool | None | UndefinedType = Undefined, _custom Args: shutdown: shutdown - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ethernet": {"type": Ethernet}, "mtu": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ethernet": {"type": Ethernet}, "mtu": {"type": int}} ethernet: Ethernet """Subclass of AvdModel.""" mtu: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ethernet: Ethernet | UndefinedType = Undefined, - mtu: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ethernet: Ethernet | UndefinedType = Undefined, mtu: int | None | UndefinedType = Undefined) -> None: """ InterfaceDefaults. @@ -14723,7 +13046,6 @@ def __init__( Args: ethernet: Subclass of AvdModel. mtu: mtu - _custom_data: _custom_data """ @@ -14750,7 +13072,6 @@ class InterfaceMaintenanceProfiles(AvdList[str]): "interfaces": {"type": Interfaces}, "bgp_maintenance_profiles": {"type": BgpMaintenanceProfiles}, "interface_maintenance_profiles": {"type": InterfaceMaintenanceProfiles}, - "_custom_data": {"type": dict}, } name: str """Interface-Group name.""" @@ -14760,7 +13081,6 @@ class InterfaceMaintenanceProfiles(AvdList[str]): """Subclass of AvdList with `str` items.""" interface_maintenance_profiles: InterfaceMaintenanceProfiles """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14771,7 +13091,6 @@ def __init__( interfaces: Interfaces | UndefinedType = Undefined, bgp_maintenance_profiles: BgpMaintenanceProfiles | UndefinedType = Undefined, interface_maintenance_profiles: InterfaceMaintenanceProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfaceGroupsItem. @@ -14784,7 +13103,6 @@ def __init__( interfaces: Subclass of AvdList with `str` items. bgp_maintenance_profiles: Subclass of AvdList with `str` items. interface_maintenance_profiles: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -14803,22 +13121,15 @@ class Commands(AvdList[str]): Commands._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "commands": {"type": Commands}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "commands": {"type": Commands}} name: str """Interface-Profile Name.""" commands: Commands """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - commands: Commands | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, commands: Commands | UndefinedType = Undefined) -> None: """ InterfaceProfilesItem. @@ -14828,7 +13139,6 @@ def __init__( Args: name: Interface-Profile Name. commands: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -14884,7 +13194,6 @@ class TcpFlags(AvdList[str]): "vlan_number": {"type": int}, "vlan_inner": {"type": bool, "default": False}, "vlan_mask": {"type": str}, - "_custom_data": {"type": dict}, } sequence: int | None """ACL entry sequence number.""" @@ -14948,7 +13257,6 @@ class TcpFlags(AvdList[str]): """Default value: `False`""" vlan_mask: str | None """0x000-0xFFF VLAN mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14978,7 +13286,6 @@ def __init__( vlan_number: int | None | UndefinedType = Undefined, vlan_inner: bool | UndefinedType = Undefined, vlan_mask: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EntriesItem. @@ -15022,7 +13329,6 @@ def __init__( vlan_number: vlan_number vlan_inner: vlan_inner vlan_mask: 0x000-0xFFF VLAN mask. - _custom_data: _custom_data """ @@ -15036,7 +13342,6 @@ class Entries(AvdList[EntriesItem]): "counters_per_entry": {"type": bool}, "entries": {"type": Entries}, "permit_response_traffic": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Access-list Name.""" @@ -15053,7 +13358,6 @@ class Entries(AvdList[EntriesItem]): Minimum EOS version requirement 4.32.2F. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15064,7 +13368,6 @@ def __init__( counters_per_entry: bool | None | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined, permit_response_traffic: Literal["nat"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpAccessListsItem. @@ -15083,7 +13386,6 @@ def __init__( Permit response traffic automatically based on NAT translations. Minimum EOS version requirement 4.32.2F. - _custom_data: _custom_data """ @@ -15105,7 +13407,7 @@ class Communities(AvdList[str]): Communities._item_type = str - _fields: ClassVar[dict] = {"action": {"type": str}, "communities": {"type": Communities}, "regexp": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}, "communities": {"type": Communities}, "regexp": {"type": str}} action: Literal["permit", "deny"] communities: Communities """ @@ -15126,7 +13428,6 @@ class Communities(AvdList[str]): Regular Expression. If defined, a regex community-list will be configured. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15136,7 +13437,6 @@ def __init__( action: Literal["permit", "deny"] | UndefinedType = Undefined, communities: Communities | UndefinedType = Undefined, regexp: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EntriesItem. @@ -15161,7 +13461,6 @@ def __init__( regexp: Regular Expression. If defined, a regex community-list will be configured. - _custom_data: _custom_data """ @@ -15170,22 +13469,15 @@ class Entries(AvdList[EntriesItem]): Entries._item_type = EntriesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}} name: str """IP Community-list Name.""" entries: Entries """Subclass of AvdList with `EntriesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - entries: Entries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined) -> None: """ IpCommunityListsItem. @@ -15195,7 +13487,6 @@ def __init__( Args: name: IP Community-list Name. entries: Subclass of AvdList with `EntriesItem` items. - _custom_data: _custom_data """ @@ -15209,19 +13500,13 @@ class IpCommunityLists(AvdIndexedList[str, IpCommunityListsItem]): class IpDhcpRelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "always_on": {"type": bool}, - "all_subnets": {"type": bool}, - "information_option": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"always_on": {"type": bool}, "all_subnets": {"type": bool}, "information_option": {"type": bool}} always_on: bool | None """DhcpRelay Agent will be in always-on mode.""" all_subnets: bool | None """Allow forwarding requests with secondary IP addresses in the gateway address "giaddr" field.""" information_option: bool | None """Insert Option-82 information.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15231,7 +13516,6 @@ def __init__( always_on: bool | None | UndefinedType = Undefined, all_subnets: bool | None | UndefinedType = Undefined, information_option: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpDhcpRelay. @@ -15243,7 +13527,6 @@ def __init__( always_on: DhcpRelay Agent will be in always-on mode. all_subnets: Allow forwarding requests with secondary IP addresses in the gateway address "giaddr" field. information_option: Insert Option-82 information. - _custom_data: _custom_data """ @@ -15253,12 +13536,7 @@ class IpDhcpSnooping(AvdModel): class InformationOption(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "circuit_id_type": {"type": str}, - "circuit_id_format": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "circuit_id_type": {"type": str}, "circuit_id_format": {"type": str}} enabled: bool | None """Enable insertion of option-82 in DHCP request packets.""" circuit_id_type: str | None @@ -15270,7 +13548,6 @@ class InformationOption(AvdModel): - "%p:%v" Interface name and VLAN ID """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15280,7 +13557,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, circuit_id_type: str | None | UndefinedType = Undefined, circuit_id_format: Literal["%h:%p", "%p:%v"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InformationOption. @@ -15296,7 +13572,6 @@ def __init__( - "%h:%p" Hostname and interface name - "%p:%v" Interface name and VLAN ID - _custom_data: _custom_data """ @@ -15305,7 +13580,6 @@ def __init__( "bridging": {"type": bool}, "information_option": {"type": InformationOption}, "vlan": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None bridging: bool | None @@ -15317,7 +13591,6 @@ def __init__( "< vlan_id >, < vlan_id >-< vlan_id >" Example: 15,16,17,18 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15328,7 +13601,6 @@ def __init__( bridging: bool | None | UndefinedType = Undefined, information_option: InformationOption | UndefinedType = Undefined, vlan: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpDhcpSnooping. @@ -15344,7 +13616,6 @@ def __init__( VLAN range as string. "< vlan_id >, < vlan_id >-< vlan_id >" Example: 15,16,17,18 - _custom_data: _custom_data """ @@ -15354,21 +13625,14 @@ class IpDomainLookup(AvdModel): class SourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str """Source Interface.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ SourceInterfacesItem. @@ -15378,7 +13642,6 @@ def __init__( Args: name: Source Interface. vrf: vrf - _custom_data: _custom_data """ @@ -15389,16 +13652,13 @@ class SourceInterfaces(AvdIndexedList[str, SourceInterfacesItem]): SourceInterfaces._item_type = SourceInterfacesItem - _fields: ClassVar[dict] = {"source_interfaces": {"type": SourceInterfaces}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_interfaces": {"type": SourceInterfaces}} source_interfaces: SourceInterfaces """Subclass of AvdIndexedList with `SourceInterfacesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, source_interfaces: SourceInterfaces | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, source_interfaces: SourceInterfaces | UndefinedType = Undefined) -> None: """ IpDomainLookup. @@ -15407,7 +13667,6 @@ def __init__( Args: source_interfaces: Subclass of AvdIndexedList with `SourceInterfacesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -15417,24 +13676,17 @@ class IpExtcommunityListsItem(AvdModel): class EntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "extcommunities": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "extcommunities": {"type": str}} type: Literal["permit", "deny"] extcommunities: str """ Communities as string. Example: "65000:65000" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - type: Literal["permit", "deny"] | UndefinedType = Undefined, - extcommunities: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, type: Literal["permit", "deny"] | UndefinedType = Undefined, extcommunities: str | UndefinedType = Undefined) -> None: """ EntriesItem. @@ -15446,7 +13698,6 @@ def __init__( extcommunities: Communities as string. Example: "65000:65000" - _custom_data: _custom_data """ @@ -15455,22 +13706,15 @@ class Entries(AvdList[EntriesItem]): Entries._item_type = EntriesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}} name: str """Community-list Name.""" entries: Entries """Subclass of AvdList with `EntriesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - entries: Entries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined) -> None: """ IpExtcommunityListsItem. @@ -15480,7 +13724,6 @@ def __init__( Args: name: Community-list Name. entries: Subclass of AvdList with `EntriesItem` items. - _custom_data: _custom_data """ @@ -15497,21 +13740,14 @@ class IpExtcommunityListsRegexpItem(AvdModel): class EntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "regexp": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "regexp": {"type": str}} type: Literal["permit", "deny"] regexp: str """Regular Expression.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - type: Literal["permit", "deny"] | UndefinedType = Undefined, - regexp: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, type: Literal["permit", "deny"] | UndefinedType = Undefined, regexp: str | UndefinedType = Undefined) -> None: """ EntriesItem. @@ -15521,7 +13757,6 @@ def __init__( Args: type: type regexp: Regular Expression. - _custom_data: _custom_data """ @@ -15530,22 +13765,15 @@ class Entries(AvdList[EntriesItem]): Entries._item_type = EntriesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "entries": {"type": Entries}} name: str """Community-list Name.""" entries: Entries """Subclass of AvdList with `EntriesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - entries: Entries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined) -> None: """ IpExtcommunityListsRegexpItem. @@ -15555,7 +13783,6 @@ def __init__( Args: name: Community-list Name. entries: Subclass of AvdList with `EntriesItem` items. - _custom_data: _custom_data """ @@ -15572,22 +13799,15 @@ class IpExtcommunityListsRegexp(AvdIndexedList[str, IpExtcommunityListsRegexpIte class IpFtpClientSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str """Interface Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpFtpClientSourceInterfacesItem. @@ -15597,7 +13817,6 @@ def __init__( Args: name: Interface Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -15618,18 +13837,12 @@ class Optimize(AvdModel): class Prefixes(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: Literal["internet", "urpf-internet"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - profile: Literal["internet", "urpf-internet"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, profile: Literal["internet", "urpf-internet"] | None | UndefinedType = Undefined) -> None: """ Prefixes. @@ -15638,18 +13851,16 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}} prefixes: Prefixes """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ Optimize. @@ -15658,18 +13869,16 @@ def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, _custom_da Args: prefixes: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"optimize": {"type": Optimize}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"optimize": {"type": Optimize}} optimize: Optimize """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, optimize: Optimize | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, optimize: Optimize | UndefinedType = Undefined) -> None: """ Fib. @@ -15678,18 +13887,16 @@ def __init__(self, *, optimize: Optimize | UndefinedType = Undefined, _custom_da Args: optimize: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"fib": {"type": Fib}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"fib": {"type": Fib}} fib: Fib """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, fib: Fib | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, fib: Fib | UndefinedType = Undefined) -> None: """ IpHardware. @@ -15698,28 +13905,20 @@ def __init__(self, *, fib: Fib | UndefinedType = Undefined, _custom_data: dict[s Args: fib: Subclass of AvdModel. - _custom_data: _custom_data """ class IpHttpClientSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Interface Name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpHttpClientSourceInterfacesItem. @@ -15729,7 +13928,6 @@ def __init__( Args: name: Interface Name. vrf: vrf - _custom_data: _custom_data """ @@ -15754,7 +13952,6 @@ class Querier(AvdModel): "startup_query_interval": {"type": int}, "startup_query_count": {"type": int}, "version": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None address: str | None @@ -15766,7 +13963,6 @@ class Querier(AvdModel): startup_query_interval: int | None startup_query_count: int | None version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15782,7 +13978,6 @@ def __init__( startup_query_interval: int | None | UndefinedType = Undefined, startup_query_count: int | None | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Querier. @@ -15800,7 +13995,6 @@ def __init__( startup_query_interval: startup_query_interval startup_query_count: startup_query_count version: version - _custom_data: _custom_data """ @@ -15820,7 +14014,6 @@ class Querier(AvdModel): "startup_query_interval": {"type": int}, "startup_query_count": {"type": int}, "version": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None address: str | None @@ -15832,7 +14025,6 @@ class Querier(AvdModel): startup_query_interval: int | None startup_query_count: int | None version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15848,7 +14040,6 @@ def __init__( startup_query_interval: int | None | UndefinedType = Undefined, startup_query_count: int | None | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Querier. @@ -15866,7 +14057,6 @@ def __init__( startup_query_interval: startup_query_interval startup_query_count: startup_query_count version: version - _custom_data: _custom_data """ @@ -15877,7 +14067,6 @@ def __init__( "max_groups": {"type": int}, "fast_leave": {"type": bool}, "proxy": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """VLAN ID.""" @@ -15888,7 +14077,6 @@ def __init__( fast_leave: bool | None proxy: bool | None """Global proxy settings should be enabled before enabling per-vlan.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15901,7 +14089,6 @@ def __init__( max_groups: int | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, proxy: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlansItem. @@ -15916,7 +14103,6 @@ def __init__( max_groups: max_groups fast_leave: fast_leave proxy: Global proxy settings should be enabled before enabling per-vlan. - _custom_data: _custom_data """ @@ -15936,7 +14122,6 @@ class Vlans(AvdIndexedList[int, VlansItem]): "querier": {"type": Querier}, "proxy": {"type": bool}, "vlans": {"type": Vlans}, - "_custom_data": {"type": dict}, } globally_enabled: bool """ @@ -15954,7 +14139,6 @@ class Vlans(AvdIndexedList[int, VlansItem]): proxy: bool | None vlans: Vlans """Subclass of AvdIndexedList with `VlansItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15969,7 +14153,6 @@ def __init__( querier: Querier | UndefinedType = Undefined, proxy: bool | None | UndefinedType = Undefined, vlans: Vlans | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpIgmpSnooping. @@ -15988,7 +14171,6 @@ def __init__( querier: Subclass of AvdModel. proxy: proxy vlans: Subclass of AvdIndexedList with `VlansItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -15998,24 +14180,18 @@ class IpNameServerGroupsItem(AvdModel): class NameServersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "vrf": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "vrf": {"type": str}, "priority": {"type": int}} ip_address: str """IPv4 or IPv6 address for DNS server.""" vrf: str """VRF Name.""" priority: int | None """Priority value (lower is first).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - vrf: str | UndefinedType = Undefined, - priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ip_address: str | UndefinedType = Undefined, vrf: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined ) -> None: """ NameServersItem. @@ -16027,7 +14203,6 @@ def __init__( ip_address: IPv4 or IPv6 address for DNS server. vrf: VRF Name. priority: Priority value (lower is first). - _custom_data: _custom_data """ @@ -16036,20 +14211,13 @@ class NameServers(AvdList[NameServersItem]): NameServers._item_type = NameServersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "name_servers": {"type": NameServers}, - "dns_domain": {"type": str}, - "ip_domain_list": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "name_servers": {"type": NameServers}, "dns_domain": {"type": str}, "ip_domain_list": {"type": str}} name: str name_servers: NameServers """Subclass of AvdList with `NameServersItem` items.""" dns_domain: str | None ip_domain_list: str | None """Set domain names to complete unqualified host names.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16060,7 +14228,6 @@ def __init__( name_servers: NameServers | UndefinedType = Undefined, dns_domain: str | None | UndefinedType = Undefined, ip_domain_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpNameServerGroupsItem. @@ -16073,7 +14240,6 @@ def __init__( name_servers: Subclass of AvdList with `NameServersItem` items. dns_domain: dns_domain ip_domain_list: Set domain names to complete unqualified host names. - _custom_data: _custom_data """ @@ -16087,14 +14253,13 @@ class IpNameServerGroups(AvdIndexedList[str, IpNameServerGroupsItem]): class IpNameServersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "vrf": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "vrf": {"type": str}, "priority": {"type": int}} ip_address: str """IPv4 or IPv6 address for DNS server.""" vrf: str | None """VRF Name.""" priority: int | None """Priority value (lower is first).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16104,7 +14269,6 @@ def __init__( ip_address: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpNameServersItem. @@ -16116,7 +14280,6 @@ def __init__( ip_address: IPv4 or IPv6 address for DNS server. vrf: VRF Name. priority: Priority value (lower is first). - _custom_data: _custom_data """ @@ -16137,18 +14300,11 @@ class Destination(AvdModel): class DynamicItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "access_list": {"type": str}, - "comment": {"type": str}, - "pool_name": {"type": str}, - "priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_list": {"type": str}, "comment": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}} access_list: str comment: str | None pool_name: str priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16159,7 +14315,6 @@ def __init__( comment: str | None | UndefinedType = Undefined, pool_name: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -16172,7 +14327,6 @@ def __init__( comment: comment pool_name: pool_name priority: priority - _custom_data: _custom_data """ @@ -16197,7 +14351,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -16221,7 +14374,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16238,7 +14390,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -16261,7 +14412,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -16270,22 +14420,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Destination. @@ -16295,7 +14438,6 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ @@ -16311,7 +14453,6 @@ class DynamicItem(AvdModel): "nat_type": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str comment: str | None @@ -16323,7 +14464,6 @@ class DynamicItem(AvdModel): overload. """ priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16335,7 +14475,6 @@ def __init__( nat_type: Literal["overload", "pool", "pool-address-only", "pool-full-cone"] | UndefinedType = Undefined, pool_name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -16352,7 +14491,6 @@ def __init__( ignored if 'nat_type' is overload. priority: priority - _custom_data: _custom_data """ @@ -16377,7 +14515,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -16401,7 +14538,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16418,7 +14554,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -16441,7 +14576,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -16450,22 +14584,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Source. @@ -16475,17 +14602,10 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "vrf": {"type": str}, - "destination": {"type": Destination}, - "source": {"type": Source}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "destination": {"type": Destination}, "source": {"type": Source}} name: str vrf: str | None """Specify VRF for NAT profile.""" @@ -16493,7 +14613,6 @@ def __init__( """Subclass of AvdModel.""" source: Source """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16504,7 +14623,6 @@ def __init__( vrf: str | None | UndefinedType = Undefined, destination: Destination | UndefinedType = Undefined, source: Source | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -16517,7 +14635,6 @@ def __init__( vrf: Specify VRF for NAT profile. destination: Subclass of AvdModel. source: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -16534,13 +14651,7 @@ class PoolsItem(AvdModel): class RangesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "first_ip": {"type": str}, - "last_ip": {"type": str}, - "first_port": {"type": int}, - "last_port": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"first_ip": {"type": str}, "last_ip": {"type": str}, "first_port": {"type": int}, "last_port": {"type": int}} first_ip: str | None """ IPv4 address. @@ -16559,7 +14670,6 @@ class RangesItem(AvdModel): Required when `first_port` is set. `last_port` must be greater than or equal to `first_port`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16570,7 +14680,6 @@ def __init__( last_ip: str | None | UndefinedType = Undefined, first_port: int | None | UndefinedType = Undefined, last_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RangesItem. @@ -16591,7 +14700,6 @@ def __init__( last_port: Required when `first_port` is set. `last_port` must be greater than or equal to `first_port`. - _custom_data: _custom_data """ @@ -16606,7 +14714,6 @@ class Ranges(AvdList[RangesItem]): "prefix_length": {"type": int}, "ranges": {"type": Ranges}, "utilization_log_threshold": {"type": int}, - "_custom_data": {"type": dict}, } name: str type: Literal["ip-port", "port-only"] @@ -16616,7 +14723,6 @@ class Ranges(AvdList[RangesItem]): ranges: Ranges """Subclass of AvdList with `RangesItem` items.""" utilization_log_threshold: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16628,7 +14734,6 @@ def __init__( prefix_length: int | None | UndefinedType = Undefined, ranges: Ranges | UndefinedType = Undefined, utilization_log_threshold: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PoolsItem. @@ -16642,7 +14747,6 @@ def __init__( prefix_length: It is only used and required when `type` is `ip-port`. ranges: Subclass of AvdList with `RangesItem` items. utilization_log_threshold: utilization_log_threshold - _custom_data: _custom_data """ @@ -16659,17 +14763,11 @@ class Synchronization(AvdModel): class PortRange(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "first_port": {"type": int}, - "last_port": {"type": int}, - "split_disabled": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"first_port": {"type": int}, "last_port": {"type": int}, "split_disabled": {"type": bool}} first_port: int | None last_port: int | None """>= first_port.""" split_disabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16679,7 +14777,6 @@ def __init__( first_port: int | None | UndefinedType = Undefined, last_port: int | None | UndefinedType = Undefined, split_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortRange. @@ -16691,7 +14788,6 @@ def __init__( first_port: first_port last_port: >= first_port. split_disabled: split_disabled - _custom_data: _custom_data """ @@ -16702,7 +14798,6 @@ def __init__( "peer_address": {"type": str}, "port_range": {"type": PortRange}, "shutdown": {"type": bool}, - "_custom_data": {"type": dict}, } description: str | None expiry_interval: int | None @@ -16714,7 +14809,6 @@ def __init__( port_range: PortRange """Subclass of AvdModel.""" shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16727,7 +14821,6 @@ def __init__( peer_address: str | None | UndefinedType = Undefined, port_range: PortRange | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Synchronization. @@ -16742,7 +14835,6 @@ def __init__( peer_address: IPv4 address. port_range: Subclass of AvdModel. shutdown: shutdown - _custom_data: _custom_data """ @@ -16752,20 +14844,13 @@ class Translation(AvdModel): class AddressSelection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"any": {"type": bool}, "hash_field_source_ip": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"any": {"type": bool}, "hash_field_source_ip": {"type": bool}} any: bool | None hash_field_source_ip: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - any: bool | None | UndefinedType = Undefined, - hash_field_source_ip: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, any: bool | None | UndefinedType = Undefined, hash_field_source_ip: bool | None | UndefinedType = Undefined) -> None: """ AddressSelection. @@ -16775,29 +14860,21 @@ def __init__( Args: any: any hash_field_source_ip: hash_field_source_ip - _custom_data: _custom_data """ class LowMark(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"percentage": {"type": int}, "host_percentage": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"percentage": {"type": int}, "host_percentage": {"type": int}} percentage: int | None """Used to render 'ip nat translation low-mark '.""" host_percentage: int | None """Used to render 'ip nat translation low-mark host'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - percentage: int | None | UndefinedType = Undefined, - host_percentage: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, percentage: int | None | UndefinedType = Undefined, host_percentage: int | None | UndefinedType = Undefined) -> None: """ LowMark. @@ -16807,7 +14884,6 @@ def __init__( Args: percentage: Used to render 'ip nat translation low-mark '. host_percentage: Used to render 'ip nat translation low-mark host'. - _custom_data: _custom_data """ @@ -16817,21 +14893,14 @@ class MaxEntries(AvdModel): class IpLimitsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip": {"type": str}, "limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip": {"type": str}, "limit": {"type": int}} ip: str """IPv4 address.""" limit: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip: str | UndefinedType = Undefined, - limit: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip: str | UndefinedType = Undefined, limit: int | UndefinedType = Undefined) -> None: """ IpLimitsItem. @@ -16841,7 +14910,6 @@ def __init__( Args: ip: IPv4 address. limit: limit - _custom_data: _custom_data """ @@ -16852,12 +14920,11 @@ class IpLimits(AvdIndexedList[str, IpLimitsItem]): IpLimits._item_type = IpLimitsItem - _fields: ClassVar[dict] = {"limit": {"type": int}, "host_limit": {"type": int}, "ip_limits": {"type": IpLimits}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"limit": {"type": int}, "host_limit": {"type": int}, "ip_limits": {"type": IpLimits}} limit: int | None host_limit: int | None ip_limits: IpLimits """Subclass of AvdIndexedList with `IpLimitsItem` items. Primary key is `ip` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16867,7 +14934,6 @@ def __init__( limit: int | None | UndefinedType = Undefined, host_limit: int | None | UndefinedType = Undefined, ip_limits: IpLimits | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MaxEntries. @@ -16879,28 +14945,20 @@ def __init__( limit: limit host_limit: host_limit ip_limits: Subclass of AvdIndexedList with `IpLimitsItem` items. Primary key is `ip` (`str`). - _custom_data: _custom_data """ class TimeoutsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"protocol": {"type": str}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"protocol": {"type": str}, "timeout": {"type": int}} protocol: Literal["tcp", "udp"] timeout: int """In seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - protocol: Literal["tcp", "udp"] | UndefinedType = Undefined, - timeout: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, protocol: Literal["tcp", "udp"] | UndefinedType = Undefined, timeout: int | UndefinedType = Undefined) -> None: """ TimeoutsItem. @@ -16910,7 +14968,6 @@ def __init__( Args: protocol: protocol timeout: In seconds. - _custom_data: _custom_data """ @@ -16927,7 +14984,6 @@ class Timeouts(AvdIndexedList[str, TimeoutsItem]): "low_mark": {"type": LowMark}, "max_entries": {"type": MaxEntries}, "timeouts": {"type": Timeouts}, - "_custom_data": {"type": dict}, } address_selection: AddressSelection """Subclass of AvdModel.""" @@ -16938,7 +14994,6 @@ class Timeouts(AvdIndexedList[str, TimeoutsItem]): """Subclass of AvdModel.""" timeouts: Timeouts """Subclass of AvdIndexedList with `TimeoutsItem` items. Primary key is `protocol` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16950,7 +15005,6 @@ def __init__( low_mark: LowMark | UndefinedType = Undefined, max_entries: MaxEntries | UndefinedType = Undefined, timeouts: Timeouts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Translation. @@ -16964,7 +15018,6 @@ def __init__( low_mark: Subclass of AvdModel. max_entries: Subclass of AvdModel. timeouts: Subclass of AvdIndexedList with `TimeoutsItem` items. Primary key is `protocol` (`str`). - _custom_data: _custom_data """ @@ -16974,7 +15027,6 @@ def __init__( "pools": {"type": Pools}, "synchronization": {"type": Synchronization}, "translation": {"type": Translation}, - "_custom_data": {"type": dict}, } kernel_buffer_size: int | None """Buffer size in MB.""" @@ -16986,7 +15038,6 @@ def __init__( """Subclass of AvdModel.""" translation: Translation """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16998,7 +15049,6 @@ def __init__( pools: Pools | UndefinedType = Undefined, synchronization: Synchronization | UndefinedType = Undefined, translation: Translation | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpNat. @@ -17012,29 +15062,21 @@ def __init__( pools: Subclass of AvdIndexedList with `PoolsItem` items. Primary key is `name` (`str`). synchronization: Subclass of AvdModel. translation: Subclass of AvdModel. - _custom_data: _custom_data """ class IpRadiusSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Interface Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpRadiusSourceInterfacesItem. @@ -17044,7 +15086,6 @@ def __init__( Args: name: Interface Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -17067,7 +15108,6 @@ class IkePoliciesItem(AvdModel): "encryption": {"type": str}, "dh_group": {"type": int}, "integrity": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Policy name.""" @@ -17092,7 +15132,6 @@ class IkePoliciesItem(AvdModel): """Diffie-Hellman group for the key exchange.""" integrity: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None """Integrity algorithm.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17106,7 +15145,6 @@ def __init__( encryption: Literal["3des", "aes128", "aes256"] | None | UndefinedType = Undefined, dh_group: Literal[1, 2, 5, 14, 15, 16, 17, 20, 21, 24] | None | UndefinedType = Undefined, integrity: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IkePoliciesItem. @@ -17129,7 +15167,6 @@ def __init__( encryption: IKE encryption algorithm. dh_group: Diffie-Hellman group for the key exchange. integrity: Integrity algorithm. - _custom_data: _custom_data """ @@ -17146,7 +15183,7 @@ class SaPoliciesItem(AvdModel): class SaLifetime(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"value": {"type": int}, "unit": {"type": str, "default": "hours"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"value": {"type": int}, "unit": {"type": str, "default": "hours"}} value: int | None """ Lifetime value for this SA. @@ -17159,7 +15196,6 @@ class SaLifetime(AvdModel): """ unit: Literal["gigabytes", "hours", "megabytes", "thousand-packets"] """Default value: `"hours"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17168,7 +15204,6 @@ def __init__( *, value: int | None | UndefinedType = Undefined, unit: Literal["gigabytes", "hours", "megabytes", "thousand-packets"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SaLifetime. @@ -17186,17 +15221,15 @@ def __init__( <1-6000> Byte limit in GB ( 1024 MB ) <1-6144000> Byte limit in MB ( 1024 KB ) unit: unit - _custom_data: _custom_data """ class Esp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"integrity": {"type": str}, "encryption": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"integrity": {"type": str}, "encryption": {"type": str}} integrity: Literal["disabled", "sha1", "sha256", "sha384", "sha512", "md5"] | None encryption: Literal["disabled", "aes128", "aes128gcm128", "aes128gcm64", "aes256", "aes256gcm128", "3des"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17207,7 +15240,6 @@ def __init__( encryption: Literal["disabled", "aes128", "aes128gcm128", "aes128gcm64", "aes256", "aes256gcm128", "3des"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Esp. @@ -17218,17 +15250,10 @@ def __init__( Args: integrity: integrity encryption: encryption - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "sa_lifetime": {"type": SaLifetime}, - "esp": {"type": Esp}, - "pfs_dh_group": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "sa_lifetime": {"type": SaLifetime}, "esp": {"type": Esp}, "pfs_dh_group": {"type": int}} name: str """Name of the SA policy.""" sa_lifetime: SaLifetime @@ -17236,7 +15261,6 @@ def __init__( esp: Esp """Subclass of AvdModel.""" pfs_dh_group: Literal[1, 2, 5, 14, 15, 16, 17, 20, 21, 24] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17247,7 +15271,6 @@ def __init__( sa_lifetime: SaLifetime | UndefinedType = Undefined, esp: Esp | UndefinedType = Undefined, pfs_dh_group: Literal[1, 2, 5, 14, 15, 16, 17, 20, 21, 24] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SaPoliciesItem. @@ -17260,7 +15283,6 @@ def __init__( sa_lifetime: Subclass of AvdModel. esp: Subclass of AvdModel. pfs_dh_group: pfs_dh_group - _custom_data: _custom_data """ @@ -17277,7 +15299,7 @@ class ProfilesItem(AvdModel): class Dpd(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "time": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "time": {"type": int}, "action": {"type": str}} interval: int """Interval (in seconds) between keep-alive messages.""" time: int @@ -17291,7 +15313,6 @@ class Dpd(AvdModel): * 'restart': Restart connection immediately """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17301,7 +15322,6 @@ def __init__( interval: int | UndefinedType = Undefined, time: int | UndefinedType = Undefined, action: Literal["clear", "hold", "restart"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dpd. @@ -17319,7 +15339,6 @@ def __init__( * 'hold': Re-negotiate connection on demand * 'restart': Restart connection immediately - _custom_data: _custom_data """ @@ -17332,7 +15351,6 @@ def __init__( "dpd": {"type": Dpd}, "mode": {"type": str}, "flow_parallelization_encapsulation_udp": {"type": bool}, - "_custom_data": {"type": dict}, } name: str """Name of the IPsec profile.""" @@ -17358,7 +15376,6 @@ def __init__( When enabled, multiple cores are used to parallelize the IPsec encryption and decryption processing. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17373,7 +15390,6 @@ def __init__( dpd: Dpd | UndefinedType = Undefined, mode: Literal["transport", "tunnel"] | None | UndefinedType = Undefined, flow_parallelization_encapsulation_udp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -17396,7 +15412,6 @@ def __init__( Enable flow parallelization. When enabled, multiple cores are used to parallelize the IPsec encryption and decryption processing. - _custom_data: _custom_data """ @@ -17410,14 +15425,13 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): class KeyController(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None """IPsec profile name to use.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ KeyController. @@ -17426,7 +15440,6 @@ def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_d Args: profile: IPsec profile name to use. - _custom_data: _custom_data """ @@ -17437,7 +15450,6 @@ def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_d "key_controller": {"type": KeyController}, "hardware_encryption_disabled": {"type": bool, "default": False}, "connection_tx_interface_match_source_ip": {"type": bool}, - "_custom_data": {"type": dict}, } ike_policies: IkePolicies """ @@ -17471,7 +15483,6 @@ def __init__(self, *, profile: str | None | UndefinedType = Undefined, _custom_d """ connection_tx_interface_match_source_ip: bool | None """Match source interface of the IPsec connection.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17484,7 +15495,6 @@ def __init__( key_controller: KeyController | UndefinedType = Undefined, hardware_encryption_disabled: bool | UndefinedType = Undefined, connection_tx_interface_match_source_ip: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpSecurity. @@ -17513,29 +15523,21 @@ def __init__( Disable hardware encryption. An SFE restart is needed for this change to take effect. connection_tx_interface_match_source_ip: Match source interface of the IPsec connection. - _custom_data: _custom_data """ class IpSshClientSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str, "default": "default"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str, "default": "default"}} name: str | None """Interface Name.""" vrf: str """Default value: `"default"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | UndefinedType = Undefined) -> None: """ IpSshClientSourceInterfacesItem. @@ -17545,7 +15547,6 @@ def __init__( Args: name: Interface Name. vrf: vrf - _custom_data: _custom_data """ @@ -17557,21 +15558,14 @@ class IpSshClientSourceInterfaces(AvdList[IpSshClientSourceInterfacesItem]): class IpTacacsSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Interface name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpTacacsSourceInterfacesItem. @@ -17581,7 +15575,6 @@ def __init__( Args: name: Interface name. vrf: vrf - _custom_data: _custom_data """ @@ -17593,22 +15586,15 @@ class IpTacacsSourceInterfaces(AvdList[IpTacacsSourceInterfacesItem]): class IpTelnetClientSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str """Interface Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpTelnetClientSourceInterfacesItem. @@ -17618,7 +15604,6 @@ def __init__( Args: name: Interface Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -17630,22 +15615,15 @@ class IpTelnetClientSourceInterfaces(AvdList[IpTelnetClientSourceInterfacesItem] class IpTftpClientSourceInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str """Interface Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ IpTftpClientSourceInterfacesItem. @@ -17655,7 +15633,6 @@ def __init__( Args: name: Interface Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -17670,7 +15647,7 @@ class Ipv6AccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -17678,17 +15655,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "deny ipv6 any any" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -17700,7 +15670,6 @@ def __init__( action: Action as string. Example: "deny ipv6 any any" - _custom_data: _custom_data """ @@ -17711,18 +15680,12 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "counters_per_entry": {"type": bool}, - "sequence_numbers": {"type": SequenceNumbers}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "counters_per_entry": {"type": bool}, "sequence_numbers": {"type": SequenceNumbers}} name: str """IPv6 Access-list Name.""" counters_per_entry: bool | None sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17732,7 +15695,6 @@ def __init__( name: str | UndefinedType = Undefined, counters_per_entry: bool | None | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6AccessListsItem. @@ -17744,7 +15706,6 @@ def __init__( name: IPv6 Access-list Name. counters_per_entry: counters_per_entry sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -17761,7 +15722,7 @@ class Ipv6DhcpRelay(AvdModel): class Option(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"link_layer_address": {"type": bool}, "remote_id_format": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"link_layer_address": {"type": bool}, "remote_id_format": {"type": str}} link_layer_address: bool | None """Add Option 79 (Link Layer Address Option).""" remote_id_format: Literal["%m:%i", "%m:%p"] | None @@ -17769,7 +15730,6 @@ class Option(AvdModel): Add RemoteID option 37 in format MAC address and interface ID (`%m:%i`) or MAC address and interface name (`%m:%p`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17778,7 +15738,6 @@ def __init__( *, link_layer_address: bool | None | UndefinedType = Undefined, remote_id_format: Literal["%m:%i", "%m:%p"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Option. @@ -17791,11 +15750,10 @@ def __init__( remote_id_format: Add RemoteID option 37 in format MAC address and interface ID (`%m:%i`) or MAC address and interface name (`%m:%p`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"always_on": {"type": bool}, "all_subnets": {"type": bool}, "option": {"type": Option}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"always_on": {"type": bool}, "all_subnets": {"type": bool}, "option": {"type": Option}} always_on: bool | None """DhcpRelay Agent will be in always-on mode, off by default.""" all_subnets: bool | None @@ -17806,7 +15764,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17816,7 +15773,6 @@ def __init__( always_on: bool | None | UndefinedType = Undefined, all_subnets: bool | None | UndefinedType = Undefined, option: Option | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6DhcpRelay. @@ -17831,7 +15787,6 @@ def __init__( Insert DHCP Option. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17847,16 +15802,13 @@ class Optimize(AvdModel): class Prefixes(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None """Pre-defined profile 'internet' or user-defined profile name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ Prefixes. @@ -17865,18 +15817,16 @@ def __init__( Args: profile: Pre-defined profile 'internet' or user-defined profile name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}} prefixes: Prefixes """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ Optimize. @@ -17885,18 +15835,16 @@ def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, _custom_da Args: prefixes: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"optimize": {"type": Optimize}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"optimize": {"type": Optimize}} optimize: Optimize """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, optimize: Optimize | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, optimize: Optimize | UndefinedType = Undefined) -> None: """ Fib. @@ -17905,18 +15853,16 @@ def __init__(self, *, optimize: Optimize | UndefinedType = Undefined, _custom_da Args: optimize: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"fib": {"type": Fib}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"fib": {"type": Fib}} fib: Fib """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, fib: Fib | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, fib: Fib | UndefinedType = Undefined) -> None: """ Ipv6Hardware. @@ -17925,7 +15871,6 @@ def __init__(self, *, fib: Fib | UndefinedType = Undefined, _custom_data: dict[s Args: fib: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17935,13 +15880,7 @@ class Ipv6Neighbor(AvdModel): class StaticEntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ipv6_address": {"type": str}, - "vrf": {"type": str}, - "interface": {"type": str}, - "mac_address": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv6_address": {"type": str}, "vrf": {"type": str}, "interface": {"type": str}, "mac_address": {"type": str}} ipv6_address: str """IPv6 address of neighbor.""" vrf: str | None @@ -17949,7 +15888,6 @@ class StaticEntriesItem(AvdModel): """Interface name.""" mac_address: str """MAC address of neighbor like 'aa:af:12:34:bc:bf'""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17960,7 +15898,6 @@ def __init__( vrf: str | None | UndefinedType = Undefined, interface: str | UndefinedType = Undefined, mac_address: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticEntriesItem. @@ -17973,7 +15910,6 @@ def __init__( vrf: vrf interface: Interface name. mac_address: MAC address of neighbor like 'aa:af:12:34:bc:bf' - _custom_data: _custom_data """ @@ -17985,7 +15921,7 @@ class StaticEntries(AvdList[StaticEntriesItem]): class Persistent(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "refresh_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "refresh_delay": {"type": int}} enabled: bool """Restore the IPv6 neighbor cache after reboot.""" refresh_delay: int | None @@ -17994,17 +15930,10 @@ class Persistent(AvdModel): It will require setting the `enabled` key to true. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - refresh_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, refresh_delay: int | None | UndefinedType = Undefined) -> None: """ Persistent. @@ -18017,11 +15946,10 @@ def __init__( Time to wait in seconds before refreshing the IPv6 neighbor cache after reboot (EOS default 600). It will require setting the `enabled` key to true. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"static_entries": {"type": StaticEntries}, "persistent": {"type": Persistent}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"static_entries": {"type": StaticEntries}, "persistent": {"type": Persistent}} static_entries: StaticEntries """ Static IPv6 neighbor entries. @@ -18030,17 +15958,10 @@ def __init__( """ persistent: Persistent """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - static_entries: StaticEntries | UndefinedType = Undefined, - persistent: Persistent | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, static_entries: StaticEntries | UndefinedType = Undefined, persistent: Persistent | UndefinedType = Undefined) -> None: """ Ipv6Neighbor. @@ -18053,7 +15974,6 @@ def __init__( Subclass of AvdList with `StaticEntriesItem` items. persistent: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18063,7 +15983,7 @@ class Ipv6PrefixListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -18071,17 +15991,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "permit 1b11:3a00:22b0:0082::/64 eq 128" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -18093,7 +16006,6 @@ def __init__( action: Action as string. Example: "permit 1b11:3a00:22b0:0082::/64 eq 128" - _custom_data: _custom_data """ @@ -18104,22 +16016,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Prefix-list Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ Ipv6PrefixListsItem. @@ -18129,7 +16034,6 @@ def __init__( Args: name: Prefix-list Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -18146,7 +16050,7 @@ class Ipv6StandardAccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -18154,17 +16058,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "deny ipv6 any any" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -18176,7 +16073,6 @@ def __init__( action: Action as string. Example: "deny ipv6 any any" - _custom_data: _custom_data """ @@ -18187,18 +16083,12 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "counters_per_entry": {"type": bool}, - "sequence_numbers": {"type": SequenceNumbers}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "counters_per_entry": {"type": bool}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Access-list Name.""" counters_per_entry: bool | None sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18208,7 +16098,6 @@ def __init__( name: str | UndefinedType = Undefined, counters_per_entry: bool | None | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6StandardAccessListsItem. @@ -18220,7 +16109,6 @@ def __init__( name: Access-list Name. counters_per_entry: counters_per_entry sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -18244,7 +16132,6 @@ class Ipv6StaticRoutesItem(AvdModel): "tag": {"type": int}, "name": {"type": str}, "metric": {"type": int}, - "_custom_data": {"type": dict}, } vrf: str | None destination_address_prefix: str | None @@ -18259,7 +16146,6 @@ class Ipv6StaticRoutesItem(AvdModel): name: str | None """Description.""" metric: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18275,7 +16161,6 @@ def __init__( tag: int | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, metric: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6StaticRoutesItem. @@ -18293,7 +16178,6 @@ def __init__( tag: tag name: Description. metric: metric - _custom_data: _custom_data """ @@ -18316,13 +16200,11 @@ class ProtocolsItem(AvdModel): "forward": {"type": bool}, "tagged_forward": {"type": bool}, "untagged_forward": {"type": bool}, - "_custom_data": {"type": dict}, } name: Literal["bfd per-link rfc-7130", "e-lmi", "isis", "lacp", "lldp", "macsec", "pause", "stp"] forward: bool | None tagged_forward: bool | None untagged_forward: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18333,7 +16215,6 @@ def __init__( forward: bool | None | UndefinedType = Undefined, tagged_forward: bool | None | UndefinedType = Undefined, untagged_forward: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -18346,7 +16227,6 @@ def __init__( forward: forward tagged_forward: tagged_forward untagged_forward: untagged_forward - _custom_data: _custom_data """ @@ -18357,21 +16237,14 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): Protocols._item_type = ProtocolsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "protocols": {"type": Protocols}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "protocols": {"type": Protocols}} name: str protocols: Protocols """Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined) -> None: """ ForwardingProfilesItem. @@ -18381,7 +16254,6 @@ def __init__( Args: name: name protocols: Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -18392,16 +16264,13 @@ class ForwardingProfiles(AvdIndexedList[str, ForwardingProfilesItem]): ForwardingProfiles._item_type = ForwardingProfilesItem - _fields: ClassVar[dict] = {"forwarding_profiles": {"type": ForwardingProfiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"forwarding_profiles": {"type": ForwardingProfiles}} forwarding_profiles: ForwardingProfiles """Subclass of AvdIndexedList with `ForwardingProfilesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, forwarding_profiles: ForwardingProfiles | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, forwarding_profiles: ForwardingProfiles | UndefinedType = Undefined) -> None: """ L2Protocol. @@ -18410,7 +16279,6 @@ def __init__( Args: forwarding_profiles: Subclass of AvdIndexedList with `ForwardingProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -18423,22 +16291,15 @@ class PortId(AvdModel): class Range(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"begin": {"type": int}, "end": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"begin": {"type": int}, "end": {"type": int}} begin: int | None """Minimum LACP port-ID range.""" end: int | None """Maximum LACP port-ID range.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - begin: int | None | UndefinedType = Undefined, - end: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, begin: int | None | UndefinedType = Undefined, end: int | None | UndefinedType = Undefined) -> None: """ Range. @@ -18448,18 +16309,16 @@ def __init__( Args: begin: Minimum LACP port-ID range. end: Maximum LACP port-ID range. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"range": {"type": Range}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"range": {"type": Range}} range: Range """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, range: Range | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, range: Range | UndefinedType = Undefined) -> None: """ PortId. @@ -18468,21 +16327,19 @@ def __init__(self, *, range: Range | UndefinedType = Undefined, _custom_data: di Args: range: Subclass of AvdModel. - _custom_data: _custom_data """ class RateLimit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": bool}} default: bool | None """Enable LACPDU rate limiting by default on all ports.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: bool | None | UndefinedType = Undefined) -> None: """ RateLimit. @@ -18491,16 +16348,10 @@ def __init__(self, *, default: bool | None | UndefinedType = Undefined, _custom_ Args: default: Enable LACPDU rate limiting by default on all ports. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "port_id": {"type": PortId}, - "rate_limit": {"type": RateLimit}, - "system_priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"port_id": {"type": PortId}, "rate_limit": {"type": RateLimit}, "system_priority": {"type": int}} port_id: PortId """ LACP port-ID range configuration. @@ -18515,7 +16366,6 @@ def __init__(self, *, default: bool | None | UndefinedType = Undefined, _custom_ """ system_priority: int | None """Set local system LACP priority.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18525,7 +16375,6 @@ def __init__( port_id: PortId | UndefinedType = Undefined, rate_limit: RateLimit | UndefinedType = Undefined, system_priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lacp. @@ -18543,18 +16392,16 @@ def __init__( Subclass of AvdModel. system_priority: Set local system LACP priority. - _custom_data: _custom_data """ class LinkTrackingGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "links_minimum": {"type": int}, "recovery_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "links_minimum": {"type": int}, "recovery_delay": {"type": int}} name: str links_minimum: int | None recovery_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18564,7 +16411,6 @@ def __init__( name: str | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LinkTrackingGroupsItem. @@ -18576,7 +16422,6 @@ def __init__( name: name links_minimum: links_minimum recovery_delay: recovery_delay - _custom_data: _custom_data """ @@ -18593,7 +16438,7 @@ class Lldp(AvdModel): class TlvsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "transmit": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "transmit": {"type": bool}} name: Literal[ "link-aggregation", "management-address", @@ -18608,7 +16453,6 @@ class TlvsItem(AvdModel): "vlan-name", ] transmit: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18630,7 +16474,6 @@ def __init__( ] | UndefinedType = Undefined, transmit: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TlvsItem. @@ -18641,7 +16484,6 @@ def __init__( Args: name: name transmit: transmit - _custom_data: _custom_data """ @@ -18661,7 +16503,6 @@ class Tlvs(AvdIndexedList[str, TlvsItem]): "receive_packet_tagged_drop": {"type": bool}, "tlvs": {"type": Tlvs}, "run": {"type": bool}, - "_custom_data": {"type": dict}, } timer: int | None timer_reinitialization: int | None @@ -18672,7 +16513,6 @@ class Tlvs(AvdIndexedList[str, TlvsItem]): tlvs: Tlvs """Subclass of AvdIndexedList with `TlvsItem` items. Primary key is `name` (`str`).""" run: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18687,7 +16527,6 @@ def __init__( receive_packet_tagged_drop: bool | None | UndefinedType = Undefined, tlvs: Tlvs | UndefinedType = Undefined, run: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lldp. @@ -18704,21 +16543,19 @@ def __init__( receive_packet_tagged_drop: receive_packet_tagged_drop tlvs: Subclass of AvdIndexedList with `TlvsItem` items. Primary key is `name` (`str`). run: run - _custom_data: _custom_data """ class LoadInterval(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": int}} default: int | None """Default load interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: int | None | UndefinedType = Undefined) -> None: """ LoadInterval. @@ -18727,7 +16564,6 @@ def __init__(self, *, default: int | None | UndefinedType = Undefined, _custom_d Args: default: Default load interval in seconds. - _custom_data: _custom_data """ @@ -18744,7 +16580,6 @@ class LocalUsersItem(AvdModel): "ssh_key": {"type": str}, "secondary_ssh_key": {"type": str}, "shell": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Username.""" @@ -18773,7 +16608,6 @@ class LocalUsersItem(AvdModel): secondary_ssh_key: str | None shell: Literal["/bin/bash", "/bin/sh", "/sbin/nologin"] | None """Specify shell for the user.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18789,7 +16623,6 @@ def __init__( ssh_key: str | None | UndefinedType = Undefined, secondary_ssh_key: str | None | UndefinedType = Undefined, shell: Literal["/bin/bash", "/bin/sh", "/sbin/nologin"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LocalUsersItem. @@ -18815,7 +16648,6 @@ def __init__( ssh_key: ssh_key secondary_ssh_key: secondary_ssh_key shell: Specify shell for the user. - _custom_data: _custom_data """ @@ -18832,11 +16664,10 @@ class Logging(AvdModel): class Buffered(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"size": {"type": int}, "level": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"size": {"type": int}, "level": {"type": str}} size: int | None level: Literal["alerts", "critical", "debugging", "emergencies", "errors", "informational", "notifications", "warnings", "disabled"] | None """Buffer logging severity level.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18847,7 +16678,6 @@ def __init__( level: Literal["alerts", "critical", "debugging", "emergencies", "errors", "informational", "notifications", "warnings", "disabled"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Buffered. @@ -18858,21 +16688,19 @@ def __init__( Args: size: size level: Buffer logging severity level. - _custom_data: _custom_data """ class Synchronous(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str, "default": "critical"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str, "default": "critical"}} level: Literal["alerts", "all", "critical", "debugging", "emergencies", "errors", "informational", "notifications", "warnings", "disabled"] """ Synchronous logging severity level. Default value: `"critical"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18881,7 +16709,6 @@ def __init__( *, level: Literal["alerts", "all", "critical", "debugging", "emergencies", "errors", "informational", "notifications", "warnings", "disabled"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Synchronous. @@ -18891,20 +16718,13 @@ def __init__( Args: level: Synchronous logging severity level. - _custom_data: _custom_data """ class Format(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "timestamp": {"type": str}, - "hostname": {"type": str}, - "sequence_numbers": {"type": bool}, - "rfc5424": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"timestamp": {"type": str}, "hostname": {"type": str}, "sequence_numbers": {"type": bool}, "rfc5424": {"type": bool}} timestamp: ( Literal["high-resolution", "traditional", "traditional timezone", "traditional year", "traditional timezone year", "traditional year timezone"] | None @@ -18916,7 +16736,6 @@ class Format(AvdModel): """Add sequence numbers to log messages.""" rfc5424: bool | None """Forward logs in RFC5424 format.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18931,7 +16750,6 @@ def __init__( hostname: Literal["fqdn", "ipv4"] | None | UndefinedType = Undefined, sequence_numbers: bool | None | UndefinedType = Undefined, rfc5424: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Format. @@ -18944,7 +16762,6 @@ def __init__( hostname: Hostname format in syslogs. For hostname _only_, remove the line. (default EOS CLI behaviour). sequence_numbers: Add sequence numbers to log messages. rfc5424: Forward logs in RFC5424 format. - _custom_data: _custom_data """ @@ -18964,7 +16781,6 @@ class Ports(AvdList[int]): "protocol": {"type": str, "default": "udp"}, "ports": {"type": Ports}, "ssl_profile": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Syslog server name.""" @@ -18974,7 +16790,6 @@ class Ports(AvdList[int]): """Subclass of AvdList with `int` items.""" ssl_profile: str | None """Used when host protocol is 'tls'. Profiles are defined under `management_security.ssl_profiles`.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18985,7 +16800,6 @@ def __init__( protocol: Literal["tcp", "udp", "tls"] | UndefinedType = Undefined, ports: Ports | UndefinedType = Undefined, ssl_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -18998,7 +16812,6 @@ def __init__( protocol: protocol ports: Subclass of AvdList with `int` items. ssl_profile: Used when host protocol is 'tls'. Profiles are defined under `management_security.ssl_profiles`. - _custom_data: _custom_data """ @@ -19009,14 +16822,13 @@ class Hosts(AvdIndexedList[str, HostsItem]): Hosts._item_type = HostsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "source_interface": {"type": str}, "hosts": {"type": Hosts}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "source_interface": {"type": str}, "hosts": {"type": Hosts}} name: str """VRF name.""" source_interface: str | None """Source interface name.""" hosts: Hosts """Subclass of AvdIndexedList with `HostsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19026,7 +16838,6 @@ def __init__( name: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, hosts: Hosts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -19038,7 +16849,6 @@ def __init__( name: VRF name. source_interface: Source interface name. hosts: Subclass of AvdIndexedList with `HostsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -19058,21 +16868,14 @@ class Match(AvdModel): class MatchListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "action": {"type": str}} name: str """Match list.""" action: Literal["discard"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - action: Literal["discard"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, action: Literal["discard"] | None | UndefinedType = Undefined) -> None: """ MatchListsItem. @@ -19082,7 +16885,6 @@ def __init__( Args: name: Match list. action: action - _custom_data: _custom_data """ @@ -19093,16 +16895,13 @@ class MatchLists(AvdIndexedList[str, MatchListsItem]): MatchLists._item_type = MatchListsItem - _fields: ClassVar[dict] = {"match_lists": {"type": MatchLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"match_lists": {"type": MatchLists}} match_lists: MatchLists """Subclass of AvdIndexedList with `MatchListsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, match_lists: MatchLists | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, match_lists: MatchLists | UndefinedType = Undefined) -> None: """ Match. @@ -19111,18 +16910,16 @@ def __init__( Args: match_lists: Subclass of AvdIndexedList with `MatchListsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"match": {"type": Match}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"match": {"type": Match}} match: Match """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, match: Match | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, match: Match | UndefinedType = Undefined) -> None: """ Policy. @@ -19131,7 +16928,6 @@ def __init__(self, *, match: Match | UndefinedType = Undefined, _custom_data: di Args: match: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19144,23 +16940,16 @@ class StormControl(AvdModel): class Discards(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"field_global": {"type": bool}, "interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"field_global": {"type": bool}, "interval": {"type": int}} _field_to_key_map: ClassVar[dict] = {"field_global": "global"} _key_to_field_map: ClassVar[dict] = {"global": "field_global"} field_global: bool | None interval: int | None """Logging interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - field_global: bool | None | UndefinedType = Undefined, - interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, field_global: bool | None | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined) -> None: """ Discards. @@ -19170,18 +16959,16 @@ def __init__( Args: field_global: field_global interval: Logging interval in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"discards": {"type": Discards}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"discards": {"type": Discards}} discards: Discards """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, discards: Discards | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, discards: Discards | UndefinedType = Undefined) -> None: """ StormControl. @@ -19190,7 +16977,6 @@ def __init__(self, *, discards: Discards | UndefinedType = Undefined, _custom_da Args: discards: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19198,14 +16984,12 @@ def __init__(self, *, discards: Discards | UndefinedType = Undefined, _custom_da "congestion_drops_interval": {"type": int}, "global_link_status": {"type": bool}, "storm_control": {"type": StormControl}, - "_custom_data": {"type": dict}, } congestion_drops_interval: int | None """Logging interval in seconds.""" global_link_status: bool | None storm_control: StormControl """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19215,7 +16999,6 @@ def __init__( congestion_drops_interval: int | None | UndefinedType = Undefined, global_link_status: bool | None | UndefinedType = Undefined, storm_control: StormControl | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Event. @@ -19227,14 +17010,13 @@ def __init__( congestion_drops_interval: Logging interval in seconds. global_link_status: global_link_status storm_control: Subclass of AvdModel. - _custom_data: _custom_data """ class LevelItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"facility": {"type": str}, "severity": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"facility": {"type": str}, "severity": {"type": str}} facility: str severity: ( Literal[ @@ -19273,7 +17055,6 @@ class LevelItem(AvdModel): Debugging messages (severity=7) <0-7> Severity level value """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19301,7 +17082,6 @@ def __init__( ] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LevelItem. @@ -19326,7 +17106,6 @@ def __init__( debugging Debugging messages (severity=7) <0-7> Severity level value - _custom_data: _custom_data """ @@ -19351,7 +17130,6 @@ class Level(AvdIndexedList[str, LevelItem]): "policy": {"type": Policy}, "event": {"type": Event}, "level": {"type": Level}, - "_custom_data": {"type": dict}, } console: Literal["debugging", "informational", "notifications", "warnings", "errors", "critical", "alerts", "emergencies", "disabled"] | None """Console logging severity level.""" @@ -19411,7 +17189,6 @@ class Level(AvdIndexedList[str, LevelItem]): Subclass of AvdIndexedList with `LevelItem` items. Primary key is `facility` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19464,7 +17241,6 @@ def __init__( policy: Policy | UndefinedType = Undefined, event: Event | UndefinedType = Undefined, level: Level | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Logging. @@ -19490,7 +17266,6 @@ def __init__( Subclass of AvdIndexedList with `LevelItem` items. Primary key is `facility` (`str`). - _custom_data: _custom_data """ @@ -19508,13 +17283,12 @@ class Mpls(AvdModel): class Ldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interface": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": bool}} interface: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interface: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interface: bool | None | UndefinedType = Undefined) -> None: """ Ldp. @@ -19523,18 +17297,16 @@ def __init__(self, *, interface: bool | None | UndefinedType = Undefined, _custo Args: interface: interface - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ldp": {"type": Ldp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ldp": {"type": Ldp}} ldp: Ldp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ldp: Ldp | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ldp: Ldp | UndefinedType = Undefined) -> None: """ Mpls. @@ -19543,27 +17315,19 @@ def __init__(self, *, ldp: Ldp | UndefinedType = Undefined, _custom_data: dict[s Args: ldp: Subclass of AvdModel. - _custom_data: _custom_data """ class NodeSegment(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_index": {"type": int}, "ipv6_index": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_index": {"type": int}, "ipv6_index": {"type": int}} ipv4_index: int | None ipv6_index: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4_index: int | None | UndefinedType = Undefined, - ipv6_index: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4_index: int | None | UndefinedType = Undefined, ipv6_index: int | None | UndefinedType = Undefined) -> None: """ NodeSegment. @@ -19573,7 +17337,6 @@ def __init__( Args: ipv4_index: ipv4_index ipv6_index: ipv6_index - _custom_data: _custom_data """ @@ -19596,7 +17359,6 @@ def __init__( "isis_network_point_to_point": {"type": bool}, "node_segment": {"type": NodeSegment}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Loopback interface name e.g. "Loopback0".""" @@ -19626,7 +17388,6 @@ def __init__( """Subclass of AvdModel.""" eos_cli: str | None """EOS CLI rendered directly on the loopback interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19651,7 +17412,6 @@ def __init__( isis_network_point_to_point: bool | None | UndefinedType = Undefined, node_segment: NodeSegment | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LoopbackInterfacesItem. @@ -19678,7 +17438,6 @@ def __init__( isis_network_point_to_point: isis_network_point_to_point node_segment: Subclass of AvdModel. eos_cli: EOS CLI rendered directly on the loopback interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -19695,20 +17454,13 @@ class MacAccessListsItem(AvdModel): class EntriesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int | None action: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | None | UndefinedType = Undefined, - action: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | None | UndefinedType = Undefined, action: str | None | UndefinedType = Undefined) -> None: """ EntriesItem. @@ -19718,7 +17470,6 @@ def __init__( Args: sequence: sequence action: action - _custom_data: _custom_data """ @@ -19727,13 +17478,12 @@ class Entries(AvdList[EntriesItem]): Entries._item_type = EntriesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "counters_per_entry": {"type": bool}, "entries": {"type": Entries}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "counters_per_entry": {"type": bool}, "entries": {"type": Entries}} name: str """MAC Access-list Name.""" counters_per_entry: bool | None entries: Entries """Subclass of AvdList with `EntriesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19743,7 +17493,6 @@ def __init__( name: str | UndefinedType = Undefined, counters_per_entry: bool | None | UndefinedType = Undefined, entries: Entries | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MacAccessListsItem. @@ -19755,7 +17504,6 @@ def __init__( name: MAC Access-list Name. counters_per_entry: counters_per_entry entries: Subclass of AvdList with `EntriesItem` items. - _custom_data: _custom_data """ @@ -19775,20 +17523,13 @@ class NotificationHostFlap(AvdModel): class Detection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"window": {"type": int}, "moves": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"window": {"type": int}, "moves": {"type": int}} window: int | None moves: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - window: int | None | UndefinedType = Undefined, - moves: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, window: int | None | UndefinedType = Undefined, moves: int | None | UndefinedType = Undefined) -> None: """ Detection. @@ -19798,25 +17539,17 @@ def __init__( Args: window: window moves: moves - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"logging": {"type": bool}, "detection": {"type": Detection}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"logging": {"type": bool}, "detection": {"type": Detection}} logging: bool | None detection: Detection """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - logging: bool | None | UndefinedType = Undefined, - detection: Detection | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, logging: bool | None | UndefinedType = Undefined, detection: Detection | UndefinedType = Undefined) -> None: """ NotificationHostFlap. @@ -19826,25 +17559,19 @@ def __init__( Args: logging: logging detection: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"aging_time": {"type": int}, "notification_host_flap": {"type": NotificationHostFlap}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"aging_time": {"type": int}, "notification_host_flap": {"type": NotificationHostFlap}} aging_time: int | None """Aging time in seconds.""" notification_host_flap: NotificationHostFlap """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - aging_time: int | None | UndefinedType = Undefined, - notification_host_flap: NotificationHostFlap | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, aging_time: int | None | UndefinedType = Undefined, notification_host_flap: NotificationHostFlap | UndefinedType = Undefined ) -> None: """ MacAddressTable. @@ -19855,7 +17582,6 @@ def __init__( Args: aging_time: Aging time in seconds. notification_host_flap: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19865,20 +17591,13 @@ class MacSecurity(AvdModel): class License(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"license_name": {"type": str}, "license_key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"license_name": {"type": str}, "license_key": {"type": str}} license_name: str license_key: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - license_name: str | UndefinedType = Undefined, - license_key: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, license_name: str | UndefinedType = Undefined, license_key: str | UndefinedType = Undefined) -> None: """ License. @@ -19888,7 +17607,6 @@ def __init__( Args: license_name: license_name license_key: license_key - _custom_data: _custom_data """ @@ -19898,11 +17616,10 @@ class ProfilesItem(AvdModel): class ConnectionKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": str}, "encrypted_key": {"type": str}, "fallback": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": str}, "encrypted_key": {"type": str}, "fallback": {"type": bool}} id: str encrypted_key: str | None fallback: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19912,7 +17629,6 @@ def __init__( id: str | UndefinedType = Undefined, encrypted_key: str | None | UndefinedType = Undefined, fallback: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ConnectionKeysItem. @@ -19924,7 +17640,6 @@ def __init__( id: id encrypted_key: encrypted_key fallback: fallback - _custom_data: _custom_data """ @@ -19941,16 +17656,13 @@ class Mka(AvdModel): class Session(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rekey_period": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rekey_period": {"type": int}} rekey_period: int | None """Rekey period in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, rekey_period: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, rekey_period: int | None | UndefinedType = Undefined) -> None: """ Session. @@ -19959,25 +17671,17 @@ def __init__( Args: rekey_period: Rekey period in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"key_server_priority": {"type": int}, "session": {"type": Session}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_server_priority": {"type": int}, "session": {"type": Session}} key_server_priority: int | None session: Session """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - key_server_priority: int | None | UndefinedType = Undefined, - session: Session | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, key_server_priority: int | None | UndefinedType = Undefined, session: Session | UndefinedType = Undefined) -> None: """ Mka. @@ -19987,7 +17691,6 @@ def __init__( Args: key_server_priority: key_server_priority session: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19997,15 +17700,12 @@ class L2Protocols(AvdModel): class EthernetFlowControl(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}} mode: Literal["encrypt", "bypass"] - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, mode: Literal["encrypt", "bypass"] | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, mode: Literal["encrypt", "bypass"] | UndefinedType = Undefined) -> None: """ EthernetFlowControl. @@ -20014,25 +17714,18 @@ def __init__( Args: mode: mode - _custom_data: _custom_data """ class Lldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}} mode: Literal["bypass", "bypass unauthorized"] - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mode: Literal["bypass", "bypass unauthorized"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mode: Literal["bypass", "bypass unauthorized"] | UndefinedType = Undefined) -> None: """ Lldp. @@ -20041,25 +17734,19 @@ def __init__( Args: mode: mode - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ethernet_flow_control": {"type": EthernetFlowControl}, "lldp": {"type": Lldp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ethernet_flow_control": {"type": EthernetFlowControl}, "lldp": {"type": Lldp}} ethernet_flow_control: EthernetFlowControl """Subclass of AvdModel.""" lldp: Lldp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ethernet_flow_control: EthernetFlowControl | UndefinedType = Undefined, - lldp: Lldp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ethernet_flow_control: EthernetFlowControl | UndefinedType = Undefined, lldp: Lldp | UndefinedType = Undefined ) -> None: """ L2Protocols. @@ -20070,28 +17757,22 @@ def __init__( Args: ethernet_flow_control: Subclass of AvdModel. lldp: Subclass of AvdModel. - _custom_data: _custom_data """ class TrafficUnprotected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "allow_active_sak": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}, "allow_active_sak": {"type": bool}} action: Literal["allow", "drop"] """Allow/drop the transmit/receive of unprotected traffic.""" allow_active_sak: bool | None """Allow transmit/receive of encrypted traffic using operational SAK and block otherwise.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - action: Literal["allow", "drop"] | UndefinedType = Undefined, - allow_active_sak: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, action: Literal["allow", "drop"] | UndefinedType = Undefined, allow_active_sak: bool | None | UndefinedType = Undefined ) -> None: """ TrafficUnprotected. @@ -20102,7 +17783,6 @@ def __init__( Args: action: Allow/drop the transmit/receive of unprotected traffic. allow_active_sak: Allow transmit/receive of encrypted traffic using operational SAK and block otherwise. - _custom_data: _custom_data """ @@ -20114,7 +17794,6 @@ def __init__( "sci": {"type": bool}, "l2_protocols": {"type": L2Protocols}, "traffic_unprotected": {"type": TrafficUnprotected}, - "_custom_data": {"type": dict}, } name: str """Profile-Name.""" @@ -20128,7 +17807,6 @@ def __init__( """Subclass of AvdModel.""" traffic_unprotected: TrafficUnprotected """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20142,7 +17820,6 @@ def __init__( sci: bool | None | UndefinedType = Undefined, l2_protocols: L2Protocols | UndefinedType = Undefined, traffic_unprotected: TrafficUnprotected | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -20158,7 +17835,6 @@ def __init__( sci: sci l2_protocols: Subclass of AvdModel. traffic_unprotected: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20169,18 +17845,12 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): Profiles._item_type = ProfilesItem - _fields: ClassVar[dict] = { - "license": {"type": License}, - "fips_restrictions": {"type": bool}, - "profiles": {"type": Profiles}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"license": {"type": License}, "fips_restrictions": {"type": bool}, "profiles": {"type": Profiles}} license: License """Subclass of AvdModel.""" fips_restrictions: bool | None profiles: Profiles """Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20190,7 +17860,6 @@ def __init__( license: License | UndefinedType = Undefined, fips_restrictions: bool | None | UndefinedType = Undefined, profiles: Profiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MacSecurity. @@ -20202,7 +17871,6 @@ def __init__( license: Subclass of AvdModel. fips_restrictions: fips_restrictions profiles: Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -20215,22 +17883,15 @@ class InterfaceProfilesItem(AvdModel): class RateMonitoring(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"load_interval": {"type": int}, "threshold": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"load_interval": {"type": int}, "threshold": {"type": int}} load_interval: int | None """Load Interval in Seconds.""" threshold: int | None """Threshold in kbps.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - load_interval: int | None | UndefinedType = Undefined, - threshold: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, load_interval: int | None | UndefinedType = Undefined, threshold: int | None | UndefinedType = Undefined) -> None: """ RateMonitoring. @@ -20240,21 +17901,19 @@ def __init__( Args: load_interval: Load Interval in Seconds. threshold: Threshold in kbps. - _custom_data: _custom_data """ class Shutdown(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"max_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"max_delay": {"type": int}} max_delay: int | None """Max delay in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, max_delay: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, max_delay: int | None | UndefinedType = Undefined) -> None: """ Shutdown. @@ -20263,22 +17922,15 @@ def __init__(self, *, max_delay: int | None | UndefinedType = Undefined, _custom Args: max_delay: Max delay in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "rate_monitoring": {"type": RateMonitoring}, - "shutdown": {"type": Shutdown}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "rate_monitoring": {"type": RateMonitoring}, "shutdown": {"type": Shutdown}} name: str rate_monitoring: RateMonitoring """Subclass of AvdModel.""" shutdown: Shutdown """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20288,7 +17940,6 @@ def __init__( name: str | UndefinedType = Undefined, rate_monitoring: RateMonitoring | UndefinedType = Undefined, shutdown: Shutdown | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfaceProfilesItem. @@ -20300,7 +17951,6 @@ def __init__( name: name rate_monitoring: Subclass of AvdModel. shutdown: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20317,16 +17967,13 @@ class BgpProfilesItem(AvdModel): class Initiator(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"route_map_inout": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"route_map_inout": {"type": str}} route_map_inout: str | None """Route Map.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, route_map_inout: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, route_map_inout: str | None | UndefinedType = Undefined) -> None: """ Initiator. @@ -20335,26 +17982,18 @@ def __init__( Args: route_map_inout: Route Map. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "initiator": {"type": Initiator}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "initiator": {"type": Initiator}} name: str """BGP Profile Name.""" initiator: Initiator """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - initiator: Initiator | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, initiator: Initiator | UndefinedType = Undefined) -> None: """ BgpProfilesItem. @@ -20364,7 +18003,6 @@ def __init__( Args: name: BGP Profile Name. initiator: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20381,14 +18019,13 @@ class UnitProfilesItem(AvdModel): class OnBoot(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"duration": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"duration": {"type": int}} duration: int | None """On-boot in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, duration: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, duration: int | None | UndefinedType = Undefined) -> None: """ OnBoot. @@ -20397,26 +18034,18 @@ def __init__(self, *, duration: int | None | UndefinedType = Undefined, _custom_ Args: duration: On-boot in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "on_boot": {"type": OnBoot}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "on_boot": {"type": OnBoot}} name: str """Unit Profile Name.""" on_boot: OnBoot """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - on_boot: OnBoot | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, on_boot: OnBoot | UndefinedType = Undefined) -> None: """ UnitProfilesItem. @@ -20426,7 +18055,6 @@ def __init__( Args: name: Unit Profile Name. on_boot: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20453,21 +18081,16 @@ class InterfaceGroups(AvdList[str]): InterfaceGroups._item_type = str - _fields: ClassVar[dict] = {"bgp_groups": {"type": BgpGroups}, "interface_groups": {"type": InterfaceGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"bgp_groups": {"type": BgpGroups}, "interface_groups": {"type": InterfaceGroups}} bgp_groups: BgpGroups """Subclass of AvdList with `str` items.""" interface_groups: InterfaceGroups """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - bgp_groups: BgpGroups | UndefinedType = Undefined, - interface_groups: InterfaceGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, bgp_groups: BgpGroups | UndefinedType = Undefined, interface_groups: InterfaceGroups | UndefinedType = Undefined ) -> None: """ Groups. @@ -20478,17 +18101,10 @@ def __init__( Args: bgp_groups: Subclass of AvdList with `str` items. interface_groups: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "quiesce": {"type": bool}, - "profile": {"type": str}, - "groups": {"type": Groups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "quiesce": {"type": bool}, "profile": {"type": str}, "groups": {"type": Groups}} name: str """Unit Name.""" quiesce: bool | None @@ -20496,7 +18112,6 @@ def __init__( """Name of Unit Profile.""" groups: Groups """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20507,7 +18122,6 @@ def __init__( quiesce: bool | None | UndefinedType = Undefined, profile: str | None | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UnitsItem. @@ -20520,7 +18134,6 @@ def __init__( quiesce: quiesce profile: Name of Unit Profile. groups: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20539,7 +18152,6 @@ class Units(AvdIndexedList[str, UnitsItem]): "bgp_profiles": {"type": BgpProfiles}, "unit_profiles": {"type": UnitProfiles}, "units": {"type": Units}, - "_custom_data": {"type": dict}, } default_interface_profile: str | None """Name of default Interface Profile.""" @@ -20555,7 +18167,6 @@ class Units(AvdIndexedList[str, UnitsItem]): """Subclass of AvdIndexedList with `UnitProfilesItem` items. Primary key is `name` (`str`).""" units: Units """Subclass of AvdIndexedList with `UnitsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20569,7 +18180,6 @@ def __init__( bgp_profiles: BgpProfiles | UndefinedType = Undefined, unit_profiles: UnitProfiles | UndefinedType = Undefined, units: Units | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Maintenance. @@ -20585,7 +18195,6 @@ def __init__( bgp_profiles: Subclass of AvdIndexedList with `BgpProfilesItem` items. Primary key is `name` (`str`). unit_profiles: Subclass of AvdIndexedList with `UnitProfilesItem` items. Primary key is `name` (`str`). units: Subclass of AvdIndexedList with `UnitsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -20595,13 +18204,12 @@ class ManagementAccounts(AvdModel): class Password(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policy": {"type": str}} policy: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, policy: str | None | UndefinedType = Undefined) -> None: """ Password. @@ -20610,18 +18218,16 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da Args: policy: policy - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"password": {"type": Password}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"password": {"type": Password}} password: Password """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, password: Password | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, password: Password | UndefinedType = Undefined) -> None: """ ManagementAccounts. @@ -20630,7 +18236,6 @@ def __init__(self, *, password: Password | UndefinedType = Undefined, _custom_da Args: password: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20650,7 +18255,6 @@ class GrpcItem(AvdModel): "notification_timestamp": {"type": str}, "ip_access_group": {"type": str}, "port": {"type": int}, - "_custom_data": {"type": dict}, } name: str """Transport name.""" @@ -20677,7 +18281,6 @@ class GrpcItem(AvdModel): Make sure to update the control-plane ACL accordingly in order for the service to be reachable by external applications. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20690,7 +18293,6 @@ def __init__( notification_timestamp: Literal["send-time", "last-change-time"] | None | UndefinedType = Undefined, ip_access_group: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GrpcItem. @@ -20716,7 +18318,6 @@ def __init__( GNMI port. Make sure to update the control-plane ACL accordingly in order for the service to be reachable by external applications. - _custom_data: _custom_data """ @@ -20733,22 +18334,15 @@ class GrpcTunnelsItem(AvdModel): class Destination(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}, "port": {"type": int}} address: str """IP address or hostname.""" port: int """TCP Port.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address: str | UndefinedType = Undefined, - port: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined, port: int | UndefinedType = Undefined) -> None: """ Destination. @@ -20758,29 +18352,21 @@ def __init__( Args: address: IP address or hostname. port: TCP Port. - _custom_data: _custom_data """ class LocalInterface(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "port": {"type": int}} name: str """Interface name.""" port: int """TCP Port.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - port: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, port: int | UndefinedType = Undefined) -> None: """ LocalInterface. @@ -20790,7 +18376,6 @@ def __init__( Args: name: Interface name. port: TCP Port. - _custom_data: _custom_data """ @@ -20802,7 +18387,7 @@ class TargetIds(AvdList[str]): TargetIds._item_type = str - _fields: ClassVar[dict] = {"use_serial_number": {"type": bool}, "target_ids": {"type": TargetIds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"use_serial_number": {"type": bool}, "target_ids": {"type": TargetIds}} use_serial_number: bool | None """Use serial number as the Target ID.""" target_ids: TargetIds @@ -20812,16 +18397,11 @@ class TargetIds(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - use_serial_number: bool | None | UndefinedType = Undefined, - target_ids: TargetIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, use_serial_number: bool | None | UndefinedType = Undefined, target_ids: TargetIds | UndefinedType = Undefined ) -> None: """ Target. @@ -20836,7 +18416,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -20849,7 +18428,6 @@ def __init__( "destination": {"type": Destination}, "local_interface": {"type": LocalInterface}, "target": {"type": Target}, - "_custom_data": {"type": dict}, } name: str """Transport name.""" @@ -20867,7 +18445,6 @@ def __init__( """Subclass of AvdModel.""" target: Target """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20882,7 +18459,6 @@ def __init__( destination: Destination | UndefinedType = Undefined, local_interface: LocalInterface | UndefinedType = Undefined, target: Target | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GrpcTunnelsItem. @@ -20899,7 +18475,6 @@ def __init__( destination: Subclass of AvdModel. local_interface: Subclass of AvdModel. target: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20910,22 +18485,15 @@ class GrpcTunnels(AvdIndexedList[str, GrpcTunnelsItem]): GrpcTunnels._item_type = GrpcTunnelsItem - _fields: ClassVar[dict] = {"grpc": {"type": Grpc}, "grpc_tunnels": {"type": GrpcTunnels}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"grpc": {"type": Grpc}, "grpc_tunnels": {"type": GrpcTunnels}} grpc: Grpc """Subclass of AvdIndexedList with `GrpcItem` items. Primary key is `name` (`str`).""" grpc_tunnels: GrpcTunnels """Subclass of AvdIndexedList with `GrpcTunnelsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - grpc: Grpc | UndefinedType = Undefined, - grpc_tunnels: GrpcTunnels | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, grpc: Grpc | UndefinedType = Undefined, grpc_tunnels: GrpcTunnels | UndefinedType = Undefined) -> None: """ Transport. @@ -20935,26 +18503,18 @@ def __init__( Args: grpc: Subclass of AvdIndexedList with `GrpcItem` items. Primary key is `name` (`str`). grpc_tunnels: Subclass of AvdIndexedList with `GrpcTunnelsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"provider": {"type": str, "default": "eos-native"}, "transport": {"type": Transport}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"provider": {"type": str, "default": "eos-native"}, "transport": {"type": Transport}} provider: str """Default value: `"eos-native"`""" transport: Transport """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - provider: str | UndefinedType = Undefined, - transport: Transport | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, provider: str | UndefinedType = Undefined, transport: Transport | UndefinedType = Undefined) -> None: """ ManagementApiGnmi. @@ -20964,7 +18524,6 @@ def __init__( Args: provider: provider transport: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20974,14 +18533,13 @@ class ManagementApiHttp(AvdModel): class EnableVrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "access_group": {"type": str}, "ipv6_access_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "access_group": {"type": str}, "ipv6_access_group": {"type": str}} name: str """VRF Name.""" access_group: str | None """Standard IPv4 ACL name.""" ipv6_access_group: str | None """Standard IPv6 ACL name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20991,7 +18549,6 @@ def __init__( name: str | UndefinedType = Undefined, access_group: str | None | UndefinedType = Undefined, ipv6_access_group: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EnableVrfsItem. @@ -21003,7 +18560,6 @@ def __init__( name: VRF Name. access_group: Standard IPv4 ACL name. ipv6_access_group: Standard IPv6 ACL name. - _custom_data: _custom_data """ @@ -21017,22 +18573,15 @@ class EnableVrfs(AvdIndexedList[str, EnableVrfsItem]): class ProtocolHttpsCertificate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"certificate": {"type": str}, "private_key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"certificate": {"type": str}, "private_key": {"type": str}} certificate: str | None """Name of certificate; private key must also be specified.""" private_key: str | None """Name of private key; certificate must also be specified.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - certificate: str | None | UndefinedType = Undefined, - private_key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, certificate: str | None | UndefinedType = Undefined, private_key: str | None | UndefinedType = Undefined) -> None: """ ProtocolHttpsCertificate. @@ -21042,7 +18591,6 @@ def __init__( Args: certificate: Name of certificate; private key must also be specified. private_key: Name of private key; certificate must also be specified. - _custom_data: _custom_data """ @@ -21054,7 +18602,6 @@ def __init__( "default_services": {"type": bool}, "enable_vrfs": {"type": EnableVrfs}, "protocol_https_certificate": {"type": ProtocolHttpsCertificate}, - "_custom_data": {"type": dict}, } enable_http: bool | None enable_https: bool | None @@ -21067,7 +18614,6 @@ def __init__( """Subclass of AvdIndexedList with `EnableVrfsItem` items. Primary key is `name` (`str`).""" protocol_https_certificate: ProtocolHttpsCertificate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21081,7 +18627,6 @@ def __init__( default_services: bool | None | UndefinedType = Undefined, enable_vrfs: EnableVrfs | UndefinedType = Undefined, protocol_https_certificate: ProtocolHttpsCertificate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementApiHttp. @@ -21097,7 +18642,6 @@ def __init__( default_services: Enable default services: capi-doc and tapagg. enable_vrfs: Subclass of AvdIndexedList with `EnableVrfsItem` items. Primary key is `name` (`str`). protocol_https_certificate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21110,21 +18654,14 @@ class ProvidersItem(AvdModel): class PathsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"path": {"type": str}, "disabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"path": {"type": str}, "disabled": {"type": bool, "default": False}} path: str | None disabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - path: str | None | UndefinedType = Undefined, - disabled: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, path: str | None | UndefinedType = Undefined, disabled: bool | UndefinedType = Undefined) -> None: """ PathsItem. @@ -21134,7 +18671,6 @@ def __init__( Args: path: path disabled: disabled - _custom_data: _custom_data """ @@ -21143,21 +18679,14 @@ class Paths(AvdList[PathsItem]): Paths._item_type = PathsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "paths": {"type": Paths}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "paths": {"type": Paths}} name: Literal["sysdb", "smash"] | None paths: Paths """Subclass of AvdList with `PathsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: Literal["sysdb", "smash"] | None | UndefinedType = Undefined, - paths: Paths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: Literal["sysdb", "smash"] | None | UndefinedType = Undefined, paths: Paths | UndefinedType = Undefined) -> None: """ ProvidersItem. @@ -21167,7 +18696,6 @@ def __init__( Args: name: name paths: Subclass of AvdList with `PathsItem` items. - _custom_data: _custom_data """ @@ -21176,14 +18704,13 @@ class Providers(AvdList[ProvidersItem]): Providers._item_type = ProvidersItem - _fields: ClassVar[dict] = {"providers": {"type": Providers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"providers": {"type": Providers}} providers: Providers """Subclass of AvdList with `ProvidersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, providers: Providers | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, providers: Providers | UndefinedType = Undefined) -> None: """ ManagementApiModels. @@ -21192,20 +18719,18 @@ def __init__(self, *, providers: Providers | UndefinedType = Undefined, _custom_ Args: providers: Subclass of AvdList with `ProvidersItem` items. - _custom_data: _custom_data """ class ManagementConsole(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"idle_timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"idle_timeout": {"type": int}} idle_timeout: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, idle_timeout: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, idle_timeout: int | None | UndefinedType = Undefined) -> None: """ ManagementConsole. @@ -21214,7 +18739,6 @@ def __init__(self, *, idle_timeout: int | None | UndefinedType = Undefined, _cus Args: idle_timeout: idle_timeout - _custom_data: _custom_data """ @@ -21226,13 +18750,7 @@ class ServerHosts(AvdList[str]): ServerHosts._item_type = str - _fields: ClassVar[dict] = { - "shutdown": {"type": bool}, - "server_hosts": {"type": ServerHosts}, - "source_interface": {"type": str}, - "vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "server_hosts": {"type": ServerHosts}, "source_interface": {"type": str}, "vrf": {"type": str}} shutdown: bool | None server_hosts: ServerHosts """Subclass of AvdList with `str` items.""" @@ -21240,7 +18758,6 @@ class ServerHosts(AvdList[str]): """Interface name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21251,7 +18768,6 @@ def __init__( server_hosts: ServerHosts | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementCvx. @@ -21264,7 +18780,6 @@ def __init__( server_hosts: Subclass of AvdList with `str` items. source_interface: Interface name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -21274,15 +18789,12 @@ class ManagementDefaults(AvdModel): class Secret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"hash": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hash": {"type": str}} hash: Literal["md5", "sha512"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, hash: Literal["md5", "sha512"] | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, hash: Literal["md5", "sha512"] | None | UndefinedType = Undefined) -> None: """ Secret. @@ -21291,18 +18803,16 @@ def __init__( Args: hash: hash - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"secret": {"type": Secret}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"secret": {"type": Secret}} secret: Secret """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, secret: Secret | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, secret: Secret | UndefinedType = Undefined) -> None: """ ManagementDefaults. @@ -21311,7 +18821,6 @@ def __init__(self, *, secret: Secret | UndefinedType = Undefined, _custom_data: Args: secret: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21321,12 +18830,11 @@ class ManagementInterfacesItem(AvdModel): class Lldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"transmit": {"type": bool}, "receive": {"type": bool}, "ztp_vlan": {"type": int}} transmit: bool | None receive: bool | None ztp_vlan: int | None """ZTP vlan number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21336,7 +18844,6 @@ def __init__( transmit: bool | None | UndefinedType = Undefined, receive: bool | None | UndefinedType = Undefined, ztp_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lldp. @@ -21348,7 +18855,6 @@ def __init__( transmit: transmit receive: receive ztp_vlan: ZTP vlan number. - _custom_data: _custom_data """ @@ -21368,7 +18874,6 @@ def __init__( "mac_address": {"type": str}, "lldp": {"type": Lldp}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Management Interface Name.""" @@ -21403,7 +18908,6 @@ def __init__( """Subclass of AvdModel.""" eos_cli: str | None """Multiline EOS CLI rendered directly on the management interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21425,7 +18929,6 @@ def __init__( mac_address: str | None | UndefinedType = Undefined, lldp: Lldp | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementInterfacesItem. @@ -21451,7 +18954,6 @@ def __init__( mac_address: MAC address. lldp: Subclass of AvdModel. eos_cli: Multiline EOS CLI rendered directly on the management interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -21473,7 +18975,6 @@ class EntropySources(AvdModel): "haveged": {"type": bool}, "cpu_jitter": {"type": bool}, "hardware_exclusive": {"type": bool}, - "_custom_data": {"type": dict}, } hardware: bool | None """Use a hardware based source.""" @@ -21483,7 +18984,6 @@ class EntropySources(AvdModel): """Use the Jitter RNG algorithm of a CPU based source.""" hardware_exclusive: bool | None """Only use entropy from the hardware source.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21494,7 +18994,6 @@ def __init__( haveged: bool | None | UndefinedType = Undefined, cpu_jitter: bool | None | UndefinedType = Undefined, hardware_exclusive: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EntropySources. @@ -21507,7 +19006,6 @@ def __init__( haveged: Use the HAVEGE algorithm. cpu_jitter: Use the Jitter RNG algorithm of a CPU based source. hardware_exclusive: Only use entropy from the hardware source. - _custom_data: _custom_data """ @@ -21526,14 +19024,12 @@ class Minimum(AvdModel): "lower": {"type": int}, "special": {"type": int}, "upper": {"type": int}, - "_custom_data": {"type": dict}, } digits: int | None length: int | None lower: int | None special: int | None upper: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21545,7 +19041,6 @@ def __init__( lower: int | None | UndefinedType = Undefined, special: int | None | UndefinedType = Undefined, upper: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Minimum. @@ -21559,27 +19054,19 @@ def __init__( lower: lower special: special upper: upper - _custom_data: _custom_data """ class Maximum(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"repetitive": {"type": int}, "sequential": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"repetitive": {"type": int}, "sequential": {"type": int}} repetitive: int | None sequential: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - repetitive: int | None | UndefinedType = Undefined, - sequential: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, repetitive: int | None | UndefinedType = Undefined, sequential: int | None | UndefinedType = Undefined) -> None: """ Maximum. @@ -21589,17 +19076,15 @@ def __init__( Args: repetitive: repetitive sequential: sequential - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "minimum": {"type": Minimum}, "maximum": {"type": Maximum}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "minimum": {"type": Minimum}, "maximum": {"type": Maximum}} name: str minimum: Minimum """Subclass of AvdModel.""" maximum: Maximum """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21609,7 +19094,6 @@ def __init__( name: str | UndefinedType = Undefined, minimum: Minimum | UndefinedType = Undefined, maximum: Maximum | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PoliciesItem. @@ -21621,7 +19105,6 @@ def __init__( name: name minimum: Subclass of AvdModel. maximum: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21637,14 +19120,12 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "encryption_key_common": {"type": bool}, "encryption_reversible": {"type": str}, "policies": {"type": Policies}, - "_custom_data": {"type": dict}, } minimum_length: int | None encryption_key_common: bool | None encryption_reversible: str | None policies: Policies """Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21655,7 +19136,6 @@ def __init__( encryption_key_common: bool | None | UndefinedType = Undefined, encryption_reversible: str | None | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Password. @@ -21668,7 +19148,6 @@ def __init__( encryption_key_common: encryption_key_common encryption_reversible: encryption_reversible policies: Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -21678,7 +19157,7 @@ class SslProfilesItem(AvdModel): class Ciphers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"v1_0": {"type": str}, "v1_3": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"v1_0": {"type": str}, "v1_3": {"type": str}} v1_0: str | None """ The cipher suites for TLS version 1.0, 1.1 and 1.2. @@ -21690,17 +19169,10 @@ class Ciphers(AvdModel): The cipher suites for TLS version 1.3. Colon (:) separated list of allowed ciphers as a string. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - v1_0: str | None | UndefinedType = Undefined, - v1_3: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, v1_0: str | None | UndefinedType = Undefined, v1_3: str | None | UndefinedType = Undefined) -> None: """ Ciphers. @@ -21715,7 +19187,6 @@ def __init__( v1_3: The cipher suites for TLS version 1.3. Colon (:) separated list of allowed ciphers as a string. - _custom_data: _custom_data """ @@ -21730,20 +19201,15 @@ class Certificates(AvdList[str]): class Requirement(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"basic_constraint_ca": {"type": bool}, "hostname_fqdn": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"basic_constraint_ca": {"type": bool}, "hostname_fqdn": {"type": bool}} basic_constraint_ca: bool | None hostname_fqdn: bool | None """Enforce hostname to be FQDN without wildcard.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - basic_constraint_ca: bool | None | UndefinedType = Undefined, - hostname_fqdn: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, basic_constraint_ca: bool | None | UndefinedType = Undefined, hostname_fqdn: bool | None | UndefinedType = Undefined ) -> None: """ Requirement. @@ -21754,7 +19220,6 @@ def __init__( Args: basic_constraint_ca: basic_constraint_ca hostname_fqdn: Enforce hostname to be FQDN without wildcard. - _custom_data: _custom_data """ @@ -21763,7 +19228,6 @@ def __init__( "requirement": {"type": Requirement}, "policy_expiry_date_ignore": {"type": bool}, "system": {"type": bool}, - "_custom_data": {"type": dict}, } certificates: Certificates """ @@ -21781,7 +19245,6 @@ def __init__( policy_expiry_date_ignore: bool | None system: bool | None """Use system-supplied trust certificates.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21792,7 +19255,6 @@ def __init__( requirement: Requirement | UndefinedType = Undefined, policy_expiry_date_ignore: bool | None | UndefinedType = Undefined, system: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrustCertificate. @@ -21813,7 +19275,6 @@ def __init__( requirement: Subclass of AvdModel. policy_expiry_date_ignore: policy_expiry_date_ignore system: Use system-supplied trust certificates. - _custom_data: _custom_data """ @@ -21828,19 +19289,14 @@ class Certificates(AvdList[str]): class Requirement(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"basic_constraint_ca": {"type": bool}, "include_root_ca": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"basic_constraint_ca": {"type": bool}, "include_root_ca": {"type": bool}} basic_constraint_ca: bool | None include_root_ca: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - basic_constraint_ca: bool | None | UndefinedType = Undefined, - include_root_ca: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, basic_constraint_ca: bool | None | UndefinedType = Undefined, include_root_ca: bool | None | UndefinedType = Undefined ) -> None: """ Requirement. @@ -21851,11 +19307,10 @@ def __init__( Args: basic_constraint_ca: basic_constraint_ca include_root_ca: include_root_ca - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"certificates": {"type": Certificates}, "requirement": {"type": Requirement}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"certificates": {"type": Certificates}, "requirement": {"type": Requirement}} certificates: Certificates """ List of chain certificate names. @@ -21869,17 +19324,10 @@ def __init__( """ requirement: Requirement """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - certificates: Certificates | UndefinedType = Undefined, - requirement: Requirement | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, certificates: Certificates | UndefinedType = Undefined, requirement: Requirement | UndefinedType = Undefined) -> None: """ ChainCertificate. @@ -21897,27 +19345,19 @@ def __init__( Subclass of AvdList with `str` items. requirement: Subclass of AvdModel. - _custom_data: _custom_data """ class Certificate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"file": {"type": str}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"file": {"type": str}, "key": {"type": str}} file: str | None key: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - file: str | None | UndefinedType = Undefined, - key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, file: str | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined) -> None: """ Certificate. @@ -21927,7 +19367,6 @@ def __init__( Args: file: file key: key - _custom_data: _custom_data """ @@ -21946,7 +19385,6 @@ class CertificateRevocationLists(AvdList[str]): "chain_certificate": {"type": ChainCertificate}, "certificate": {"type": Certificate}, "certificate_revocation_lists": {"type": CertificateRevocationLists}, - "_custom_data": {"type": dict}, } name: str | None fips_restrictions: bool | None @@ -21988,7 +19426,6 @@ class CertificateRevocationLists(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22004,7 +19441,6 @@ def __init__( chain_certificate: ChainCertificate | UndefinedType = Undefined, certificate: Certificate | UndefinedType = Undefined, certificate_revocation_lists: CertificateRevocationLists | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SslProfilesItem. @@ -22041,7 +19477,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -22059,12 +19494,7 @@ class SecretsItem(AvdModel): class ReceiveLifetime(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "infinite": {"type": bool}, - "start_date_time": {"type": str}, - "end_date_time": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"infinite": {"type": bool}, "start_date_time": {"type": str}, "end_date_time": {"type": str}} infinite: bool | None start_date_time: str | None """ @@ -22084,7 +19514,6 @@ class ReceiveLifetime(AvdModel): 2. yyyy-mm-dd hh:mm:ss e.g 2024-12-20 10:00:00 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22094,7 +19523,6 @@ def __init__( infinite: bool | None | UndefinedType = Undefined, start_date_time: str | None | UndefinedType = Undefined, end_date_time: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ReceiveLifetime. @@ -22118,19 +19546,13 @@ def __init__( 1. mm/dd/yyyy hh:mm:ss 2. yyyy-mm-dd hh:mm:ss e.g 2024-12-20 10:00:00 - _custom_data: _custom_data """ class TransmitLifetime(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "infinite": {"type": bool}, - "start_date_time": {"type": str}, - "end_date_time": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"infinite": {"type": bool}, "start_date_time": {"type": str}, "end_date_time": {"type": str}} infinite: bool | None start_date_time: str | None """ @@ -22150,7 +19572,6 @@ class TransmitLifetime(AvdModel): 2. yyyy-mm-dd hh:mm:ss e.g 2024-12-20 10:00:00 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22160,7 +19581,6 @@ def __init__( infinite: bool | None | UndefinedType = Undefined, start_date_time: str | None | UndefinedType = Undefined, end_date_time: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TransmitLifetime. @@ -22184,7 +19604,6 @@ def __init__( 1. mm/dd/yyyy hh:mm:ss 2. yyyy-mm-dd hh:mm:ss e.g 2024-12-20 10:00:00 - _custom_data: _custom_data """ @@ -22195,7 +19614,6 @@ def __init__( "receive_lifetime": {"type": ReceiveLifetime}, "transmit_lifetime": {"type": TransmitLifetime}, "local_time": {"type": bool}, - "_custom_data": {"type": dict}, } name: str secret: str @@ -22207,7 +19625,6 @@ def __init__( """Subclass of AvdModel.""" local_time: bool | None """Configuring secret using the local timezone from system clock. Default is UTC.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22220,7 +19637,6 @@ def __init__( receive_lifetime: ReceiveLifetime | UndefinedType = Undefined, transmit_lifetime: TransmitLifetime | UndefinedType = Undefined, local_time: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SecretsItem. @@ -22235,7 +19651,6 @@ def __init__( receive_lifetime: Subclass of AvdModel. transmit_lifetime: Subclass of AvdModel. local_time: Configuring secret using the local timezone from system clock. Default is UTC. - _custom_data: _custom_data """ @@ -22246,21 +19661,14 @@ class Secrets(AvdIndexedList[str, SecretsItem]): Secrets._item_type = SecretsItem - _fields: ClassVar[dict] = {"profile": {"type": str}, "secrets": {"type": Secrets}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "secrets": {"type": Secrets}} profile: str secrets: Secrets """Subclass of AvdIndexedList with `SecretsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - profile: str | UndefinedType = Undefined, - secrets: Secrets | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, profile: str | UndefinedType = Undefined, secrets: Secrets | UndefinedType = Undefined) -> None: """ SharedSecretProfilesItem. @@ -22270,7 +19678,6 @@ def __init__( Args: profile: profile secrets: Subclass of AvdIndexedList with `SecretsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -22286,7 +19693,6 @@ class SharedSecretProfiles(AvdIndexedList[str, SharedSecretProfilesItem]): "password": {"type": Password}, "ssl_profiles": {"type": SslProfiles}, "shared_secret_profiles": {"type": SharedSecretProfiles}, - "_custom_data": {"type": dict}, } entropy_sources: EntropySources """ @@ -22300,7 +19706,6 @@ class SharedSecretProfiles(AvdIndexedList[str, SharedSecretProfilesItem]): """Subclass of AvdList with `SslProfilesItem` items.""" shared_secret_profiles: SharedSecretProfiles """Subclass of AvdIndexedList with `SharedSecretProfilesItem` items. Primary key is `profile` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22311,7 +19716,6 @@ def __init__( password: Password | UndefinedType = Undefined, ssl_profiles: SslProfiles | UndefinedType = Undefined, shared_secret_profiles: SharedSecretProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementSecurity. @@ -22327,7 +19731,6 @@ def __init__( password: Subclass of AvdModel. ssl_profiles: Subclass of AvdList with `SslProfilesItem` items. shared_secret_profiles: Subclass of AvdIndexedList with `SharedSecretProfilesItem` items. Primary key is `profile` (`str`). - _custom_data: _custom_data """ @@ -22342,7 +19745,7 @@ class Protocols(AvdList[str]): Protocols._item_type = str - _fields: ClassVar[dict] = {"empty_passwords": {"type": str}, "protocols": {"type": Protocols}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"empty_passwords": {"type": str}, "protocols": {"type": Protocols}} empty_passwords: Literal["auto", "deny", "permit"] | None """Permit or deny empty passwords for SSH authentication.""" protocols: Protocols @@ -22351,7 +19754,6 @@ class Protocols(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22360,7 +19762,6 @@ def __init__( *, empty_passwords: Literal["auto", "deny", "permit"] | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Authentication. @@ -22374,29 +19775,21 @@ def __init__( Allowed SSH authentication methods. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class AccessGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Standard ACL Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ AccessGroupsItem. @@ -22406,7 +19799,6 @@ def __init__( Args: name: Standard ACL Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -22418,22 +19810,15 @@ class AccessGroups(AvdList[AccessGroupsItem]): class Ipv6AccessGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Standard ACL Name.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv6AccessGroupsItem. @@ -22443,7 +19828,6 @@ def __init__( Args: name: Standard ACL Name. vrf: VRF Name. - _custom_data: _custom_data """ @@ -22475,12 +19859,7 @@ class Server(AvdList[str]): Server._item_type = str - _fields: ClassVar[dict] = { - "server": {"type": Server}, - "server_cert": {"type": str}, - "client_strict_checking": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"server": {"type": Server}, "server_cert": {"type": str}, "client_strict_checking": {"type": bool}} server: Server """ SSH host key settings. @@ -22491,7 +19870,6 @@ class Server(AvdList[str]): """Configure switch's hostkey cert file.""" client_strict_checking: bool | None """Enforce strict host key checking.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22501,7 +19879,6 @@ def __init__( server: Server | UndefinedType = Undefined, server_cert: str | None | UndefinedType = Undefined, client_strict_checking: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Hostkey. @@ -22516,29 +19893,21 @@ def __init__( Subclass of AvdList with `str` items. server_cert: Configure switch's hostkey cert file. client_strict_checking: Enforce strict host key checking. - _custom_data: _custom_data """ class Connection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"limit": {"type": int}, "per_host": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"limit": {"type": int}, "per_host": {"type": int}} limit: int | None """Maximum total number of SSH sessions to device.""" per_host: int | None """Maximum number of SSH sessions to device from a single host.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - limit: int | None | UndefinedType = Undefined, - per_host: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, limit: int | None | UndefinedType = Undefined, per_host: int | None | UndefinedType = Undefined) -> None: """ Connection. @@ -22548,29 +19917,21 @@ def __init__( Args: limit: Maximum total number of SSH sessions to device. per_host: Maximum number of SSH sessions to device from a single host. - _custom_data: _custom_data """ class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "enable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enable": {"type": bool}} name: str """VRF Name.""" enable: bool | None """Enable SSH in VRF.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - enable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, enable: bool | None | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -22580,7 +19941,6 @@ def __init__( Args: name: VRF Name. enable: Enable SSH in VRF. - _custom_data: _custom_data """ @@ -22594,7 +19954,7 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class ClientAlive(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"count_max": {"type": int}, "interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count_max": {"type": int}, "interval": {"type": int}} count_max: int | None """ Number of keep-alive packets that can be sent without a response before the connection is assumed @@ -22602,17 +19962,10 @@ class ClientAlive(AvdModel): """ interval: int | None """Time period (in seconds) to send SSH keep-alive packets.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count_max: int | None | UndefinedType = Undefined, - interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count_max: int | None | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined) -> None: """ ClientAlive. @@ -22624,7 +19977,6 @@ def __init__( Number of keep-alive packets that can be sent without a response before the connection is assumed dead. interval: Time period (in seconds) to send SSH keep-alive packets. - _custom_data: _custom_data """ @@ -22643,7 +19995,6 @@ def __init__( "vrfs": {"type": Vrfs}, "log_level": {"type": str}, "client_alive": {"type": ClientAlive}, - "_custom_data": {"type": dict}, } authentication: Authentication """Subclass of AvdModel.""" @@ -22685,7 +20036,6 @@ def __init__( """SSH daemon log level.""" client_alive: ClientAlive """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22706,7 +20056,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, log_level: str | None | UndefinedType = Undefined, client_alive: ClientAlive | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementSsh. @@ -22738,7 +20087,6 @@ def __init__( vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). log_level: SSH daemon log level. client_alive: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -22751,7 +20099,7 @@ class PolicyShowTechSupport(AvdModel): class ExcludeCommandsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"command": {"type": str}, "type": {"type": str, "default": "text"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"command": {"type": str}, "type": {"type": str, "default": "text"}} command: str | None """Command to exclude from tech-support.""" type: Literal["text", "json"] @@ -22760,17 +20108,10 @@ class ExcludeCommandsItem(AvdModel): Default value: `"text"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - command: str | None | UndefinedType = Undefined, - type: Literal["text", "json"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, command: str | None | UndefinedType = Undefined, type: Literal["text", "json"] | UndefinedType = Undefined) -> None: """ ExcludeCommandsItem. @@ -22780,7 +20121,6 @@ def __init__( Args: command: Command to exclude from tech-support. type: The supported values for type are platform dependent. - _custom_data: _custom_data """ @@ -22792,14 +20132,13 @@ class ExcludeCommands(AvdList[ExcludeCommandsItem]): class IncludeCommandsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"command": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"command": {"type": str}} command: str | None """Command to include in tech-support.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, command: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, command: str | None | UndefinedType = Undefined) -> None: """ IncludeCommandsItem. @@ -22808,7 +20147,6 @@ def __init__(self, *, command: str | None | UndefinedType = Undefined, _custom_d Args: command: Command to include in tech-support. - _custom_data: _custom_data """ @@ -22817,25 +20155,16 @@ class IncludeCommands(AvdList[IncludeCommandsItem]): IncludeCommands._item_type = IncludeCommandsItem - _fields: ClassVar[dict] = { - "exclude_commands": {"type": ExcludeCommands}, - "include_commands": {"type": IncludeCommands}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"exclude_commands": {"type": ExcludeCommands}, "include_commands": {"type": IncludeCommands}} exclude_commands: ExcludeCommands """Subclass of AvdList with `ExcludeCommandsItem` items.""" include_commands: IncludeCommands """Subclass of AvdList with `IncludeCommandsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - exclude_commands: ExcludeCommands | UndefinedType = Undefined, - include_commands: IncludeCommands | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, exclude_commands: ExcludeCommands | UndefinedType = Undefined, include_commands: IncludeCommands | UndefinedType = Undefined ) -> None: """ PolicyShowTechSupport. @@ -22846,20 +20175,16 @@ def __init__( Args: exclude_commands: Subclass of AvdList with `ExcludeCommandsItem` items. include_commands: Subclass of AvdList with `IncludeCommandsItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"policy_show_tech_support": {"type": PolicyShowTechSupport}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policy_show_tech_support": {"type": PolicyShowTechSupport}} policy_show_tech_support: PolicyShowTechSupport """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policy_show_tech_support: PolicyShowTechSupport | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policy_show_tech_support: PolicyShowTechSupport | UndefinedType = Undefined) -> None: """ ManagementTechSupport. @@ -22868,7 +20193,6 @@ def __init__( Args: policy_show_tech_support: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -22883,7 +20207,7 @@ class Prefixes(AvdList[str]): Prefixes._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}} name: str """Prefix-List Name.""" prefixes: Prefixes @@ -22893,17 +20217,10 @@ class Prefixes(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - prefixes: Prefixes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ PrefixIpv4Item. @@ -22917,7 +20234,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -22936,7 +20252,7 @@ class Prefixes(AvdList[str]): Prefixes._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}} name: str """Prefix-List Name.""" prefixes: Prefixes @@ -22946,17 +20262,10 @@ class Prefixes(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - prefixes: Prefixes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ PrefixIpv6Item. @@ -22970,7 +20279,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -22987,22 +20295,15 @@ class StringItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "match_regex": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "match_regex": {"type": str}} sequence: int """Sequence ID.""" match_regex: str """Regular Expression.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - match_regex: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, match_regex: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -23012,7 +20313,6 @@ def __init__( Args: sequence: Sequence ID. match_regex: Regular Expression. - _custom_data: _custom_data """ @@ -23023,22 +20323,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Match-list Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ StringItem. @@ -23048,7 +20341,6 @@ def __init__( Args: name: Match-list Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -23059,19 +20351,13 @@ class String(AvdIndexedList[str, StringItem]): String._item_type = StringItem - _fields: ClassVar[dict] = { - "prefix_ipv4": {"type": PrefixIpv4}, - "prefix_ipv6": {"type": PrefixIpv6}, - "string": {"type": String}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix_ipv4": {"type": PrefixIpv4}, "prefix_ipv6": {"type": PrefixIpv6}, "string": {"type": String}} prefix_ipv4: PrefixIpv4 """Subclass of AvdIndexedList with `PrefixIpv4Item` items. Primary key is `name` (`str`).""" prefix_ipv6: PrefixIpv6 """Subclass of AvdIndexedList with `PrefixIpv6Item` items. Primary key is `name` (`str`).""" string: String """Subclass of AvdIndexedList with `StringItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23081,7 +20367,6 @@ def __init__( prefix_ipv4: PrefixIpv4 | UndefinedType = Undefined, prefix_ipv6: PrefixIpv6 | UndefinedType = Undefined, string: String | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchListInput. @@ -23093,7 +20378,6 @@ def __init__( prefix_ipv4: Subclass of AvdIndexedList with `PrefixIpv4Item` items. Primary key is `name` (`str`). prefix_ipv6: Subclass of AvdIndexedList with `PrefixIpv6Item` items. Primary key is `name` (`str`). string: Subclass of AvdIndexedList with `StringItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -23108,12 +20392,11 @@ class ServerHosts(AvdList[str]): ServerHosts._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "shutdown": {"type": bool}, "server_hosts": {"type": ServerHosts}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "shutdown": {"type": bool}, "server_hosts": {"type": ServerHosts}} name: str | None shutdown: bool | None server_hosts: ServerHosts """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23123,7 +20406,6 @@ def __init__( name: str | None | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, server_hosts: ServerHosts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvxSecondary. @@ -23135,25 +20417,17 @@ def __init__( name: name shutdown: shutdown server_hosts: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "cvx_secondary": {"type": CvxSecondary}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"shutdown": {"type": bool}, "cvx_secondary": {"type": CvxSecondary}} shutdown: bool | None cvx_secondary: CvxSecondary """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - shutdown: bool | None | UndefinedType = Undefined, - cvx_secondary: CvxSecondary | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, shutdown: bool | None | UndefinedType = Undefined, cvx_secondary: CvxSecondary | UndefinedType = Undefined) -> None: """ McsClient. @@ -23163,7 +20437,6 @@ def __init__( Args: shutdown: shutdown cvx_secondary: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -23176,20 +20449,13 @@ class CvTags(AvdModel): class DeviceTagsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}} name: str value: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - value: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, value: str | UndefinedType = Undefined) -> None: """ DeviceTagsItem. @@ -23199,7 +20465,6 @@ def __init__( Args: name: name value: value - _custom_data: _custom_data """ @@ -23214,20 +20479,13 @@ class InterfaceTagsItem(AvdModel): class TagsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}} name: str value: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - value: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, value: str | UndefinedType = Undefined) -> None: """ TagsItem. @@ -23237,7 +20495,6 @@ def __init__( Args: name: name value: value - _custom_data: _custom_data """ @@ -23246,21 +20503,14 @@ class Tags(AvdList[TagsItem]): Tags._item_type = TagsItem - _fields: ClassVar[dict] = {"interface": {"type": str}, "tags": {"type": Tags}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": str}, "tags": {"type": Tags}} interface: str tags: Tags """Subclass of AvdList with `TagsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interface: str | UndefinedType = Undefined, - tags: Tags | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interface: str | UndefinedType = Undefined, tags: Tags | UndefinedType = Undefined) -> None: """ InterfaceTagsItem. @@ -23270,7 +20520,6 @@ def __init__( Args: interface: interface tags: Subclass of AvdList with `TagsItem` items. - _custom_data: _custom_data """ @@ -23279,22 +20528,15 @@ class InterfaceTags(AvdList[InterfaceTagsItem]): InterfaceTags._item_type = InterfaceTagsItem - _fields: ClassVar[dict] = {"device_tags": {"type": DeviceTags}, "interface_tags": {"type": InterfaceTags}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"device_tags": {"type": DeviceTags}, "interface_tags": {"type": InterfaceTags}} device_tags: DeviceTags """Subclass of AvdList with `DeviceTagsItem` items.""" interface_tags: InterfaceTags """Subclass of AvdList with `InterfaceTagsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - device_tags: DeviceTags | UndefinedType = Undefined, - interface_tags: InterfaceTags | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, device_tags: DeviceTags | UndefinedType = Undefined, interface_tags: InterfaceTags | UndefinedType = Undefined) -> None: """ CvTags. @@ -23304,7 +20546,6 @@ def __init__( Args: device_tags: Subclass of AvdList with `DeviceTagsItem` items. interface_tags: Subclass of AvdList with `InterfaceTagsItem` items. - _custom_data: _custom_data """ @@ -23314,13 +20555,12 @@ class CvPathfinder(AvdModel): class PathfindersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vtep_ip": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vtep_ip": {"type": str}} vtep_ip: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, vtep_ip: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, vtep_ip: str | UndefinedType = Undefined) -> None: """ PathfindersItem. @@ -23329,7 +20569,6 @@ def __init__(self, *, vtep_ip: str | UndefinedType = Undefined, _custom_data: di Args: vtep_ip: vtep_ip - _custom_data: _custom_data """ @@ -23347,14 +20586,12 @@ class InterfacesItem(AvdModel): "circuit_id": {"type": str}, "pathgroup": {"type": str}, "public_ip": {"type": str}, - "_custom_data": {"type": dict}, } name: str | None carrier: str | None circuit_id: str | None pathgroup: str | None public_ip: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23366,7 +20603,6 @@ def __init__( circuit_id: str | None | UndefinedType = Undefined, pathgroup: str | None | UndefinedType = Undefined, public_ip: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfacesItem. @@ -23380,7 +20616,6 @@ def __init__( circuit_id: circuit_id pathgroup: pathgroup public_ip: public_ip - _custom_data: _custom_data """ @@ -23395,13 +20630,12 @@ class PathgroupsItem(AvdModel): class CarriersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ CarriersItem. @@ -23410,7 +20644,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: name - _custom_data: _custom_data """ @@ -23422,13 +20655,12 @@ class Carriers(AvdList[CarriersItem]): class ImportedCarriersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ ImportedCarriersItem. @@ -23437,7 +20669,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: name - _custom_data: _custom_data """ @@ -23446,18 +20677,12 @@ class ImportedCarriers(AvdList[ImportedCarriersItem]): ImportedCarriers._item_type = ImportedCarriersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "carriers": {"type": Carriers}, - "imported_carriers": {"type": ImportedCarriers}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "carriers": {"type": Carriers}, "imported_carriers": {"type": ImportedCarriers}} name: str carriers: Carriers """Subclass of AvdList with `CarriersItem` items.""" imported_carriers: ImportedCarriers """Subclass of AvdList with `ImportedCarriersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23467,7 +20692,6 @@ def __init__( name: str | UndefinedType = Undefined, carriers: Carriers | UndefinedType = Undefined, imported_carriers: ImportedCarriers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PathgroupsItem. @@ -23479,7 +20703,6 @@ def __init__( name: name carriers: Subclass of AvdList with `CarriersItem` items. imported_carriers: Subclass of AvdList with `ImportedCarriersItem` items. - _custom_data: _custom_data """ @@ -23500,15 +20723,12 @@ class SitesItem(AvdModel): class Location(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}} address: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, address: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, address: str | None | UndefinedType = Undefined) -> None: """ Location. @@ -23517,16 +20737,14 @@ def __init__( Args: address: address - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "location": {"type": Location}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "location": {"type": Location}} id: int | None name: str | None location: Location """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23536,7 +20754,6 @@ def __init__( id: int | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, location: Location | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SitesItem. @@ -23548,7 +20765,6 @@ def __init__( id: id name: name location: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -23557,12 +20773,11 @@ class Sites(AvdList[SitesItem]): Sites._item_type = SitesItem - _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "sites": {"type": Sites}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "sites": {"type": Sites}} id: int | None name: str | None sites: Sites """Subclass of AvdList with `SitesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23572,7 +20787,6 @@ def __init__( id: int | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, sites: Sites | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ZonesItem. @@ -23584,7 +20798,6 @@ def __init__( id: id name: name sites: Subclass of AvdList with `SitesItem` items. - _custom_data: _custom_data """ @@ -23593,12 +20806,11 @@ class Zones(AvdList[ZonesItem]): Zones._item_type = ZonesItem - _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "zones": {"type": Zones}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "name": {"type": str}, "zones": {"type": Zones}} id: int | None name: str | None zones: Zones """Subclass of AvdList with `ZonesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23608,7 +20820,6 @@ def __init__( id: int | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, zones: Zones | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RegionsItem. @@ -23620,7 +20831,6 @@ def __init__( id: id name: name zones: Subclass of AvdList with `ZonesItem` items. - _custom_data: _custom_data """ @@ -23638,18 +20848,11 @@ class AvtsItem(AvdModel): class Constraints(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "jitter": {"type": int}, - "latency": {"type": int}, - "lossrate": {"type": str}, - "hop_count": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "lossrate": {"type": str}, "hop_count": {"type": str}} jitter: int | None latency: int | None lossrate: str | None hop_count: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23660,7 +20863,6 @@ def __init__( latency: int | None | UndefinedType = Undefined, lossrate: str | None | UndefinedType = Undefined, hop_count: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Constraints. @@ -23673,27 +20875,19 @@ def __init__( latency: latency lossrate: lossrate hop_count: hop_count - _custom_data: _custom_data """ class PathgroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "preference": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "preference": {"type": str}} name: str | None preference: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - preference: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, preference: str | None | UndefinedType = Undefined) -> None: """ PathgroupsItem. @@ -23703,7 +20897,6 @@ def __init__( Args: name: name preference: preference - _custom_data: _custom_data """ @@ -23724,7 +20917,6 @@ class ApplicationProfiles(AvdList[str]): "name": {"type": str}, "pathgroups": {"type": Pathgroups}, "application_profiles": {"type": ApplicationProfiles}, - "_custom_data": {"type": dict}, } constraints: Constraints """Subclass of AvdModel.""" @@ -23735,7 +20927,6 @@ class ApplicationProfiles(AvdList[str]): """Subclass of AvdList with `PathgroupsItem` items.""" application_profiles: ApplicationProfiles """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23748,7 +20939,6 @@ def __init__( name: str | None | UndefinedType = Undefined, pathgroups: Pathgroups | UndefinedType = Undefined, application_profiles: ApplicationProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AvtsItem. @@ -23763,7 +20953,6 @@ def __init__( name: name pathgroups: Subclass of AvdList with `PathgroupsItem` items. application_profiles: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -23772,12 +20961,11 @@ class Avts(AvdList[AvtsItem]): Avts._item_type = AvtsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "avts": {"type": Avts}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "avts": {"type": Avts}} name: str | None vni: int | None avts: Avts """Subclass of AvdList with `AvtsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23787,7 +20975,6 @@ def __init__( name: str | None | UndefinedType = Undefined, vni: int | None | UndefinedType = Undefined, avts: Avts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -23799,7 +20986,6 @@ def __init__( name: name vni: vni avts: Subclass of AvdList with `AvtsItem` items. - _custom_data: _custom_data """ @@ -23814,16 +21000,10 @@ class InternetExitPoliciesItem(AvdModel): class VpnCredentialsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "fqdn": {"type": str}, - "vpn_type": {"type": str}, - "pre_shared_key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"fqdn": {"type": str}, "vpn_type": {"type": str}, "pre_shared_key": {"type": str}} fqdn: str vpn_type: str pre_shared_key: str - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23833,7 +21013,6 @@ def __init__( fqdn: str | UndefinedType = Undefined, vpn_type: str | UndefinedType = Undefined, pre_shared_key: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VpnCredentialsItem. @@ -23845,7 +21024,6 @@ def __init__( fqdn: fqdn vpn_type: vpn_type pre_shared_key: pre_shared_key - _custom_data: _custom_data """ @@ -23868,7 +21046,6 @@ class Endpoint(AvdModel): "region": {"type": str}, "latitude": {"type": str}, "longitude": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str datacenter: str @@ -23877,7 +21054,6 @@ class Endpoint(AvdModel): region: str latitude: str longitude: str - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23891,7 +21067,6 @@ def __init__( region: str | UndefinedType = Undefined, latitude: str | UndefinedType = Undefined, longitude: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Endpoint. @@ -23907,21 +21082,14 @@ def __init__( region: region latitude: latitude longitude: longitude - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "preference": {"type": str}, - "endpoint": {"type": Endpoint}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "preference": {"type": str}, "endpoint": {"type": Endpoint}} name: str preference: str endpoint: Endpoint """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23931,7 +21099,6 @@ def __init__( name: str | UndefinedType = Undefined, preference: str | UndefinedType = Undefined, endpoint: Endpoint | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TunnelsItem. @@ -23943,7 +21110,6 @@ def __init__( name: name preference: preference endpoint: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -23964,7 +21130,6 @@ class Tunnels(AvdList[TunnelsItem]): "acceptable_use_policy": {"type": bool}, "vpn_credentials": {"type": VpnCredentials}, "tunnels": {"type": Tunnels}, - "_custom_data": {"type": dict}, } name: str type: str @@ -23979,7 +21144,6 @@ class Tunnels(AvdList[TunnelsItem]): """Subclass of AvdList with `VpnCredentialsItem` items.""" tunnels: Tunnels """Subclass of AvdList with `TunnelsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23997,7 +21161,6 @@ def __init__( acceptable_use_policy: bool | UndefinedType = Undefined, vpn_credentials: VpnCredentials | UndefinedType = Undefined, tunnels: Tunnels | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InternetExitPoliciesItem. @@ -24017,7 +21180,6 @@ def __init__( acceptable_use_policy: acceptable_use_policy vpn_credentials: Subclass of AvdList with `VpnCredentialsItem` items. tunnels: Subclass of AvdList with `TunnelsItem` items. - _custom_data: _custom_data """ @@ -24040,21 +21202,14 @@ class Services(AvdList[str]): Services._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "services": {"type": Services}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "services": {"type": Services}} name: str | None services: Services """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - services: Services | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, services: Services | UndefinedType = Undefined) -> None: """ BuiltinApplicationsItem. @@ -24064,7 +21219,6 @@ def __init__( Args: name: name services: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -24076,15 +21230,12 @@ class BuiltinApplications(AvdList[BuiltinApplicationsItem]): class UserDefinedApplicationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ UserDefinedApplicationsItem. @@ -24093,7 +21244,6 @@ def __init__( Args: name: name - _custom_data: _custom_data """ @@ -24110,21 +21260,14 @@ class Services(AvdList[str]): Services._item_type = str - _fields: ClassVar[dict] = {"category": {"type": str}, "services": {"type": Services}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"category": {"type": str}, "services": {"type": Services}} category: str | None services: Services """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - category: str | None | UndefinedType = Undefined, - services: Services | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, category: str | None | UndefinedType = Undefined, services: Services | UndefinedType = Undefined) -> None: """ CategoriesItem. @@ -24134,7 +21277,6 @@ def __init__( Args: category: category services: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -24154,7 +21296,6 @@ class TransportProtocols(AvdList[str]): "user_defined_applications": {"type": UserDefinedApplications}, "categories": {"type": Categories}, "transport_protocols": {"type": TransportProtocols}, - "_custom_data": {"type": dict}, } name: str | None builtin_applications: BuiltinApplications @@ -24165,7 +21306,6 @@ class TransportProtocols(AvdList[str]): """Subclass of AvdList with `CategoriesItem` items.""" transport_protocols: TransportProtocols """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24177,7 +21317,6 @@ def __init__( user_defined_applications: UserDefinedApplications | UndefinedType = Undefined, categories: Categories | UndefinedType = Undefined, transport_protocols: TransportProtocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -24191,7 +21330,6 @@ def __init__( user_defined_applications: Subclass of AvdList with `UserDefinedApplicationsItem` items. categories: Subclass of AvdList with `CategoriesItem` items. transport_protocols: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -24211,17 +21349,11 @@ class Services(AvdList[str]): Services._item_type = str - _fields: ClassVar[dict] = { - "name": {"type": str}, - "category": {"type": str}, - "services": {"type": Services}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "category": {"type": str}, "services": {"type": Services}} name: str | None category: str | None services: Services """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24231,7 +21363,6 @@ def __init__( name: str | None | UndefinedType = Undefined, category: str | None | UndefinedType = Undefined, services: Services | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BuiltinApplicationsItem. @@ -24243,7 +21374,6 @@ def __init__( name: name category: category services: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -24255,20 +21385,13 @@ class BuiltinApplications(AvdList[BuiltinApplicationsItem]): class UserDefinedApplicationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "category": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "category": {"type": str}} name: str | None category: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - category: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, category: str | None | UndefinedType = Undefined) -> None: """ UserDefinedApplicationsItem. @@ -24278,7 +21401,6 @@ def __init__( Args: name: name category: category - _custom_data: _custom_data """ @@ -24290,13 +21412,11 @@ class UserDefinedApplications(AvdList[UserDefinedApplicationsItem]): _fields: ClassVar[dict] = { "builtin_applications": {"type": BuiltinApplications}, "user_defined_applications": {"type": UserDefinedApplications}, - "_custom_data": {"type": dict}, } builtin_applications: BuiltinApplications """Subclass of AvdList with `BuiltinApplicationsItem` items.""" user_defined_applications: UserDefinedApplications """Subclass of AvdList with `UserDefinedApplicationsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24305,7 +21425,6 @@ def __init__( *, builtin_applications: BuiltinApplications | UndefinedType = Undefined, user_defined_applications: UserDefinedApplications | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Categories. @@ -24316,26 +21435,18 @@ def __init__( Args: builtin_applications: Subclass of AvdList with `BuiltinApplicationsItem` items. user_defined_applications: Subclass of AvdList with `UserDefinedApplicationsItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"profiles": {"type": Profiles}, "categories": {"type": Categories}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profiles": {"type": Profiles}, "categories": {"type": Categories}} profiles: Profiles """Subclass of AvdList with `ProfilesItem` items.""" categories: Categories """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - profiles: Profiles | UndefinedType = Undefined, - categories: Categories | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, profiles: Profiles | UndefinedType = Undefined, categories: Categories | UndefinedType = Undefined) -> None: """ Applications. @@ -24345,7 +21456,6 @@ def __init__( Args: profiles: Subclass of AvdList with `ProfilesItem` items. categories: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24364,7 +21474,6 @@ def __init__( "vrfs": {"type": Vrfs}, "internet_exit_policies": {"type": InternetExitPolicies}, "applications": {"type": Applications}, - "_custom_data": {"type": dict}, } role: str | None region: str | None @@ -24387,7 +21496,6 @@ def __init__( """Subclass of AvdList with `InternetExitPoliciesItem` items.""" applications: Applications """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24408,7 +21516,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, internet_exit_policies: InternetExitPolicies | UndefinedType = Undefined, applications: Applications | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvPathfinder. @@ -24431,7 +21538,6 @@ def __init__( vrfs: Subclass of AvdList with `VrfsItem` items. internet_exit_policies: Subclass of AvdList with `InternetExitPoliciesItem` items. applications: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24444,7 +21550,6 @@ def __init__( "fabric_name": {"type": str}, "cv_tags": {"type": CvTags}, "cv_pathfinder": {"type": CvPathfinder}, - "_custom_data": {"type": dict}, } platform: str | None system_mac_address: str | None @@ -24460,7 +21565,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24475,7 +21579,6 @@ def __init__( fabric_name: str | None | UndefinedType = Undefined, cv_tags: CvTags | UndefinedType = Undefined, cv_pathfinder: CvPathfinder | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Metadata. @@ -24495,7 +21598,6 @@ def __init__( Metadata used for CV Pathfinder visualization on CloudVision. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24505,22 +21607,15 @@ class MlagConfiguration(AvdModel): class PeerAddressHeartbeat(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"peer_ip": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"peer_ip": {"type": str}, "vrf": {"type": str}} peer_ip: str | None """IPv4 or IPv6 Address.""" vrf: str | None """VRF Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - peer_ip: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, peer_ip: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ PeerAddressHeartbeat. @@ -24530,7 +21625,6 @@ def __init__( Args: peer_ip: IPv4 or IPv6 Address. vrf: VRF Name. - _custom_data: _custom_data """ @@ -24546,7 +21640,6 @@ def __init__( "peer_link": {"type": str}, "reload_delay_mlag": {"type": str}, "reload_delay_non_mlag": {"type": str}, - "_custom_data": {"type": dict}, } domain_id: str | None heartbeat_interval: int | None @@ -24569,7 +21662,6 @@ def __init__( """Delay in seconds <0-86400> or 'infinity'.""" reload_delay_non_mlag: str | None """Delay in seconds <0-86400> or 'infinity'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24587,7 +21679,6 @@ def __init__( peer_link: str | None | UndefinedType = Undefined, reload_delay_mlag: str | None | UndefinedType = Undefined, reload_delay_non_mlag: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MlagConfiguration. @@ -24607,7 +21698,6 @@ def __init__( peer_link: Port-Channel interface name. reload_delay_mlag: Delay in seconds <0-86400> or 'infinity'. reload_delay_non_mlag: Delay in seconds <0-86400> or 'infinity'. - _custom_data: _custom_data """ @@ -24617,7 +21707,7 @@ class MonitorConnectivity(AvdModel): class InterfaceSetsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": str}} name: str | None interfaces: str | None """ @@ -24625,17 +21715,10 @@ class InterfaceSetsItem(AvdModel): Multiple interface ranges can be specified separated by ",". """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - interfaces: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, interfaces: str | None | UndefinedType = Undefined) -> None: """ InterfaceSetsItem. @@ -24648,7 +21731,6 @@ def __init__( Interface range(s) should be of same type, Ethernet, Loopback, Management etc. Multiple interface ranges can be specified separated by ",". - _custom_data: _custom_data """ @@ -24668,7 +21750,6 @@ class HostsItem(AvdModel): "local_interfaces": {"type": str}, "address_only": {"type": bool, "default": True}, "url": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Host Name.""" @@ -24688,7 +21769,6 @@ class HostsItem(AvdModel): Default value: `True` """ url: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24702,7 +21782,6 @@ def __init__( local_interfaces: str | None | UndefinedType = Undefined, address_only: bool | UndefinedType = Undefined, url: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -24723,7 +21802,6 @@ def __init__( When set to `false`, the probe uses the interface to exit the device. url: url - _custom_data: _custom_data """ @@ -24740,20 +21818,13 @@ class VrfsItem(AvdModel): class InterfaceSetsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": str}} name: str | None interfaces: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - interfaces: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, interfaces: str | None | UndefinedType = Undefined) -> None: """ InterfaceSetsItem. @@ -24763,7 +21834,6 @@ def __init__( Args: name: name interfaces: interfaces - _custom_data: _custom_data """ @@ -24783,7 +21853,6 @@ class HostsItem(AvdModel): "local_interfaces": {"type": str}, "address_only": {"type": bool, "default": True}, "url": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Host name.""" @@ -24803,7 +21872,6 @@ class HostsItem(AvdModel): Default value: `True` """ url: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24817,7 +21885,6 @@ def __init__( local_interfaces: str | None | UndefinedType = Undefined, address_only: bool | UndefinedType = Undefined, url: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -24838,7 +21905,6 @@ def __init__( When set to `false`, the probe uses the interface to exit the device. url: url - _custom_data: _custom_data """ @@ -24856,7 +21922,6 @@ class Hosts(AvdIndexedList[str, HostsItem]): "local_interfaces": {"type": str}, "address_only": {"type": bool, "default": True}, "hosts": {"type": Hosts}, - "_custom_data": {"type": dict}, } name: str """VRF Name.""" @@ -24876,7 +21941,6 @@ class Hosts(AvdIndexedList[str, HostsItem]): """ hosts: Hosts """Subclass of AvdIndexedList with `HostsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24889,7 +21953,6 @@ def __init__( local_interfaces: str | None | UndefinedType = Undefined, address_only: bool | UndefinedType = Undefined, hosts: Hosts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -24909,7 +21972,6 @@ def __init__( When set to `false`, the probe uses the interface to exit the device. hosts: Subclass of AvdIndexedList with `HostsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -24929,7 +21991,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "hosts": {"type": Hosts}, "name_server_group": {"type": str}, "vrfs": {"type": Vrfs}, - "_custom_data": {"type": dict}, } shutdown: bool | None interval: int | None @@ -24952,7 +22013,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): """Set name-server group.""" vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24967,7 +22027,6 @@ def __init__( hosts: Hosts | UndefinedType = Undefined, name_server_group: str | None | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorConnectivity. @@ -24989,7 +22048,6 @@ def __init__( hosts: Subclass of AvdIndexedList with `HostsItem` items. Primary key is `name` (`str`). name_server_group: Set name-server group. vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -24999,7 +22057,7 @@ class MonitorLayer1(AvdModel): class LoggingTransceiver(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"dom": {"type": bool}, "communication": {"type": bool}, "enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dom": {"type": bool}, "communication": {"type": bool}, "enabled": {"type": bool}} dom: bool | None """Enable transceiver Digital Optical Monitoring (DOM) logging.""" communication: bool | None @@ -25009,7 +22067,6 @@ class LoggingTransceiver(AvdModel): Some platforms support only the `logging transceiver` command. `enabled` key configures this command. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25019,7 +22076,6 @@ def __init__( dom: bool | None | UndefinedType = Undefined, communication: bool | None | UndefinedType = Undefined, enabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LoggingTransceiver. @@ -25033,16 +22089,10 @@ def __init__( enabled: Some platforms support only the `logging transceiver` command. `enabled` key configures this command. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "logging_mac_fault": {"type": bool}, - "logging_transceiver": {"type": LoggingTransceiver}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "logging_mac_fault": {"type": bool}, "logging_transceiver": {"type": LoggingTransceiver}} enabled: bool """Enable monitor layer1.""" logging_mac_fault: bool | None @@ -25053,7 +22103,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25063,7 +22112,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, logging_mac_fault: bool | None | UndefinedType = Undefined, logging_transceiver: LoggingTransceiver | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorLayer1. @@ -25078,7 +22126,6 @@ def __init__( Configure transceiver monitoring logging. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25091,18 +22138,12 @@ class Probe(AvdModel): class AccessRequest(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "username": {"type": str}, - "password": {"type": str}, - "password_type": {"type": str, "default": "7"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"username": {"type": str}, "password": {"type": str}, "password_type": {"type": str, "default": "7"}} username: str | None password: str | None """Encrypted password using the `password_type`.""" password_type: Literal["0", "7", "8a"] """Default value: `"7"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25112,7 +22153,6 @@ def __init__( username: str | None | UndefinedType = Undefined, password: str | None | UndefinedType = Undefined, password_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessRequest. @@ -25124,7 +22164,6 @@ def __init__( username: username password: Encrypted password using the `password_type`. password_type: password_type - _custom_data: _custom_data """ @@ -25133,7 +22172,6 @@ def __init__( "threshold_failure": {"type": int}, "method": {"type": str}, "access_request": {"type": AccessRequest}, - "_custom_data": {"type": dict}, } interval: int | None """Server probe interval in seconds.""" @@ -25147,7 +22185,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25158,7 +22195,6 @@ def __init__( threshold_failure: int | None | UndefinedType = Undefined, method: Literal["status-server", "access-request"] | None | UndefinedType = Undefined, access_request: AccessRequest | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Probe. @@ -25174,11 +22210,10 @@ def __init__( This can only be set when `method` is `access_request`. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"service_dot1x": {"type": bool}, "probe": {"type": Probe}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"service_dot1x": {"type": bool}, "probe": {"type": Probe}} service_dot1x: bool | None """Monitor servers used for 802.1X authentication.""" probe: Probe @@ -25187,17 +22222,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - service_dot1x: bool | None | UndefinedType = Undefined, - probe: Probe | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, service_dot1x: bool | None | UndefinedType = Undefined, probe: Probe | UndefinedType = Undefined) -> None: """ MonitorServerRadius. @@ -25210,26 +22238,19 @@ def __init__( Settings for probe sent to the server. Subclass of AvdModel. - _custom_data: _custom_data """ class MonitorSessionDefaultEncapsulationGre(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"payload": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"payload": {"type": str}} payload: Literal["full-packet", "inner-packet"] | None """Mirroring GRE payload type configuration commands.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - payload: Literal["full-packet", "inner-packet"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, payload: Literal["full-packet", "inner-packet"] | None | UndefinedType = Undefined) -> None: """ MonitorSessionDefaultEncapsulationGre. @@ -25238,7 +22259,6 @@ def __init__( Args: payload: Mirroring GRE payload type configuration commands. - _custom_data: _custom_data """ @@ -25251,12 +22271,11 @@ class SourcesItem(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL Name.""" priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25266,7 +22285,6 @@ def __init__( type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessGroup. @@ -25278,17 +22296,15 @@ def __init__( type: type name: ACL Name. priority: priority - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}, "access_group": {"type": AccessGroup}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}, "access_group": {"type": AccessGroup}} name: str | None """Interface name, range or comma separated list.""" direction: Literal["rx", "tx", "both"] | None access_group: AccessGroup """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25298,7 +22314,6 @@ def __init__( name: str | None | UndefinedType = Undefined, direction: Literal["rx", "tx", "both"] | None | UndefinedType = Undefined, access_group: AccessGroup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourcesItem. @@ -25310,7 +22325,6 @@ def __init__( name: Interface name, range or comma separated list. direction: direction access_group: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25327,20 +22341,15 @@ class Destinations(AvdList[str]): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ AccessGroup. @@ -25351,28 +22360,20 @@ def __init__( Args: type: type name: ACL Name. - _custom_data: _custom_data """ class Truncate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined) -> None: """ Truncate. @@ -25382,7 +22383,6 @@ def __init__( Args: enabled: enabled size: Size in bytes. - _custom_data: _custom_data """ @@ -25397,7 +22397,6 @@ def __init__( "rate_limit_per_egress_chip": {"type": str}, "sample": {"type": int}, "truncate": {"type": Truncate}, - "_custom_data": {"type": dict}, } name: str """Session Name.""" @@ -25429,7 +22428,6 @@ def __init__( sample: int | None truncate: Truncate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25446,7 +22444,6 @@ def __init__( rate_limit_per_egress_chip: str | None | UndefinedType = Undefined, sample: int | None | UndefinedType = Undefined, truncate: Truncate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorSessionsItem. @@ -25475,7 +22472,6 @@ def __init__( "10 mbps" sample: sample truncate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25498,7 +22494,6 @@ class DestinationsItem(AvdModel): "username": {"type": str}, "password": {"type": str}, "password_type": {"type": str, "default": "7"}, - "_custom_data": {"type": dict}, } name: str """InfluxDB connection name.""" @@ -25511,7 +22506,6 @@ class DestinationsItem(AvdModel): password: str | None password_type: Literal["0", "7", "8a"] """Default value: `"7"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25525,7 +22519,6 @@ def __init__( username: str | None | UndefinedType = Undefined, password: str | None | UndefinedType = Undefined, password_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DestinationsItem. @@ -25541,7 +22534,6 @@ def __init__( username: username password: password password_type: password_type - _custom_data: _custom_data """ @@ -25555,13 +22547,12 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): class SourceSocketsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "connection_limit": {"type": int}, "url": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "connection_limit": {"type": int}, "url": {"type": str}} name: str """Label of the socket connection.""" connection_limit: int | None url: str | None """It only accepts http(s), udp and unix domain socket URL.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25571,7 +22562,6 @@ def __init__( name: str | UndefinedType = Undefined, connection_limit: int | None | UndefinedType = Undefined, url: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourceSocketsItem. @@ -25583,7 +22573,6 @@ def __init__( name: Label of the socket connection. connection_limit: connection_limit url: It only accepts http(s), udp and unix domain socket URL. - _custom_data: _custom_data """ @@ -25597,22 +22586,15 @@ class SourceSockets(AvdIndexedList[str, SourceSocketsItem]): class TagsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "value": {"type": str}} name: str """Key of the global tag pair.""" value: str """Value of the global tag pair.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - value: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, value: str | UndefinedType = Undefined) -> None: """ TagsItem. @@ -25622,7 +22604,6 @@ def __init__( Args: name: Key of the global tag pair. value: Value of the global tag pair. - _custom_data: _custom_data """ @@ -25639,7 +22620,6 @@ class Tags(AvdIndexedList[str, TagsItem]): "source_group_standard_disabled": {"type": bool}, "source_sockets": {"type": SourceSockets}, "tags": {"type": Tags}, - "_custom_data": {"type": dict}, } vrf: str | None destinations: Destinations @@ -25660,7 +22640,6 @@ class Tags(AvdIndexedList[str, TagsItem]): Subclass of AvdIndexedList with `TagsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25672,7 +22651,6 @@ def __init__( source_group_standard_disabled: bool | None | UndefinedType = Undefined, source_sockets: SourceSockets | UndefinedType = Undefined, tags: Tags | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorTelemetryInflux. @@ -25694,7 +22672,6 @@ def __init__( Subclass of AvdIndexedList with `TagsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -25707,14 +22684,13 @@ class Ingress(AvdModel): class Collection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}, "version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}, "version": {"type": int}} source: str | None """Source IP address of GRE tunnel.""" destination: str | None """Destination IP address of GRE tunnel.""" version: Literal[1, 2] | None """Postcard version.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25724,7 +22700,6 @@ def __init__( source: str | None | UndefinedType = Undefined, destination: str | None | UndefinedType = Undefined, version: Literal[1, 2] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Collection. @@ -25736,7 +22711,6 @@ def __init__( source: Source IP address of GRE tunnel. destination: Destination IP address of GRE tunnel. version: Postcard version. - _custom_data: _custom_data """ @@ -25746,22 +22720,15 @@ class Sample(AvdModel): class TcpUdpChecksum(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"value": {"type": int}, "mask": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"value": {"type": int}, "mask": {"type": str}} value: int | None """TCP/UDP checksum or IP ID value.""" mask: str | None """16 bit hexadecimal mask for TCP/UDP or IP ID with at most 2 unset bits.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - value: int | None | UndefinedType = Undefined, - mask: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, value: int | None | UndefinedType = Undefined, mask: str | None | UndefinedType = Undefined) -> None: """ TcpUdpChecksum. @@ -25771,11 +22738,10 @@ def __init__( Args: value: TCP/UDP checksum or IP ID value. mask: 16 bit hexadecimal mask for TCP/UDP or IP ID with at most 2 unset bits. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"rate": {"type": int}, "tcp_udp_checksum": {"type": TcpUdpChecksum}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": int}, "tcp_udp_checksum": {"type": TcpUdpChecksum}} rate: Literal[16384, 32768, 65536] | None """Sampling rate. `rate` is preferred when both `rate` and `tcp_udp_checksum` are defined.""" tcp_udp_checksum: TcpUdpChecksum @@ -25784,7 +22750,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25793,7 +22758,6 @@ def __init__( *, rate: Literal[16384, 32768, 65536] | None | UndefinedType = Undefined, tcp_udp_checksum: TcpUdpChecksum | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sample. @@ -25807,11 +22771,10 @@ def __init__( TCP/UDP parameters. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"collection": {"type": Collection}, "sample": {"type": Sample}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"collection": {"type": Collection}, "sample": {"type": Sample}} collection: Collection """ Collector configuration. @@ -25824,17 +22787,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - collection: Collection | UndefinedType = Undefined, - sample: Sample | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, collection: Collection | UndefinedType = Undefined, sample: Sample | UndefinedType = Undefined) -> None: """ Ingress. @@ -25850,28 +22806,20 @@ def __init__( Sampling parameters. Subclass of AvdModel. - _custom_data: _custom_data """ class MarkerVxlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "header_word_zero_bit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "header_word_zero_bit": {"type": int}} enabled: bool | None """Enable vxlan marking using default bit 0.""" header_word_zero_bit: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - header_word_zero_bit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, header_word_zero_bit: int | None | UndefinedType = Undefined) -> None: """ MarkerVxlan. @@ -25881,28 +22829,20 @@ def __init__( Args: enabled: Enable vxlan marking using default bit 0. header_word_zero_bit: header_word_zero_bit - _custom_data: _custom_data """ class ProfilesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "ingress_sample_policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "ingress_sample_policy": {"type": str}} name: str """Profile name.""" ingress_sample_policy: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - ingress_sample_policy: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, ingress_sample_policy: str | None | UndefinedType = Undefined) -> None: """ ProfilesItem. @@ -25912,7 +22852,6 @@ def __init__( Args: name: Profile name. ingress_sample_policy: ingress_sample_policy - _custom_data: _custom_data """ @@ -25946,7 +22885,6 @@ class DestinationPorts(AvdList[str]): "protocol": {"type": str}, "source_ports": {"type": SourcePorts}, "destination_ports": {"type": DestinationPorts}, - "_custom_data": {"type": dict}, } protocol: Literal["tcp", "udp"] source_ports: SourcePorts @@ -25970,7 +22908,6 @@ class DestinationPorts(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25980,7 +22917,6 @@ def __init__( protocol: Literal["tcp", "udp"] | UndefinedType = Undefined, source_ports: SourcePorts | UndefinedType = Undefined, destination_ports: DestinationPorts | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -26007,7 +22943,6 @@ def __init__( ["https"] Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -26024,7 +22959,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): "destination_prefix": {"type": str}, "source_prefix": {"type": str}, "protocols": {"type": Protocols}, - "_custom_data": {"type": dict}, } name: str type: Literal["ipv4", "ipv6"] @@ -26041,7 +22975,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): """ protocols: Protocols """Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26053,7 +22986,6 @@ def __init__( destination_prefix: str | None | UndefinedType = Undefined, source_prefix: str | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchRulesItem. @@ -26071,7 +23003,6 @@ def __init__( IPv4 Network/Mask or IPv6 Network/Mask. Host part of prefix must be zero. eg. 10.3.3.0/24 protocols: Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`). - _custom_data: _custom_data """ @@ -26082,21 +23013,14 @@ class MatchRules(AvdIndexedList[str, MatchRulesItem]): MatchRules._item_type = MatchRulesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "match_rules": {"type": MatchRules}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "match_rules": {"type": MatchRules}} name: str match_rules: MatchRules """Subclass of AvdIndexedList with `MatchRulesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - match_rules: MatchRules | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, match_rules: MatchRules | UndefinedType = Undefined) -> None: """ SamplePoliciesItem. @@ -26106,7 +23030,6 @@ def __init__( Args: name: name match_rules: Subclass of AvdIndexedList with `MatchRulesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -26123,7 +23046,6 @@ class SamplePolicies(AvdIndexedList[str, SamplePoliciesItem]): "marker_vxlan": {"type": MarkerVxlan}, "profiles": {"type": Profiles}, "sample_policies": {"type": SamplePolicies}, - "_custom_data": {"type": dict}, } disabled: bool """ @@ -26144,7 +23066,6 @@ class SamplePolicies(AvdIndexedList[str, SamplePoliciesItem]): """ sample_policies: SamplePolicies """Subclass of AvdIndexedList with `SamplePoliciesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26156,7 +23077,6 @@ def __init__( marker_vxlan: MarkerVxlan | UndefinedType = Undefined, profiles: Profiles | UndefinedType = Undefined, sample_policies: SamplePolicies | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorTelemetryPostcardPolicy. @@ -26174,7 +23094,6 @@ def __init__( Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `name` (`str`). sample_policies: Subclass of AvdIndexedList with `SamplePoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -26189,14 +23108,12 @@ class Ldp(AvdModel): "router_id": {"type": str}, "shutdown": {"type": bool}, "transport_address_interface": {"type": str}, - "_custom_data": {"type": dict}, } interface_disabled_default: bool | None router_id: str | None shutdown: bool | None transport_address_interface: str | None """Interface Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26207,7 +23124,6 @@ def __init__( router_id: str | None | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, transport_address_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ldp. @@ -26220,23 +23136,17 @@ def __init__( router_id: router_id shutdown: shutdown transport_address_interface: Interface Name. - _custom_data: _custom_data """ class Icmp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "fragmentation_needed_tunneling": {"type": bool}, - "ttl_exceeded_tunneling": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"fragmentation_needed_tunneling": {"type": bool}, "ttl_exceeded_tunneling": {"type": bool}} fragmentation_needed_tunneling: bool | None """Enables the MPLS tunneling of MTU exceeded ICMP replies (fragmentation needed, packet too big).""" ttl_exceeded_tunneling: bool | None """Enables the MPLS tunneling of TTL exceeded ICMP replies.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26245,7 +23155,6 @@ def __init__( *, fragmentation_needed_tunneling: bool | None | UndefinedType = Undefined, ttl_exceeded_tunneling: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Icmp. @@ -26256,7 +23165,6 @@ def __init__( Args: fragmentation_needed_tunneling: Enables the MPLS tunneling of MTU exceeded ICMP replies (fragmentation needed, packet too big). ttl_exceeded_tunneling: Enables the MPLS tunneling of TTL exceeded ICMP replies. - _custom_data: _custom_data """ @@ -26266,7 +23174,7 @@ class Rsvp(AvdModel): class Refresh(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "method": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "method": {"type": str}} interval: int | None """Time between refreshes.""" method: Literal["bundled", "explicit"] | None @@ -26276,16 +23184,11 @@ class Refresh(AvdModel): explicit: Send each message individually. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - method: Literal["bundled", "explicit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | None | UndefinedType = Undefined, method: Literal["bundled", "explicit"] | None | UndefinedType = Undefined ) -> None: """ Refresh. @@ -26300,7 +23203,6 @@ def __init__( bundled: Refresh states using message identifier lists. explicit: Send each message individually. - _custom_data: _custom_data """ @@ -26310,12 +23212,7 @@ class Authentication(AvdModel): class PasswordIndexesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "index": {"type": int}, - "password_type": {"type": str, "default": "7"}, - "password": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"index": {"type": int}, "password_type": {"type": str, "default": "7"}, "password": {"type": str}} index: int """Password index.""" password_type: Literal["0", "7", "8a"] @@ -26326,7 +23223,6 @@ class PasswordIndexesItem(AvdModel): """ password: str | None """Password string.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26336,7 +23232,6 @@ def __init__( index: int | UndefinedType = Undefined, password_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, password: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PasswordIndexesItem. @@ -26348,7 +23243,6 @@ def __init__( index: Password index. password_type: Authentication password type. password: Password string. - _custom_data: _custom_data """ @@ -26364,7 +23258,6 @@ class PasswordIndexes(AvdIndexedList[int, PasswordIndexesItem]): "active_index": {"type": int}, "sequence_number_window": {"type": int}, "type": {"type": str}, - "_custom_data": {"type": dict}, } password_indexes: PasswordIndexes """Subclass of AvdIndexedList with `PasswordIndexesItem` items. Primary key is `index` (`int`).""" @@ -26374,7 +23267,6 @@ class PasswordIndexes(AvdIndexedList[int, PasswordIndexesItem]): """Size of reorder window for index in the sequence.""" type: Literal["md5", "none"] | None """Authentication mechanism.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26385,7 +23277,6 @@ def __init__( active_index: int | None | UndefinedType = Undefined, sequence_number_window: int | None | UndefinedType = Undefined, type: Literal["md5", "none"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Authentication. @@ -26398,7 +23289,6 @@ def __init__( active_index: Use index as active password. sequence_number_window: Size of reorder window for index in the sequence. type: Authentication mechanism. - _custom_data: _custom_data """ @@ -26408,21 +23298,16 @@ class NeighborsItem(AvdModel): class Authentication(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"index": {"type": int}, "type": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"index": {"type": int}, "type": {"type": str}} index: int | None """Password index.""" type: Literal["md5", "none"] | None """Authentication mechanism.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - index: int | None | UndefinedType = Undefined, - type: Literal["md5", "none"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, index: int | None | UndefinedType = Undefined, type: Literal["md5", "none"] | None | UndefinedType = Undefined ) -> None: """ Authentication. @@ -26433,16 +23318,10 @@ def __init__( Args: index: Password index. type: Authentication mechanism. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "ip_address": {"type": str}, - "ipv6_address": {"type": str}, - "authentication": {"type": Authentication}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "ipv6_address": {"type": str}, "authentication": {"type": Authentication}} ip_address: str | None """Neighbor's interface IPv4 address.""" ipv6_address: str | None @@ -26453,7 +23332,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26463,7 +23341,6 @@ def __init__( ip_address: str | None | UndefinedType = Undefined, ipv6_address: str | None | UndefinedType = Undefined, authentication: Authentication | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -26478,7 +23355,6 @@ def __init__( Cryptographic authentication. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -26490,12 +23366,7 @@ class Neighbors(AvdList[NeighborsItem]): class FastReroute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mode": {"type": str}, - "reversion": {"type": str}, - "bypass_tunnel_optimization_interval": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mode": {"type": str}, "reversion": {"type": str}, "bypass_tunnel_optimization_interval": {"type": int}} mode: Literal["link-protection", "node-protection", "none"] | None """ Fast reroute mode. @@ -26515,7 +23386,6 @@ class FastReroute(AvdModel): Fast-reroute bypass configuration. Interval between each re-optimization attempt in seconds. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26525,7 +23395,6 @@ def __init__( mode: Literal["link-protection", "node-protection", "none"] | None | UndefinedType = Undefined, reversion: Literal["global", "local"] | None | UndefinedType = Undefined, bypass_tunnel_optimization_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FastReroute. @@ -26547,29 +23416,21 @@ def __init__( bypass_tunnel_optimization_interval: Fast-reroute bypass configuration. Interval between each re-optimization attempt in seconds. - _custom_data: _custom_data """ class Srlg(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "strict": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "strict": {"type": bool}} enabled: bool | None """Select SRLG behavior.""" strict: bool | None """Apply strict SRLG constraint.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - strict: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, strict: bool | None | UndefinedType = Undefined) -> None: """ Srlg. @@ -26579,27 +23440,21 @@ def __init__( Args: enabled: Select SRLG behavior. strict: Apply strict SRLG constraint. - _custom_data: _custom_data """ class PreemptionMethod(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"preemption": {"type": str}, "timer": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"preemption": {"type": str}, "timer": {"type": int}} preemption: Literal["hard", "soft"] | None timer: int | None """Timer value in units of seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - preemption: Literal["hard", "soft"] | None | UndefinedType = Undefined, - timer: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, preemption: Literal["hard", "soft"] | None | UndefinedType = Undefined, timer: int | None | UndefinedType = Undefined ) -> None: """ PreemptionMethod. @@ -26610,7 +23465,6 @@ def __init__( Args: preemption: preemption timer: Timer value in units of seconds. - _custom_data: _custom_data """ @@ -26620,18 +23474,12 @@ class GracefulRestart(AvdModel): class RoleHelper(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "timer_recovery": {"type": int}, - "timer_restart": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timer_recovery": {"type": int}, "timer_restart": {"type": int}} enabled: bool | None timer_recovery: int | None """Maximum recovery timer value in seconds.""" timer_restart: int | None """Maximum restart timer value in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26641,7 +23489,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, timer_recovery: int | None | UndefinedType = Undefined, timer_restart: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RoleHelper. @@ -26653,25 +23500,18 @@ def __init__( enabled: enabled timer_recovery: Maximum recovery timer value in seconds. timer_restart: Maximum restart timer value in seconds. - _custom_data: _custom_data """ class RoleSpeaker(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "timer_recovery": {"type": int}, - "timer_restart": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timer_recovery": {"type": int}, "timer_restart": {"type": int}} enabled: bool | None timer_recovery: int | None """Maximum recovery timer value in seconds.""" timer_restart: int | None """Maximum restart timer value in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26681,7 +23521,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, timer_recovery: int | None | UndefinedType = Undefined, timer_restart: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RoleSpeaker. @@ -26693,26 +23532,18 @@ def __init__( enabled: enabled timer_recovery: Maximum recovery timer value in seconds. timer_restart: Maximum restart timer value in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"role_helper": {"type": RoleHelper}, "role_speaker": {"type": RoleSpeaker}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"role_helper": {"type": RoleHelper}, "role_speaker": {"type": RoleSpeaker}} role_helper: RoleHelper """Subclass of AvdModel.""" role_speaker: RoleSpeaker """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - role_helper: RoleHelper | UndefinedType = Undefined, - role_speaker: RoleSpeaker | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, role_helper: RoleHelper | UndefinedType = Undefined, role_speaker: RoleSpeaker | UndefinedType = Undefined) -> None: """ GracefulRestart. @@ -26722,29 +23553,21 @@ def __init__( Args: role_helper: Subclass of AvdModel. role_speaker: Subclass of AvdModel. - _custom_data: _custom_data """ class Hello(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "multiplier": {"type": int}} interval: int | None """Time between hello messages in seconds.""" multiplier: int | None """Number of missed hellos after which the neighbor is expired.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined) -> None: """ Hello. @@ -26754,31 +23577,23 @@ def __init__( Args: interval: Time between hello messages in seconds. multiplier: Number of missed hellos after which the neighbor is expired. - _custom_data: _custom_data """ class HitlessRestart(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timer_recovery": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timer_recovery": {"type": int}} enabled: bool | None timer_recovery: int | None """ Time stale states will be preserved after restart. Value in seconds. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - timer_recovery: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, timer_recovery: int | None | UndefinedType = Undefined) -> None: """ HitlessRestart. @@ -26790,20 +23605,18 @@ def __init__( timer_recovery: Time stale states will be preserved after restart. Value in seconds. - _custom_data: _custom_data """ class P2mp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ P2mp. @@ -26812,7 +23625,6 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ Args: enabled: enabled - _custom_data: _custom_data """ @@ -26832,7 +23644,6 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ "hitless_restart": {"type": HitlessRestart}, "p2mp": {"type": P2mp}, "shutdown": {"type": bool}, - "_custom_data": {"type": dict}, } refresh: Refresh """Subclass of AvdModel.""" @@ -26876,7 +23687,6 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ """Subclass of AvdModel.""" shutdown: bool | None """Make `shutdown` key false for `no shutdown` cli.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26898,7 +23708,6 @@ def __init__( hitless_restart: HitlessRestart | UndefinedType = Undefined, p2mp: P2mp | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Rsvp. @@ -26931,7 +23740,6 @@ def __init__( Subclass of AvdModel. p2mp: Subclass of AvdModel. shutdown: Make `shutdown` key false for `no shutdown` cli. - _custom_data: _custom_data """ @@ -26944,20 +23752,15 @@ class Termination(AvdModel): class Model(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ttl": {"type": str}, "dscp": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ttl": {"type": str}, "dscp": {"type": str}} ttl: Literal["pipe", "uniform"] dscp: Literal["pipe", "uniform"] """The DSCP model `uniform` is supported only on specific hardware platforms.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ttl: Literal["pipe", "uniform"] | UndefinedType = Undefined, - dscp: Literal["pipe", "uniform"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ttl: Literal["pipe", "uniform"] | UndefinedType = Undefined, dscp: Literal["pipe", "uniform"] | UndefinedType = Undefined ) -> None: """ Model. @@ -26968,27 +23771,21 @@ def __init__( Args: ttl: ttl dscp: The DSCP model `uniform` is supported only on specific hardware platforms. - _custom_data: _custom_data """ class PhpModel(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ttl": {"type": str}, "dscp": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ttl": {"type": str}, "dscp": {"type": str}} ttl: Literal["pipe", "uniform"] dscp: Literal["pipe", "uniform"] """The DSCP model `uniform` is supported only on specific hardware platforms.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ttl: Literal["pipe", "uniform"] | UndefinedType = Undefined, - dscp: Literal["pipe", "uniform"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ttl: Literal["pipe", "uniform"] | UndefinedType = Undefined, dscp: Literal["pipe", "uniform"] | UndefinedType = Undefined ) -> None: """ PhpModel. @@ -26999,11 +23796,10 @@ def __init__( Args: ttl: ttl dscp: The DSCP model `uniform` is supported only on specific hardware platforms. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"model": {"type": Model}, "php_model": {"type": PhpModel}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"model": {"type": Model}, "php_model": {"type": PhpModel}} model: Model """Subclass of AvdModel.""" php_model: PhpModel @@ -27013,17 +23809,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - model: Model | UndefinedType = Undefined, - php_model: PhpModel | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, model: Model | UndefinedType = Undefined, php_model: PhpModel | UndefinedType = Undefined) -> None: """ Termination. @@ -27037,11 +23826,10 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"termination": {"type": Termination}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"termination": {"type": Termination}} termination: Termination """ Controls selection of the TTL/DSCP values by LER when decapsulating MPLS packets. @@ -27049,11 +23837,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, termination: Termination | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, termination: Termination | UndefinedType = Undefined) -> None: """ Tunnel. @@ -27066,18 +23853,10 @@ def __init__(self, *, termination: Termination | UndefinedType = Undefined, _cus Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "ip": {"type": bool}, - "ldp": {"type": Ldp}, - "icmp": {"type": Icmp}, - "rsvp": {"type": Rsvp}, - "tunnel": {"type": Tunnel}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip": {"type": bool}, "ldp": {"type": Ldp}, "icmp": {"type": Icmp}, "rsvp": {"type": Rsvp}, "tunnel": {"type": Tunnel}} ip: bool | None ldp: Ldp """Subclass of AvdModel.""" @@ -27096,7 +23875,6 @@ def __init__(self, *, termination: Termination | UndefinedType = Undefined, _cus Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27108,7 +23886,6 @@ def __init__( icmp: Icmp | UndefinedType = Undefined, rsvp: Rsvp | UndefinedType = Undefined, tunnel: Tunnel | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Mpls. @@ -27129,7 +23906,6 @@ def __init__( Configure MPLS tunnel. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -27139,22 +23915,15 @@ class Ntp(AvdModel): class LocalInterface(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """Source interface.""" vrf: str | None """VRF name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ LocalInterface. @@ -27164,7 +23933,6 @@ def __init__( Args: name: Source interface. vrf: VRF name. - _custom_data: _custom_data """ @@ -27182,7 +23950,6 @@ class ServersItem(AvdModel): "preferred": {"type": bool}, "version": {"type": int}, "vrf": {"type": str}, - "_custom_data": {"type": dict}, } name: str """IP or hostname e.g., 2.2.2.55, 2001:db8::55, ie.pool.ntp.org.""" @@ -27199,7 +23966,6 @@ class ServersItem(AvdModel): version: int | None vrf: str | None """VRF name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27216,7 +23982,6 @@ def __init__( preferred: bool | None | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ServersItem. @@ -27235,7 +24000,6 @@ def __init__( preferred: preferred version: version vrf: VRF name. - _custom_data: _custom_data """ @@ -27249,20 +24013,13 @@ class Servers(AvdIndexedList[str, ServersItem]): class AuthenticationKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str}, - "key": {"type": str}, - "key_type": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}, "key_type": {"type": str}} id: int """Key identifier.""" hash_algorithm: Literal["md5", "sha1"] key: str """Obfuscated key.""" key_type: Literal["0", "7", "8a"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27273,7 +24030,6 @@ def __init__( hash_algorithm: Literal["md5", "sha1"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, key_type: Literal["0", "7", "8a"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AuthenticationKeysItem. @@ -27286,7 +24042,6 @@ def __init__( hash_algorithm: hash_algorithm key: Obfuscated key. key_type: key_type - _custom_data: _custom_data """ @@ -27304,7 +24059,6 @@ class AuthenticationKeys(AvdIndexedList[int, AuthenticationKeysItem]): "authenticate_servers_only": {"type": bool}, "authentication_keys": {"type": AuthenticationKeys}, "trusted_keys": {"type": str}, - "_custom_data": {"type": dict}, } local_interface: LocalInterface """Subclass of AvdModel.""" @@ -27316,7 +24070,6 @@ class AuthenticationKeys(AvdIndexedList[int, AuthenticationKeysItem]): """Subclass of AvdIndexedList with `AuthenticationKeysItem` items. Primary key is `id` (`int`).""" trusted_keys: str | None """List of trusted-keys as string ex. 10-12,15.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27329,7 +24082,6 @@ def __init__( authenticate_servers_only: bool | None | UndefinedType = Undefined, authentication_keys: AuthenticationKeys | UndefinedType = Undefined, trusted_keys: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ntp. @@ -27344,7 +24096,6 @@ def __init__( authenticate_servers_only: authenticate_servers_only authentication_keys: Subclass of AvdIndexedList with `AuthenticationKeysItem` items. Primary key is `id` (`int`). trusted_keys: List of trusted-keys as string ex. 10-12,15. - _custom_data: _custom_data """ @@ -27360,18 +24111,12 @@ class Interface(AvdModel): class Patch(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"bgp_vpws_remote_failure_errdisable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"bgp_vpws_remote_failure_errdisable": {"type": bool}} bgp_vpws_remote_failure_errdisable: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - bgp_vpws_remote_failure_errdisable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, bgp_vpws_remote_failure_errdisable: bool | None | UndefinedType = Undefined) -> None: """ Patch. @@ -27380,7 +24125,6 @@ def __init__( Args: bgp_vpws_remote_failure_errdisable: bgp_vpws_remote_failure_errdisable - _custom_data: _custom_data """ @@ -27390,22 +24134,15 @@ class Recovery(AvdModel): class ReviewDelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"min": {"type": int}, "max": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"min": {"type": int}, "max": {"type": int}} min: int """Minimum delay.""" max: int """Maximum delay.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - min: int | UndefinedType = Undefined, - max: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, min: int | UndefinedType = Undefined, max: int | UndefinedType = Undefined) -> None: """ ReviewDelay. @@ -27415,20 +24152,16 @@ def __init__( Args: min: Minimum delay. max: Maximum delay. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"review_delay": {"type": ReviewDelay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"review_delay": {"type": ReviewDelay}} review_delay: ReviewDelay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, review_delay: ReviewDelay | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, review_delay: ReviewDelay | UndefinedType = Undefined) -> None: """ Recovery. @@ -27437,26 +24170,18 @@ def __init__( Args: review_delay: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"patch": {"type": Patch}, "recovery": {"type": Recovery}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"patch": {"type": Patch}, "recovery": {"type": Recovery}} patch: Patch """Subclass of AvdModel.""" recovery: Recovery """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - patch: Patch | UndefinedType = Undefined, - recovery: Recovery | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, patch: Patch | UndefinedType = Undefined, recovery: Recovery | UndefinedType = Undefined) -> None: """ Interface. @@ -27466,18 +24191,16 @@ def __init__( Args: patch: Subclass of AvdModel. recovery: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"interface": {"type": Interface}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": Interface}} interface: Interface """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interface: Interface | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interface: Interface | UndefinedType = Undefined) -> None: """ Connector. @@ -27486,7 +24209,6 @@ def __init__(self, *, interface: Interface | UndefinedType = Undefined, _custom_ Args: interface: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -27496,7 +24218,7 @@ class PatchesItem(AvdModel): class ConnectorsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": str}, "type": {"type": str}, "endpoint": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": str}, "type": {"type": str}, "endpoint": {"type": str}} id: str type: Literal["interface", "pseudowire"] endpoint: str @@ -27509,7 +24231,6 @@ class ConnectorsItem(AvdModel): - "bgp vpws TENANT_A pseudowire VPWS_PW_1" - "ldp LDP_PW_1" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27519,7 +24240,6 @@ def __init__( id: str | UndefinedType = Undefined, type: Literal["interface", "pseudowire"] | UndefinedType = Undefined, endpoint: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ConnectorsItem. @@ -27538,7 +24258,6 @@ def __init__( 123" - "bgp vpws TENANT_A pseudowire VPWS_PW_1" - "ldp LDP_PW_1" - _custom_data: _custom_data """ @@ -27549,7 +24268,7 @@ class Connectors(AvdIndexedList[str, ConnectorsItem]): Connectors._item_type = ConnectorsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool}, "connectors": {"type": Connectors}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool}, "connectors": {"type": Connectors}} name: str enabled: bool | None connectors: Connectors @@ -27557,7 +24276,6 @@ class Connectors(AvdIndexedList[str, ConnectorsItem]): Must have exactly two connectors to a patch of which at least one must be of type "interface". Subclass of AvdIndexedList with `ConnectorsItem` items. Primary key is `id` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27567,7 +24285,6 @@ def __init__( name: str | UndefinedType = Undefined, enabled: bool | None | UndefinedType = Undefined, connectors: Connectors | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PatchesItem. @@ -27581,7 +24298,6 @@ def __init__( connectors: Must have exactly two connectors to a patch of which at least one must be of type "interface". Subclass of AvdIndexedList with `ConnectorsItem` items. Primary key is `id` (`str`). - _custom_data: _custom_data """ @@ -27592,22 +24308,15 @@ class Patches(AvdIndexedList[str, PatchesItem]): Patches._item_type = PatchesItem - _fields: ClassVar[dict] = {"connector": {"type": Connector}, "patches": {"type": Patches}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"connector": {"type": Connector}, "patches": {"type": Patches}} connector: Connector """Subclass of AvdModel.""" patches: Patches """Subclass of AvdIndexedList with `PatchesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - connector: Connector | UndefinedType = Undefined, - patches: Patches | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, connector: Connector | UndefinedType = Undefined, patches: Patches | UndefinedType = Undefined) -> None: """ PatchPanel. @@ -27617,7 +24326,6 @@ def __init__( Args: connector: Subclass of AvdModel. patches: Subclass of AvdIndexedList with `PatchesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -27627,7 +24335,7 @@ class PeerFiltersItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "match": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "match": {"type": str}} sequence: int """Sequence ID.""" match: str @@ -27635,17 +24343,10 @@ class SequenceNumbersItem(AvdModel): Match as string. Example: "as-range 1-100 result accept" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - match: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, match: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -27657,7 +24358,6 @@ def __init__( match: Match as string. Example: "as-range 1-100 result accept" - _custom_data: _custom_data """ @@ -27668,22 +24368,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Peer-filter Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ PeerFiltersItem. @@ -27693,7 +24386,6 @@ def __init__( Args: name: Peer-filter Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -27713,16 +24405,13 @@ class Trident(AvdModel): class L3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"routing_mac_address_per_vlan": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"routing_mac_address_per_vlan": {"type": bool}} routing_mac_address_per_vlan: bool | None """Enable bridging of packets with destination MAC being a Router MAC in VLANs without routing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, routing_mac_address_per_vlan: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, routing_mac_address_per_vlan: bool | None | UndefinedType = Undefined) -> None: """ L3. @@ -27731,7 +24420,6 @@ def __init__( Args: routing_mac_address_per_vlan: Enable bridging of packets with destination MAC being a Router MAC in VLANs without routing. - _custom_data: _custom_data """ @@ -27747,23 +24435,18 @@ class MulticastQueuesItem(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"precedence": {"type": int}, "threshold": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"precedence": {"type": int}, "threshold": {"type": str}} precedence: Literal[1, 2] threshold: str """ Drop Threshold. This value may also be fractions. Example: 7/8 or 3/4 or 1/2 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - precedence: Literal[1, 2] | UndefinedType = Undefined, - threshold: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, precedence: Literal[1, 2] | UndefinedType = Undefined, threshold: str | UndefinedType = Undefined ) -> None: """ Drop. @@ -27776,7 +24459,6 @@ def __init__( threshold: Drop Threshold. This value may also be fractions. Example: 7/8 or 3/4 or 1/2 - _custom_data: _custom_data """ @@ -27786,7 +24468,6 @@ def __init__( "reserved": {"type": int}, "threshold": {"type": str}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } id: int unit: Literal["bytes", "cells"] | None @@ -27800,7 +24481,6 @@ def __init__( """Dynamic Shared Memory threshold.""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27812,7 +24492,6 @@ def __init__( reserved: int | None | UndefinedType = Undefined, threshold: str | None | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MulticastQueuesItem. @@ -27828,7 +24507,6 @@ def __init__( queue. threshold: Dynamic Shared Memory threshold. drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -27845,23 +24523,18 @@ class UnicastQueuesItem(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"precedence": {"type": int}, "threshold": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"precedence": {"type": int}, "threshold": {"type": str}} precedence: Literal[1, 2] threshold: str """ Drop Threshold. This value may also be fractions. Example: 7/8 or 3/4 or 1/2 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - precedence: Literal[1, 2] | UndefinedType = Undefined, - threshold: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, precedence: Literal[1, 2] | UndefinedType = Undefined, threshold: str | UndefinedType = Undefined ) -> None: """ Drop. @@ -27874,7 +24547,6 @@ def __init__( threshold: Drop Threshold. This value may also be fractions. Example: 7/8 or 3/4 or 1/2 - _custom_data: _custom_data """ @@ -27884,7 +24556,6 @@ def __init__( "reserved": {"type": int}, "threshold": {"type": str}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } id: int unit: Literal["bytes", "cells"] | None @@ -27898,7 +24569,6 @@ def __init__( """Dynamic Shared Memory threshold.""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27910,7 +24580,6 @@ def __init__( reserved: int | None | UndefinedType = Undefined, threshold: str | None | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UnicastQueuesItem. @@ -27926,7 +24595,6 @@ def __init__( queue. threshold: Dynamic Shared Memory threshold. drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -27937,18 +24605,12 @@ class UnicastQueues(AvdIndexedList[int, UnicastQueuesItem]): UnicastQueues._item_type = UnicastQueuesItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "multicast_queues": {"type": MulticastQueues}, - "unicast_queues": {"type": UnicastQueues}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "multicast_queues": {"type": MulticastQueues}, "unicast_queues": {"type": UnicastQueues}} name: str multicast_queues: MulticastQueues """Subclass of AvdIndexedList with `MulticastQueuesItem` items. Primary key is `id` (`int`).""" unicast_queues: UnicastQueues """Subclass of AvdIndexedList with `UnicastQueuesItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27958,7 +24620,6 @@ def __init__( name: str | UndefinedType = Undefined, multicast_queues: MulticastQueues | UndefinedType = Undefined, unicast_queues: UnicastQueues | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QueueProfilesItem. @@ -27970,7 +24631,6 @@ def __init__( name: name multicast_queues: Subclass of AvdIndexedList with `MulticastQueuesItem` items. Primary key is `id` (`int`). unicast_queues: Subclass of AvdIndexedList with `UnicastQueuesItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -27981,21 +24641,16 @@ class QueueProfiles(AvdIndexedList[str, QueueProfilesItem]): QueueProfiles._item_type = QueueProfilesItem - _fields: ClassVar[dict] = {"active_profile": {"type": str}, "queue_profiles": {"type": QueueProfiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"active_profile": {"type": str}, "queue_profiles": {"type": QueueProfiles}} active_profile: str | None """The queue profile to be applied to the platform.""" queue_profiles: QueueProfiles """Subclass of AvdIndexedList with `QueueProfilesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - active_profile: str | None | UndefinedType = Undefined, - queue_profiles: QueueProfiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, active_profile: str | None | UndefinedType = Undefined, queue_profiles: QueueProfiles | UndefinedType = Undefined ) -> None: """ Mmu. @@ -28006,11 +24661,10 @@ def __init__( Args: active_profile: The queue profile to be applied to the platform. queue_profiles: Subclass of AvdIndexedList with `QueueProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"forwarding_table_partition": {"type": str}, "l3": {"type": L3}, "mmu": {"type": Mmu}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"forwarding_table_partition": {"type": str}, "l3": {"type": L3}, "mmu": {"type": Mmu}} forwarding_table_partition: str | None l3: L3 """Subclass of AvdModel.""" @@ -28021,7 +24675,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28031,7 +24684,6 @@ def __init__( forwarding_table_partition: str | None | UndefinedType = Undefined, l3: L3 | UndefinedType = Undefined, mmu: Mmu | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Trident. @@ -28047,7 +24699,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28057,19 +24708,14 @@ class Sand(AvdModel): class QosMapsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"traffic_class": {"type": int}, "to_network_qos": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"traffic_class": {"type": int}, "to_network_qos": {"type": int}} traffic_class: int | None to_network_qos: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - traffic_class: int | None | UndefinedType = Undefined, - to_network_qos: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, traffic_class: int | None | UndefinedType = Undefined, to_network_qos: int | None | UndefinedType = Undefined ) -> None: """ QosMapsItem. @@ -28080,7 +24726,6 @@ def __init__( Args: traffic_class: traffic_class to_network_qos: to_network_qos - _custom_data: _custom_data """ @@ -28092,20 +24737,13 @@ class QosMaps(AvdList[QosMapsItem]): class Lag(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"hardware_only": {"type": bool}, "mode": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hardware_only": {"type": bool}, "mode": {"type": str}} hardware_only: bool | None mode: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - hardware_only: bool | None | UndefinedType = Undefined, - mode: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, hardware_only: bool | None | UndefinedType = Undefined, mode: str | None | UndefinedType = Undefined) -> None: """ Lag. @@ -28115,25 +24753,18 @@ def __init__( Args: hardware_only: hardware_only mode: mode - _custom_data: _custom_data """ class MulticastReplication(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": str}} default: Literal["ingress", "egress"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - default: Literal["ingress", "egress"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, default: Literal["ingress", "egress"] | None | UndefinedType = Undefined) -> None: """ MulticastReplication. @@ -28142,7 +24773,6 @@ def __init__( Args: default: default - _custom_data: _custom_data """ @@ -28152,7 +24782,6 @@ def __init__( "forwarding_mode": {"type": str}, "multicast_replication": {"type": MulticastReplication}, "mdb_profile": {"type": str}, - "_custom_data": {"type": dict}, } qos_maps: QosMaps """Subclass of AvdList with `QosMapsItem` items.""" @@ -28163,7 +24792,6 @@ def __init__( """Subclass of AvdModel.""" mdb_profile: Literal["balanced", "balanced-xl", "l3", "l3-xl", "l3-xxl", "l3-xxxl"] | None """Sand platforms MDB Profile configuration. Note: l3-xxxl does not support MLAG.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28175,7 +24803,6 @@ def __init__( forwarding_mode: str | None | UndefinedType = Undefined, multicast_replication: MulticastReplication | UndefinedType = Undefined, mdb_profile: Literal["balanced", "balanced-xl", "l3", "l3-xl", "l3-xxl", "l3-xxxl"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sand. @@ -28189,23 +24816,19 @@ def __init__( forwarding_mode: forwarding_mode multicast_replication: Subclass of AvdModel. mdb_profile: Sand platforms MDB Profile configuration. Note: l3-xxxl does not support MLAG. - _custom_data: _custom_data """ class Sfe(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"data_plane_cpu_allocation_max": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"data_plane_cpu_allocation_max": {"type": int}} data_plane_cpu_allocation_max: int | None """Maximum number of CPUs used for data plane traffic forwarding.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined) -> None: """ Sfe. @@ -28214,11 +24837,10 @@ def __init__( Args: data_plane_cpu_allocation_max: Maximum number of CPUs used for data plane traffic forwarding. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"trident": {"type": Trident}, "sand": {"type": Sand}, "sfe": {"type": Sfe}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"trident": {"type": Trident}, "sand": {"type": Sand}, "sfe": {"type": Sfe}} trident: Trident """Subclass of AvdModel.""" sand: Sand @@ -28233,17 +24855,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - trident: Trident | UndefinedType = Undefined, - sand: Sand | UndefinedType = Undefined, - sfe: Sfe | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, trident: Trident | UndefinedType = Undefined, sand: Sand | UndefinedType = Undefined, sfe: Sfe | UndefinedType = Undefined ) -> None: """ Platform. @@ -28261,7 +24877,6 @@ def __init__( Sfe (Software Forwarding Engine) settings. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28271,19 +24886,13 @@ class Poe(AvdModel): class Reboot(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}} action: Literal["power-off", "maintain"] | None """PoE action for interface. By default in EOS, reboot action is set to power-off.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - action: Literal["power-off", "maintain"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, action: Literal["power-off", "maintain"] | None | UndefinedType = Undefined) -> None: """ Reboot. @@ -28292,26 +24901,19 @@ def __init__( Args: action: PoE action for interface. By default in EOS, reboot action is set to power-off. - _custom_data: _custom_data """ class InterfaceShutdown(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"action": {"type": str}} action: Literal["power-off", "maintain"] | None """PoE action for interface. By default in EOS, interface shutdown action is set to maintain.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - action: Literal["power-off", "maintain"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, action: Literal["power-off", "maintain"] | None | UndefinedType = Undefined) -> None: """ InterfaceShutdown. @@ -28320,11 +24922,10 @@ def __init__( Args: action: PoE action for interface. By default in EOS, interface shutdown action is set to maintain. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"reboot": {"type": Reboot}, "interface_shutdown": {"type": InterfaceShutdown}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"reboot": {"type": Reboot}, "interface_shutdown": {"type": InterfaceShutdown}} reboot: Reboot """ Set the global PoE power behavior for PoE ports when the system is rebooted. @@ -28337,17 +24938,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - reboot: Reboot | UndefinedType = Undefined, - interface_shutdown: InterfaceShutdown | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, reboot: Reboot | UndefinedType = Undefined, interface_shutdown: InterfaceShutdown | UndefinedType = Undefined) -> None: """ Poe. @@ -28363,7 +24957,6 @@ def __init__( Set the global PoE power behavior for PoE ports when ports are admin down. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28382,20 +24975,15 @@ class Set(AvdModel): class Nexthop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "recursive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "recursive": {"type": bool}} ip_address: str | None """IPv4 or IPv6 Address.""" recursive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ip_address: str | None | UndefinedType = Undefined, - recursive: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ip_address: str | None | UndefinedType = Undefined, recursive: bool | None | UndefinedType = Undefined ) -> None: """ Nexthop. @@ -28406,18 +24994,16 @@ def __init__( Args: ip_address: IPv4 or IPv6 Address. recursive: recursive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"nexthop": {"type": Nexthop}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"nexthop": {"type": Nexthop}} nexthop: Nexthop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, nexthop: Nexthop | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, nexthop: Nexthop | UndefinedType = Undefined) -> None: """ Set. @@ -28426,17 +25012,10 @@ def __init__(self, *, nexthop: Nexthop | UndefinedType = Undefined, _custom_data Args: nexthop: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "index": {"type": int}, - "drop": {"type": bool}, - "set": {"type": Set}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "index": {"type": int}, "drop": {"type": bool}, "set": {"type": Set}} name: str """Class Name.""" index: int | None @@ -28450,7 +25029,6 @@ def __init__(self, *, nexthop: Nexthop | UndefinedType = Undefined, _custom_data Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28461,7 +25039,6 @@ def __init__( index: int | None | UndefinedType = Undefined, drop: bool | None | UndefinedType = Undefined, set: Set | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ClassesItem. @@ -28479,7 +25056,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28490,22 +25066,15 @@ class Classes(AvdIndexedList[str, ClassesItem]): Classes._item_type = ClassesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "classes": {"type": Classes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "classes": {"type": Classes}} name: str """Policy-Map Name.""" classes: Classes """Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - classes: Classes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, classes: Classes | UndefinedType = Undefined) -> None: """ PbrItem. @@ -28515,7 +25084,6 @@ def __init__( Args: name: Policy-Map Name. classes: Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -28535,18 +25103,11 @@ class ClassesItem(AvdModel): class Set(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "cos": {"type": int}, - "dscp": {"type": str}, - "traffic_class": {"type": int}, - "drop_precedence": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"cos": {"type": int}, "dscp": {"type": str}, "traffic_class": {"type": int}, "drop_precedence": {"type": int}} cos: int | None dscp: str | None traffic_class: int | None drop_precedence: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28557,7 +25118,6 @@ def __init__( dscp: str | None | UndefinedType = Undefined, traffic_class: int | None | UndefinedType = Undefined, drop_precedence: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Set. @@ -28570,7 +25130,6 @@ def __init__( dscp: dscp traffic_class: traffic_class drop_precedence: drop_precedence - _custom_data: _custom_data """ @@ -28580,12 +25139,11 @@ class Police(AvdModel): class Action(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "dscp_value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "dscp_value": {"type": str}} type: Literal["dscp", "drop-precedence"] | None """Set action for policed traffic.""" dscp_value: str | None """Set when action.type is set to "dscp".""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28594,7 +25152,6 @@ def __init__( *, type: Literal["dscp", "drop-precedence"] | None | UndefinedType = Undefined, dscp_value: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Action. @@ -28605,7 +25162,6 @@ def __init__( Args: type: Set action for policed traffic. dscp_value: Set when action.type is set to "dscp". - _custom_data: _custom_data """ @@ -28619,7 +25175,6 @@ def __init__( "higher_rate_unit": {"type": str, "default": "bps"}, "higher_rate_burst_size": {"type": int}, "higher_rate_burst_size_unit": {"type": str, "default": "bytes"}, - "_custom_data": {"type": dict}, } rate: int | None """ @@ -28645,7 +25200,6 @@ def __init__( """Range in bytes <256-128000000>.""" higher_rate_burst_size_unit: Literal["bytes", "kbytes", "mbytes", "packets"] """Default value: `"bytes"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28661,7 +25215,6 @@ def __init__( higher_rate_unit: Literal["bps", "kbps", "mbps", "pps"] | UndefinedType = Undefined, higher_rate_burst_size: int | None | UndefinedType = Undefined, higher_rate_burst_size_unit: Literal["bytes", "kbytes", "mbytes", "packets"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Police. @@ -28683,28 +25236,21 @@ def __init__( higher_rate_unit: higher_rate_unit higher_rate_burst_size: Range in bytes <256-128000000>. higher_rate_burst_size_unit: higher_rate_burst_size_unit - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "set": {"type": Set}, "police": {"type": Police}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "set": {"type": Set}, "police": {"type": Police}} name: str """Class Name.""" set: Set """Subclass of AvdModel.""" police: Police """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - set: Set | UndefinedType = Undefined, - police: Police | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, set: Set | UndefinedType = Undefined, police: Police | UndefinedType = Undefined ) -> None: """ ClassesItem. @@ -28716,7 +25262,6 @@ def __init__( name: Class Name. set: Subclass of AvdModel. police: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28727,22 +25272,15 @@ class Classes(AvdIndexedList[str, ClassesItem]): Classes._item_type = ClassesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "classes": {"type": Classes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "classes": {"type": Classes}} name: str """Policy-Map Name.""" classes: Classes """Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - classes: Classes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, classes: Classes | UndefinedType = Undefined) -> None: """ QosItem. @@ -28752,7 +25290,6 @@ def __init__( Args: name: Policy-Map Name. classes: Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -28769,13 +25306,7 @@ class CoppSystemPolicy(AvdModel): class ClassesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "shape": {"type": int}, - "bandwidth": {"type": int}, - "rate_unit": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "shape": {"type": int}, "bandwidth": {"type": int}, "rate_unit": {"type": str}} name: str shape: int | None """Maximum rate limit.""" @@ -28783,7 +25314,6 @@ class ClassesItem(AvdModel): """Minimum bandwidth.""" rate_unit: Literal["pps", "kbps"] | None """The `rate_unit` must be defined for `shape` and `bandwidth`.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28794,7 +25324,6 @@ def __init__( shape: int | None | UndefinedType = Undefined, bandwidth: int | None | UndefinedType = Undefined, rate_unit: Literal["pps", "kbps"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ClassesItem. @@ -28807,7 +25336,6 @@ def __init__( shape: Maximum rate limit. bandwidth: Minimum bandwidth. rate_unit: The `rate_unit` must be defined for `shape` and `bandwidth`. - _custom_data: _custom_data """ @@ -28818,14 +25346,13 @@ class Classes(AvdIndexedList[str, ClassesItem]): Classes._item_type = ClassesItem - _fields: ClassVar[dict] = {"classes": {"type": Classes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"classes": {"type": Classes}} classes: Classes """Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, classes: Classes | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, classes: Classes | UndefinedType = Undefined) -> None: """ CoppSystemPolicy. @@ -28834,11 +25361,10 @@ def __init__(self, *, classes: Classes | UndefinedType = Undefined, _custom_data Args: classes: Subclass of AvdIndexedList with `ClassesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}, "copp_system_policy": {"type": CoppSystemPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}, "copp_system_policy": {"type": CoppSystemPolicy}} pbr: Pbr """ PBR Policy-Maps. @@ -28857,7 +25383,6 @@ def __init__(self, *, classes: Classes | UndefinedType = Undefined, _custom_data Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28867,7 +25392,6 @@ def __init__( pbr: Pbr | UndefinedType = Undefined, qos: Qos | UndefinedType = Undefined, copp_system_policy: CoppSystemPolicy | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PolicyMaps. @@ -28888,7 +25412,6 @@ def __init__( Control-plane policy configuration. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28901,20 +25424,15 @@ class Logging(AvdModel): class Event(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"link_status": {"type": bool}, "storm_control_discards": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"link_status": {"type": bool}, "storm_control_discards": {"type": bool}} link_status: bool | None storm_control_discards: bool | None """Discards due to storm-control.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - link_status: bool | None | UndefinedType = Undefined, - storm_control_discards: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, link_status: bool | None | UndefinedType = Undefined, storm_control_discards: bool | None | UndefinedType = Undefined ) -> None: """ Event. @@ -28925,18 +25443,16 @@ def __init__( Args: link_status: link_status storm_control_discards: Discards due to storm-control. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"event": {"type": Event}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"event": {"type": Event}} event: Event """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, event: Event | UndefinedType = Undefined) -> None: """ Logging. @@ -28945,29 +25461,21 @@ def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: di Args: event: Subclass of AvdModel. - _custom_data: _custom_data """ class EncapsulationDot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "inner_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "inner_vlan": {"type": int}} vlan: int """VLAD ID.""" inner_vlan: int | None """Inner VLAN ID. This setting can only be applied to sub-interfaces on EOS.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vlan: int | UndefinedType = Undefined, - inner_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vlan: int | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined) -> None: """ EncapsulationDot1q. @@ -28977,7 +25485,6 @@ def __init__( Args: vlan: VLAD ID. inner_vlan: Inner VLAN ID. This setting can only be applied to sub-interfaces on EOS. - _custom_data: _custom_data """ @@ -28990,14 +25497,13 @@ class Client(AvdModel): class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} vlan: int | None """Client VLAN ID.""" outer: int | None """Client Outer VLAN ID.""" inner: int | None """Client Inner VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29007,7 +25513,6 @@ def __init__( vlan: int | None | UndefinedType = Undefined, outer: int | None | UndefinedType = Undefined, inner: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -29019,7 +25524,6 @@ def __init__( vlan: Client VLAN ID. outer: Client Outer VLAN ID. inner: Client Inner VLAN ID. - _custom_data: _custom_data """ @@ -29031,7 +25535,6 @@ def __init__( "outer_vlan": {"type": int}, "inner_vlan": {"type": int}, "inner_encapsulation": {"type": str}, - "_custom_data": {"type": dict}, } dot1q: Dot1q """Subclass of AvdModel.""" @@ -29044,7 +25547,6 @@ def __init__( inner_vlan: int | None """Client Inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`.""" inner_encapsulation: Literal["dot1q", "dot1ad"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29058,7 +25560,6 @@ def __init__( outer_vlan: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined, inner_encapsulation: Literal["dot1q", "dot1ad"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Client. @@ -29074,7 +25575,6 @@ def __init__( outer_vlan: Client Outer VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`. inner_vlan: Client Inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: unmatched`. inner_encapsulation: inner_encapsulation - _custom_data: _custom_data """ @@ -29084,14 +25584,13 @@ class Network(AvdModel): class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "outer": {"type": int}, "inner": {"type": int}} vlan: int | None """Network VLAN ID.""" outer: int | None """Network Outer VLAN ID.""" inner: int | None """Network Inner VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29101,7 +25600,6 @@ def __init__( vlan: int | None | UndefinedType = Undefined, outer: int | None | UndefinedType = Undefined, inner: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -29113,7 +25611,6 @@ def __init__( vlan: Network VLAN ID. outer: Network Outer VLAN ID. inner: Network Inner VLAN ID. - _custom_data: _custom_data """ @@ -29125,7 +25622,6 @@ def __init__( "outer_vlan": {"type": int}, "inner_vlan": {"type": int}, "inner_encapsulation": {"type": str}, - "_custom_data": {"type": dict}, } dot1q: Dot1q """Subclass of AvdModel.""" @@ -29143,7 +25639,6 @@ def __init__( inner_vlan: int | None """Network inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`.""" inner_encapsulation: Literal["dot1q", "dot1ad"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29157,7 +25652,6 @@ def __init__( outer_vlan: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined, inner_encapsulation: Literal["dot1q", "dot1ad"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Network. @@ -29176,11 +25670,10 @@ def __init__( outer_vlan: Network outer VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`. inner_vlan: Network inner VLAN ID. Not applicable for `encapsulation: untagged` or `encapsulation: client`. inner_encapsulation: inner_encapsulation - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"client": {"type": Client}, "network": {"type": Network}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client": {"type": Client}, "network": {"type": Network}} client: Client """Subclass of AvdModel.""" network: Network @@ -29190,17 +25683,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - client: Client | UndefinedType = Undefined, - network: Network | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, client: Client | UndefinedType = Undefined, network: Network | UndefinedType = Undefined) -> None: """ EncapsulationVlan. @@ -29214,27 +25700,21 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ class LinkTrackingGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "direction": {"type": str}} name: str """Group name.""" direction: Literal["upstream", "downstream"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined ) -> None: """ LinkTrackingGroupsItem. @@ -29245,7 +25725,6 @@ def __init__( Args: name: Group name. direction: direction - _custom_data: _custom_data """ @@ -29264,7 +25743,7 @@ class Groups(AvdList[str]): Groups._item_type = str - _fields: ClassVar[dict] = {"direction": {"type": str}, "groups": {"type": Groups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction": {"type": str}, "groups": {"type": Groups}} direction: Literal["upstream", "downstream"] | None groups: Groups """ @@ -29272,16 +25751,11 @@ class Groups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction: Literal["upstream", "downstream"] | None | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined ) -> None: """ LinkTracking. @@ -29295,26 +25769,20 @@ def __init__( Link state group(s) an interface belongs to. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Phone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"trunk": {"type": str}, "vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"trunk": {"type": str}, "vlan": {"type": int}} trunk: Literal["tagged", "untagged"] | None vlan: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - trunk: Literal["tagged", "untagged"] | None | UndefinedType = Undefined, - vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, trunk: Literal["tagged", "untagged"] | None | UndefinedType = Undefined, vlan: int | None | UndefinedType = Undefined ) -> None: """ Phone. @@ -29325,28 +25793,22 @@ def __init__( Args: trunk: trunk vlan: vlan - _custom_data: _custom_data """ class L2Protocol(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"encapsulation_dot1q_vlan": {"type": int}, "forwarding_profile": {"type": str}} encapsulation_dot1q_vlan: int | None """Vlan tag to configure on sub-interface.""" forwarding_profile: str | None """L2 protocol forwarding profile.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - encapsulation_dot1q_vlan: int | None | UndefinedType = Undefined, - forwarding_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, encapsulation_dot1q_vlan: int | None | UndefinedType = Undefined, forwarding_profile: str | None | UndefinedType = Undefined ) -> None: """ L2Protocol. @@ -29357,7 +25819,6 @@ def __init__( Args: encapsulation_dot1q_vlan: Vlan tag to configure on sub-interface. forwarding_profile: L2 protocol forwarding profile. - _custom_data: _custom_data """ @@ -29369,13 +25830,12 @@ class TrunkGroups(AvdList[str]): class Qos(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"trust": {"type": str}, "dscp": {"type": int}, "cos": {"type": int}} trust: Literal["dscp", "cos", "disabled"] | None dscp: int | None """DSCP value.""" cos: int | None """COS value.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29385,7 +25845,6 @@ def __init__( trust: Literal["dscp", "cos", "disabled"] | None | UndefinedType = Undefined, dscp: int | None | UndefinedType = Undefined, cos: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Qos. @@ -29397,7 +25856,6 @@ def __init__( trust: trust dscp: DSCP value. cos: COS value. - _custom_data: _custom_data """ @@ -29407,20 +25865,13 @@ class Bfd(AvdModel): class PerLink(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rfc_7130": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rfc_7130": {"type": bool}} enabled: bool | None rfc_7130: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - rfc_7130: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, rfc_7130: bool | None | UndefinedType = Undefined) -> None: """ PerLink. @@ -29430,7 +25881,6 @@ def __init__( Args: enabled: enabled rfc_7130: rfc_7130 - _custom_data: _custom_data """ @@ -29441,7 +25891,6 @@ def __init__( "multiplier": {"type": int}, "neighbor": {"type": str}, "per_link": {"type": PerLink}, - "_custom_data": {"type": dict}, } echo: bool | None interval: int | None @@ -29456,7 +25905,6 @@ def __init__( """ per_link: PerLink """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29469,7 +25917,6 @@ def __init__( multiplier: int | None | UndefinedType = Undefined, neighbor: str | None | UndefinedType = Undefined, per_link: PerLink | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bfd. @@ -29486,7 +25933,6 @@ def __init__( IPv4 or IPv6 address. When the Port-channel is a L2 interface, a local L3 BFD address (router_bfd.local_address) has to be defined globally on the switch. per_link: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29496,14 +25942,13 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}} input: str | None """Policy Based Routing Policy-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, input: str | None | UndefinedType = Undefined) -> None: """ Pbr. @@ -29512,21 +25957,19 @@ def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_dat Args: input: Policy Based Routing Policy-map name. - _custom_data: _custom_data """ class Qos(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}} input: str """Quality of Service Policy-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, input: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, input: str | UndefinedType = Undefined) -> None: """ Qos. @@ -29535,26 +25978,18 @@ def __init__(self, *, input: str | UndefinedType = Undefined, _custom_data: dict Args: input: Quality of Service Policy-map name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "qos": {"type": Qos}} pbr: Pbr """Subclass of AvdModel.""" qos: Qos """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - pbr: Pbr | UndefinedType = Undefined, - qos: Qos | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, pbr: Pbr | UndefinedType = Undefined, qos: Qos | UndefinedType = Undefined) -> None: """ ServicePolicy. @@ -29564,7 +25999,6 @@ def __init__( Args: pbr: Subclass of AvdModel. qos: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29574,20 +26008,13 @@ class Mpls(AvdModel): class Ldp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interface": {"type": bool}, "igp_sync": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": bool}, "igp_sync": {"type": bool}} interface: bool | None igp_sync: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interface: bool | None | UndefinedType = Undefined, - igp_sync: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interface: bool | None | UndefinedType = Undefined, igp_sync: bool | None | UndefinedType = Undefined) -> None: """ Ldp. @@ -29597,25 +26024,17 @@ def __init__( Args: interface: interface igp_sync: igp_sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ip": {"type": bool}, "ldp": {"type": Ldp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip": {"type": bool}, "ldp": {"type": Ldp}} ip: bool | None ldp: Ldp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip: bool | None | UndefinedType = Undefined, - ldp: Ldp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip: bool | None | UndefinedType = Undefined, ldp: Ldp | UndefinedType = Undefined) -> None: """ Mpls. @@ -29625,19 +26044,13 @@ def __init__( Args: ip: ip ldp: Subclass of AvdModel. - _custom_data: _custom_data """ class VlanTranslationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "field_from": {"type": str}, - "to": {"type": int}, - "direction": {"type": str, "default": "both"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"field_from": {"type": str}, "to": {"type": int}, "direction": {"type": str, "default": "both"}} _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} field_from: str | None @@ -29646,7 +26059,6 @@ class VlanTranslationsItem(AvdModel): """VLAN ID.""" direction: Literal["in", "out", "both"] """Default value: `"both"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29656,7 +26068,6 @@ def __init__( field_from: str | None | UndefinedType = Undefined, to: int | None | UndefinedType = Undefined, direction: Literal["in", "out", "both"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanTranslationsItem. @@ -29668,7 +26079,6 @@ def __init__( field_from: List of vlans as string (only one vlan if direction is "both"). to: VLAN ID. direction: direction - _custom_data: _custom_data """ @@ -29680,7 +26090,7 @@ class VlanTranslations(AvdList[VlanTranslationsItem]): class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Rate in kbps, pps or percent. @@ -29691,11 +26101,10 @@ class Shape(AvdModel): "1000 pps" - "20 percent" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -29711,7 +26120,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data - "1000 pps" - "20 percent" - _custom_data: _custom_data """ @@ -29721,7 +26129,7 @@ class StormControl(AvdModel): class All(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -29730,17 +26138,10 @@ class All(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ All. @@ -29750,14 +26151,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class Broadcast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -29766,17 +26166,10 @@ class Broadcast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Broadcast. @@ -29786,14 +26179,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -29802,17 +26194,10 @@ class Multicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Multicast. @@ -29822,14 +26207,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ class UnknownUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -29838,17 +26222,10 @@ class UnknownUnicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ UnknownUnicast. @@ -29858,7 +26235,6 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional field and is hardware dependent. - _custom_data: _custom_data """ @@ -29867,7 +26243,6 @@ def __init__( "broadcast": {"type": Broadcast}, "multicast": {"type": Multicast}, "unknown_unicast": {"type": UnknownUnicast}, - "_custom_data": {"type": dict}, } all: All """Subclass of AvdModel.""" @@ -29877,7 +26252,6 @@ def __init__( """Subclass of AvdModel.""" unknown_unicast: UnknownUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29888,7 +26262,6 @@ def __init__( broadcast: Broadcast | UndefinedType = Undefined, multicast: Multicast | UndefinedType = Undefined, unknown_unicast: UnknownUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StormControl. @@ -29901,7 +26274,6 @@ def __init__( broadcast: Subclass of AvdModel. multicast: Subclass of AvdModel. unknown_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29920,7 +26292,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -29931,7 +26302,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29943,7 +26313,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -29957,7 +26326,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -29971,13 +26339,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -29986,17 +26353,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30005,7 +26370,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -30016,7 +26380,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -30028,7 +26391,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -30052,7 +26414,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30066,7 +26427,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Both. @@ -30088,7 +26448,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -30104,7 +26463,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -30115,7 +26473,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30127,7 +26484,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -30141,7 +26497,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -30155,13 +26510,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -30170,17 +26524,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30189,7 +26541,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -30200,7 +26551,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -30212,7 +26562,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -30236,7 +26585,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30250,7 +26598,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level1. @@ -30272,7 +26619,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -30288,7 +26634,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -30299,7 +26644,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30311,7 +26655,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -30325,7 +26668,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -30339,13 +26681,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -30354,17 +26695,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30373,7 +26712,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -30384,7 +26722,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -30396,7 +26733,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -30420,7 +26756,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30434,7 +26769,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level2. @@ -30456,11 +26790,10 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} both: Both """ Authentication settings for level-1 and level-2. 'both' takes precedence over 'level_1' and @@ -30478,17 +26811,11 @@ def __init__( Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - both: Both | UndefinedType = Undefined, - level_1: Level1 | UndefinedType = Undefined, - level_2: Level2 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, both: Both | UndefinedType = Undefined, level_1: Level1 | UndefinedType = Undefined, level_2: Level2 | UndefinedType = Undefined ) -> None: """ IsisAuthentication. @@ -30508,29 +26835,21 @@ def __init__( level_2: Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. - _custom_data: _custom_data """ class TrafficPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "output": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}, "output": {"type": str}} input: str | None """Ingress traffic policy.""" output: str | None """Egress traffic policy.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - input: str | None | UndefinedType = Undefined, - output: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, input: str | None | UndefinedType = Undefined, output: str | None | UndefinedType = Undefined) -> None: """ TrafficPolicy. @@ -30540,7 +26859,6 @@ def __init__( Args: input: Ingress traffic policy. output: Egress traffic policy. - _custom_data: _custom_data """ @@ -30557,7 +26875,6 @@ class DesignatedForwarderElection(AvdModel): "hold_time": {"type": int}, "subsequent_hold_time": {"type": int}, "candidate_reachability_required": {"type": bool}, - "_custom_data": {"type": dict}, } algorithm: Literal["modulus", "preference"] | None preference_value: int | None @@ -30571,7 +26888,6 @@ class DesignatedForwarderElection(AvdModel): hold_time: int | None subsequent_hold_time: int | None candidate_reachability_required: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30584,7 +26900,6 @@ def __init__( hold_time: int | None | UndefinedType = Undefined, subsequent_hold_time: int | None | UndefinedType = Undefined, candidate_reachability_required: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DesignatedForwarderElection. @@ -30599,26 +26914,20 @@ def __init__( hold_time: hold_time subsequent_hold_time: subsequent_hold_time candidate_reachability_required: candidate_reachability_required - _custom_data: _custom_data """ class Mpls(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"shared_index": {"type": int}, "tunnel_flood_filter_time": {"type": int}} shared_index: int | None tunnel_flood_filter_time: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - shared_index: int | None | UndefinedType = Undefined, - tunnel_flood_filter_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, shared_index: int | None | UndefinedType = Undefined, tunnel_flood_filter_time: int | None | UndefinedType = Undefined ) -> None: """ Mpls. @@ -30629,7 +26938,6 @@ def __init__( Args: shared_index: shared_index tunnel_flood_filter_time: tunnel_flood_filter_time - _custom_data: _custom_data """ @@ -30639,7 +26947,6 @@ def __init__( "designated_forwarder_election": {"type": DesignatedForwarderElection}, "mpls": {"type": Mpls}, "route_target": {"type": str}, - "_custom_data": {"type": dict}, } identifier: str | None """EVPN Ethernet Segment Identifier (Type 1 format).""" @@ -30650,7 +26957,6 @@ def __init__( """Subclass of AvdModel.""" route_target: str | None """EVPN Route Target for ESI with format xx:xx:xx:xx:xx:xx.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30662,7 +26968,6 @@ def __init__( designated_forwarder_election: DesignatedForwarderElection | UndefinedType = Undefined, mpls: Mpls | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnEthernetSegment. @@ -30676,7 +26981,6 @@ def __init__( designated_forwarder_election: Subclass of AvdModel. mpls: Subclass of AvdModel. route_target: EVPN Route Target for ESI with format xx:xx:xx:xx:xx:xx. - _custom_data: _custom_data """ @@ -30686,20 +26990,13 @@ class Ptp(AvdModel): class Announce(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}} interval: int | None timeout: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ Announce. @@ -30709,7 +27006,6 @@ def __init__( Args: interval: interval timeout: timeout - _custom_data: _custom_data """ @@ -30719,18 +27015,12 @@ class Profile(AvdModel): class G82751(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"destination_mac_address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination_mac_address": {"type": str}} destination_mac_address: Literal["forwardable", "non-forwardable"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - destination_mac_address: Literal["forwardable", "non-forwardable"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, destination_mac_address: Literal["forwardable", "non-forwardable"] | None | UndefinedType = Undefined) -> None: """ G82751. @@ -30739,18 +27029,16 @@ def __init__( Args: destination_mac_address: destination_mac_address - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"g8275_1": {"type": G82751}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"g8275_1": {"type": G82751}} g8275_1: G82751 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined) -> None: """ Profile. @@ -30759,20 +27047,18 @@ def __init__(self, *, g8275_1: G82751 | UndefinedType = Undefined, _custom_data: Args: g8275_1: Subclass of AvdModel. - _custom_data: _custom_data """ class SyncMessage(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}} interval: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined) -> None: """ SyncMessage. @@ -30781,7 +27067,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Args: interval: interval - _custom_data: _custom_data """ @@ -30796,7 +27081,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ "vlan": {"type": str}, "transport": {"type": str}, "mpass": {"type": bool}, - "_custom_data": {"type": dict}, } enable: bool | None announce: Announce @@ -30820,7 +27104,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Hence, MPASS is needed only on MLAG port-channels connected to non-Arista devices. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30837,7 +27120,6 @@ def __init__( vlan: str | None | UndefinedType = Undefined, transport: Literal["ipv4", "ipv6", "layer2"] | None | UndefinedType = Undefined, mpass: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -30862,7 +27144,6 @@ def __init__( within the port-channel. Hence, MPASS is needed only on MLAG port-channels connected to non-Arista devices. - _custom_data: _custom_data """ @@ -30875,18 +27156,11 @@ class Destination(AvdModel): class DynamicItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "access_list": {"type": str}, - "comment": {"type": str}, - "pool_name": {"type": str}, - "priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_list": {"type": str}, "comment": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}} access_list: str comment: str | None pool_name: str priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30897,7 +27171,6 @@ def __init__( comment: str | None | UndefinedType = Undefined, pool_name: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -30910,7 +27183,6 @@ def __init__( comment: comment pool_name: pool_name priority: priority - _custom_data: _custom_data """ @@ -30935,7 +27207,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -30959,7 +27230,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30976,7 +27246,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -30999,7 +27268,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -31008,22 +27276,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Destination. @@ -31033,7 +27294,6 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ @@ -31049,7 +27309,6 @@ class DynamicItem(AvdModel): "nat_type": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str comment: str | None @@ -31061,7 +27320,6 @@ class DynamicItem(AvdModel): overload. """ priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31073,7 +27331,6 @@ def __init__( nat_type: Literal["overload", "pool", "pool-address-only", "pool-full-cone"] | UndefinedType = Undefined, pool_name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -31090,7 +27347,6 @@ def __init__( ignored if 'nat_type' is overload. priority: priority - _custom_data: _custom_data """ @@ -31115,7 +27371,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -31139,7 +27394,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31156,7 +27410,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -31179,7 +27432,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -31188,22 +27440,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Source. @@ -31213,23 +27458,16 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "service_profile": {"type": str}, - "destination": {"type": Destination}, - "source": {"type": Source}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"service_profile": {"type": str}, "destination": {"type": Destination}, "source": {"type": Source}} service_profile: str | None """NAT interface profile.""" destination: Destination """Subclass of AvdModel.""" source: Source """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31239,7 +27477,6 @@ def __init__( service_profile: str | None | UndefinedType = Undefined, destination: Destination | UndefinedType = Undefined, source: Source | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpNat. @@ -31251,7 +27488,6 @@ def __init__( service_profile: NAT interface profile. destination: Subclass of AvdModel. source: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -31263,7 +27499,6 @@ class Ipv6NdPrefixesItem(AvdModel): "valid_lifetime": {"type": str}, "preferred_lifetime": {"type": str}, "no_autoconfig_flag": {"type": bool}, - "_custom_data": {"type": dict}, } ipv6_prefix: str valid_lifetime: str | None @@ -31271,7 +27506,6 @@ class Ipv6NdPrefixesItem(AvdModel): preferred_lifetime: str | None """Infinite or lifetime in seconds.""" no_autoconfig_flag: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31282,7 +27516,6 @@ def __init__( valid_lifetime: str | None | UndefinedType = Undefined, preferred_lifetime: str | None | UndefinedType = Undefined, no_autoconfig_flag: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6NdPrefixesItem. @@ -31295,7 +27528,6 @@ def __init__( valid_lifetime: Infinite or lifetime in seconds. preferred_lifetime: Infinite or lifetime in seconds. no_autoconfig_flag: no_autoconfig_flag - _custom_data: _custom_data """ @@ -31315,22 +27547,15 @@ class Ipv4(AvdModel): class Hello(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}} count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" interval: int | None """PIM hello interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: str | None | UndefinedType = Undefined, - interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: str | None | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined) -> None: """ Hello. @@ -31340,7 +27565,6 @@ def __init__( Args: count: Number of missed hellos after which the neighbor expires. Range <1.5-65535>. interval: PIM hello interval in seconds. - _custom_data: _custom_data """ @@ -31351,7 +27575,6 @@ def __init__( "bfd": {"type": bool}, "bidirectional": {"type": bool}, "hello": {"type": Hello}, - "_custom_data": {"type": dict}, } border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -31362,7 +27585,6 @@ def __init__( bidirectional: bool | None hello: Hello """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31375,7 +27597,6 @@ def __init__( bfd: bool | None | UndefinedType = Undefined, bidirectional: bool | None | UndefinedType = Undefined, hello: Hello | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -31390,18 +27611,16 @@ def __init__( bfd: Set the default for whether Bidirectional Forwarding Detection is enabled for PIM. bidirectional: bidirectional hello: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}} ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ Pim. @@ -31410,19 +27629,17 @@ def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict Args: ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ class OspfMessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} id: int hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None key: str | None """Encrypted password.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31432,7 +27649,6 @@ def __init__( id: int | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ OspfMessageDigestKeysItem. @@ -31444,7 +27660,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Encrypted password. - _custom_data: _custom_data """ @@ -31458,22 +27673,15 @@ class OspfMessageDigestKeys(AvdIndexedList[int, OspfMessageDigestKeysItem]): class FlowTracker(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sampled": {"type": str}, "hardware": {"type": str}} sampled: str | None """Sampled flow tracker name.""" hardware: str | None """Hardware flow tracker name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sampled: str | None | UndefinedType = Undefined, - hardware: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sampled: str | None | UndefinedType = Undefined, hardware: str | None | UndefinedType = Undefined) -> None: """ FlowTracker. @@ -31483,23 +27691,19 @@ def __init__( Args: sampled: Sampled flow tracker name. hardware: Hardware flow tracker name. - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"session_tracker": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"session_tracker": {"type": str}} session_tracker: str | None """Name of session tracker.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, session_tracker: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, session_tracker: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -31508,7 +27712,6 @@ def __init__( Args: session_tracker: Name of session tracker. - _custom_data: _custom_data """ @@ -31521,13 +27724,12 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ ExcludeItem. @@ -31536,7 +27738,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -31550,13 +27751,12 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ IncludeItem. @@ -31565,7 +27765,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -31576,7 +27775,7 @@ class Include(AvdIndexedList[str, IncludeItem]): Include._item_type = IncludeItem - _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} group: str """Multicast Address.""" exclude: Exclude @@ -31593,7 +27792,6 @@ class Include(AvdIndexedList[str, IncludeItem]): Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31603,7 +27801,6 @@ def __init__( group: str | UndefinedType = Undefined, exclude: Exclude | UndefinedType = Undefined, include: Include | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -31623,7 +27820,6 @@ def __init__( Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). - _custom_data: _custom_data """ @@ -31637,13 +27833,12 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ AccessListsItem. @@ -31652,7 +27847,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ @@ -31669,7 +27863,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "report_interval": {"type": int}, "access_lists": {"type": AccessLists}, "version": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None groups: Groups @@ -31685,7 +27878,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): """ version: int | None """IGMP version on IGMP host-proxy interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31697,7 +27889,6 @@ def __init__( report_interval: int | None | UndefinedType = Undefined, access_lists: AccessLists | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpIgmpHostProxy. @@ -31715,7 +27906,6 @@ def __init__( Subclass of AvdIndexedList with `AccessListsItem` items. Primary key is `name` (`str`). version: IGMP version on IGMP host-proxy interface. - _custom_data: _custom_data """ @@ -31725,20 +27915,13 @@ class Sflow(AvdModel): class Egress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "unmodified_enable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "unmodified_enable": {"type": bool}} enable: bool | None unmodified_enable: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - unmodified_enable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, unmodified_enable: bool | None | UndefinedType = Undefined) -> None: """ Egress. @@ -31748,25 +27931,17 @@ def __init__( Args: enable: enable unmodified_enable: unmodified_enable - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enable": {"type": bool}, "egress": {"type": Egress}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "egress": {"type": Egress}} enable: bool | None egress: Egress """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - egress: Egress | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, egress: Egress | UndefinedType = Undefined) -> None: """ Sflow. @@ -31776,7 +27951,6 @@ def __init__( Args: enable: enable egress: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -31797,7 +27971,6 @@ class Groups(AvdList[str]): "native_vlan_tag": {"type": bool}, "private_vlan_secondary": {"type": bool}, "groups": {"type": Groups}, - "_custom_data": {"type": dict}, } allowed_vlan: str | None """ @@ -31831,7 +28004,6 @@ class Groups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31843,7 +28015,6 @@ def __init__( native_vlan_tag: bool | None | UndefinedType = Undefined, private_vlan_secondary: bool | None | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Trunk. @@ -31874,19 +28045,17 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Phone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"vlan": {"type": int}, "trunk": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vlan": {"type": int}, "trunk": {"type": str}} vlan: int | None """Warning: This should not be combined with `port_channel_interfaces[].phone.vlan`.""" trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None """Warning: This should not be combined with `port_channel_interfaces[].phone.trunk`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31895,7 +28064,6 @@ def __init__( *, vlan: int | None | UndefinedType = Undefined, trunk: Literal["tagged", "tagged phone", "untagged", "untagged phone"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Phone. @@ -31906,18 +28074,16 @@ def __init__( Args: vlan: Warning: This should not be combined with `port_channel_interfaces[].phone.vlan`. trunk: Warning: This should not be combined with `port_channel_interfaces[].phone.trunk` - _custom_data: _custom_data """ class Dot1q(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ethertype": {"type": int}, "vlan_tag": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ethertype": {"type": int}, "vlan_tag": {"type": str}} ethertype: int | None """Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames.""" vlan_tag: Literal["disallowed", "required"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31926,7 +28092,6 @@ def __init__( *, ethertype: int | None | UndefinedType = Undefined, vlan_tag: Literal["disallowed", "required"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dot1q. @@ -31937,7 +28102,6 @@ def __init__( Args: ethertype: Ethertype/TPID (Tag Protocol IDentifier) for VLAN tagged frames. vlan_tag: vlan_tag - _custom_data: _custom_data """ @@ -31952,7 +28116,6 @@ class DirectionInItem(AvdModel): "to": {"type": int}, "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -31963,7 +28126,6 @@ class DirectionInItem(AvdModel): dot1q_tunnel: bool | None inner_vlan_from: int | None """Inner VLAN ID to map from.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31974,7 +28136,6 @@ def __init__( to: int | None | UndefinedType = Undefined, dot1q_tunnel: bool | None | UndefinedType = Undefined, inner_vlan_from: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionInItem. @@ -31987,7 +28148,6 @@ def __init__( to: VLAN ID to map to. dot1q_tunnel: dot1q_tunnel inner_vlan_from: Inner VLAN ID to map from. - _custom_data: _custom_data """ @@ -32004,7 +28164,6 @@ class DirectionOutItem(AvdModel): "to": {"type": int}, "dot1q_tunnel_to": {"type": str}, "inner_vlan_to": {"type": int}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -32020,7 +28179,6 @@ class DirectionOutItem(AvdModel): """ inner_vlan_to: int | None """Inner VLAN ID to map to.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32031,7 +28189,6 @@ def __init__( to: int | None | UndefinedType = Undefined, dot1q_tunnel_to: str | None | UndefinedType = Undefined, inner_vlan_to: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOutItem. @@ -32047,7 +28204,6 @@ def __init__( This takes precedence over `to` and `inner_vlan_to`. inner_vlan_to: Inner VLAN ID to map to. - _custom_data: _custom_data """ @@ -32065,7 +28221,6 @@ class DirectionBothItem(AvdModel): "dot1q_tunnel": {"type": bool}, "inner_vlan_from": {"type": int}, "network": {"type": bool}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} @@ -32082,7 +28237,6 @@ class DirectionBothItem(AvdModel): This setting can only be enabled when `inner_vlan_from` is defined. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32094,7 +28248,6 @@ def __init__( dot1q_tunnel: bool | None | UndefinedType = Undefined, inner_vlan_from: int | None | UndefinedType = Undefined, network: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionBothItem. @@ -32111,7 +28264,6 @@ def __init__( Enable use of network-side VLAN ID. This setting can only be enabled when `inner_vlan_from` is defined. - _custom_data: _custom_data """ @@ -32126,7 +28278,6 @@ class DirectionBoth(AvdList[DirectionBothItem]): "direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "direction_both": {"type": DirectionBoth}, - "_custom_data": {"type": dict}, } in_required: bool | None """Drop the ingress traffic that do not match any VLAN mapping.""" @@ -32150,7 +28301,6 @@ class DirectionBoth(AvdList[DirectionBothItem]): Subclass of AvdList with `DirectionBothItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32162,7 +28312,6 @@ def __init__( direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined, direction_both: DirectionBoth | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanTranslations. @@ -32185,29 +28334,21 @@ def __init__( Map both egress and ingress traffic. Subclass of AvdList with `DirectionBothItem` items. - _custom_data: _custom_data """ class BackupLink(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interface": {"type": str}, "prefer_vlan": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interface": {"type": str}, "prefer_vlan": {"type": str}} interface: str """Backup interface. Example - Ethernet4, Vlan10 etc.""" prefer_vlan: str | None """VLANs to carry on the backup interface (1-4094).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interface: str | UndefinedType = Undefined, - prefer_vlan: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interface: str | UndefinedType = Undefined, prefer_vlan: str | None | UndefinedType = Undefined) -> None: """ BackupLink. @@ -32217,7 +28358,6 @@ def __init__( Args: interface: Backup interface. Example - Ethernet4, Vlan10 etc. prefer_vlan: VLANs to carry on the backup interface (1-4094). - _custom_data: _custom_data """ @@ -32230,7 +28370,6 @@ class Backup(AvdModel): "mac_move_burst": {"type": int}, "mac_move_burst_interval": {"type": int}, "preemption_delay": {"type": int}, - "_custom_data": {"type": dict}, } dest_macaddr: str | None """ @@ -32246,7 +28385,6 @@ class Backup(AvdModel): """MAC move burst interval in milliseconds.""" preemption_delay: int | None """Preemption delay in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32258,7 +28396,6 @@ def __init__( mac_move_burst: int | None | UndefinedType = Undefined, mac_move_burst_interval: int | None | UndefinedType = Undefined, preemption_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Backup. @@ -32275,7 +28412,6 @@ def __init__( mac_move_burst: Size of MAC move bursts. mac_move_burst_interval: MAC move burst interval in milliseconds. preemption_delay: Preemption delay in milliseconds. - _custom_data: _custom_data """ @@ -32285,22 +28421,15 @@ class PortSecurity(AvdModel): class MacAddressMaximum(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"disabled": {"type": bool}, "limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "limit": {"type": int}} disabled: bool | None """Disable port level check for port security (only in violation 'shutdown' mode).""" limit: int | None """MAC address limit.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - disabled: bool | None | UndefinedType = Undefined, - limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, disabled: bool | None | UndefinedType = Undefined, limit: int | None | UndefinedType = Undefined) -> None: """ MacAddressMaximum. @@ -32310,19 +28439,17 @@ def __init__( Args: disabled: Disable port level check for port security (only in violation 'shutdown' mode). limit: MAC address limit. - _custom_data: _custom_data """ class Violation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "protect_log": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "protect_log": {"type": bool}} mode: Literal["shutdown", "protect"] | None """Configure port security mode.""" protect_log: bool | None """Log new addresses seen after limit is reached in protect mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32331,7 +28458,6 @@ def __init__( *, mode: Literal["shutdown", "protect"] | None | UndefinedType = Undefined, protect_log: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Violation. @@ -32342,14 +28468,13 @@ def __init__( Args: mode: Configure port security mode. protect_log: Log new addresses seen after limit is reached in protect mode. - _custom_data: _custom_data """ class VlansItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"range": {"type": str}, "mac_address_maximum": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"range": {"type": str}, "mac_address_maximum": {"type": int}} range: str """ VLAN ID or range(s) of VLAN IDs, <1-4094>. @@ -32359,17 +28484,10 @@ class VlansItem(AvdModel): - 1-10 """ mac_address_maximum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - range: str | UndefinedType = Undefined, - mac_address_maximum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, range: str | UndefinedType = Undefined, mac_address_maximum: int | None | UndefinedType = Undefined) -> None: """ VlansItem. @@ -32384,7 +28502,6 @@ def __init__( - 1,3 - 1-10 mac_address_maximum: mac_address_maximum - _custom_data: _custom_data """ @@ -32401,7 +28518,6 @@ class Vlans(AvdIndexedList[str, VlansItem]): "violation": {"type": Violation}, "vlan_default_mac_address_maximum": {"type": int}, "vlans": {"type": Vlans}, - "_custom_data": {"type": dict}, } enabled: bool | None mac_address_maximum: MacAddressMaximum @@ -32420,7 +28536,6 @@ class Vlans(AvdIndexedList[str, VlansItem]): """Default maximum MAC addresses for all VLANs on this interface.""" vlans: Vlans """Subclass of AvdIndexedList with `VlansItem` items. Primary key is `range` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32432,7 +28547,6 @@ def __init__( violation: Violation | UndefinedType = Undefined, vlan_default_mac_address_maximum: int | None | UndefinedType = Undefined, vlans: Vlans | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortSecurity. @@ -32452,7 +28566,6 @@ def __init__( Subclass of AvdModel. vlan_default_mac_address_maximum: Default maximum MAC addresses for all VLANs on this interface. vlans: Subclass of AvdIndexedList with `VlansItem` items. Primary key is `range` (`str`). - _custom_data: _custom_data """ @@ -32477,12 +28590,7 @@ class NexthopGroups(AvdList[str]): NexthopGroups._item_type = str - _fields: ClassVar[dict] = { - "groups": {"type": Groups}, - "interfaces": {"type": Interfaces}, - "nexthop_groups": {"type": NexthopGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"groups": {"type": Groups}, "interfaces": {"type": Interfaces}, "nexthop_groups": {"type": NexthopGroups}} groups: Groups """ Tap group names for the interface. @@ -32502,7 +28610,6 @@ class NexthopGroups(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32512,7 +28619,6 @@ def __init__( groups: Groups | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, nexthop_groups: NexthopGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Default. @@ -32534,29 +28640,21 @@ def __init__( Default nexthop-group names. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Identity(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "inner_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "inner_vlan": {"type": int}} id: int | None """Tap port VLAN ID (1-4094) or DzGRE extended ID (1-65535).""" inner_vlan: int | None """Tap port inner VLAN ID. Only applicable if `id` is a VLAN ID (1-4094).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: int | None | UndefinedType = Undefined, - inner_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: int | None | UndefinedType = Undefined, inner_vlan: int | None | UndefinedType = Undefined) -> None: """ Identity. @@ -32566,28 +28664,20 @@ def __init__( Args: id: Tap port VLAN ID (1-4094) or DzGRE extended ID (1-65535). inner_vlan: Tap port inner VLAN ID. Only applicable if `id` is a VLAN ID (1-4094). - _custom_data: _custom_data """ class Truncation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Ingress packet truncation size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined) -> None: """ Truncation. @@ -32597,29 +28687,21 @@ def __init__( Args: enabled: enabled size: Ingress packet truncation size in bytes. - _custom_data: _custom_data """ class MacAddress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}, "destination": {"type": str}} source: str | None """MAC address for the source.""" destination: str | None """MAC address for the destination.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source: str | None | UndefinedType = Undefined, - destination: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source: str | None | UndefinedType = Undefined, destination: str | None | UndefinedType = Undefined) -> None: """ MacAddress. @@ -32629,7 +28711,6 @@ def __init__( Args: source: MAC address for the source. destination: MAC address for the destination. - _custom_data: _custom_data """ @@ -32647,7 +28728,6 @@ class ProtocolsItem(AvdModel): "strip": {"type": bool}, "feature_header_length": {"type": int}, "re_encapsulation_ethernet_header": {"type": bool}, - "_custom_data": {"type": dict}, } protocol: str """ @@ -32669,7 +28749,6 @@ class ProtocolsItem(AvdModel): Note: This setting does not appear in the EOS running-config for protocol 0x0. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32680,7 +28759,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, feature_header_length: int | None | UndefinedType = Undefined, re_encapsulation_ethernet_header: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -32702,7 +28780,6 @@ def __init__( Extra ethernet header to prepend to the terminated packet. Note: This setting does not appear in the EOS running-config for protocol 0x0. - _custom_data: _custom_data """ @@ -32724,7 +28801,6 @@ class ProtocolsItem(AvdModel): "strip": {"type": bool}, "feature_header_length": {"type": int}, "re_encapsulation_ethernet_header": {"type": bool}, - "_custom_data": {"type": dict}, } protocol: str """ @@ -32746,7 +28822,6 @@ class ProtocolsItem(AvdModel): Note: This setting does not appear in the EOS running-config for protocol 0x0. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32757,7 +28832,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, feature_header_length: int | None | UndefinedType = Undefined, re_encapsulation_ethernet_header: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -32779,7 +28853,6 @@ def __init__( Extra ethernet header to prepend to the terminated packet. Note: This setting does not appear in the EOS running-config for protocol 0x0. - _custom_data: _custom_data """ @@ -32795,7 +28868,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): "source": {"type": str}, "strip": {"type": bool}, "protocols": {"type": Protocols}, - "_custom_data": {"type": dict}, } destination: str """Destination IP address of tunnel packets.""" @@ -32808,7 +28880,6 @@ class Protocols(AvdIndexedList[str, ProtocolsItem]): """Strip GRE encapsulation header for specific destination.""" protocols: Protocols """Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32819,7 +28890,6 @@ def __init__( source: str | None | UndefinedType = Undefined, strip: bool | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DestinationsItem. @@ -32834,7 +28904,6 @@ def __init__( GRE packet that matches the `destination` is terminated. strip: Strip GRE encapsulation header for specific destination. protocols: Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`). - _custom_data: _custom_data """ @@ -32845,12 +28914,7 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): Destinations._item_type = DestinationsItem - _fields: ClassVar[dict] = { - "strip": {"type": bool}, - "protocols": {"type": Protocols}, - "destinations": {"type": Destinations}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"strip": {"type": bool}, "protocols": {"type": Protocols}, "destinations": {"type": Destinations}} strip: bool | None """Strip GRE encapsulation header for all GRE tunnels.""" protocols: Protocols @@ -32869,7 +28933,6 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): Subclass of AvdIndexedList with `DestinationsItem` items. Primary key is `destination` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32879,7 +28942,6 @@ def __init__( strip: bool | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, destinations: Destinations | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Gre. @@ -32901,11 +28963,10 @@ def __init__( Subclass of AvdIndexedList with `DestinationsItem` items. Primary key is `destination` (`str`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"vxlan_strip": {"type": bool}, "gre": {"type": Gre}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vxlan_strip": {"type": bool}, "gre": {"type": Gre}} vxlan_strip: bool | None """ Strip VXLAN encapsulation header. @@ -32915,17 +28976,10 @@ def __init__( """ gre: Gre """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vxlan_strip: bool | None | UndefinedType = Undefined, - gre: Gre | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vxlan_strip: bool | None | UndefinedType = Undefined, gre: Gre | UndefinedType = Undefined) -> None: """ Encapsulation. @@ -32939,7 +28993,6 @@ def __init__( exclusive. `mpls_pop_all` takes precedence. gre: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -32952,7 +29005,6 @@ def __init__( "truncation": {"type": Truncation}, "mac_address": {"type": MacAddress}, "encapsulation": {"type": Encapsulation}, - "_custom_data": {"type": dict}, } allowed_vlan: str | None """VLAN ID or range(s) of VLAN IDs within range 1-4094.""" @@ -32974,7 +29026,6 @@ def __init__( """Subclass of AvdModel.""" encapsulation: Encapsulation """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32989,7 +29040,6 @@ def __init__( truncation: Truncation | UndefinedType = Undefined, mac_address: MacAddress | UndefinedType = Undefined, encapsulation: Encapsulation | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tap. @@ -33009,7 +29059,6 @@ def __init__( truncation: Subclass of AvdModel. mac_address: Subclass of AvdModel. encapsulation: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33019,21 +29068,16 @@ class Tool(AvdModel): class Encapsulation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"dot1br_strip": {"type": bool}, "vn_tag_strip": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dot1br_strip": {"type": bool}, "vn_tag_strip": {"type": bool}} dot1br_strip: bool | None """Remove a 802.1 BR tag in packet header. 'mpls_pop_all' takes precedence over 'dot1br_strip' in EOS.""" vn_tag_strip: bool | None """Remove a VN-tag in packet header. 'mpls_pop_all' takes precedence over 'vn_tag_strip' in EOS.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - dot1br_strip: bool | None | UndefinedType = Undefined, - vn_tag_strip: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, dot1br_strip: bool | None | UndefinedType = Undefined, vn_tag_strip: bool | None | UndefinedType = Undefined ) -> None: """ Encapsulation. @@ -33044,23 +29088,16 @@ def __init__( Args: dot1br_strip: Remove a 802.1 BR tag in packet header. 'mpls_pop_all' takes precedence over 'dot1br_strip' in EOS. vn_tag_strip: Remove a VN-tag in packet header. 'mpls_pop_all' takes precedence over 'vn_tag_strip' in EOS. - _custom_data: _custom_data """ class Identity(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "tag": {"type": str}, - "dot1q_dzgre_source": {"type": str}, - "qinq_dzgre_source": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"tag": {"type": str}, "dot1q_dzgre_source": {"type": str}, "qinq_dzgre_source": {"type": str}} tag: Literal["dot1q", "qinq"] | None dot1q_dzgre_source: Literal["policy", "port"] | None qinq_dzgre_source: Literal["policy inner port", "port inner policy"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33070,7 +29107,6 @@ def __init__( tag: Literal["dot1q", "qinq"] | None | UndefinedType = Undefined, dot1q_dzgre_source: Literal["policy", "port"] | None | UndefinedType = Undefined, qinq_dzgre_source: Literal["policy inner port", "port inner policy"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Identity. @@ -33082,7 +29118,6 @@ def __init__( tag: tag dot1q_dzgre_source: dot1q_dzgre_source qinq_dzgre_source: qinq_dzgre_source - _custom_data: _custom_data """ @@ -33098,7 +29133,6 @@ class Groups(AvdList[str]): "identity": {"type": Identity}, "groups": {"type": Groups}, "dot1q_remove_outer_vlan_tag": {"type": str}, - "_custom_data": {"type": dict}, } mpls_pop_all: bool | None """Pop all MPLS labels.""" @@ -33119,7 +29153,6 @@ class Groups(AvdList[str]): Indices of vlan tags to be removed. Range: 1-2 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33132,7 +29165,6 @@ def __init__( identity: Identity | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, dot1q_remove_outer_vlan_tag: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tool. @@ -33152,7 +29184,6 @@ def __init__( dot1q_remove_outer_vlan_tag: Indices of vlan tags to be removed. Range: 1-2 - _custom_data: _custom_data """ @@ -33172,7 +29203,6 @@ def __init__( "port_security": {"type": PortSecurity}, "tap": {"type": Tap}, "tool": {"type": Tool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Warning: This should not be combined with `port_channel_interfaces[].type = routed`.""" @@ -33239,7 +29269,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33261,7 +29290,6 @@ def __init__( port_security: PortSecurity | UndefinedType = Undefined, tap: Tap | UndefinedType = Undefined, tool: Tool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Switchport. @@ -33314,7 +29342,6 @@ def __init__( This setting applies only to parent interfaces. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33329,19 +29356,14 @@ class AdministrativeGroups(AvdList[str]): class Bandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int unit: Literal["gbps", "mbps", "percent"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["gbps", "mbps", "percent"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["gbps", "mbps", "percent"] | UndefinedType = Undefined ) -> None: """ Bandwidth. @@ -33352,14 +29374,13 @@ def __init__( Args: number: number unit: unit - _custom_data: _custom_data """ class MinDelayStatic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int """ Valid values are 1-16777215 microseconds. @@ -33367,16 +29388,11 @@ class MinDelayStatic(AvdModel): milliseconds or microseconds. """ unit: Literal["microseconds", "milliseconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined ) -> None: """ MinDelayStatic. @@ -33390,7 +29406,6 @@ def __init__( This is regardless of whether the specified unit is milliseconds or microseconds. unit: unit - _custom_data: _custom_data """ @@ -33400,7 +29415,7 @@ class MinDelayDynamic(AvdModel): class TwampLightFallback(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}, "unit": {"type": str}} number: int """ Valid values are 1-16777215 microseconds. @@ -33408,16 +29423,11 @@ class TwampLightFallback(AvdModel): milliseconds or microseconds. """ unit: Literal["microseconds", "milliseconds"] - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - number: int | UndefinedType = Undefined, - unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, number: int | UndefinedType = Undefined, unit: Literal["microseconds", "milliseconds"] | UndefinedType = Undefined ) -> None: """ TwampLightFallback. @@ -33431,20 +29441,16 @@ def __init__( This is regardless of whether the specified unit is milliseconds or microseconds. unit: unit - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"twamp_light_fallback": {"type": TwampLightFallback}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"twamp_light_fallback": {"type": TwampLightFallback}} twamp_light_fallback: TwampLightFallback """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, twamp_light_fallback: TwampLightFallback | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, twamp_light_fallback: TwampLightFallback | UndefinedType = Undefined) -> None: """ MinDelayDynamic. @@ -33453,7 +29459,6 @@ def __init__( Args: twamp_light_fallback: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33465,7 +29470,6 @@ def __init__( "bandwidth": {"type": Bandwidth}, "min_delay_static": {"type": MinDelayStatic}, "min_delay_dynamic": {"type": MinDelayDynamic}, - "_custom_data": {"type": dict}, } enabled: bool | None """Whether to enable traffic-engineering on this interface.""" @@ -33495,7 +29499,6 @@ def __init__( Mutually exclusive with min_delay_static, if both are defined min_delay_static takes precedence. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33509,7 +29512,6 @@ def __init__( bandwidth: Bandwidth | UndefinedType = Undefined, min_delay_static: MinDelayStatic | UndefinedType = Undefined, min_delay_dynamic: MinDelayDynamic | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrafficEngineering. @@ -33536,7 +29538,6 @@ def __init__( min_delay_dynamic: Mutually exclusive with min_delay_static, if both are defined min_delay_static takes precedence. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33637,7 +29638,6 @@ def __init__( "validate_state": {"type": bool}, "validate_lldp": {"type": bool}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str comment: str | None @@ -33837,7 +29837,6 @@ def __init__( """Set to false to disable the LLDP topology validation performed by the `eos_validate_state` role.""" eos_cli: str | None """Multiline EOS CLI rendered directly on the port-channel interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33940,7 +29939,6 @@ def __init__( validate_state: bool | None | UndefinedType = Undefined, validate_lldp: bool | None | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannelInterfacesItem. @@ -34071,7 +30069,6 @@ def __init__( `eos_validate_state` role. validate_lldp: Set to false to disable the LLDP topology validation performed by the `eos_validate_state` role. eos_cli: Multiline EOS CLI rendered directly on the port-channel interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -34088,7 +30085,7 @@ class PrefixListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -34096,17 +30093,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "permit 10.255.0.0/27 eq 32" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -34118,7 +30108,6 @@ def __init__( action: Action as string. Example: "permit 10.255.0.0/27 eq 32" - _custom_data: _custom_data """ @@ -34129,22 +30118,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Prefix-list Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ PrefixListsItem. @@ -34154,7 +30136,6 @@ def __init__( Args: name: Prefix-list Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -34177,7 +30158,6 @@ class Watchdog(AvdModel): "polling_interval": {"type": str}, "recovery_time": {"type": str}, "override_action_drop": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["drop", "no-drop"] | None """Action on stuck queue.""" @@ -34206,7 +30186,6 @@ class Watchdog(AvdModel): """ override_action_drop: bool | None """Override configured action on stuck queue to drop.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34218,7 +30197,6 @@ def __init__( polling_interval: str | None | UndefinedType = Undefined, recovery_time: str | None | UndefinedType = Undefined, override_action_drop: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Watchdog. @@ -34246,26 +30224,18 @@ def __init__( should be decimal with up to 2 decimal point. Example: 0.01 or 60 override_action_drop: Override configured action on stuck queue to drop. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"all_off": {"type": bool}, "watchdog": {"type": Watchdog}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"all_off": {"type": bool}, "watchdog": {"type": Watchdog}} all_off: bool | None """Disable PFC on all interfaces.""" watchdog: Watchdog """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - all_off: bool | None | UndefinedType = Undefined, - watchdog: Watchdog | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, all_off: bool | None | UndefinedType = Undefined, watchdog: Watchdog | UndefinedType = Undefined) -> None: """ PriorityFlowControl. @@ -34275,7 +30245,6 @@ def __init__( Args: all_off: Disable PFC on all interfaces. watchdog: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34285,14 +30254,13 @@ class Ptp(AvdModel): class Source(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip": {"type": str}} ip: str | None """Source IP.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ip: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ip: str | None | UndefinedType = Undefined) -> None: """ Source. @@ -34301,7 +30269,6 @@ def __init__(self, *, ip: str | None | UndefinedType = Undefined, _custom_data: Args: ip: Source IP. - _custom_data: _custom_data """ @@ -34311,13 +30278,12 @@ class MessageType(AvdModel): class General(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"dscp": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dscp": {"type": int}} dscp: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, dscp: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, dscp: int | None | UndefinedType = Undefined) -> None: """ General. @@ -34326,20 +30292,18 @@ def __init__(self, *, dscp: int | None | UndefinedType = Undefined, _custom_data Args: dscp: dscp - _custom_data: _custom_data """ class Event(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"dscp": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dscp": {"type": int}} dscp: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, dscp: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, dscp: int | None | UndefinedType = Undefined) -> None: """ Event. @@ -34348,26 +30312,18 @@ def __init__(self, *, dscp: int | None | UndefinedType = Undefined, _custom_data Args: dscp: dscp - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"general": {"type": General}, "event": {"type": Event}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general": {"type": General}, "event": {"type": Event}} general: General """Subclass of AvdModel.""" event: Event """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - general: General | UndefinedType = Undefined, - event: Event | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, general: General | UndefinedType = Undefined, event: Event | UndefinedType = Undefined) -> None: """ MessageType. @@ -34377,7 +30333,6 @@ def __init__( Args: general: Subclass of AvdModel. event: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34390,19 +30345,14 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - offset_from_master: int | None | UndefinedType = Undefined, - mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined ) -> None: """ Drop. @@ -34413,21 +30363,14 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "drop": {"type": Drop}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}, "drop": {"type": Drop}} offset_from_master: int | None mean_path_delay: int | None drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34437,7 +30380,6 @@ def __init__( offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -34449,7 +30391,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34459,11 +30400,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34473,7 +30413,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -34485,7 +30424,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -34498,14 +30436,12 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None announce: int | None delay_resp: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34517,7 +30453,6 @@ def __init__( delay_resp: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -34531,26 +30466,18 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined) -> None: """ MissingMessage. @@ -34560,7 +30487,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34568,7 +30494,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -34576,7 +30501,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34586,7 +30510,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -34598,7 +30521,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34615,7 +30537,6 @@ def __init__( "domain": {"type": int}, "message_type": {"type": MessageType}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } mode: Literal["boundary", "disabled", "e2etransparent", "gptp", "ordinarymaster", "p2ptransparent"] | None profile: Literal["g8275.1", "g8275.2"] | None @@ -34633,7 +30554,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34652,7 +30572,6 @@ def __init__( domain: int | None | UndefinedType = Undefined, message_type: MessageType | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -34673,7 +30592,6 @@ def __init__( domain: domain message_type: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34703,13 +30621,7 @@ class TrafficClass(AvdList[str]): TrafficClass._item_type = str - _fields: ClassVar[dict] = { - "cos": {"type": Cos}, - "dscp": {"type": Dscp}, - "exp": {"type": Exp}, - "traffic_class": {"type": TrafficClass}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"cos": {"type": Cos}, "dscp": {"type": Dscp}, "exp": {"type": Exp}, "traffic_class": {"type": TrafficClass}} cos: Cos """Subclass of AvdList with `str` items.""" dscp: Dscp @@ -34718,7 +30630,6 @@ class TrafficClass(AvdList[str]): """Subclass of AvdList with `str` items.""" traffic_class: TrafficClass """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34729,7 +30640,6 @@ def __init__( dscp: Dscp | UndefinedType = Undefined, exp: Exp | UndefinedType = Undefined, traffic_class: TrafficClass | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Map. @@ -34742,7 +30652,6 @@ def __init__( dscp: Subclass of AvdList with `str` items. exp: Subclass of AvdList with `str` items. traffic_class: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -34755,7 +30664,7 @@ class Ecn(AvdModel): class AllowNonEct(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "chip_based": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "chip_based": {"type": bool}} enabled: bool | None """ Allow non-ect and set drop-precedence 1 in a policy map simultaneously. @@ -34764,17 +30673,10 @@ class AllowNonEct(AvdModel): """ chip_based: bool | None """Allow non-ect chip-based.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - chip_based: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, chip_based: bool | None | UndefinedType = Undefined) -> None: """ AllowNonEct. @@ -34787,20 +30689,16 @@ def __init__( Check which command is required for your platform. chip_based: Allow non-ect chip-based. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"allow_non_ect": {"type": AllowNonEct}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"allow_non_ect": {"type": AllowNonEct}} allow_non_ect: AllowNonEct """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, allow_non_ect: AllowNonEct | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, allow_non_ect: AllowNonEct | UndefinedType = Undefined) -> None: """ Ecn. @@ -34809,22 +30707,20 @@ def __init__( Args: allow_non_ect: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ecn": {"type": Ecn}} ecn: Ecn """ Global ECN Configuration. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ecn: Ecn | UndefinedType = Undefined) -> None: """ RandomDetect. @@ -34836,16 +30732,10 @@ def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[s Global ECN Configuration. Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "map": {"type": Map}, - "rewrite_dscp": {"type": bool}, - "random_detect": {"type": RandomDetect}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"map": {"type": Map}, "rewrite_dscp": {"type": bool}, "random_detect": {"type": RandomDetect}} map: Map """Subclass of AvdModel.""" rewrite_dscp: bool | None @@ -34855,7 +30745,6 @@ def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, _custom_data: dict[s Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34865,7 +30754,6 @@ def __init__( map: Map | UndefinedType = Undefined, rewrite_dscp: bool | None | UndefinedType = Undefined, random_detect: RandomDetect | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Qos. @@ -34880,7 +30768,6 @@ def __init__( Global random-detect settings. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34890,17 +30777,16 @@ class QosProfilesItem(AvdModel): class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -34911,7 +30797,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data rate: Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" - _custom_data: _custom_data """ @@ -34921,14 +30806,13 @@ class ServicePolicy(AvdModel): class Type(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"qos_input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"qos_input": {"type": str}} qos_input: str | None """Policy-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, qos_input: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, qos_input: str | None | UndefinedType = Undefined) -> None: """ Type. @@ -34937,18 +30821,16 @@ def __init__(self, *, qos_input: str | None | UndefinedType = Undefined, _custom Args: qos_input: Policy-map name. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"type": {"type": Type}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": Type}} type: Type """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, type: Type | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, type: Type | UndefinedType = Undefined) -> None: """ ServicePolicy. @@ -34957,7 +30839,6 @@ def __init__(self, *, type: Type | UndefinedType = Undefined, _custom_data: dict Args: type: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34967,17 +30848,16 @@ class TxQueuesItem(AvdModel): class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -34988,7 +30868,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data rate: Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" - _custom_data: _custom_data """ @@ -35007,7 +30886,6 @@ class Threshold(AvdModel): "max": {"type": int}, "max_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "milliseconds"] """ @@ -35022,7 +30900,6 @@ class Threshold(AvdModel): """Random-detect ECN maximum mark probability.""" weight: int | None """Random-detect ECN weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35034,7 +30911,6 @@ def __init__( max: int | UndefinedType = Undefined, max_probability: int | None | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -35050,26 +30926,18 @@ def __init__( max: Random-detect ECN maximum-threshold. max_probability: Random-detect ECN maximum mark probability. weight: Random-detect ECN weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}} count: bool | None """Enable counter for random-detect ECNs.""" threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: bool | None | UndefinedType = Undefined, - threshold: Threshold | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: bool | None | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined) -> None: """ Ecn. @@ -35079,7 +30947,6 @@ def __init__( Args: count: Enable counter for random-detect ECNs. threshold: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35096,7 +30963,6 @@ class Threshold(AvdModel): "max": {"type": int}, "drop_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "microseconds", "milliseconds"] """Units to be used for the threshold values.""" @@ -35110,7 +30976,6 @@ class Threshold(AvdModel): """WRED drop probability.""" weight: int | None """WRED weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35123,7 +30988,6 @@ def __init__( max: int | UndefinedType = Undefined, drop_probability: int | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -35138,20 +31002,16 @@ def __init__( max: WRED maximum-threshold. drop_probability: WRED drop probability. weight: WRED weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"threshold": {"type": Threshold}} threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, threshold: Threshold | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, threshold: Threshold | UndefinedType = Undefined) -> None: """ Drop. @@ -35160,11 +31020,10 @@ def __init__( Args: threshold: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "drop": {"type": Drop}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "drop": {"type": Drop}} ecn: Ecn """ Explicit Congestion Notification. @@ -35177,17 +31036,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ecn: Ecn | UndefinedType = Undefined, - drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined) -> None: """ RandomDetect. @@ -35203,7 +31055,6 @@ def __init__( Set WRED parameters. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35215,7 +31066,6 @@ def __init__( "shape": {"type": Shape}, "comment": {"type": str}, "random_detect": {"type": RandomDetect}, - "_custom_data": {"type": dict}, } id: int """TX-Queue ID.""" @@ -35228,7 +31078,6 @@ def __init__( """Text comment added to queue.""" random_detect: RandomDetect """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35242,7 +31091,6 @@ def __init__( shape: Shape | UndefinedType = Undefined, comment: str | None | UndefinedType = Undefined, random_detect: RandomDetect | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TxQueuesItem. @@ -35258,7 +31106,6 @@ def __init__( shape: Subclass of AvdModel. comment: Text comment added to queue. random_detect: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35275,17 +31122,16 @@ class UcTxQueuesItem(AvdModel): class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -35296,7 +31142,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data rate: Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" - _custom_data: _custom_data """ @@ -35315,7 +31160,6 @@ class Threshold(AvdModel): "max": {"type": int}, "max_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "milliseconds"] """Unit to be used for the threshold values.""" @@ -35327,7 +31171,6 @@ class Threshold(AvdModel): """Random-detect ECN maximum mark probability.""" weight: int | None """Random-detect ECN weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35339,7 +31182,6 @@ def __init__( max: int | UndefinedType = Undefined, max_probability: int | None | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -35353,26 +31195,18 @@ def __init__( max: Random-detect ECN maximum-threshold. max_probability: Random-detect ECN maximum mark probability. weight: Random-detect ECN weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": bool}, "threshold": {"type": Threshold}} count: bool | None """Enable counter for random-detect ECNs.""" threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: bool | None | UndefinedType = Undefined, - threshold: Threshold | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: bool | None | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined) -> None: """ Ecn. @@ -35382,7 +31216,6 @@ def __init__( Args: count: Enable counter for random-detect ECNs. threshold: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35399,7 +31232,6 @@ class Threshold(AvdModel): "max": {"type": int}, "drop_probability": {"type": int}, "weight": {"type": int}, - "_custom_data": {"type": dict}, } units: Literal["segments", "bytes", "kbytes", "mbytes", "microseconds", "milliseconds"] """Units to be used for the threshold values.""" @@ -35413,7 +31245,6 @@ class Threshold(AvdModel): """WRED drop probability.""" weight: int | None """WRED weight.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35426,7 +31257,6 @@ def __init__( max: int | UndefinedType = Undefined, drop_probability: int | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -35441,20 +31271,16 @@ def __init__( max: WRED maximum-threshold. drop_probability: WRED drop probability. weight: WRED weight. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"threshold": {"type": Threshold}} threshold: Threshold """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, threshold: Threshold | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, threshold: Threshold | UndefinedType = Undefined) -> None: """ Drop. @@ -35463,11 +31289,10 @@ def __init__( Args: threshold: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "drop": {"type": Drop}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ecn": {"type": Ecn}, "drop": {"type": Drop}} ecn: Ecn """ Explicit Congestion Notification. @@ -35480,17 +31305,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ecn: Ecn | UndefinedType = Undefined, - drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ecn: Ecn | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined) -> None: """ RandomDetect. @@ -35506,7 +31324,6 @@ def __init__( Set WRED parameters. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35518,7 +31335,6 @@ def __init__( "shape": {"type": Shape}, "comment": {"type": str}, "random_detect": {"type": RandomDetect}, - "_custom_data": {"type": dict}, } id: int """UC TX queue ID.""" @@ -35531,7 +31347,6 @@ def __init__( """Text comment added to queue.""" random_detect: RandomDetect """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35545,7 +31360,6 @@ def __init__( shape: Shape | UndefinedType = Undefined, comment: str | None | UndefinedType = Undefined, random_detect: RandomDetect | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UcTxQueuesItem. @@ -35561,7 +31375,6 @@ def __init__( shape: Subclass of AvdModel. comment: Text comment added to queue. random_detect: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35578,17 +31391,16 @@ class McTxQueuesItem(AvdModel): class Shape(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": str}} rate: str | None """ Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: str | None | UndefinedType = Undefined) -> None: """ Shape. @@ -35599,7 +31411,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data rate: Supported options are platform dependent. Example: "< rate > kbps", "1-100 percent", "< rate > pps" - _custom_data: _custom_data """ @@ -35610,7 +31421,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data "priority": {"type": str}, "shape": {"type": Shape}, "comment": {"type": str}, - "_custom_data": {"type": dict}, } id: int """MC TX queue ID.""" @@ -35621,7 +31431,6 @@ def __init__(self, *, rate: str | None | UndefinedType = Undefined, _custom_data """Subclass of AvdModel.""" comment: str | None """Text comment added to queue.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35634,7 +31443,6 @@ def __init__( priority: Literal["priority strict", "no priority"] | None | UndefinedType = Undefined, shape: Shape | UndefinedType = Undefined, comment: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ McTxQueuesItem. @@ -35649,7 +31457,6 @@ def __init__( priority: priority shape: Subclass of AvdModel. comment: Text comment added to queue. - _custom_data: _custom_data """ @@ -35674,7 +31481,6 @@ class Timer(AvdModel): "polling_interval": {"type": str}, "recovery_time": {"type": str}, "forced": {"type": bool}, - "_custom_data": {"type": dict}, } timeout: str """ @@ -35707,7 +31513,6 @@ class Timer(AvdModel): irrespective of whether PFC frames are being received or not. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35718,7 +31523,6 @@ def __init__( polling_interval: str | UndefinedType = Undefined, recovery_time: str | UndefinedType = Undefined, forced: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Timer. @@ -35750,11 +31554,10 @@ def __init__( Force recover any stuck queue(s) after the duration, irrespective of whether PFC frames are being received or not. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "action": {"type": str}, "timer": {"type": Timer}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "action": {"type": str}, "timer": {"type": Timer}} enabled: bool """Enable the watchdog on stuck transmit queues.""" action: Literal["drop", "notify-only"] | None @@ -35770,7 +31573,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35780,7 +31582,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, action: Literal["drop", "notify-only"] | None | UndefinedType = Undefined, timer: Timer | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Watchdog. @@ -35799,29 +31600,21 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ class PrioritiesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"priority": {"type": int}, "no_drop": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"priority": {"type": int}, "no_drop": {"type": bool}} priority: int """Priority queue number (COS value).""" no_drop: bool """Enable Priority Flow Control frames on this queue.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - priority: int | UndefinedType = Undefined, - no_drop: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, priority: int | UndefinedType = Undefined, no_drop: bool | UndefinedType = Undefined) -> None: """ PrioritiesItem. @@ -35831,7 +31624,6 @@ def __init__( Args: priority: Priority queue number (COS value). no_drop: Enable Priority Flow Control frames on this queue. - _custom_data: _custom_data """ @@ -35842,12 +31634,7 @@ class Priorities(AvdIndexedList[int, PrioritiesItem]): Priorities._item_type = PrioritiesItem - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "watchdog": {"type": Watchdog}, - "priorities": {"type": Priorities}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "watchdog": {"type": Watchdog}, "priorities": {"type": Priorities}} enabled: bool | None """Enable Priority Flow control.""" watchdog: Watchdog @@ -35865,7 +31652,6 @@ class Priorities(AvdIndexedList[int, PrioritiesItem]): Subclass of AvdIndexedList with `PrioritiesItem` items. Primary key is `priority` (`int`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35875,7 +31661,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, watchdog: Watchdog | UndefinedType = Undefined, priorities: Priorities | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PriorityFlowControl. @@ -35896,7 +31681,6 @@ def __init__( Subclass of AvdIndexedList with `PrioritiesItem` items. Primary key is `priority` (`int`). - _custom_data: _custom_data """ @@ -35911,7 +31695,6 @@ def __init__( "uc_tx_queues": {"type": UcTxQueues}, "mc_tx_queues": {"type": McTxQueues}, "priority_flow_control": {"type": PriorityFlowControl}, - "_custom_data": {"type": dict}, } name: str """Profile-Name.""" @@ -35935,7 +31718,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35952,7 +31734,6 @@ def __init__( uc_tx_queues: UcTxQueues | UndefinedType = Undefined, mc_tx_queues: McTxQueues | UndefinedType = Undefined, priority_flow_control: PriorityFlowControl | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QosProfilesItem. @@ -35975,7 +31756,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -35992,7 +31772,7 @@ class QueueMonitorLength(AvdModel): class DefaultThresholds(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}} high: int """Default high threshold for Ethernet Interfaces.""" low: int | None @@ -36000,17 +31780,10 @@ class DefaultThresholds(AvdModel): Default low threshold for Ethernet Interfaces. Low threshold support is platform dependent. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - high: int | UndefinedType = Undefined, - low: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, high: int | UndefinedType = Undefined, low: int | None | UndefinedType = Undefined) -> None: """ DefaultThresholds. @@ -36022,7 +31795,6 @@ def __init__( low: Default low threshold for Ethernet Interfaces. Low threshold support is platform dependent. - _custom_data: _custom_data """ @@ -36032,20 +31804,13 @@ class Cpu(AvdModel): class Thresholds(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}} high: int low: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - high: int | UndefinedType = Undefined, - low: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, high: int | UndefinedType = Undefined, low: int | None | UndefinedType = Undefined) -> None: """ Thresholds. @@ -36055,18 +31820,16 @@ def __init__( Args: high: high low: low - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"thresholds": {"type": Thresholds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"thresholds": {"type": Thresholds}} thresholds: Thresholds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined) -> None: """ Cpu. @@ -36075,7 +31838,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo Args: thresholds: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -36086,7 +31848,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo "notifying": {"type": bool}, "cpu": {"type": Cpu}, "tx_latency": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool default_thresholds: DefaultThresholds @@ -36099,7 +31860,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo """Subclass of AvdModel.""" tx_latency: bool | None """Enable tx-latency mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36112,7 +31872,6 @@ def __init__( notifying: bool | None | UndefinedType = Undefined, cpu: Cpu | UndefinedType = Undefined, tx_latency: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QueueMonitorLength. @@ -36127,7 +31886,6 @@ def __init__( notifying: Should only be used for platforms supporting the "queue-monitor length notifying" CLI. cpu: Subclass of AvdModel. tx_latency: Enable tx-latency mode. - _custom_data: _custom_data """ @@ -36140,7 +31898,6 @@ class QueueMonitorStreaming(AvdModel): "ipv6_access_group": {"type": str}, "max_connections": {"type": int}, "vrf": {"type": str}, - "_custom_data": {"type": dict}, } enable: bool | None ip_access_group: str | None @@ -36149,7 +31906,6 @@ class QueueMonitorStreaming(AvdModel): """Name of IPv6 ACL.""" max_connections: int | None vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36161,7 +31917,6 @@ def __init__( ipv6_access_group: str | None | UndefinedType = Undefined, max_connections: int | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QueueMonitorStreaming. @@ -36175,7 +31930,6 @@ def __init__( ipv6_access_group: Name of IPv6 ACL. max_connections: max_connections vrf: vrf - _custom_data: _custom_data """ @@ -36185,21 +31939,14 @@ class RadiusServer(AvdModel): class Attribute32IncludeInAccessReq(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"hostname": {"type": bool}, "format": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hostname": {"type": bool}, "format": {"type": str}} hostname: bool | None format: str | None """Specify the format of the NAS-Identifier. If 'hostname' is set, this is ignored.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - hostname: bool | None | UndefinedType = Undefined, - format: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, hostname: bool | None | UndefinedType = Undefined, format: str | None | UndefinedType = Undefined) -> None: """ Attribute32IncludeInAccessReq. @@ -36209,29 +31956,21 @@ def __init__( Args: hostname: hostname format: Specify the format of the NAS-Identifier. If 'hostname' is set, this is ignored. - _custom_data: _custom_data """ class DynamicAuthorization(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"port": {"type": int}, "tls_ssl_profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"port": {"type": int}, "tls_ssl_profile": {"type": str}} port: int | None """TCP Port.""" tls_ssl_profile: str | None """Name of TLS profile.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - port: int | None | UndefinedType = Undefined, - tls_ssl_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, port: int | None | UndefinedType = Undefined, tls_ssl_profile: str | None | UndefinedType = Undefined) -> None: """ DynamicAuthorization. @@ -36241,7 +31980,6 @@ def __init__( Args: port: TCP Port. tls_ssl_profile: Name of TLS profile. - _custom_data: _custom_data """ @@ -36251,14 +31989,13 @@ class HostsItem(AvdModel): class Tls(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "ssl_profile": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "ssl_profile": {"type": str}, "port": {"type": int}} enabled: bool | None """Enable TLS for radius-server.""" ssl_profile: str | None """Name of TLS profile.""" port: int | None """TCP Port used for TLS. EOS default is 2083.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36268,7 +32005,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, ssl_profile: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tls. @@ -36280,7 +32016,6 @@ def __init__( enabled: Enable TLS for radius-server. ssl_profile: Name of TLS profile. port: TCP Port used for TLS. EOS default is 2083. - _custom_data: _custom_data """ @@ -36291,7 +32026,6 @@ def __init__( "timeout": {"type": int}, "retransmit": {"type": int}, "key": {"type": str}, - "_custom_data": {"type": dict}, } host: str """Host IP address or name.""" @@ -36309,7 +32043,6 @@ def __init__( Encrypted key - only type 7 supported. When TLS is configured, `key` is ignored. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36322,7 +32055,6 @@ def __init__( timeout: int | None | UndefinedType = Undefined, retransmit: int | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -36342,7 +32074,6 @@ def __init__( key: Encrypted key - only type 7 supported. When TLS is configured, `key` is ignored. - _custom_data: _custom_data """ @@ -36359,7 +32090,6 @@ class Hosts(AvdIndexedList[str, HostsItem]): "dynamic_authorization": {"type": DynamicAuthorization}, "hosts": {"type": Hosts}, "tls_ssl_profile": {"type": str}, - "_custom_data": {"type": dict}, } attribute_32_include_in_access_req: Attribute32IncludeInAccessReq """Subclass of AvdModel.""" @@ -36371,7 +32101,6 @@ class Hosts(AvdIndexedList[str, HostsItem]): """Subclass of AvdIndexedList with `HostsItem` items. Primary key is `host` (`str`).""" tls_ssl_profile: str | None """Name of global TLS profile.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36383,7 +32112,6 @@ def __init__( dynamic_authorization: DynamicAuthorization | UndefinedType = Undefined, hosts: Hosts | UndefinedType = Undefined, tls_ssl_profile: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RadiusServer. @@ -36397,21 +32125,19 @@ def __init__( dynamic_authorization: Subclass of AvdModel. hosts: Subclass of AvdIndexedList with `HostsItem` items. Primary key is `host` (`str`). tls_ssl_profile: Name of global TLS profile. - _custom_data: _custom_data """ class Redundancy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"protocol": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"protocol": {"type": str}} protocol: str | None """Redundancy Protocol.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, protocol: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, protocol: str | None | UndefinedType = Undefined) -> None: """ Redundancy. @@ -36420,7 +32146,6 @@ def __init__(self, *, protocol: str | None | UndefinedType = Undefined, _custom_ Args: protocol: Redundancy Protocol. - _custom_data: _custom_data """ @@ -36430,13 +32155,7 @@ class RolesItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "sequence": {"type": int}, - "action": {"type": str}, - "mode": {"type": str}, - "command": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "mode": {"type": str}, "command": {"type": str}} sequence: int | None """Sequence number.""" action: Literal["permit", "deny"] | None @@ -36444,7 +32163,6 @@ class SequenceNumbersItem(AvdModel): """"config", "config-all", "exec" or mode key as string.""" command: str | None """Command as string.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36455,7 +32173,6 @@ def __init__( action: Literal["permit", "deny"] | None | UndefinedType = Undefined, mode: str | None | UndefinedType = Undefined, command: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceNumbersItem. @@ -36468,7 +32185,6 @@ def __init__( action: action mode: "config", "config-all", "exec" or mode key as string. command: Command as string. - _custom_data: _custom_data """ @@ -36477,22 +32193,15 @@ class SequenceNumbers(AvdList[SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Role name.""" sequence_numbers: SequenceNumbers """Subclass of AvdList with `SequenceNumbersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ RolesItem. @@ -36502,7 +32211,6 @@ def __init__( Args: name: Role name. sequence_numbers: Subclass of AvdList with `SequenceNumbersItem` items. - _custom_data: _custom_data """ @@ -36532,20 +32240,13 @@ class Set(AvdList[str]): class Continue(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "sequence_number": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "sequence_number": {"type": int}} enabled: bool | None sequence_number: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - sequence_number: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, sequence_number: int | None | UndefinedType = Undefined) -> None: """ Continue. @@ -36555,7 +32256,6 @@ def __init__( Args: enabled: enabled sequence_number: sequence_number - _custom_data: _custom_data """ @@ -36567,7 +32267,6 @@ def __init__( "set": {"type": Set}, "sub_route_map": {"type": str}, "field_continue": {"type": Continue}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_continue": "continue"} _key_to_field_map: ClassVar[dict] = {"continue": "field_continue"} @@ -36591,7 +32290,6 @@ def __init__( """Name of Sub-Route-map.""" field_continue: Continue """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36605,7 +32303,6 @@ def __init__( set: Set | UndefinedType = Undefined, sub_route_map: str | None | UndefinedType = Undefined, field_continue: Continue | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceNumbersItem. @@ -36627,7 +32324,6 @@ def __init__( Subclass of AvdList with `str` items. sub_route_map: Name of Sub-Route-map. field_continue: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -36638,22 +32334,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Route-map Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ RouteMapsItem. @@ -36663,7 +32352,6 @@ def __init__( Args: name: Route-map Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -36680,20 +32368,13 @@ class RouterAdaptiveVirtualTopology(AvdModel): class Region(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}} name: str id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - id: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, id: int | UndefinedType = Undefined) -> None: """ Region. @@ -36703,27 +32384,19 @@ def __init__( Args: name: name id: id - _custom_data: _custom_data """ class Zone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}} name: str id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - id: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, id: int | UndefinedType = Undefined) -> None: """ Zone. @@ -36733,27 +32406,19 @@ def __init__( Args: name: name id: id - _custom_data: _custom_data """ class Site(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}} name: str id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - id: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, id: int | UndefinedType = Undefined) -> None: """ Site. @@ -36763,7 +32428,6 @@ def __init__( Args: name: name id: id - _custom_data: _custom_data """ @@ -36773,18 +32437,12 @@ class ProfilesItem(AvdModel): class MetricOrder(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"preferred_metric": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"preferred_metric": {"type": str}} preferred_metric: Literal["jitter", "latency", "load", "loss-rate"] - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - preferred_metric: Literal["jitter", "latency", "load", "loss-rate"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, preferred_metric: Literal["jitter", "latency", "load", "loss-rate"] | UndefinedType = Undefined) -> None: """ MetricOrder. @@ -36793,7 +32451,6 @@ def __init__( Args: preferred_metric: preferred_metric - _custom_data: _custom_data """ @@ -36803,13 +32460,7 @@ class OutlierElimination(AvdModel): class Threshold(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "jitter": {"type": int}, - "latency": {"type": int}, - "load": {"type": str}, - "loss_rate": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "load": {"type": str}, "loss_rate": {"type": str}} jitter: int | None """Jitter threshold in millisecond.""" latency: int | None @@ -36818,7 +32469,6 @@ class Threshold(AvdModel): """Load threshold percentage. Valid range <0.00-100.00>.""" loss_rate: str | None """Loss-rate threshold percentage. Valid range <0.00-100.00>.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36829,7 +32479,6 @@ def __init__( latency: int | None | UndefinedType = Undefined, load: str | None | UndefinedType = Undefined, loss_rate: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -36842,11 +32491,10 @@ def __init__( latency: Latency threshold in millisecond. load: Load threshold percentage. Valid range <0.00-100.00>. loss_rate: Loss-rate threshold percentage. Valid range <0.00-100.00>. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"disabled": {"type": bool}, "threshold": {"type": Threshold}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disabled": {"type": bool}, "threshold": {"type": Threshold}} disabled: bool | None """Set true to disable the AVT path outlier elimination.""" threshold: Threshold @@ -36855,17 +32503,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - disabled: bool | None | UndefinedType = Undefined, - threshold: Threshold | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, disabled: bool | None | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined) -> None: """ OutlierElimination. @@ -36878,7 +32519,6 @@ def __init__( Change the threshold values for path comparison. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -36888,7 +32528,6 @@ def __init__( "internet_exit_policy": {"type": str}, "metric_order": {"type": MetricOrder}, "outlier_elimination": {"type": OutlierElimination}, - "_custom_data": {"type": dict}, } name: str """AVT Name.""" @@ -36908,7 +32547,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36920,7 +32558,6 @@ def __init__( internet_exit_policy: str | None | UndefinedType = Undefined, metric_order: MetricOrder | UndefinedType = Undefined, outlier_elimination: OutlierElimination | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -36940,7 +32577,6 @@ def __init__( AVT path outlier elimination. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -36962,7 +32598,6 @@ class MatchesItem(AvdModel): "avt_profile": {"type": str}, "dscp": {"type": int}, "traffic_class": {"type": int}, - "_custom_data": {"type": dict}, } application_profile: str | None """Application profile name.""" @@ -36972,7 +32607,6 @@ class MatchesItem(AvdModel): """Set DSCP for matched traffic.""" traffic_class: int | None """Set traffic-class for matched traffic.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36983,7 +32617,6 @@ def __init__( avt_profile: str | None | UndefinedType = Undefined, dscp: int | None | UndefinedType = Undefined, traffic_class: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchesItem. @@ -36996,7 +32629,6 @@ def __init__( avt_profile: AVT Profile name. dscp: Set DSCP for matched traffic. traffic_class: Set traffic-class for matched traffic. - _custom_data: _custom_data """ @@ -37005,22 +32637,15 @@ class Matches(AvdList[MatchesItem]): Matches._item_type = MatchesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "matches": {"type": Matches}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "matches": {"type": Matches}} name: str """Policy name.""" matches: Matches """Subclass of AvdList with `MatchesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - matches: Matches | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, matches: Matches | UndefinedType = Undefined) -> None: """ PoliciesItem. @@ -37030,7 +32655,6 @@ def __init__( Args: name: Policy name. matches: Subclass of AvdList with `MatchesItem` items. - _custom_data: _custom_data """ @@ -37047,22 +32671,15 @@ class VrfsItem(AvdModel): class ProfilesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "id": {"type": int}} name: str | None """AVT profile name.""" id: int """Unique ID for this AVT (per VRF).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - id: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, id: int | UndefinedType = Undefined) -> None: """ ProfilesItem. @@ -37072,7 +32689,6 @@ def __init__( Args: name: AVT profile name. id: Unique ID for this AVT (per VRF). - _custom_data: _custom_data """ @@ -37083,7 +32699,7 @@ class Profiles(AvdIndexedList[int, ProfilesItem]): Profiles._item_type = ProfilesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "policy": {"type": str}, "profiles": {"type": Profiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "policy": {"type": str}, "profiles": {"type": Profiles}} name: str """VRF name.""" policy: str | None @@ -37095,7 +32711,6 @@ class Profiles(AvdIndexedList[int, ProfilesItem]): Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `id` (`int`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37105,7 +32720,6 @@ def __init__( name: str | UndefinedType = Undefined, policy: str | None | UndefinedType = Undefined, profiles: Profiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -37121,7 +32735,6 @@ def __init__( Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -37141,7 +32754,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "profiles": {"type": Profiles}, "policies": {"type": Policies}, "vrfs": {"type": Vrfs}, - "_custom_data": {"type": dict}, } topology_role: Literal["edge", "pathfinder", "transit region", "transit zone"] | None """Role name.""" @@ -37180,7 +32792,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): """ vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37195,7 +32806,6 @@ def __init__( profiles: Profiles | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterAdaptiveVirtualTopology. @@ -37228,7 +32838,6 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -37238,13 +32847,12 @@ class RouterBfd(AvdModel): class Multihop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int | None """Rate in milliseconds.""" min_rx: int | None """Rate in milliseconds.""" multiplier: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37254,7 +32862,6 @@ def __init__( interval: int | None | UndefinedType = Undefined, min_rx: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Multihop. @@ -37266,7 +32873,6 @@ def __init__( interval: Rate in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ @@ -37279,20 +32885,13 @@ class LocalInterface(AvdModel): class Protocols(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}} ipv4: bool | None ipv6: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: bool | None | UndefinedType = Undefined, - ipv6: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined) -> None: """ Protocols. @@ -37302,26 +32901,18 @@ def __init__( Args: ipv4: ipv4 ipv6: ipv6 - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "protocols": {"type": Protocols}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "protocols": {"type": Protocols}} name: str | None """Interface Name.""" protocols: Protocols """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - protocols: Protocols | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined) -> None: """ LocalInterface. @@ -37331,29 +32922,21 @@ def __init__( Args: name: Interface Name. protocols: Subclass of AvdModel. - _custom_data: _custom_data """ class Reflector(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"min_rx": {"type": int}, "local_discriminator": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"min_rx": {"type": int}, "local_discriminator": {"type": str}} min_rx: int | None """Rate in milliseconds.""" local_discriminator: str | None """IPv4 address or 32 bit integer.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - min_rx: int | None | UndefinedType = Undefined, - local_discriminator: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, min_rx: int | None | UndefinedType = Undefined, local_discriminator: str | None | UndefinedType = Undefined) -> None: """ Reflector. @@ -37363,7 +32946,6 @@ def __init__( Args: min_rx: Rate in milliseconds. local_discriminator: IPv4 address or 32 bit integer. - _custom_data: _custom_data """ @@ -37373,7 +32955,6 @@ def __init__( "initiator_multiplier": {"type": int}, "initiator_measurement_round_trip": {"type": bool}, "reflector": {"type": Reflector}, - "_custom_data": {"type": dict}, } local_interface: LocalInterface """Subclass of AvdModel.""" @@ -37384,7 +32965,6 @@ def __init__( """Enable round-trip delay measurement.""" reflector: Reflector """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37396,7 +32976,6 @@ def __init__( initiator_multiplier: int | None | UndefinedType = Undefined, initiator_measurement_round_trip: bool | None | UndefinedType = Undefined, reflector: Reflector | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sbfd. @@ -37410,7 +32989,6 @@ def __init__( initiator_multiplier: initiator_multiplier initiator_measurement_round_trip: Enable round-trip delay measurement. reflector: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -37424,7 +33002,6 @@ def __init__( "session_snapshot_interval_dangerous": {"type": bool}, "sbfd": {"type": Sbfd}, "slow_timer": {"type": int}, - "_custom_data": {"type": dict}, } interval: int | None """Rate in milliseconds.""" @@ -37446,7 +33023,6 @@ def __init__( """Subclass of AvdModel.""" slow_timer: int | None """Rate in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37462,7 +33038,6 @@ def __init__( session_snapshot_interval_dangerous: bool | None | UndefinedType = Undefined, sbfd: Sbfd | UndefinedType = Undefined, slow_timer: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterBfd. @@ -37483,7 +33058,6 @@ def __init__( session_snapshot_interval_dangerous: session_snapshot_interval_dangerous sbfd: Subclass of AvdModel. slow_timer: Rate in milliseconds. - _custom_data: _custom_data """ @@ -37498,7 +33072,6 @@ class Timers(AvdModel): "hold_time": {"type": int}, "min_hold_time": {"type": int}, "send_failure_hold_time": {"type": int}, - "_custom_data": {"type": dict}, } keepalive_time: int | None """ @@ -37518,7 +33091,6 @@ class Timers(AvdModel): """ send_failure_hold_time: int | None """Send failure hold time in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37529,7 +33101,6 @@ def __init__( hold_time: int | None | UndefinedType = Undefined, min_hold_time: int | None | UndefinedType = Undefined, send_failure_hold_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Timers. @@ -37549,23 +33120,16 @@ def __init__( Neighbor's minimum hold time constraint in seconds. `min_hold_time` should be less than `hold_time`. send_failure_hold_time: Send failure hold time in seconds. - _custom_data: _custom_data """ class Distance(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "external_routes": {"type": int}, - "internal_routes": {"type": int}, - "local_routes": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"external_routes": {"type": int}, "internal_routes": {"type": int}, "local_routes": {"type": int}} external_routes: int internal_routes: int local_routes: int - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37575,7 +33139,6 @@ def __init__( external_routes: int | UndefinedType = Undefined, internal_routes: int | UndefinedType = Undefined, local_routes: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Distance. @@ -37587,25 +33150,18 @@ def __init__( external_routes: external_routes internal_routes: internal_routes local_routes: local_routes - _custom_data: _custom_data """ class GracefulRestart(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "restart_time": {"type": int}, - "stalepath_time": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "restart_time": {"type": int}, "stalepath_time": {"type": int}} enabled: bool | None restart_time: int | None """Number of seconds.""" stalepath_time: int | None """Number of seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37615,7 +33171,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, restart_time: int | None | UndefinedType = Undefined, stalepath_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GracefulRestart. @@ -37627,14 +33182,13 @@ def __init__( enabled: enabled restart_time: Number of seconds. stalepath_time: Number of seconds. - _custom_data: _custom_data """ class GracefulRestartHelper(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "restart_time": {"type": int}, "long_lived": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "restart_time": {"type": int}, "long_lived": {"type": bool}} enabled: bool | None restart_time: int | None """ @@ -37648,7 +33202,6 @@ class GracefulRestartHelper(AvdModel): restart-time will take precedence if both are configured. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37658,7 +33211,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, restart_time: int | None | UndefinedType = Undefined, long_lived: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GracefulRestartHelper. @@ -37676,27 +33228,19 @@ def __init__( graceful-restart-help long-lived and restart-time are mutually exclusive in CLI. restart-time will take precedence if both are configured. - _custom_data: _custom_data """ class MaximumPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"paths": {"type": int}, "ecmp": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"paths": {"type": int}, "ecmp": {"type": int}} paths: int ecmp: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - paths: int | UndefinedType = Undefined, - ecmp: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, paths: int | UndefinedType = Undefined, ecmp: int | None | UndefinedType = Undefined) -> None: """ MaximumPaths. @@ -37706,14 +33250,13 @@ def __init__( Args: paths: paths ecmp: ecmp - _custom_data: _custom_data """ class Updates(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}} wait_for_convergence: bool | None """ Disables FIB updates and route advertisement when the BGP instance is initiated until the BGP @@ -37726,16 +33269,11 @@ class Updates(AvdModel): will eliminate any temporary black holes due to a BGP speaker advertising reachability to a prefix that may not yet be installed into the forwarding plane. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - wait_for_convergence: bool | None | UndefinedType = Undefined, - wait_install: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, wait_for_convergence: bool | None | UndefinedType = Undefined, wait_install: bool | None | UndefinedType = Undefined ) -> None: """ Updates. @@ -37752,7 +33290,6 @@ def __init__( This will eliminate any temporary black holes due to a BGP speaker advertising reachability to a prefix that may not yet be installed into the forwarding plane. - _custom_data: _custom_data """ @@ -37767,21 +33304,16 @@ class Bgp(AvdModel): class Default(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_unicast": {"type": bool}, "ipv4_unicast_transport_ipv6": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_unicast": {"type": bool}, "ipv4_unicast_transport_ipv6": {"type": bool}} ipv4_unicast: bool | None """Default activation of IPv4 unicast address-family on all IPv4 neighbors (EOS default = True).""" ipv4_unicast_transport_ipv6: bool | None """Default activation of IPv4 unicast address-family on all IPv6 neighbors (EOS default == False).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4_unicast: bool | None | UndefinedType = Undefined, - ipv4_unicast_transport_ipv6: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4_unicast: bool | None | UndefinedType = Undefined, ipv4_unicast_transport_ipv6: bool | None | UndefinedType = Undefined ) -> None: """ Default. @@ -37792,27 +33324,19 @@ def __init__( Args: ipv4_unicast: Default activation of IPv4 unicast address-family on all IPv4 neighbors (EOS default = True). ipv4_unicast_transport_ipv6: Default activation of IPv4 unicast address-family on all IPv6 neighbors (EOS default == False). - _custom_data: _custom_data """ class RouteReflectorPreserveAttributes(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}} enabled: bool | None always: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - always: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined) -> None: """ RouteReflectorPreserveAttributes. @@ -37822,20 +33346,18 @@ def __init__( Args: enabled: enabled always: always - _custom_data: _custom_data """ class Bestpath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"d_path": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"d_path": {"type": bool}} d_path: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, d_path: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, d_path: bool | None | UndefinedType = Undefined) -> None: """ Bestpath. @@ -37844,14 +33366,13 @@ def __init__(self, *, d_path: bool | None | UndefinedType = Undefined, _custom_d Args: d_path: d_path - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -37870,7 +33391,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37880,7 +33400,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -37902,7 +33421,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -37912,7 +33430,6 @@ def __init__( "bestpath": {"type": Bestpath}, "additional_paths": {"type": AdditionalPaths}, "redistribute_internal": {"type": bool}, - "_custom_data": {"type": dict}, } default: Default """Subclass of AvdModel.""" @@ -37924,7 +33441,6 @@ def __init__( """Subclass of AvdModel.""" redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37936,7 +33452,6 @@ def __init__( bestpath: Bestpath | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, redistribute_internal: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -37950,7 +33465,6 @@ def __init__( bestpath: Subclass of AvdModel. additional_paths: Subclass of AvdModel. redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. - _custom_data: _custom_data """ @@ -37963,7 +33477,6 @@ class ListenRangesItem(AvdModel): "peer_group": {"type": str}, "peer_filter": {"type": str}, "remote_as": {"type": str}, - "_custom_data": {"type": dict}, } prefix: str | None """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -37985,7 +33498,6 @@ class ListenRangesItem(AvdModel): YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37997,7 +33509,6 @@ def __init__( peer_group: str | None | UndefinedType = Undefined, peer_filter: str | None | UndefinedType = Undefined, remote_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ListenRangesItem. @@ -38019,7 +33530,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -38031,11 +33541,10 @@ class ListenRanges(AvdList[ListenRangesItem]): class NeighborDefault(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"send_community": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"send_community": {"type": str}} send_community: ( Literal["all", "large", "extended", "standard", "extended large", "standard large", "standard extended", "standard extended large"] | None ) - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38047,7 +33556,6 @@ def __init__( ] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborDefault. @@ -38057,7 +33565,6 @@ def __init__( Args: send_community: send_community - _custom_data: _custom_data """ @@ -38067,21 +33574,16 @@ class PeerGroupsItem(AvdModel): class AsPath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} remote_as_replace_out: bool | None """Replace AS number with local AS number.""" prepend_own_disabled: bool | None """Disable prepending own AS number to AS path.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - remote_as_replace_out: bool | None | UndefinedType = Undefined, - prepend_own_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, remote_as_replace_out: bool | None | UndefinedType = Undefined, prepend_own_disabled: bool | None | UndefinedType = Undefined ) -> None: """ AsPath. @@ -38092,18 +33594,16 @@ def __init__( Args: remote_as_replace_out: Replace AS number with local AS number. prepend_own_disabled: Disable prepending own AS number to AS path. - _custom_data: _custom_data """ class RemovePrivateAs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None all: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38113,7 +33613,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemovePrivateAs. @@ -38125,27 +33624,19 @@ def __init__( enabled: enabled all: all replace_as: replace_as - _custom_data: _custom_data """ class RemovePrivateAsIngress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined) -> None: """ RemovePrivateAsIngress. @@ -38155,30 +33646,23 @@ def __init__( Args: enabled: enabled replace_as: replace_as - _custom_data: _custom_data """ class BfdTimers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int """Interval in milliseconds.""" min_rx: int """Rate in milliseconds.""" multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | UndefinedType = Undefined, - min_rx: int | UndefinedType = Undefined, - multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined ) -> None: """ BfdTimers. @@ -38190,19 +33674,17 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} enabled: bool | None always: bool | None route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38212,7 +33694,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultOriginate. @@ -38224,7 +33705,6 @@ def __init__( enabled: enabled always: always route_map: Route-map name. - _custom_data: _custom_data """ @@ -38239,7 +33719,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -38249,7 +33728,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38260,7 +33738,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -38273,7 +33750,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -38285,7 +33761,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -38295,7 +33770,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38306,7 +33780,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -38319,11 +33792,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -38336,16 +33808,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -38362,28 +33829,20 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ class LinkBandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}} enabled: bool | None default: str | None """nn.nn(K|M|G) link speed in bits/second.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - default: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, default: str | None | UndefinedType = Undefined) -> None: """ LinkBandwidth. @@ -38393,28 +33852,20 @@ def __init__( Args: enabled: enabled default: nn.nn(K|M|G) link speed in bits/second. - _custom_data: _custom_data """ class AllowasIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}} enabled: bool | None times: int | None """Number of local ASNs allowed in a BGP update.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - times: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, times: int | None | UndefinedType = Undefined) -> None: """ AllowasIn. @@ -38424,27 +33875,19 @@ def __init__( Args: enabled: enabled times: Number of local ASNs allowed in a BGP update. - _custom_data: _custom_data """ class RibInPrePolicyRetain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}} enabled: bool | None all: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - all: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined) -> None: """ RibInPrePolicyRetain. @@ -38454,19 +33897,17 @@ def __init__( Args: enabled: enabled all: all - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}} profile: str """Name of profile defined under `management_security`.""" hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] """Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38475,7 +33916,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -38486,7 +33926,6 @@ def __init__( Args: profile: Name of profile defined under `management_security`. hash_algorithm: Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above. - _custom_data: _custom_data """ @@ -38525,7 +33964,6 @@ def __init__( "session_tracker": {"type": str}, "shared_secret": {"type": SharedSecret}, "ttl_maximum_hops": {"type": int}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -38615,7 +34053,6 @@ def __init__( """Subclass of AvdModel.""" ttl_maximum_hops: int | None """Maximum number of hops.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38656,7 +34093,6 @@ def __init__( session_tracker: str | None | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, ttl_maximum_hops: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -38722,7 +34158,6 @@ def __init__( session_tracker: session_tracker shared_secret: Subclass of AvdModel. ttl_maximum_hops: Maximum number of hops. - _custom_data: _custom_data """ @@ -38739,21 +34174,16 @@ class NeighborsItem(AvdModel): class AsPath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} remote_as_replace_out: bool | None """Replace AS number with local AS number.""" prepend_own_disabled: bool | None """Disable prepending own AS number to AS path.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - remote_as_replace_out: bool | None | UndefinedType = Undefined, - prepend_own_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, remote_as_replace_out: bool | None | UndefinedType = Undefined, prepend_own_disabled: bool | None | UndefinedType = Undefined ) -> None: """ AsPath. @@ -38764,30 +34194,23 @@ def __init__( Args: remote_as_replace_out: Replace AS number with local AS number. prepend_own_disabled: Disable prepending own AS number to AS path. - _custom_data: _custom_data """ class BfdTimers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int """Interval in milliseconds.""" min_rx: int """Rate in milliseconds.""" multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | UndefinedType = Undefined, - min_rx: int | UndefinedType = Undefined, - multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined ) -> None: """ BfdTimers. @@ -38799,18 +34222,16 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} enabled: bool | None always: bool | None route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38820,7 +34241,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultOriginate. @@ -38832,7 +34252,6 @@ def __init__( enabled: enabled always: always route_map: route_map - _custom_data: _custom_data """ @@ -38847,7 +34266,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -38857,7 +34275,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38868,7 +34285,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -38881,7 +34297,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -38893,7 +34308,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -38903,7 +34317,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38914,7 +34327,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -38927,11 +34339,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -38944,16 +34355,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -38970,28 +34376,20 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ class AllowasIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}} enabled: bool | None times: int | None """Number of local ASNs allowed in a BGP update.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - times: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, times: int | None | UndefinedType = Undefined) -> None: """ AllowasIn. @@ -39001,28 +34399,20 @@ def __init__( Args: enabled: enabled times: Number of local ASNs allowed in a BGP update. - _custom_data: _custom_data """ class LinkBandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}} enabled: bool | None default: str | None """nn.nn(K|M|G) link speed in bits/second.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - default: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, default: str | None | UndefinedType = Undefined) -> None: """ LinkBandwidth. @@ -39032,27 +34422,19 @@ def __init__( Args: enabled: enabled default: nn.nn(K|M|G) link speed in bits/second. - _custom_data: _custom_data """ class RibInPrePolicyRetain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}} enabled: bool | None all: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - all: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined) -> None: """ RibInPrePolicyRetain. @@ -39062,18 +34444,16 @@ def __init__( Args: enabled: enabled all: all - _custom_data: _custom_data """ class RemovePrivateAs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None all: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39083,7 +34463,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemovePrivateAs. @@ -39095,27 +34474,19 @@ def __init__( enabled: enabled all: all replace_as: replace_as - _custom_data: _custom_data """ class RemovePrivateAsIngress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined) -> None: """ RemovePrivateAsIngress. @@ -39125,19 +34496,17 @@ def __init__( Args: enabled: enabled replace_as: replace_as - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}} profile: str """Name of profile defined under `management_security`.""" hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] """Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39146,7 +34515,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -39157,7 +34525,6 @@ def __init__( Args: profile: Name of profile defined under `management_security`. hash_algorithm: Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above. - _custom_data: _custom_data """ @@ -39196,7 +34563,6 @@ def __init__( "session_tracker": {"type": str}, "shared_secret": {"type": SharedSecret}, "ttl_maximum_hops": {"type": int}, - "_custom_data": {"type": dict}, } ip_address: str peer_group: str | None @@ -39285,7 +34651,6 @@ def __init__( """Subclass of AvdModel.""" ttl_maximum_hops: int | None """Maximum number of hops.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39326,7 +34691,6 @@ def __init__( session_tracker: str | None | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, ttl_maximum_hops: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -39392,7 +34756,6 @@ def __init__( session_tracker: session_tracker shared_secret: Subclass of AvdModel. ttl_maximum_hops: Maximum number of hops. - _custom_data: _custom_data """ @@ -39413,7 +34776,6 @@ class NeighborInterfacesItem(AvdModel): "peer_group": {"type": str, "default": "Peer-group name"}, "description": {"type": str}, "peer_filter": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Interface name.""" @@ -39431,7 +34793,6 @@ class NeighborInterfacesItem(AvdModel): description: str | None peer_filter: str | None """Peer-filter name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39444,7 +34805,6 @@ def __init__( peer_group: str | UndefinedType = Undefined, description: str | None | UndefinedType = Undefined, peer_filter: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborInterfacesItem. @@ -39463,7 +34823,6 @@ def __init__( peer_group: peer_group description: description peer_filter: Peer-filter name. - _custom_data: _custom_data """ @@ -39484,7 +34843,6 @@ class AggregateAddressesItem(AvdModel): "summary_only": {"type": bool}, "attribute_map": {"type": str}, "match_map": {"type": str}, - "_custom_data": {"type": dict}, } prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -39495,7 +34853,6 @@ class AggregateAddressesItem(AvdModel): """Route-map name.""" match_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39508,7 +34865,6 @@ def __init__( summary_only: bool | None | UndefinedType = Undefined, attribute_map: str | None | UndefinedType = Undefined, match_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AggregateAddressesItem. @@ -39523,7 +34879,6 @@ def __init__( summary_only: summary_only attribute_map: Route-map name. match_map: Route-map name. - _custom_data: _custom_data """ @@ -39540,20 +34895,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -39563,27 +34911,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -39593,20 +34933,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -39618,7 +34951,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39629,7 +34961,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -39646,14 +34977,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -39663,7 +34993,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39673,7 +35002,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -39689,7 +35017,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -39702,7 +35029,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -39717,7 +35043,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39729,7 +35054,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -39747,7 +35071,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -39757,17 +35080,11 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39777,7 +35094,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -39789,24 +35105,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39816,7 +35125,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -39828,7 +35136,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -39840,7 +35147,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -39848,7 +35154,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39859,7 +35164,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -39872,7 +35176,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -39883,7 +35186,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -39908,7 +35210,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39921,7 +35222,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -39945,7 +35245,6 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -39955,17 +35254,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39975,7 +35268,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -39987,24 +35279,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40014,7 +35299,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -40026,7 +35310,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -40038,7 +35321,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -40046,7 +35328,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40057,7 +35338,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -40070,7 +35350,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -40081,7 +35360,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -40106,7 +35384,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40119,7 +35396,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -40143,27 +35419,19 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Rip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Rip. @@ -40173,20 +35441,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -40198,7 +35459,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40209,7 +35469,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -40226,14 +35485,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -40242,17 +35500,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -40266,7 +35517,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -40281,7 +35531,6 @@ def __init__( "rip": {"type": Rip}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -40303,7 +35552,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40320,7 +35568,6 @@ def __init__( rip: Rip | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -40339,7 +35586,6 @@ def __init__( rip: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -40352,7 +35598,6 @@ class RedistributeRoutesItem(AvdModel): "rcf": {"type": str}, "include_leaked": {"type": bool}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["attached-host", "bgp", "connected", "dynamic", "isis", "ospf", "ospfv3", "rip", "static", "user"] route_map: str | None @@ -40372,7 +35617,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40385,7 +35629,6 @@ def __init__( rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -40408,7 +35651,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -40423,20 +35665,15 @@ class VlanAwareBundlesItem(AvdModel): class RdEvpnDomain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "rd": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "rd": {"type": str}} domain: Literal["remote", "all"] | None rd: str | None """Route distinguisher.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - rd: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, rd: str | None | UndefinedType = Undefined ) -> None: """ RdEvpnDomain. @@ -40447,7 +35684,6 @@ def __init__( Args: domain: domain rd: Route distinguisher. - _custom_data: _custom_data """ @@ -40472,19 +35708,14 @@ class Export(AvdList[str]): class ImportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ImportEvpnDomainsItem. @@ -40495,7 +35726,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40507,19 +35737,14 @@ class ImportEvpnDomains(AvdList[ImportEvpnDomainsItem]): class ExportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ExportEvpnDomainsItem. @@ -40530,7 +35755,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40542,19 +35766,14 @@ class ExportEvpnDomains(AvdList[ExportEvpnDomainsItem]): class ImportExportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ImportExportEvpnDomainsItem. @@ -40565,7 +35784,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40581,7 +35799,6 @@ class ImportExportEvpnDomains(AvdList[ImportExportEvpnDomainsItem]): "import_evpn_domains": {"type": ImportEvpnDomains}, "export_evpn_domains": {"type": ExportEvpnDomains}, "import_export_evpn_domains": {"type": ImportExportEvpnDomains}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_import": "import"} _key_to_field_map: ClassVar[dict] = {"import": "field_import"} @@ -40597,7 +35814,6 @@ class ImportExportEvpnDomains(AvdList[ImportExportEvpnDomainsItem]): """Subclass of AvdList with `ExportEvpnDomainsItem` items.""" import_export_evpn_domains: ImportExportEvpnDomains """Subclass of AvdList with `ImportExportEvpnDomainsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40610,7 +35826,6 @@ def __init__( import_evpn_domains: ImportEvpnDomains | UndefinedType = Undefined, export_evpn_domains: ExportEvpnDomains | UndefinedType = Undefined, import_export_evpn_domains: ImportExportEvpnDomains | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouteTargets. @@ -40625,7 +35840,6 @@ def __init__( import_evpn_domains: Subclass of AvdList with `ImportEvpnDomainsItem` items. export_evpn_domains: Subclass of AvdList with `ExportEvpnDomainsItem` items. import_export_evpn_domains: Subclass of AvdList with `ImportExportEvpnDomainsItem` items. - _custom_data: _custom_data """ @@ -40650,7 +35864,6 @@ class NoRedistributeRoutes(AvdList[str]): "no_redistribute_routes": {"type": NoRedistributeRoutes}, "vlan": {"type": str}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """VLAN aware bundle name.""" @@ -40675,7 +35888,6 @@ class NoRedistributeRoutes(AvdList[str]): Multiline EOS CLI rendered directly on the Router BGP, VLAN-aware-bundle definition in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40692,7 +35904,6 @@ def __init__( no_redistribute_routes: NoRedistributeRoutes | UndefinedType = Undefined, vlan: str | None | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanAwareBundlesItem. @@ -40713,7 +35924,6 @@ def __init__( eos_cli: Multiline EOS CLI rendered directly on the Router BGP, VLAN-aware-bundle definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -40730,20 +35940,15 @@ class VlansItem(AvdModel): class RdEvpnDomain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "rd": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "rd": {"type": str}} domain: Literal["remote", "all"] | None rd: str | None """Route distinguisher.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - rd: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, rd: str | None | UndefinedType = Undefined ) -> None: """ RdEvpnDomain. @@ -40754,7 +35959,6 @@ def __init__( Args: domain: domain rd: Route distinguisher. - _custom_data: _custom_data """ @@ -40779,19 +35983,14 @@ class Export(AvdList[str]): class ImportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ImportEvpnDomainsItem. @@ -40802,7 +36001,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40814,19 +36012,14 @@ class ImportEvpnDomains(AvdList[ImportEvpnDomainsItem]): class ExportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ExportEvpnDomainsItem. @@ -40837,7 +36030,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40849,19 +36041,14 @@ class ExportEvpnDomains(AvdList[ExportEvpnDomainsItem]): class ImportExportEvpnDomainsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"domain": {"type": str}, "route_target": {"type": str}} domain: Literal["remote", "all"] | None route_target: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - domain: Literal["remote", "all"] | None | UndefinedType = Undefined, - route_target: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, domain: Literal["remote", "all"] | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined ) -> None: """ ImportExportEvpnDomainsItem. @@ -40872,7 +36059,6 @@ def __init__( Args: domain: domain route_target: route_target - _custom_data: _custom_data """ @@ -40888,7 +36074,6 @@ class ImportExportEvpnDomains(AvdList[ImportExportEvpnDomainsItem]): "import_evpn_domains": {"type": ImportEvpnDomains}, "export_evpn_domains": {"type": ExportEvpnDomains}, "import_export_evpn_domains": {"type": ImportExportEvpnDomains}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_import": "import"} _key_to_field_map: ClassVar[dict] = {"import": "field_import"} @@ -40904,7 +36089,6 @@ class ImportExportEvpnDomains(AvdList[ImportExportEvpnDomainsItem]): """Subclass of AvdList with `ExportEvpnDomainsItem` items.""" import_export_evpn_domains: ImportExportEvpnDomains """Subclass of AvdList with `ImportExportEvpnDomainsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40917,7 +36101,6 @@ def __init__( import_evpn_domains: ImportEvpnDomains | UndefinedType = Undefined, export_evpn_domains: ExportEvpnDomains | UndefinedType = Undefined, import_export_evpn_domains: ImportExportEvpnDomains | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouteTargets. @@ -40932,7 +36115,6 @@ def __init__( import_evpn_domains: Subclass of AvdList with `ImportEvpnDomainsItem` items. export_evpn_domains: Subclass of AvdList with `ExportEvpnDomainsItem` items. import_export_evpn_domains: Subclass of AvdList with `ImportExportEvpnDomainsItem` items. - _custom_data: _custom_data """ @@ -40955,7 +36137,6 @@ class NoRedistributeRoutes(AvdList[str]): "redistribute_routes": {"type": RedistributeRoutes}, "no_redistribute_routes": {"type": NoRedistributeRoutes}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } id: int tenant: str | None @@ -40975,7 +36156,6 @@ class NoRedistributeRoutes(AvdList[str]): Multiline EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40990,7 +36170,6 @@ def __init__( redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, no_redistribute_routes: NoRedistributeRoutes | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlansItem. @@ -41009,7 +36188,6 @@ def __init__( eos_cli: Multiline EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -41026,16 +36204,13 @@ class VpwsItem(AvdModel): class RouteTargets(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"import_export": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"import_export": {"type": str}} import_export: str | None """Route Target.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, import_export: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, import_export: str | None | UndefinedType = Undefined) -> None: """ RouteTargets. @@ -41044,21 +36219,19 @@ def __init__( Args: import_export: Route Target. - _custom_data: _custom_data """ class PseudowiresItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "id_local": {"type": int}, "id_remote": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "id_local": {"type": int}, "id_remote": {"type": int}} name: str """Pseudowire name.""" id_local: int | None """Must match id_remote on other pe.""" id_remote: int | None """Must match id_local on other pe.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41068,7 +36241,6 @@ def __init__( name: str | UndefinedType = Undefined, id_local: int | None | UndefinedType = Undefined, id_remote: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PseudowiresItem. @@ -41080,7 +36252,6 @@ def __init__( name: Pseudowire name. id_local: Must match id_remote on other pe. id_remote: Must match id_local on other pe. - _custom_data: _custom_data """ @@ -41099,7 +36270,6 @@ class Pseudowires(AvdIndexedList[str, PseudowiresItem]): "label_flow": {"type": bool}, "mtu": {"type": int}, "pseudowires": {"type": Pseudowires}, - "_custom_data": {"type": dict}, } name: str """VPWS instance name.""" @@ -41112,7 +36282,6 @@ class Pseudowires(AvdIndexedList[str, PseudowiresItem]): mtu: int | None pseudowires: Pseudowires """Subclass of AvdIndexedList with `PseudowiresItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41126,7 +36295,6 @@ def __init__( label_flow: bool | None | UndefinedType = Undefined, mtu: int | None | UndefinedType = Undefined, pseudowires: Pseudowires | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VpwsItem. @@ -41142,7 +36310,6 @@ def __init__( label_flow: label_flow mtu: mtu pseudowires: Subclass of AvdIndexedList with `PseudowiresItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -41162,20 +36329,13 @@ class NeighborDefault(AvdModel): class NextHopSelfReceivedEvpnRoutes(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "inter_domain": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "inter_domain": {"type": bool}} enable: bool | None inter_domain: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - inter_domain: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, inter_domain: bool | None | UndefinedType = Undefined) -> None: """ NextHopSelfReceivedEvpnRoutes. @@ -41185,7 +36345,6 @@ def __init__( Args: enable: enable inter_domain: inter_domain - _custom_data: _custom_data """ @@ -41193,7 +36352,6 @@ def __init__( "encapsulation": {"type": str}, "next_hop_self_source_interface": {"type": str}, "next_hop_self_received_evpn_routes": {"type": NextHopSelfReceivedEvpnRoutes}, - "_custom_data": {"type": dict}, } encapsulation: Literal["vxlan", "mpls", "path-selection"] | None """Transport encapsulation for neighbor.""" @@ -41201,7 +36359,6 @@ def __init__( """Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`.""" next_hop_self_received_evpn_routes: NextHopSelfReceivedEvpnRoutes """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41211,7 +36368,6 @@ def __init__( encapsulation: Literal["vxlan", "mpls", "path-selection"] | None | UndefinedType = Undefined, next_hop_self_source_interface: str | None | UndefinedType = Undefined, next_hop_self_received_evpn_routes: NextHopSelfReceivedEvpnRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborDefault. @@ -41223,19 +36379,17 @@ def __init__( encapsulation: Transport encapsulation for neighbor. next_hop_self_source_interface: Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`. next_hop_self_received_evpn_routes: Subclass of AvdModel. - _custom_data: _custom_data """ class NextHopMplsResolutionRibsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rib_type": {"type": str}, "rib_name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rib_type": {"type": str}, "rib_name": {"type": str}} rib_type: Literal["system-connected", "tunnel-rib-colored", "tunnel-rib"] """Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use.""" rib_name: str | None """The name of the tunnel-rib to use when using 'tunnel-rib' type.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41244,7 +36398,6 @@ def __init__( *, rib_type: Literal["system-connected", "tunnel-rib-colored", "tunnel-rib"] | UndefinedType = Undefined, rib_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NextHopMplsResolutionRibsItem. @@ -41255,7 +36408,6 @@ def __init__( Args: rib_type: Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use. rib_name: The name of the tunnel-rib to use when using 'tunnel-rib' type. - _custom_data: _custom_data """ @@ -41270,7 +36422,7 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -41278,7 +36430,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41288,7 +36439,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -41302,14 +36452,13 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -41328,7 +36477,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41338,7 +36486,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -41360,7 +36507,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -41375,7 +36521,6 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, "encapsulation": {"type": str}, "next_hop_self_source_interface": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -41401,7 +36546,6 @@ def __init__( """Transport encapsulation for the neighbor.""" next_hop_self_source_interface: str | None """Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41418,7 +36562,6 @@ def __init__( additional_paths: AdditionalPaths | UndefinedType = Undefined, encapsulation: Literal["vxlan", "mpls", "path-selection"] | None | UndefinedType = Undefined, next_hop_self_source_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -41441,7 +36584,6 @@ def __init__( additional_paths: Subclass of AvdModel. encapsulation: Transport encapsulation for the neighbor. next_hop_self_source_interface: Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`. - _custom_data: _custom_data """ @@ -41458,7 +36600,7 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -41466,7 +36608,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41476,7 +36617,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -41490,14 +36630,13 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -41516,7 +36655,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41526,7 +36664,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -41548,7 +36685,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -41564,7 +36700,6 @@ def __init__( "encapsulation": {"type": str}, "next_hop_self_source_interface": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -41592,7 +36727,6 @@ def __init__( """Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41610,7 +36744,6 @@ def __init__( encapsulation: Literal["vxlan", "mpls", "path-selection"] | None | UndefinedType = Undefined, next_hop_self_source_interface: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -41634,7 +36767,6 @@ def __init__( encapsulation: Transport encapsulation for the peer-group. next_hop_self_source_interface: Source interface name for MPLS encapsulation. Requires `encapsulation` to be set as `mpls`. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -41648,13 +36780,7 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class EvpnHostflapDetection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "window": {"type": int}, - "threshold": {"type": int}, - "expiry_timeout": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "window": {"type": int}, "threshold": {"type": int}, "expiry_timeout": {"type": int}} enabled: bool | None window: int | None """Time (in seconds) to detect a MAC duplication issue.""" @@ -41662,7 +36788,6 @@ class EvpnHostflapDetection(AvdModel): """Minimum number of MAC moves that indicate a MAC Duplication issue.""" expiry_timeout: int | None """Time (in seconds) to purge a MAC duplication issue.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41673,7 +36798,6 @@ def __init__( window: int | None | UndefinedType = Undefined, threshold: int | None | UndefinedType = Undefined, expiry_timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnHostflapDetection. @@ -41686,22 +36810,18 @@ def __init__( window: Time (in seconds) to detect a MAC duplication issue. threshold: Minimum number of MAC moves that indicate a MAC Duplication issue. expiry_timeout: Time (in seconds) to purge a MAC duplication issue. - _custom_data: _custom_data """ class NextHop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"resolution_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"resolution_disabled": {"type": bool}} resolution_disabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, resolution_disabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, resolution_disabled: bool | None | UndefinedType = Undefined) -> None: """ NextHop. @@ -41710,7 +36830,6 @@ def __init__( Args: resolution_disabled: resolution_disabled - _custom_data: _custom_data """ @@ -41722,13 +36841,11 @@ class Route(AvdModel): "import_ethernet_segment_ip_mass_withdraw": {"type": bool}, "import_overlay_index_gateway": {"type": bool}, "export_ethernet_segment_ip_mass_withdraw": {"type": bool}, - "_custom_data": {"type": dict}, } import_match_failure_action: Literal["discard"] | None import_ethernet_segment_ip_mass_withdraw: bool | None import_overlay_index_gateway: bool | None export_ethernet_segment_ip_mass_withdraw: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41739,7 +36856,6 @@ def __init__( import_ethernet_segment_ip_mass_withdraw: bool | None | UndefinedType = Undefined, import_overlay_index_gateway: bool | None | UndefinedType = Undefined, export_ethernet_segment_ip_mass_withdraw: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Route. @@ -41752,7 +36868,6 @@ def __init__( import_ethernet_segment_ip_mass_withdraw: import_ethernet_segment_ip_mass_withdraw import_overlay_index_gateway: import_overlay_index_gateway export_ethernet_segment_ip_mass_withdraw: export_ethernet_segment_ip_mass_withdraw - _custom_data: _custom_data """ @@ -41762,7 +36877,7 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -41781,7 +36896,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41791,7 +36905,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -41813,20 +36926,16 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}} additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined) -> None: """ Bgp. @@ -41835,28 +36944,20 @@ def __init__( Args: additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ class Layer2FecInPlaceUpdate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}} enabled: bool timeout: int | None """In-place FEC update tracking timeout in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ Layer2FecInPlaceUpdate. @@ -41866,25 +36967,18 @@ def __init__( Args: enabled: enabled timeout: In-place FEC update tracking timeout in seconds. - _custom_data: _custom_data """ class EvpnEthernetSegmentItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "domain": {"type": str}, - "identifier": {"type": str}, - "route_target_import": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"domain": {"type": str}, "identifier": {"type": str}, "route_target_import": {"type": str}} domain: Literal["all", "local", "remote"] identifier: str | None """EVPN Ethernet Segment Identifier (Type 1 format).""" route_target_import: str | None """Low-order 6 bytes of ES-Import Route Target.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41894,7 +36988,6 @@ def __init__( domain: Literal["all", "local", "remote"] | UndefinedType = Undefined, identifier: str | None | UndefinedType = Undefined, route_target_import: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnEthernetSegmentItem. @@ -41906,7 +36999,6 @@ def __init__( domain: domain identifier: EVPN Ethernet Segment Identifier (Type 1 format). route_target_import: Low-order 6 bytes of ES-Import Route Target. - _custom_data: _custom_data """ @@ -41929,7 +37021,6 @@ class Send(AvdModel): "ecmp": {"type": bool}, "ecmp_limit": {"type": int}, "limit": {"type": int}, - "_custom_data": {"type": dict}, } any: bool | None """Any eligible path.""" @@ -41941,7 +37032,6 @@ class Send(AvdModel): """Amount of ECMP paths to send.""" limit: int | None """Amount of paths to send.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41953,7 +37043,6 @@ def __init__( ecmp: bool | None | UndefinedType = Undefined, ecmp_limit: int | None | UndefinedType = Undefined, limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Send. @@ -41967,11 +37056,10 @@ def __init__( ecmp: All paths in best path ECMP group. ecmp_limit: Amount of ECMP paths to send. limit: Amount of paths to send. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": Send}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": Send}} receive: bool | None """Receive multiple paths.""" send: Send @@ -41980,17 +37068,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - receive: bool | None | UndefinedType = Undefined, - send: Send | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined, send: Send | UndefinedType = Undefined) -> None: """ BgpAdditionalPaths. @@ -42003,7 +37084,6 @@ def __init__( Send multiple paths. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42022,7 +37102,6 @@ def __init__( "layer_2_fec_in_place_update": {"type": Layer2FecInPlaceUpdate}, "evpn_ethernet_segment": {"type": EvpnEthernetSegment}, "bgp_additional_paths": {"type": BgpAdditionalPaths}, - "_custom_data": {"type": dict}, } domain_identifier: str | None domain_identifier_remote: str | None @@ -42062,7 +37141,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42083,7 +37161,6 @@ def __init__( layer_2_fec_in_place_update: Layer2FecInPlaceUpdate | UndefinedType = Undefined, evpn_ethernet_segment: EvpnEthernetSegment | UndefinedType = Undefined, bgp_additional_paths: BgpAdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyEvpn. @@ -42116,7 +37193,6 @@ def __init__( BGP additional-paths commands. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42129,19 +37205,14 @@ class PeerGroupsItem(AvdModel): class DefaultRouteTarget(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"only": {"type": bool}, "encoding_origin_as_omit": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"only": {"type": bool}, "encoding_origin_as_omit": {"type": str}} only: bool | None encoding_origin_as_omit: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - only: bool | None | UndefinedType = Undefined, - encoding_origin_as_omit: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, only: bool | None | UndefinedType = Undefined, encoding_origin_as_omit: str | None | UndefinedType = Undefined ) -> None: """ DefaultRouteTarget. @@ -42152,22 +37223,15 @@ def __init__( Args: only: only encoding_origin_as_omit: encoding_origin_as_omit - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "default_route_target": {"type": DefaultRouteTarget}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "default_route_target": {"type": DefaultRouteTarget}} name: str """Peer-group name.""" activate: bool | None default_route_target: DefaultRouteTarget """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42177,7 +37241,6 @@ def __init__( name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, default_route_target: DefaultRouteTarget | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -42189,7 +37252,6 @@ def __init__( name: Peer-group name. activate: activate default_route_target: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42200,14 +37262,13 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = {"peer_groups": {"type": PeerGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"peer_groups": {"type": PeerGroups}} peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, peer_groups: PeerGroups | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, peer_groups: PeerGroups | UndefinedType = Undefined) -> None: """ AddressFamilyRtc. @@ -42216,7 +37277,6 @@ def __init__(self, *, peer_groups: PeerGroups | UndefinedType = Undefined, _cust Args: peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -42226,22 +37286,15 @@ class AddressFamilyIpv4(AvdModel): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -42251,7 +37304,6 @@ def __init__( Args: prefix: IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: Route-map name. - _custom_data: _custom_data """ @@ -42274,7 +37326,6 @@ class AdditionalPaths(AvdModel): "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, - "_custom_data": {"type": dict}, } install: bool | None """Install BGP backup path.""" @@ -42298,7 +37349,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42310,7 +37360,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -42334,29 +37383,19 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "additional_paths": {"type": AdditionalPaths}, - "redistribute_internal": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}, "redistribute_internal": {"type": bool}} additional_paths: AdditionalPaths """Subclass of AvdModel.""" redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - redistribute_internal: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined, redistribute_internal: bool | None | UndefinedType = Undefined ) -> None: """ Bgp. @@ -42367,7 +37406,6 @@ def __init__( Args: additional_paths: Subclass of AvdModel. redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. - _custom_data: _custom_data """ @@ -42377,21 +37415,14 @@ class PeerGroupsItem(AvdModel): class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"always": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"always": {"type": bool}, "route_map": {"type": str}} always: bool | None route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - always: bool | None | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ DefaultOriginate. @@ -42401,20 +37432,13 @@ def __init__( Args: always: always route_map: Route-map name. - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "prefix_list": {"type": str}, - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" receive: bool | None @@ -42435,7 +37459,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42446,7 +37469,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -42469,7 +37491,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -42479,20 +37500,13 @@ class NextHop(AvdModel): class AddressFamilyIpv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "originate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "originate": {"type": bool}} enabled: bool originate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - originate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, originate: bool | None | UndefinedType = Undefined) -> None: """ AddressFamilyIpv6. @@ -42502,23 +37516,16 @@ def __init__( Args: enabled: enabled originate: originate - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"address_family_ipv6": {"type": AddressFamilyIpv6}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address_family_ipv6": {"type": AddressFamilyIpv6}} address_family_ipv6: AddressFamilyIpv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address_family_ipv6: AddressFamilyIpv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address_family_ipv6: AddressFamilyIpv6 | UndefinedType = Undefined) -> None: """ NextHop. @@ -42527,7 +37534,6 @@ def __init__( Args: address_family_ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42543,7 +37549,6 @@ def __init__( "prefix_list_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, "next_hop": {"type": NextHop}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -42572,7 +37577,6 @@ def __init__( """Subclass of AvdModel.""" next_hop: NextHop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42590,7 +37594,6 @@ def __init__( prefix_list_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, next_hop: NextHop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -42614,7 +37617,6 @@ def __init__( prefix_list_out: Outbound prefix-list name. additional_paths: Subclass of AvdModel. next_hop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42631,20 +37633,13 @@ class NeighborsItem(AvdModel): class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"always": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"always": {"type": bool}, "route_map": {"type": str}} always: bool | None route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - always: bool | None | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ DefaultOriginate. @@ -42654,20 +37649,13 @@ def __init__( Args: always: always route_map: route_map - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "prefix_list": {"type": str}, - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" receive: bool | None @@ -42688,7 +37676,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42699,7 +37686,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -42722,7 +37708,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -42737,7 +37722,6 @@ def __init__( "prefix_list_out": {"type": str}, "default_originate": {"type": DefaultOriginate}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -42763,7 +37747,6 @@ def __init__( """Subclass of AvdModel.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42780,7 +37763,6 @@ def __init__( prefix_list_out: str | None | UndefinedType = Undefined, default_originate: DefaultOriginate | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -42803,7 +37785,6 @@ def __init__( prefix_list_out: Prefix-list name. default_originate: Subclass of AvdModel. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42820,20 +37801,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -42843,27 +37817,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -42873,20 +37839,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -42898,7 +37857,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42909,7 +37867,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -42926,14 +37883,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -42943,7 +37899,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42953,7 +37908,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -42969,7 +37923,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -42982,7 +37935,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -42997,7 +37949,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43009,7 +37960,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -43027,7 +37977,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43037,17 +37986,11 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43057,7 +38000,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -43069,24 +38011,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43096,7 +38031,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -43108,7 +38042,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43120,7 +38053,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -43128,7 +38060,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43139,7 +38070,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -43152,7 +38082,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43163,7 +38092,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -43188,7 +38116,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43201,7 +38128,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -43225,7 +38151,6 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43235,17 +38160,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43255,7 +38174,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -43267,24 +38185,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43294,7 +38205,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -43306,7 +38216,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43318,7 +38227,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -43326,7 +38234,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43337,7 +38244,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -43350,7 +38256,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -43361,7 +38266,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -43386,7 +38290,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43399,7 +38302,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -43423,27 +38325,19 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Rip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Rip. @@ -43453,20 +38347,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -43478,7 +38365,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43489,7 +38375,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -43506,14 +38391,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -43522,17 +38406,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -43546,7 +38423,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -43561,7 +38437,6 @@ def __init__( "rip": {"type": Rip}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -43583,7 +38458,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43600,7 +38474,6 @@ def __init__( rip: Rip | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -43619,7 +38492,6 @@ def __init__( rip: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -43632,7 +38504,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["attached-host", "bgp", "connected", "dynamic", "isis", "ospf", "ospfv3", "rip", "static", "user"] route_map: str | None @@ -43653,7 +38524,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43668,7 +38538,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -43691,7 +38560,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -43707,7 +38575,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "neighbors": {"type": Neighbors}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } networks: Networks """Subclass of AvdIndexedList with `NetworksItem` items. Primary key is `prefix` (`str`).""" @@ -43725,7 +38592,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43738,7 +38604,6 @@ def __init__( neighbors: Neighbors | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4. @@ -43756,7 +38621,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -43766,11 +38630,10 @@ class AddressFamilyIpv4LabeledUnicast(AvdModel): class AigpSession(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"confederation": {"type": bool}, "ebgp": {"type": bool}, "ibgp": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"confederation": {"type": bool}, "ebgp": {"type": bool}, "ibgp": {"type": bool}} confederation: bool | None ebgp: bool | None ibgp: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43780,7 +38643,6 @@ def __init__( confederation: bool | None | UndefinedType = Undefined, ebgp: bool | None | UndefinedType = Undefined, ibgp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AigpSession. @@ -43792,7 +38654,6 @@ def __init__( confederation: confederation ebgp: ebgp ibgp: ibgp - _custom_data: _custom_data """ @@ -43802,7 +38663,7 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -43821,7 +38682,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43831,7 +38691,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -43853,7 +38712,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -43868,7 +38726,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -43878,7 +38735,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43889,7 +38745,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -43902,7 +38757,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -43914,7 +38768,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -43924,7 +38777,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43935,7 +38787,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -43948,11 +38799,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -43965,16 +38815,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -43991,7 +38836,6 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -43999,7 +38843,6 @@ def __init__( "additional_paths": {"type": AdditionalPaths}, "missing_policy": {"type": MissingPolicy}, "next_hop_unchanged": {"type": bool}, - "_custom_data": {"type": dict}, } additional_paths: AdditionalPaths """Subclass of AvdModel.""" @@ -44010,7 +38853,6 @@ def __init__( Subclass of AvdModel. """ next_hop_unchanged: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44020,7 +38862,6 @@ def __init__( additional_paths: AdditionalPaths | UndefinedType = Undefined, missing_policy: MissingPolicy | UndefinedType = Undefined, next_hop_unchanged: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -44035,22 +38876,18 @@ def __init__( Subclass of AvdModel. next_hop_unchanged: next_hop_unchanged - _custom_data: _custom_data """ class NeighborDefault(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"next_hop_self": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"next_hop_self": {"type": bool}} next_hop_self: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, next_hop_self: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, next_hop_self: bool | None | UndefinedType = Undefined) -> None: """ NeighborDefault. @@ -44059,7 +38896,6 @@ def __init__( Args: next_hop_self: next_hop_self - _custom_data: _custom_data """ @@ -44069,7 +38905,7 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -44088,7 +38924,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44098,7 +38933,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -44120,22 +38954,18 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ class GracefulRestartHelper(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"stale_route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"stale_route_map": {"type": str}} stale_route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, stale_route_map: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, stale_route_map: str | None | UndefinedType = Undefined) -> None: """ GracefulRestartHelper. @@ -44144,7 +38974,6 @@ def __init__( Args: stale_route_map: stale_route_map - _custom_data: _custom_data """ @@ -44159,7 +38988,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -44169,7 +38997,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44180,7 +39007,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -44193,7 +39019,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -44205,7 +39030,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -44215,7 +39039,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44226,7 +39049,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -44239,11 +39061,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -44256,16 +39077,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -44282,7 +39098,6 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44305,7 +39120,6 @@ def __init__( "rcf_out": {"type": str}, "route_map_in": {"type": str}, "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -44351,7 +39165,6 @@ def __init__( """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44376,7 +39189,6 @@ def __init__( rcf_out: str | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -44413,7 +39225,6 @@ def __init__( Example: MyFunction(myarg). route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -44430,7 +39241,7 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -44449,7 +39260,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44459,7 +39269,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -44481,22 +39290,18 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ class GracefulRestartHelper(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"stale_route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"stale_route_map": {"type": str}} stale_route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, stale_route_map: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, stale_route_map: str | None | UndefinedType = Undefined) -> None: """ GracefulRestartHelper. @@ -44505,7 +39310,6 @@ def __init__( Args: stale_route_map: stale_route_map - _custom_data: _custom_data """ @@ -44520,7 +39324,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -44530,7 +39333,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44541,7 +39343,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -44554,7 +39355,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -44566,7 +39366,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -44576,7 +39375,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44587,7 +39385,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -44600,11 +39397,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -44617,16 +39413,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -44643,7 +39434,6 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44666,7 +39456,6 @@ def __init__( "rcf_out": {"type": str}, "route_map_in": {"type": str}, "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -44711,7 +39500,6 @@ def __init__( """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44736,7 +39524,6 @@ def __init__( rcf_out: str | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -44773,7 +39560,6 @@ def __init__( Example: MyFunction(myarg). route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -44787,22 +39573,15 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -44812,7 +39591,6 @@ def __init__( Args: prefix: IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: Route-map name. - _custom_data: _custom_data """ @@ -44826,19 +39604,14 @@ class Networks(AvdIndexedList[str, NetworksItem]): class NextHopsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "lfib_backup_ip_forwarding": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "lfib_backup_ip_forwarding": {"type": bool}} ip_address: str lfib_backup_ip_forwarding: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - lfib_backup_ip_forwarding: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ip_address: str | UndefinedType = Undefined, lfib_backup_ip_forwarding: bool | None | UndefinedType = Undefined ) -> None: """ NextHopsItem. @@ -44849,7 +39622,6 @@ def __init__( Args: ip_address: ip_address lfib_backup_ip_forwarding: lfib_backup_ip_forwarding - _custom_data: _custom_data """ @@ -44863,12 +39635,11 @@ class NextHops(AvdIndexedList[str, NextHopsItem]): class NextHopResolutionRibsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rib_type": {"type": str}, "rib_name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rib_type": {"type": str}, "rib_name": {"type": str}} rib_type: Literal["system-connected", "tunnel-rib-colored", "tunnel-rib"] """Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use.""" rib_name: str | None """The name of the tunnel-rib to use when using 'tunnel-rib' type.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44877,7 +39648,6 @@ def __init__( *, rib_type: Literal["system-connected", "tunnel-rib-colored", "tunnel-rib"] | UndefinedType = Undefined, rib_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NextHopResolutionRibsItem. @@ -44888,7 +39658,6 @@ def __init__( Args: rib_type: Type of RIB. For 'tunnel-rib', use 'rib_name' to specify the name of the Tunnel-RIB to use. rib_name: The name of the tunnel-rib to use when using 'tunnel-rib' type. - _custom_data: _custom_data """ @@ -44900,23 +39669,18 @@ class NextHopResolutionRibs(AvdList[NextHopResolutionRibsItem]): class TunnelSourceProtocolsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"protocol": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"protocol": {"type": str}, "rcf": {"type": str}} protocol: Literal["isis segment-routing", "ldp"] rcf: str | None """ Optional RCF function name with parenthesis. Example: MyFunction(myarg). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - protocol: Literal["isis segment-routing", "ldp"] | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, protocol: Literal["isis segment-routing", "ldp"] | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined ) -> None: """ TunnelSourceProtocolsItem. @@ -44929,7 +39693,6 @@ def __init__( rcf: Optional RCF function name with parenthesis. Example: MyFunction(myarg). - _custom_data: _custom_data """ @@ -44957,7 +39720,6 @@ class TunnelSourceProtocols(AvdIndexedList[str, TunnelSourceProtocolsItem]): "next_hop_resolution_ribs": {"type": NextHopResolutionRibs}, "tunnel_source_protocols": {"type": TunnelSourceProtocols}, "update_wait_for_convergence": {"type": bool}, - "_custom_data": {"type": dict}, } aigp_session: AigpSession """Subclass of AvdModel.""" @@ -44991,7 +39753,6 @@ class TunnelSourceProtocols(AvdIndexedList[str, TunnelSourceProtocolsItem]): """ update_wait_for_convergence: bool | None """Wait for BGP to converge before sending out any route updates.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45011,7 +39772,6 @@ def __init__( next_hop_resolution_ribs: NextHopResolutionRibs | UndefinedType = Undefined, tunnel_source_protocols: TunnelSourceProtocols | UndefinedType = Undefined, update_wait_for_convergence: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4LabeledUnicast. @@ -45039,7 +39799,6 @@ def __init__( Subclass of AvdIndexedList with `TunnelSourceProtocolsItem` items. Primary key is `protocol` (`str`). update_wait_for_convergence: Wait for BGP to converge before sending out any route updates. - _custom_data: _custom_data """ @@ -45052,15 +39811,12 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -45069,20 +39825,16 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}} additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined) -> None: """ Bgp. @@ -45091,7 +39843,6 @@ def __init__( Args: additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -45101,15 +39852,12 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -45118,7 +39866,6 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ @@ -45128,7 +39875,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -45139,7 +39885,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45151,7 +39896,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -45165,7 +39909,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -45182,15 +39925,12 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -45199,7 +39939,6 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ @@ -45209,7 +39948,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -45219,7 +39957,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45231,7 +39968,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -45245,7 +39981,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -45262,20 +39997,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -45285,27 +40013,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Connected. @@ -45315,7 +40035,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -45328,7 +40047,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -45343,7 +40061,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45355,7 +40072,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -45373,7 +40089,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -45383,20 +40098,13 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -45406,27 +40114,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -45436,24 +40136,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45463,7 +40156,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -45475,7 +40167,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -45485,7 +40176,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -45508,7 +40198,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45520,7 +40209,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -45543,7 +40231,6 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ @@ -45553,20 +40240,13 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -45576,27 +40256,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -45606,24 +40278,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45633,7 +40298,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -45645,7 +40309,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -45655,7 +40318,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -45678,7 +40340,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45690,7 +40351,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -45713,27 +40373,19 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Static. @@ -45743,7 +40395,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -45754,7 +40405,6 @@ def __init__( "ospf": {"type": Ospf}, "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -45768,7 +40418,6 @@ def __init__( """Subclass of AvdModel.""" static: Static """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45781,7 +40430,6 @@ def __init__( ospf: Ospf | UndefinedType = Undefined, ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -45796,7 +40444,6 @@ def __init__( ospf: Subclass of AvdModel. ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -45809,7 +40456,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: str route_map: str | None @@ -45829,7 +40475,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45843,7 +40488,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -45865,7 +40509,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -45880,7 +40523,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "neighbors": {"type": Neighbors}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -45896,7 +40538,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45908,7 +40549,6 @@ def __init__( neighbors: Neighbors | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4Multicast. @@ -45925,7 +40565,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -45940,7 +40579,6 @@ class NeighborsItem(AvdModel): "activate": {"type": bool}, "route_map_in": {"type": str}, "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -45948,7 +40586,6 @@ class NeighborsItem(AvdModel): """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45959,7 +40596,6 @@ def __init__( activate: bool | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -45972,7 +40608,6 @@ def __init__( activate: activate route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -45986,13 +40621,7 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "route_map_in": {"type": str}, - "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "route_map_in": {"type": str}, "route_map_out": {"type": str}} name: str """Peer-group name.""" activate: bool | None @@ -46000,7 +40629,6 @@ class PeerGroupsItem(AvdModel): """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46011,7 +40639,6 @@ def __init__( activate: bool | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -46024,7 +40651,6 @@ def __init__( activate: activate route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -46035,22 +40661,15 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = {"neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - neighbors: Neighbors | UndefinedType = Undefined, - peer_groups: PeerGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, neighbors: Neighbors | UndefinedType = Undefined, peer_groups: PeerGroups | UndefinedType = Undefined) -> None: """ AddressFamilyIpv4SrTe. @@ -46060,7 +40679,6 @@ def __init__( Args: neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -46070,22 +40688,15 @@ class AddressFamilyIpv6(AvdModel): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -46095,7 +40706,6 @@ def __init__( Args: prefix: IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: Route-map name. - _custom_data: _custom_data """ @@ -46118,7 +40728,6 @@ class AdditionalPaths(AvdModel): "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, - "_custom_data": {"type": dict}, } install: bool | None """Install BGP backup path.""" @@ -46142,7 +40751,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46154,7 +40762,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -46178,29 +40785,19 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "redistribute_internal": {"type": bool}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"redistribute_internal": {"type": bool}, "additional_paths": {"type": AdditionalPaths}} redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - redistribute_internal: bool | None | UndefinedType = Undefined, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, redistribute_internal: bool | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined ) -> None: """ Bgp. @@ -46211,7 +40808,6 @@ def __init__( Args: redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -46221,13 +40817,7 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "prefix_list": {"type": str}, - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" receive: bool | None @@ -46248,7 +40838,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46259,7 +40848,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -46282,7 +40870,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -46296,7 +40883,6 @@ def __init__( "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -46321,7 +40907,6 @@ def __init__( """Outbound prefix-list name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46337,7 +40922,6 @@ def __init__( prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -46359,7 +40943,6 @@ def __init__( prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -46376,13 +40959,7 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "prefix_list": {"type": str}, - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} prefix_list: str | None """Apply the configurations only to the routes matching the prefix list.""" receive: bool | None @@ -46403,7 +40980,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46414,7 +40990,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -46437,7 +41012,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -46451,7 +41025,6 @@ def __init__( "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -46475,7 +41048,6 @@ def __init__( """Outbound prefix-list name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46491,7 +41063,6 @@ def __init__( prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -46513,7 +41084,6 @@ def __init__( prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -46530,20 +41100,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -46553,27 +41116,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -46583,20 +41138,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -46608,7 +41156,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46619,7 +41166,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -46636,27 +41182,19 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dhcp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Dhcp. @@ -46666,14 +41204,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -46683,7 +41220,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46693,7 +41229,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -46709,7 +41244,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -46722,7 +41256,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -46737,7 +41270,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46749,7 +41281,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -46767,7 +41298,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -46777,17 +41307,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46797,7 +41321,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -46809,24 +41332,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46836,7 +41352,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -46848,7 +41363,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -46860,7 +41374,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -46868,7 +41381,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46879,7 +41391,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -46892,7 +41403,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -46903,7 +41413,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -46928,7 +41437,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46941,7 +41449,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -46965,20 +41472,13 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -46990,7 +41490,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47001,7 +41500,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -47018,14 +41516,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -47034,17 +41531,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -47058,7 +41548,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -47072,7 +41561,6 @@ def __init__( "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -47092,7 +41580,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47108,7 +41595,6 @@ def __init__( ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -47126,7 +41612,6 @@ def __init__( ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47139,7 +41624,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: str route_map: str | None @@ -47158,7 +41642,6 @@ class RedistributeRoutesItem(AvdModel): Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47172,7 +41655,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -47194,7 +41676,6 @@ def __init__( ospf_route_type: Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospfv3'. - _custom_data: _custom_data """ @@ -47210,7 +41691,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "neighbors": {"type": Neighbors}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } networks: Networks """Subclass of AvdIndexedList with `NetworksItem` items. Primary key is `prefix` (`str`).""" @@ -47228,7 +41708,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47241,7 +41720,6 @@ def __init__( neighbors: Neighbors | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6. @@ -47259,7 +41737,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -47272,10 +41749,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47284,7 +41760,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -47295,22 +41770,18 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -47319,29 +41790,19 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "missing_policy": {"type": MissingPolicy}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "additional_paths": {"type": AdditionalPaths}} missing_policy: MissingPolicy """Subclass of AvdModel.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - missing_policy: MissingPolicy | UndefinedType = Undefined, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined ) -> None: """ Bgp. @@ -47352,7 +41813,6 @@ def __init__( Args: missing_policy: Subclass of AvdModel. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47362,15 +41822,12 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -47379,7 +41836,6 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ @@ -47389,7 +41845,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -47399,7 +41854,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47411,7 +41865,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -47425,7 +41878,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47442,15 +41894,12 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -47459,22 +41908,15 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "additional_paths": {"type": AdditionalPaths}} name: str """Peer-group name.""" activate: bool | None additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47484,7 +41926,6 @@ def __init__( name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -47496,7 +41937,6 @@ def __init__( name: Peer-group name. activate: activate additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47510,21 +41950,14 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -47534,7 +41967,6 @@ def __init__( Args: prefix: IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: route_map - _custom_data: _custom_data """ @@ -47551,20 +41983,13 @@ class Redistribute(AvdModel): class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Connected. @@ -47574,7 +41999,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -47587,7 +42011,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -47602,7 +42025,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47614,7 +42036,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -47632,7 +42053,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -47642,20 +42062,13 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -47665,27 +42078,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -47695,24 +42100,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47722,7 +42120,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -47734,7 +42131,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -47744,7 +42140,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -47767,7 +42162,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47779,7 +42173,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -47802,7 +42195,6 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ @@ -47812,20 +42204,13 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -47835,27 +42220,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -47865,24 +42242,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47892,7 +42262,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -47904,7 +42273,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -47914,7 +42282,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -47937,7 +42304,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47949,7 +42315,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -47972,27 +42337,19 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Static. @@ -48002,7 +42359,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -48012,7 +42368,6 @@ def __init__( "ospf": {"type": Ospf}, "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, - "_custom_data": {"type": dict}, } connected: Connected """Subclass of AvdModel.""" @@ -48024,7 +42379,6 @@ def __init__( """Subclass of AvdModel.""" static: Static """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48036,7 +42390,6 @@ def __init__( ospf: Ospf | UndefinedType = Undefined, ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -48050,7 +42403,6 @@ def __init__( ospf: Subclass of AvdModel. ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48063,7 +42415,6 @@ class RedistributeRoutesItem(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["connected", "isis", "ospf", "ospfv3", "static"] include_leaked: bool | None @@ -48083,7 +42434,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48097,7 +42447,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -48119,7 +42468,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -48135,7 +42483,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "networks": {"type": Networks}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -48153,7 +42500,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48166,7 +42512,6 @@ def __init__( networks: Networks | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6Multicast. @@ -48184,7 +42529,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -48199,7 +42543,6 @@ class NeighborsItem(AvdModel): "activate": {"type": bool}, "route_map_in": {"type": str}, "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -48207,7 +42550,6 @@ class NeighborsItem(AvdModel): """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48218,7 +42560,6 @@ def __init__( activate: bool | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -48231,7 +42572,6 @@ def __init__( activate: activate route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -48245,13 +42585,7 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "route_map_in": {"type": str}, - "route_map_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "route_map_in": {"type": str}, "route_map_out": {"type": str}} name: str """Peer-group name.""" activate: bool | None @@ -48259,7 +42593,6 @@ class PeerGroupsItem(AvdModel): """Inbound route-map name.""" route_map_out: str | None """Outbound route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48270,7 +42603,6 @@ def __init__( activate: bool | None | UndefinedType = Undefined, route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -48283,7 +42615,6 @@ def __init__( activate: activate route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. - _custom_data: _custom_data """ @@ -48294,22 +42625,15 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = {"neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - neighbors: Neighbors | UndefinedType = Undefined, - peer_groups: PeerGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, neighbors: Neighbors | UndefinedType = Undefined, peer_groups: PeerGroups | UndefinedType = Undefined) -> None: """ AddressFamilyIpv6SrTe. @@ -48319,7 +42643,6 @@ def __init__( Args: neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -48332,10 +42655,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48344,7 +42666,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -48355,20 +42676,16 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}} missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, missing_policy: MissingPolicy | UndefinedType = Undefined) -> None: """ Bgp. @@ -48377,7 +42694,6 @@ def __init__( Args: missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48387,10 +42703,9 @@ class PeerGroupsItem(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48399,7 +42714,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -48410,22 +42724,15 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "missing_policy": {"type": MissingPolicy}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "missing_policy": {"type": MissingPolicy}} name: str """Peer-group name.""" activate: bool | None missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48435,7 +42742,6 @@ def __init__( name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, missing_policy: MissingPolicy | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -48447,7 +42753,6 @@ def __init__( name: Peer-group name. activate: activate missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48464,10 +42769,9 @@ class NeighborsItem(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48476,7 +42780,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -48487,21 +42790,14 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "ip_address": {"type": str}, - "activate": {"type": bool}, - "missing_policy": {"type": MissingPolicy}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "missing_policy": {"type": MissingPolicy}} ip_address: str activate: bool | None missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48511,7 +42807,6 @@ def __init__( ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, missing_policy: MissingPolicy | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -48523,7 +42818,6 @@ def __init__( ip_address: ip_address activate: activate missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48540,16 +42834,10 @@ class PathSelection(AvdModel): class Roles(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "producer": {"type": bool}, - "consumer": {"type": bool}, - "propagator": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"producer": {"type": bool}, "consumer": {"type": bool}, "propagator": {"type": bool}} producer: bool | None consumer: bool | None propagator: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48559,7 +42847,6 @@ def __init__( producer: bool | None | UndefinedType = Undefined, consumer: bool | None | UndefinedType = Undefined, propagator: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Roles. @@ -48571,18 +42858,16 @@ def __init__( producer: producer consumer: consumer propagator: propagator - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"roles": {"type": Roles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"roles": {"type": Roles}} roles: Roles """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, roles: Roles | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, roles: Roles | UndefinedType = Undefined) -> None: """ PathSelection. @@ -48591,7 +42876,6 @@ def __init__(self, *, roles: Roles | UndefinedType = Undefined, _custom_data: di Args: roles: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48600,7 +42884,6 @@ def __init__(self, *, roles: Roles | UndefinedType = Undefined, _custom_data: di "peer_groups": {"type": PeerGroups}, "neighbors": {"type": Neighbors}, "path_selection": {"type": PathSelection}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -48610,7 +42893,6 @@ def __init__(self, *, roles: Roles | UndefinedType = Undefined, _custom_data: di """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" path_selection: PathSelection """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48621,7 +42903,6 @@ def __init__( peer_groups: PeerGroups | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, path_selection: PathSelection | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyLinkState. @@ -48634,7 +42915,6 @@ def __init__( peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). path_selection: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48647,10 +42927,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48659,7 +42938,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -48670,20 +42948,16 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}} missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, missing_policy: MissingPolicy | UndefinedType = Undefined) -> None: """ Bgp. @@ -48692,27 +42966,19 @@ def __init__( Args: missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ class NeighborsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}} ip_address: str activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ NeighborsItem. @@ -48722,7 +42988,6 @@ def __init__( Args: ip_address: ip_address activate: activate - _custom_data: _custom_data """ @@ -48736,21 +43001,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}} name: str """Peer-group name.""" activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ PeerGroupsItem. @@ -48760,7 +43018,6 @@ def __init__( Args: name: Peer-group name. activate: activate - _custom_data: _custom_data """ @@ -48771,19 +43028,13 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = { - "bgp": {"type": Bgp}, - "neighbors": {"type": Neighbors}, - "peer_groups": {"type": PeerGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} bgp: Bgp """Subclass of AvdModel.""" neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48793,7 +43044,6 @@ def __init__( bgp: Bgp | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, peer_groups: PeerGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyFlowSpecIpv4. @@ -48805,7 +43055,6 @@ def __init__( bgp: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -48818,10 +43067,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48830,7 +43078,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -48841,20 +43088,16 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}} missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, missing_policy: MissingPolicy | UndefinedType = Undefined) -> None: """ Bgp. @@ -48863,27 +43106,19 @@ def __init__( Args: missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ class NeighborsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}} ip_address: str activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ NeighborsItem. @@ -48893,7 +43128,6 @@ def __init__( Args: ip_address: ip_address activate: activate - _custom_data: _custom_data """ @@ -48907,21 +43141,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class PeerGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}} name: str """Peer-group name.""" activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ PeerGroupsItem. @@ -48931,7 +43158,6 @@ def __init__( Args: name: Peer-group name. activate: activate - _custom_data: _custom_data """ @@ -48942,19 +43168,13 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = { - "bgp": {"type": Bgp}, - "neighbors": {"type": Neighbors}, - "peer_groups": {"type": PeerGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} bgp: Bgp """Subclass of AvdModel.""" neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48964,7 +43184,6 @@ def __init__( bgp: Bgp | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, peer_groups: PeerGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyFlowSpecIpv6. @@ -48976,7 +43195,6 @@ def __init__( bgp: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -48989,7 +43207,7 @@ class Bgp(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -49008,7 +43226,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49018,7 +43235,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -49040,20 +43256,16 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"additional_paths": {"type": AdditionalPaths}} additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, additional_paths: AdditionalPaths | UndefinedType = Undefined) -> None: """ Bgp. @@ -49062,7 +43274,6 @@ def __init__( Args: additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49072,7 +43283,7 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -49091,7 +43302,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49101,7 +43311,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -49123,21 +43332,14 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "ip_address": {"type": str}, - "activate": {"type": bool}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "additional_paths": {"type": AdditionalPaths}} ip_address: str activate: bool | None additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49147,7 +43349,6 @@ def __init__( ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -49159,7 +43360,6 @@ def __init__( ip_address: ip_address activate: activate additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49176,7 +43376,7 @@ class PeerGroupsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -49195,7 +43395,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49205,7 +43404,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -49227,22 +43425,15 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "activate": {"type": bool}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "activate": {"type": bool}, "additional_paths": {"type": AdditionalPaths}} name: str """Peer-group name.""" activate: bool | None additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49252,7 +43443,6 @@ def __init__( name: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -49264,7 +43454,6 @@ def __init__( name: Peer-group name. activate: activate additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49275,19 +43464,13 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): PeerGroups._item_type = PeerGroupsItem - _fields: ClassVar[dict] = { - "bgp": {"type": Bgp}, - "neighbors": {"type": Neighbors}, - "peer_groups": {"type": PeerGroups}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}, "peer_groups": {"type": PeerGroups}} bgp: Bgp """Subclass of AvdModel.""" neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" peer_groups: PeerGroups """Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49297,7 +43480,6 @@ def __init__( bgp: Bgp | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, peer_groups: PeerGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyPathSelection. @@ -49309,7 +43491,6 @@ def __init__( bgp: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). peer_groups: Subclass of AvdIndexedList with `PeerGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -49322,7 +43503,7 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -49330,7 +43511,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49340,7 +43520,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -49354,7 +43533,6 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ @@ -49366,7 +43544,6 @@ def __init__( "rcf_in": {"type": str}, "rcf_out": {"type": str}, "default_route": {"type": DefaultRoute}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -49387,7 +43564,6 @@ def __init__( """ default_route: DefaultRoute """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49401,7 +43577,6 @@ def __init__( rcf_in: str | None | UndefinedType = Undefined, rcf_out: str | None | UndefinedType = Undefined, default_route: DefaultRoute | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -49421,7 +43596,6 @@ def __init__( Outbound RCF function name with parenthesis. Example: MyFunction(myarg). default_route: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49435,18 +43609,12 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class Route(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"import_match_failure_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"import_match_failure_action": {"type": str}} import_match_failure_action: Literal["discard"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - import_match_failure_action: Literal["discard"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, import_match_failure_action: Literal["discard"] | None | UndefinedType = Undefined) -> None: """ Route. @@ -49455,7 +43623,6 @@ def __init__( Args: import_match_failure_action: import_match_failure_action - _custom_data: _custom_data """ @@ -49465,7 +43632,7 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -49473,7 +43640,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49483,7 +43649,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -49497,7 +43662,6 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ @@ -49509,7 +43673,6 @@ def __init__( "rcf_in": {"type": str}, "rcf_out": {"type": str}, "default_route": {"type": DefaultRoute}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -49529,7 +43692,6 @@ def __init__( """ default_route: DefaultRoute """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49543,7 +43705,6 @@ def __init__( rcf_in: str | None | UndefinedType = Undefined, rcf_out: str | None | UndefinedType = Undefined, default_route: DefaultRoute | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -49563,7 +43724,6 @@ def __init__( Outbound RCF function name with parenthesis. Example: MyFunction(myarg). default_route: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49577,15 +43737,12 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NeighborDefaultEncapsulationMplsNextHopSelf(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source_interface": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_interface": {"type": str}} source_interface: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, source_interface: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, source_interface: str | None | UndefinedType = Undefined) -> None: """ NeighborDefaultEncapsulationMplsNextHopSelf. @@ -49594,7 +43751,6 @@ def __init__( Args: source_interface: source_interface - _custom_data: _custom_data """ @@ -49604,7 +43760,6 @@ def __init__( "route": {"type": Route}, "neighbors": {"type": Neighbors}, "neighbor_default_encapsulation_mpls_next_hop_self": {"type": NeighborDefaultEncapsulationMplsNextHopSelf}, - "_custom_data": {"type": dict}, } domain_identifier: str | None peer_groups: PeerGroups @@ -49615,7 +43770,6 @@ def __init__( """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" neighbor_default_encapsulation_mpls_next_hop_self: NeighborDefaultEncapsulationMplsNextHopSelf """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49627,7 +43781,6 @@ def __init__( route: Route | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, neighbor_default_encapsulation_mpls_next_hop_self: NeighborDefaultEncapsulationMplsNextHopSelf | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyVpnIpv4. @@ -49641,7 +43794,6 @@ def __init__( route: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). neighbor_default_encapsulation_mpls_next_hop_self: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49654,7 +43806,7 @@ class PeerGroupsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -49662,7 +43814,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49672,7 +43823,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -49686,7 +43836,6 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ @@ -49698,7 +43847,6 @@ def __init__( "rcf_in": {"type": str}, "rcf_out": {"type": str}, "default_route": {"type": DefaultRoute}, - "_custom_data": {"type": dict}, } name: str """Peer-group name.""" @@ -49719,7 +43867,6 @@ def __init__( """ default_route: DefaultRoute """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49733,7 +43880,6 @@ def __init__( rcf_in: str | None | UndefinedType = Undefined, rcf_out: str | None | UndefinedType = Undefined, default_route: DefaultRoute | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeerGroupsItem. @@ -49753,7 +43899,6 @@ def __init__( Outbound RCF function name with parenthesis. Example: MyFunction(myarg). default_route: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49767,18 +43912,12 @@ class PeerGroups(AvdIndexedList[str, PeerGroupsItem]): class Route(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"import_match_failure_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"import_match_failure_action": {"type": str}} import_match_failure_action: Literal["discard"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - import_match_failure_action: Literal["discard"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, import_match_failure_action: Literal["discard"] | None | UndefinedType = Undefined) -> None: """ Route. @@ -49787,7 +43926,6 @@ def __init__( Args: import_match_failure_action: import_match_failure_action - _custom_data: _custom_data """ @@ -49797,7 +43935,7 @@ class NeighborsItem(AvdModel): class DefaultRoute(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "route_map": {"type": str}} enabled: bool | None rcf: str | None """ @@ -49805,7 +43943,6 @@ class DefaultRoute(AvdModel): Example: MyFunction(myarg). """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49815,7 +43952,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRoute. @@ -49829,7 +43965,6 @@ def __init__( RCF function name with parenthesis. Example: MyFunction(myarg). route_map: route_map - _custom_data: _custom_data """ @@ -49841,7 +43976,6 @@ def __init__( "rcf_in": {"type": str}, "rcf_out": {"type": str}, "default_route": {"type": DefaultRoute}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -49861,7 +43995,6 @@ def __init__( """ default_route: DefaultRoute """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49875,7 +44008,6 @@ def __init__( rcf_in: str | None | UndefinedType = Undefined, rcf_out: str | None | UndefinedType = Undefined, default_route: DefaultRoute | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -49895,7 +44027,6 @@ def __init__( Outbound RCF function name with parenthesis. Example: MyFunction(myarg). default_route: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49909,15 +44040,12 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NeighborDefaultEncapsulationMplsNextHopSelf(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source_interface": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_interface": {"type": str}} source_interface: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, source_interface: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, source_interface: str | None | UndefinedType = Undefined) -> None: """ NeighborDefaultEncapsulationMplsNextHopSelf. @@ -49926,7 +44054,6 @@ def __init__( Args: source_interface: source_interface - _custom_data: _custom_data """ @@ -49936,7 +44063,6 @@ def __init__( "route": {"type": Route}, "neighbors": {"type": Neighbors}, "neighbor_default_encapsulation_mpls_next_hop_self": {"type": NeighborDefaultEncapsulationMplsNextHopSelf}, - "_custom_data": {"type": dict}, } domain_identifier: str | None peer_groups: PeerGroups @@ -49947,7 +44073,6 @@ def __init__( """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" neighbor_default_encapsulation_mpls_next_hop_self: NeighborDefaultEncapsulationMplsNextHopSelf """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49959,7 +44084,6 @@ def __init__( route: Route | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined, neighbor_default_encapsulation_mpls_next_hop_self: NeighborDefaultEncapsulationMplsNextHopSelf | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyVpnIpv6. @@ -49973,7 +44097,6 @@ def __init__( route: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). neighbor_default_encapsulation_mpls_next_hop_self: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49992,7 +44115,6 @@ class AdditionalPaths(AvdModel): "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, - "_custom_data": {"type": dict}, } install: bool | None """Install BGP backup path.""" @@ -50016,7 +44138,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50028,7 +44149,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -50052,29 +44172,19 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "redistribute_internal": {"type": bool}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"redistribute_internal": {"type": bool}, "additional_paths": {"type": AdditionalPaths}} redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - redistribute_internal: bool | None | UndefinedType = Undefined, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, redistribute_internal: bool | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined ) -> None: """ Bgp. @@ -50085,7 +44195,6 @@ def __init__( Args: redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -50095,16 +44204,13 @@ class EvpnMulticastAddressFamily(AvdModel): class Ipv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"transit": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"transit": {"type": bool}} transit: bool | None """Enable EVPN multicast transit mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, transit: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, transit: bool | None | UndefinedType = Undefined) -> None: """ Ipv4. @@ -50113,18 +44219,16 @@ def __init__( Args: transit: Enable EVPN multicast transit mode. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}} ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ EvpnMulticastAddressFamily. @@ -50133,14 +44237,13 @@ def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict Args: ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ class EvpnMulticastGatewayDrElection(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"algorithm": {"type": str}, "preference_value": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"algorithm": {"type": str}, "preference_value": {"type": int}} algorithm: Literal["hrw", "modulus", "preference"] """ DR election algorithms: @@ -50152,7 +44255,6 @@ class EvpnMulticastGatewayDrElection(AvdModel): """ preference_value: int | None """Required when `algorithm` is `preference`.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50161,7 +44263,6 @@ def __init__( *, algorithm: Literal["hrw", "modulus", "preference"] | UndefinedType = Undefined, preference_value: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnMulticastGatewayDrElection. @@ -50178,20 +44279,13 @@ def __init__( preference: Selection based on a configured preference value. preference_value: Required when `algorithm` is `preference`. - _custom_data: _custom_data """ class DefaultRouteExportsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "address_family": {"type": str}, - "always": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"address_family": {"type": str}, "always": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} address_family: Literal["evpn", "vpn-ipv4", "vpn-ipv6"] always: bool | None route_map: str | None @@ -50200,7 +44294,6 @@ class DefaultRouteExportsItem(AvdModel): RCF function name with parenthesis. Example: MyFunction(myarg). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50211,7 +44304,6 @@ def __init__( always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultRouteExportsItem. @@ -50226,7 +44318,6 @@ def __init__( rcf: RCF function name with parenthesis. Example: MyFunction(myarg). - _custom_data: _custom_data """ @@ -50257,7 +44348,6 @@ class RouteTargets(AvdList[str]): "route_map": {"type": str}, "rcf": {"type": str}, "vpn_route_filter_rcf": {"type": str}, - "_custom_data": {"type": dict}, } address_family: str route_targets: RouteTargets @@ -50278,7 +44368,6 @@ class RouteTargets(AvdList[str]): MyFunction(myarg). Only applicable if `address_family` is one of `vpn-ipv4` or `vpn-ipv6`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50290,7 +44379,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, vpn_route_filter_rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ImportItem. @@ -50312,7 +44400,6 @@ def __init__( Example: # fmt: skip MyFunction(myarg). Only applicable if `address_family` is one of `vpn-ipv4` or `vpn-ipv6`. - _custom_data: _custom_data """ @@ -50337,7 +44424,6 @@ class RouteTargets(AvdList[str]): "route_map": {"type": str}, "rcf": {"type": str}, "vrf_route_filter_rcf": {"type": str}, - "_custom_data": {"type": dict}, } address_family: str route_targets: RouteTargets @@ -50358,7 +44444,6 @@ class RouteTargets(AvdList[str]): MyFunction(myarg). Only applicable if `address_family` is one of `vpn-ipv4` or `vpn-ipv6`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50370,7 +44455,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, vrf_route_filter_rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ExportItem. @@ -50392,7 +44476,6 @@ def __init__( Example: # fmt: skip MyFunction(myarg). Only applicable if `address_family` is one of `vpn-ipv4` or `vpn-ipv6`. - _custom_data: _custom_data """ @@ -50403,24 +44486,17 @@ class Export(AvdIndexedList[str, ExportItem]): Export._item_type = ExportItem - _fields: ClassVar[dict] = {"field_import": {"type": Import}, "export": {"type": Export}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"field_import": {"type": Import}, "export": {"type": Export}} _field_to_key_map: ClassVar[dict] = {"field_import": "import"} _key_to_field_map: ClassVar[dict] = {"import": "field_import"} field_import: Import """Subclass of AvdIndexedList with `ImportItem` items. Primary key is `address_family` (`str`).""" export: Export """Subclass of AvdIndexedList with `ExportItem` items. Primary key is `address_family` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - field_import: Import | UndefinedType = Undefined, - export: Export | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, field_import: Import | UndefinedType = Undefined, export: Export | UndefinedType = Undefined) -> None: """ RouteTargets. @@ -50430,28 +44506,20 @@ def __init__( Args: field_import: Subclass of AvdIndexedList with `ImportItem` items. Primary key is `address_family` (`str`). export: Subclass of AvdIndexedList with `ExportItem` items. Primary key is `address_family` (`str`). - _custom_data: _custom_data """ class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -50461,7 +44529,6 @@ def __init__( Args: prefix: IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: route_map - _custom_data: _custom_data """ @@ -50475,20 +44542,13 @@ class Networks(AvdIndexedList[str, NetworksItem]): class MaximumPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"paths": {"type": int}, "ecmp": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"paths": {"type": int}, "ecmp": {"type": int}} paths: int ecmp: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - paths: int | UndefinedType = Undefined, - ecmp: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, paths: int | UndefinedType = Undefined, ecmp: int | None | UndefinedType = Undefined) -> None: """ MaximumPaths. @@ -50498,14 +44558,13 @@ def __init__( Args: paths: paths ecmp: ecmp - _custom_data: _custom_data """ class Updates(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"wait_for_convergence": {"type": bool}, "wait_install": {"type": bool}} wait_for_convergence: bool | None """ Disables FIB updates and route advertisement when the BGP instance is initiated until the BGP @@ -50518,16 +44577,11 @@ class Updates(AvdModel): will eliminate any temporary black holes due to a BGP speaker advertising reachability to a prefix that may not yet be installed into the forwarding plane. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - wait_for_convergence: bool | None | UndefinedType = Undefined, - wait_install: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, wait_for_convergence: bool | None | UndefinedType = Undefined, wait_install: bool | None | UndefinedType = Undefined ) -> None: """ Updates. @@ -50544,7 +44598,6 @@ def __init__( This will eliminate any temporary black holes due to a BGP speaker advertising reachability to a prefix that may not yet be installed into the forwarding plane. - _custom_data: _custom_data """ @@ -50557,7 +44610,6 @@ class ListenRangesItem(AvdModel): "peer_group": {"type": str}, "peer_filter": {"type": str}, "remote_as": {"type": str}, - "_custom_data": {"type": dict}, } prefix: str | None """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -50579,7 +44631,6 @@ class ListenRangesItem(AvdModel): YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50591,7 +44642,6 @@ def __init__( peer_group: str | None | UndefinedType = Undefined, peer_filter: str | None | UndefinedType = Undefined, remote_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ListenRangesItem. @@ -50613,7 +44663,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -50628,11 +44677,10 @@ class NeighborsItem(AvdModel): class RemovePrivateAs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None all: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50642,7 +44690,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemovePrivateAs. @@ -50654,27 +44701,19 @@ def __init__( enabled: enabled all: all replace_as: replace_as - _custom_data: _custom_data """ class RemovePrivateAsIngress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined) -> None: """ RemovePrivateAsIngress. @@ -50684,19 +44723,17 @@ def __init__( Args: enabled: enabled replace_as: replace_as - _custom_data: _custom_data """ class AsPath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} remote_as_replace_out: bool | None """Replace AS number with local AS number.""" prepend_own_disabled: bool | None """Disable prepending own AS number to AS path.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50705,7 +44742,6 @@ def __init__( *, remote_as_replace_out: bool | None | UndefinedType = Undefined, prepend_own_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AsPath. @@ -50716,20 +44752,18 @@ def __init__( Args: remote_as_replace_out: Replace AS number with local AS number. prepend_own_disabled: Disable prepending own AS number to AS path. - _custom_data: _custom_data """ class BfdTimers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int """Interval in milliseconds.""" min_rx: int """Rate in milliseconds.""" multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50739,7 +44773,6 @@ def __init__( interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BfdTimers. @@ -50751,27 +44784,19 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ class RibInPrePolicyRetain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}} enabled: bool | None all: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - all: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined) -> None: """ RibInPrePolicyRetain. @@ -50781,28 +44806,20 @@ def __init__( Args: enabled: enabled all: all - _custom_data: _custom_data """ class AllowasIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}} enabled: bool | None times: int | None """Number of local ASNs allowed in a BGP update.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - times: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, times: int | None | UndefinedType = Undefined) -> None: """ AllowasIn. @@ -50812,18 +44829,16 @@ def __init__( Args: enabled: enabled times: Number of local ASNs allowed in a BGP update. - _custom_data: _custom_data """ class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} enabled: bool | None always: bool | None route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50833,7 +44848,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultOriginate. @@ -50845,14 +44859,13 @@ def __init__( enabled: enabled always: always route_map: route_map - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -50871,7 +44884,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50881,7 +44893,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -50903,7 +44914,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -50937,7 +44947,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str peer_group: str | None @@ -51012,7 +45021,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51048,7 +45056,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -51106,7 +45113,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -51126,7 +45132,6 @@ class NeighborInterfacesItem(AvdModel): "peer_group": {"type": str}, "peer_filter": {"type": str}, "description": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Interface name.""" @@ -51142,7 +45147,6 @@ class NeighborInterfacesItem(AvdModel): peer_filter: str | None """Peer-filter name.""" description: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51154,7 +45158,6 @@ def __init__( peer_group: str | None | UndefinedType = Undefined, peer_filter: str | None | UndefinedType = Undefined, description: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborInterfacesItem. @@ -51172,7 +45175,6 @@ def __init__( peer_group: Peer-group name. peer_filter: Peer-filter name. description: description - _custom_data: _custom_data """ @@ -51189,20 +45191,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -51212,27 +45207,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -51242,20 +45229,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -51267,7 +45247,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51278,7 +45257,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -51295,14 +45273,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -51312,7 +45289,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51322,7 +45298,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -51338,7 +45313,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -51351,7 +45325,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -51366,7 +45339,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51378,7 +45350,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -51396,7 +45367,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51406,17 +45376,11 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51426,7 +45390,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -51438,24 +45401,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51465,7 +45421,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -51477,7 +45432,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51489,7 +45443,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -51497,7 +45450,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51508,7 +45460,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -51521,7 +45472,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51532,7 +45482,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -51557,7 +45506,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51570,7 +45518,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -51594,7 +45541,6 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51604,17 +45550,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51624,7 +45564,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -51636,24 +45575,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51663,7 +45595,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -51675,7 +45606,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51687,7 +45617,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -51695,7 +45624,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51706,7 +45634,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -51719,7 +45646,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -51730,7 +45656,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -51755,7 +45680,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51768,7 +45692,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -51792,27 +45715,19 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Rip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Rip. @@ -51822,20 +45737,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "rcf": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None rcf: str | None @@ -51847,7 +45755,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51858,7 +45765,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -51875,14 +45781,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -51891,17 +45796,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -51915,7 +45813,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -51930,7 +45827,6 @@ def __init__( "rip": {"type": Rip}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -51952,7 +45848,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51969,7 +45864,6 @@ def __init__( rip: Rip | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -51988,7 +45882,6 @@ def __init__( rip: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52001,7 +45894,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: str route_map: str | None @@ -52021,7 +45913,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52035,7 +45926,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -52058,7 +45948,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -52077,7 +45966,6 @@ class AggregateAddressesItem(AvdModel): "summary_only": {"type": bool}, "attribute_map": {"type": str}, "match_map": {"type": str}, - "_custom_data": {"type": dict}, } prefix: str """IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".""" @@ -52086,7 +45974,6 @@ class AggregateAddressesItem(AvdModel): summary_only: bool | None attribute_map: str | None match_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52099,7 +45986,6 @@ def __init__( summary_only: bool | None | UndefinedType = Undefined, attribute_map: str | None | UndefinedType = Undefined, match_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AggregateAddressesItem. @@ -52114,7 +46000,6 @@ def __init__( summary_only: summary_only attribute_map: attribute_map match_map: match_map - _custom_data: _custom_data """ @@ -52134,10 +46019,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52146,7 +46030,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -52157,7 +46040,6 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ @@ -52170,7 +46052,6 @@ class AdditionalPaths(AvdModel): "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, - "_custom_data": {"type": dict}, } install: bool | None """Install BGP backup path.""" @@ -52194,7 +46075,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52206,7 +46086,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -52230,7 +46109,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -52238,7 +46116,6 @@ def __init__( "missing_policy": {"type": MissingPolicy}, "additional_paths": {"type": AdditionalPaths}, "redistribute_internal": {"type": bool}, - "_custom_data": {"type": dict}, } missing_policy: MissingPolicy """Subclass of AvdModel.""" @@ -52246,7 +46123,6 @@ def __init__( """Subclass of AvdModel.""" redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52256,7 +46132,6 @@ def __init__( missing_policy: MissingPolicy | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, redistribute_internal: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -52268,7 +46143,6 @@ def __init__( missing_policy: Subclass of AvdModel. additional_paths: Subclass of AvdModel. redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. - _custom_data: _custom_data """ @@ -52281,20 +46155,13 @@ class NextHop(AvdModel): class AddressFamilyIpv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "originate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "originate": {"type": bool}} enabled: bool originate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - originate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, originate: bool | None | UndefinedType = Undefined) -> None: """ AddressFamilyIpv6. @@ -52304,23 +46171,16 @@ def __init__( Args: enabled: enabled originate: originate - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"address_family_ipv6": {"type": AddressFamilyIpv6}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address_family_ipv6": {"type": AddressFamilyIpv6}} address_family_ipv6: AddressFamilyIpv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address_family_ipv6: AddressFamilyIpv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address_family_ipv6: AddressFamilyIpv6 | UndefinedType = Undefined) -> None: """ NextHop. @@ -52329,19 +46189,13 @@ def __init__( Args: address_family_ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -52360,7 +46214,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52370,7 +46223,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -52392,7 +46244,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -52407,7 +46258,6 @@ def __init__( "prefix_list_out": {"type": str}, "next_hop": {"type": NextHop}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -52433,7 +46283,6 @@ def __init__( """Subclass of AvdModel.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52450,7 +46299,6 @@ def __init__( prefix_list_out: str | None | UndefinedType = Undefined, next_hop: NextHop | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -52473,7 +46321,6 @@ def __init__( prefix_list_out: Outbound prefix-list name. next_hop: Subclass of AvdModel. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52487,21 +46334,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv4 prefix "A.B.C.D/E".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -52511,7 +46351,6 @@ def __init__( Args: prefix: IPv4 prefix "A.B.C.D/E". route_map: route_map - _custom_data: _custom_data """ @@ -52528,20 +46367,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -52551,27 +46383,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -52581,7 +46405,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -52593,7 +46416,6 @@ class Connected(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool route_map: str | None @@ -52606,7 +46428,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52617,7 +46438,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -52634,14 +46454,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -52651,7 +46470,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52661,7 +46479,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -52677,7 +46494,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -52690,7 +46506,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -52705,7 +46520,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52717,7 +46531,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -52735,7 +46548,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -52745,17 +46557,11 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52765,7 +46571,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -52777,24 +46582,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52804,7 +46602,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -52816,7 +46613,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -52828,7 +46624,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -52836,7 +46631,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52847,7 +46641,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -52860,7 +46653,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -52871,7 +46663,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -52896,7 +46687,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52909,7 +46699,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -52933,7 +46722,6 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -52943,17 +46731,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52963,7 +46745,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -52975,24 +46756,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53002,7 +46776,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -53014,7 +46787,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -53026,7 +46798,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -53034,7 +46805,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53045,7 +46815,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -53058,7 +46827,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -53069,7 +46837,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -53094,7 +46861,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53107,7 +46873,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -53131,27 +46896,19 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Rip(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Rip. @@ -53161,7 +46918,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -53173,7 +46929,6 @@ class Static(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool route_map: str | None @@ -53186,7 +46941,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53197,7 +46951,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -53214,14 +46967,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -53230,17 +46982,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -53254,7 +46999,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -53269,7 +47013,6 @@ def __init__( "rip": {"type": Rip}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -53291,7 +47034,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53308,7 +47050,6 @@ def __init__( rip: Rip | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -53327,7 +47068,6 @@ def __init__( rip: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -53340,7 +47080,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["attached-host", "bgp", "connected", "dynamic", "isis", "ospf", "ospfv3", "rip", "static", "user"] route_map: str | None @@ -53360,7 +47099,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53375,7 +47113,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -53398,7 +47135,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -53413,7 +47149,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "networks": {"type": Networks}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -53429,7 +47164,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53441,7 +47175,6 @@ def __init__( networks: Networks | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4. @@ -53458,7 +47191,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -53471,10 +47203,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53483,7 +47214,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -53494,7 +47224,6 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ @@ -53507,7 +47236,6 @@ class AdditionalPaths(AvdModel): "receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}, - "_custom_data": {"type": dict}, } install: bool | None """Install BGP backup path.""" @@ -53531,7 +47259,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53543,7 +47270,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -53567,7 +47293,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -53575,7 +47300,6 @@ def __init__( "missing_policy": {"type": MissingPolicy}, "additional_paths": {"type": AdditionalPaths}, "redistribute_internal": {"type": bool}, - "_custom_data": {"type": dict}, } missing_policy: MissingPolicy """Subclass of AvdModel.""" @@ -53583,7 +47307,6 @@ def __init__( """Subclass of AvdModel.""" redistribute_internal: bool | None """Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53593,7 +47316,6 @@ def __init__( missing_policy: MissingPolicy | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, redistribute_internal: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -53605,7 +47327,6 @@ def __init__( missing_policy: Subclass of AvdModel. additional_paths: Subclass of AvdModel. redistribute_internal: Allow redistribution of iBGP routes into an Interior Gateway Protocol (IGP). EOS default is true. - _custom_data: _custom_data """ @@ -53615,12 +47336,7 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "receive": {"type": bool}, - "send": {"type": str}, - "send_limit": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"receive": {"type": bool}, "send": {"type": str}, "send_limit": {"type": int}} receive: bool | None """Enable or disable reception of additional-paths.""" send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None @@ -53639,7 +47355,6 @@ class AdditionalPaths(AvdModel): Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53649,7 +47364,6 @@ def __init__( receive: bool | None | UndefinedType = Undefined, send: Literal["any", "backup", "ecmp", "limit", "disabled"] | None | UndefinedType = Undefined, send_limit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalPaths. @@ -53671,7 +47385,6 @@ def __init__( send_limit: Number of paths to send through bgp updates. For this setting, `send` must be set to `limit` or `ecmp`. - _custom_data: _custom_data """ @@ -53685,7 +47398,6 @@ def __init__( "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -53709,7 +47421,6 @@ def __init__( """Outbound prefix-list name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53725,7 +47436,6 @@ def __init__( prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -53747,7 +47457,6 @@ def __init__( prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -53761,21 +47470,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -53785,7 +47487,6 @@ def __init__( Args: prefix: IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: route_map - _custom_data: _custom_data """ @@ -53802,20 +47503,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -53825,27 +47519,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -53855,7 +47541,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -53867,7 +47552,6 @@ class Connected(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool route_map: str | None @@ -53880,7 +47564,6 @@ class Connected(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53891,7 +47574,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -53908,27 +47590,19 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Dhcp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Dhcp. @@ -53938,14 +47612,13 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Dynamic(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "rcf": {"type": str}} enabled: bool route_map: str | None rcf: str | None @@ -53955,7 +47628,6 @@ class Dynamic(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53965,7 +47637,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dynamic. @@ -53981,7 +47652,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -53994,7 +47664,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -54009,7 +47678,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54021,7 +47689,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -54039,7 +47706,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -54049,17 +47715,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54069,7 +47729,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -54081,24 +47740,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54108,7 +47760,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -54120,7 +47771,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -54132,7 +47782,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -54140,7 +47789,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54151,7 +47799,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -54164,7 +47811,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -54175,7 +47821,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -54200,7 +47845,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54213,7 +47857,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -54237,7 +47880,6 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -54249,7 +47891,6 @@ class Static(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool route_map: str | None @@ -54262,7 +47903,6 @@ class Static(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54273,7 +47913,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -54290,14 +47929,13 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class User(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool rcf: str | None """ @@ -54306,17 +47944,10 @@ class User(AvdModel): `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ User. @@ -54330,7 +47961,6 @@ def __init__( Example: MyFunction(myarg). `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. - _custom_data: _custom_data """ @@ -54344,7 +47974,6 @@ def __init__( "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, "user": {"type": User}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -54364,7 +47993,6 @@ def __init__( """Subclass of AvdModel.""" user: User """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54380,7 +48008,6 @@ def __init__( ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, user: User | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -54398,7 +48025,6 @@ def __init__( ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. user: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -54411,7 +48037,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["attached-host", "bgp", "connected", "dhcp", "dynamic", "isis", "ospfv3", "static", "user"] route_map: str | None @@ -54430,7 +48055,6 @@ class RedistributeRoutesItem(AvdModel): Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54445,7 +48069,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -54467,7 +48090,6 @@ def __init__( ospf_route_type: Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospfv3'. - _custom_data: _custom_data """ @@ -54482,7 +48104,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "networks": {"type": Networks}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -54498,7 +48119,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54510,7 +48130,6 @@ def __init__( networks: Networks | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6. @@ -54527,7 +48146,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -54540,10 +48158,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54552,7 +48169,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -54563,22 +48179,18 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -54587,29 +48199,19 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "missing_policy": {"type": MissingPolicy}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "additional_paths": {"type": AdditionalPaths}} missing_policy: MissingPolicy """Subclass of AvdModel.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - missing_policy: MissingPolicy | UndefinedType = Undefined, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined ) -> None: """ Bgp. @@ -54620,7 +48222,6 @@ def __init__( Args: missing_policy: Subclass of AvdModel. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -54630,15 +48231,12 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -54647,7 +48245,6 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ @@ -54657,7 +48254,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -54667,7 +48263,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54679,7 +48274,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -54693,7 +48287,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -54707,21 +48300,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv6 prefix "A.B.C.D/E".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -54731,7 +48317,6 @@ def __init__( Args: prefix: IPv6 prefix "A.B.C.D/E". route_map: route_map - _custom_data: _custom_data """ @@ -54748,20 +48333,13 @@ class Redistribute(AvdModel): class AttachedHost(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ AttachedHost. @@ -54771,27 +48349,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Connected. @@ -54801,7 +48371,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -54814,7 +48383,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -54829,7 +48397,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54841,7 +48408,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -54859,7 +48425,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -54869,20 +48434,13 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -54892,27 +48450,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -54922,24 +48472,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54949,7 +48492,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -54961,7 +48503,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -54971,7 +48512,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -54994,7 +48534,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55006,7 +48545,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -55029,7 +48567,6 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ @@ -55039,17 +48576,11 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55059,7 +48590,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchExternal. @@ -55071,24 +48601,17 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55098,7 +48621,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchInternal. @@ -55110,7 +48632,6 @@ def __init__( enabled: enabled route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -55122,7 +48643,6 @@ class MatchNssaExternal(AvdModel): "nssa_type": {"type": int}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool nssa_type: Literal[1, 2] | None @@ -55130,7 +48650,6 @@ class MatchNssaExternal(AvdModel): route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55141,7 +48660,6 @@ def __init__( nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -55154,7 +48672,6 @@ def __init__( nssa_type: NSSA External Type Number. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -55165,7 +48682,6 @@ def __init__( "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -55190,7 +48706,6 @@ def __init__( route_map: str | None include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55203,7 +48718,6 @@ def __init__( match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -55227,27 +48741,19 @@ def __init__( Subclass of AvdModel. route_map: route_map include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Static. @@ -55257,7 +48763,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -55268,7 +48773,6 @@ def __init__( "ospf": {"type": Ospf}, "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, - "_custom_data": {"type": dict}, } attached_host: AttachedHost """Subclass of AvdModel.""" @@ -55282,7 +48786,6 @@ def __init__( """Subclass of AvdModel.""" static: Static """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55295,7 +48798,6 @@ def __init__( ospf: Ospf | UndefinedType = Undefined, ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -55310,7 +48812,6 @@ def __init__( ospf: Subclass of AvdModel. ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -55323,7 +48824,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["attached-host", "connected", "isis", "ospf", "ospfv3", "static"] route_map: str | None @@ -55343,7 +48843,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55357,7 +48856,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -55379,7 +48877,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -55394,7 +48891,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "networks": {"type": Networks}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -55410,7 +48906,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55422,7 +48917,6 @@ def __init__( networks: Networks | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4Multicast. @@ -55439,7 +48933,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -55452,10 +48945,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55464,7 +48956,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -55475,22 +48966,18 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -55499,29 +48986,19 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "missing_policy": {"type": MissingPolicy}, - "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "additional_paths": {"type": AdditionalPaths}} missing_policy: MissingPolicy """Subclass of AvdModel.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - missing_policy: MissingPolicy | UndefinedType = Undefined, - additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined ) -> None: """ Bgp. @@ -55532,7 +49009,6 @@ def __init__( Args: missing_policy: Subclass of AvdModel. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -55542,15 +49018,12 @@ class NeighborsItem(AvdModel): class AdditionalPaths(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": bool}} receive: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, receive: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, receive: bool | None | UndefinedType = Undefined) -> None: """ AdditionalPaths. @@ -55559,7 +49032,6 @@ def __init__( Args: receive: receive - _custom_data: _custom_data """ @@ -55569,7 +49041,6 @@ def __init__( "route_map_in": {"type": str}, "route_map_out": {"type": str}, "additional_paths": {"type": AdditionalPaths}, - "_custom_data": {"type": dict}, } ip_address: str activate: bool | None @@ -55579,7 +49050,6 @@ def __init__( """Outbound route-map name.""" additional_paths: AdditionalPaths """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55591,7 +49061,6 @@ def __init__( route_map_in: str | None | UndefinedType = Undefined, route_map_out: str | None | UndefinedType = Undefined, additional_paths: AdditionalPaths | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NeighborsItem. @@ -55605,7 +49074,6 @@ def __init__( route_map_in: Inbound route-map name. route_map_out: Outbound route-map name. additional_paths: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -55619,21 +49087,14 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): class NetworksItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "route_map": {"type": str}} prefix: str """IPv6 prefix "A:B:C:D:E:F:G:H/I".""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ NetworksItem. @@ -55643,7 +49104,6 @@ def __init__( Args: prefix: IPv6 prefix "A:B:C:D:E:F:G:H/I". route_map: route_map - _custom_data: _custom_data """ @@ -55660,20 +49120,13 @@ class Redistribute(AvdModel): class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Connected. @@ -55683,7 +49136,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -55696,7 +49148,6 @@ class Isis(AvdModel): "route_map": {"type": str}, "rcf": {"type": str}, "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool isis_level: Literal["level-1", "level-2", "level-1-2"] | None @@ -55711,7 +49162,6 @@ class Isis(AvdModel): """ include_leaked: bool | None """Include following routes while redistributing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55723,7 +49173,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Isis. @@ -55741,7 +49190,6 @@ def __init__( `route_map` and `rcf` are mutually exclusive. `route_map` takes precedence. include_leaked: Include following routes while redistributing. - _custom_data: _custom_data """ @@ -55751,20 +49199,13 @@ class Ospf(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -55774,27 +49215,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -55804,24 +49237,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55831,7 +49257,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -55843,7 +49268,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -55853,7 +49277,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPF routes.""" @@ -55876,7 +49299,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55888,7 +49310,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -55911,7 +49332,6 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ @@ -55921,20 +49341,13 @@ class Ospfv3(AvdModel): class MatchExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchExternal. @@ -55944,27 +49357,19 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchInternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ MatchInternal. @@ -55974,24 +49379,17 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ class MatchNssaExternal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "nssa_type": {"type": int}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "nssa_type": {"type": int}, "route_map": {"type": str}} enabled: bool nssa_type: Literal[1, 2] | None """NSSA External Type Number.""" route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56001,7 +49399,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, nssa_type: Literal[1, 2] | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchNssaExternal. @@ -56013,7 +49410,6 @@ def __init__( enabled: enabled nssa_type: NSSA External Type Number. route_map: route_map - _custom_data: _custom_data """ @@ -56023,7 +49419,6 @@ def __init__( "match_internal": {"type": MatchInternal}, "match_nssa_external": {"type": MatchNssaExternal}, "route_map": {"type": str}, - "_custom_data": {"type": dict}, } enabled: bool | None """Redistribute OSPFv3 routes.""" @@ -56046,7 +49441,6 @@ def __init__( Subclass of AvdModel. """ route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56058,7 +49452,6 @@ def __init__( match_internal: MatchInternal | UndefinedType = Undefined, match_nssa_external: MatchNssaExternal | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospfv3. @@ -56081,27 +49474,19 @@ def __init__( Subclass of AvdModel. route_map: route_map - _custom_data: _custom_data """ class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}} enabled: bool route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ Static. @@ -56111,7 +49496,6 @@ def __init__( Args: enabled: enabled route_map: route_map - _custom_data: _custom_data """ @@ -56121,7 +49505,6 @@ def __init__( "ospf": {"type": Ospf}, "ospfv3": {"type": Ospfv3}, "static": {"type": Static}, - "_custom_data": {"type": dict}, } connected: Connected """Subclass of AvdModel.""" @@ -56133,7 +49516,6 @@ def __init__( """Subclass of AvdModel.""" static: Static """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56145,7 +49527,6 @@ def __init__( ospf: Ospf | UndefinedType = Undefined, ospfv3: Ospfv3 | UndefinedType = Undefined, static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -56159,7 +49540,6 @@ def __init__( ospf: Subclass of AvdModel. ospfv3: Subclass of AvdModel. static: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56172,7 +49552,6 @@ class RedistributeRoutesItem(AvdModel): "include_leaked": {"type": bool}, "rcf": {"type": str}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["connected", "isis", "ospf", "ospfv3", "static"] route_map: str | None @@ -56192,7 +49571,6 @@ class RedistributeRoutesItem(AvdModel): The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56206,7 +49584,6 @@ def __init__( ospf_route_type: Literal["external", "internal", "nssa-external", "nssa-external 1", "nssa-external 2"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -56228,7 +49605,6 @@ def __init__( Routes learned by the OSPF protocol. The `ospf_route_type` is valid for source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -56243,7 +49619,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): "networks": {"type": Networks}, "redistribute": {"type": Redistribute}, "redistribute_routes": {"type": RedistributeRoutes}, - "_custom_data": {"type": dict}, } bgp: Bgp """Subclass of AvdModel.""" @@ -56259,7 +49634,6 @@ class RedistributeRoutes(AvdList[RedistributeRoutesItem]): """ redistribute_routes: RedistributeRoutes """Subclass of AvdList with `RedistributeRoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56271,7 +49645,6 @@ def __init__( networks: Networks | UndefinedType = Undefined, redistribute: Redistribute | UndefinedType = Undefined, redistribute_routes: RedistributeRoutes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6Multicast. @@ -56288,7 +49661,6 @@ def __init__( Subclass of AvdModel. redistribute_routes: Subclass of AvdList with `RedistributeRoutesItem` items. - _custom_data: _custom_data """ @@ -56301,10 +49673,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56313,7 +49684,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -56324,20 +49694,16 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}} missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, missing_policy: MissingPolicy | UndefinedType = Undefined) -> None: """ Bgp. @@ -56346,27 +49712,19 @@ def __init__( Args: missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ class NeighborsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}} ip_address: str activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ NeighborsItem. @@ -56376,7 +49734,6 @@ def __init__( Args: ip_address: ip_address activate: activate - _custom_data: _custom_data """ @@ -56387,22 +49744,15 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): Neighbors._item_type = NeighborsItem - _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}} bgp: Bgp """Subclass of AvdModel.""" neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - bgp: Bgp | UndefinedType = Undefined, - neighbors: Neighbors | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, bgp: Bgp | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined) -> None: """ AddressFamilyFlowSpecIpv4. @@ -56412,7 +49762,6 @@ def __init__( Args: bgp: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). - _custom_data: _custom_data """ @@ -56425,10 +49774,9 @@ class Bgp(AvdModel): class MissingPolicy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction_in_action": {"type": str}, "direction_out_action": {"type": str}} direction_in_action: Literal["deny", "deny-in-out", "permit"] | None direction_out_action: Literal["deny", "deny-in-out", "permit"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56437,7 +49785,6 @@ def __init__( *, direction_in_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, direction_out_action: Literal["deny", "deny-in-out", "permit"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MissingPolicy. @@ -56448,20 +49795,16 @@ def __init__( Args: direction_in_action: direction_in_action direction_out_action: direction_out_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"missing_policy": {"type": MissingPolicy}} missing_policy: MissingPolicy """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, missing_policy: MissingPolicy | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, missing_policy: MissingPolicy | UndefinedType = Undefined) -> None: """ Bgp. @@ -56470,27 +49813,19 @@ def __init__( Args: missing_policy: Subclass of AvdModel. - _custom_data: _custom_data """ class NeighborsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "activate": {"type": bool}} ip_address: str activate: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ip_address: str | UndefinedType = Undefined, - activate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ip_address: str | UndefinedType = Undefined, activate: bool | None | UndefinedType = Undefined) -> None: """ NeighborsItem. @@ -56500,7 +49835,6 @@ def __init__( Args: ip_address: ip_address activate: activate - _custom_data: _custom_data """ @@ -56511,22 +49845,15 @@ class Neighbors(AvdIndexedList[str, NeighborsItem]): Neighbors._item_type = NeighborsItem - _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"bgp": {"type": Bgp}, "neighbors": {"type": Neighbors}} bgp: Bgp """Subclass of AvdModel.""" neighbors: Neighbors """Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - bgp: Bgp | UndefinedType = Undefined, - neighbors: Neighbors | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, bgp: Bgp | UndefinedType = Undefined, neighbors: Neighbors | UndefinedType = Undefined) -> None: """ AddressFamilyFlowSpecIpv6. @@ -56536,7 +49863,6 @@ def __init__( Args: bgp: Subclass of AvdModel. neighbors: Subclass of AvdIndexedList with `NeighborsItem` items. Primary key is `ip_address` (`str`). - _custom_data: _custom_data """ @@ -56567,7 +49893,6 @@ def __init__( "address_family_flow_spec_ipv4": {"type": AddressFamilyFlowSpecIpv4}, "address_family_flow_spec_ipv6": {"type": AddressFamilyFlowSpecIpv6}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """VRF name.""" @@ -56642,7 +49967,6 @@ def __init__( Multiline EOS CLI rendered directly on the Router BGP, VRF definition in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56675,7 +49999,6 @@ def __init__( address_family_flow_spec_ipv4: AddressFamilyFlowSpecIpv4 | UndefinedType = Undefined, address_family_flow_spec_ipv6: AddressFamilyFlowSpecIpv6 | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -56727,7 +50050,6 @@ def __init__( eos_cli: Multiline EOS CLI rendered directly on the Router BGP, VRF definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -56741,22 +50063,15 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class SessionTrackersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}} name: str """Name of session tracker.""" recovery_delay: int | None """Recovery delay in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - recovery_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined) -> None: """ SessionTrackersItem. @@ -56766,7 +50081,6 @@ def __init__( Args: name: Name of session tracker. recovery_delay: Recovery delay in seconds. - _custom_data: _custom_data """ @@ -56819,7 +50133,6 @@ class SessionTrackers(AvdIndexedList[str, SessionTrackersItem]): "vrfs": {"type": Vrfs}, "session_trackers": {"type": SessionTrackers}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_as": "as"} _key_to_field_map: ClassVar[dict] = {"as": "field_as"} @@ -56927,7 +50240,6 @@ class SessionTrackers(AvdIndexedList[str, SessionTrackersItem]): """Subclass of AvdIndexedList with `SessionTrackersItem` items. Primary key is `name` (`str`).""" eos_cli: str | None """Multiline EOS CLI rendered directly on the Router BGP in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56975,7 +50287,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, session_trackers: SessionTrackers | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterBgp. @@ -57042,7 +50353,6 @@ def __init__( vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). session_trackers: Subclass of AvdIndexedList with `SessionTrackersItem` items. Primary key is `name` (`str`). eos_cli: Multiline EOS CLI rendered directly on the Router BGP in the final EOS configuration. - _custom_data: _custom_data """ @@ -57052,22 +50362,15 @@ class RouterGeneral(AvdModel): class RouterId(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}} ipv4: str | None """IPv4 Address.""" ipv6: str | None """IPv6 Address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: str | None | UndefinedType = Undefined, - ipv6: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: str | None | UndefinedType = Undefined, ipv6: str | None | UndefinedType = Undefined) -> None: """ RouterId. @@ -57077,7 +50380,6 @@ def __init__( Args: ipv4: IPv4 Address. ipv6: IPv6 Address. - _custom_data: _custom_data """ @@ -57087,21 +50389,14 @@ class VrfsItem(AvdModel): class LeakRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source_vrf": {"type": str}, "subscribe_policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_vrf": {"type": str}, "subscribe_policy": {"type": str}} source_vrf: str | None subscribe_policy: str | None """Route-Map Policy.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source_vrf: str | None | UndefinedType = Undefined, - subscribe_policy: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source_vrf: str | None | UndefinedType = Undefined, subscribe_policy: str | None | UndefinedType = Undefined) -> None: """ LeakRoutesItem. @@ -57111,7 +50406,6 @@ def __init__( Args: source_vrf: source_vrf subscribe_policy: Route-Map Policy. - _custom_data: _custom_data """ @@ -57126,14 +50420,13 @@ class Routes(AvdModel): class DynamicPrefixListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None """Dynamic Prefix List Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ DynamicPrefixListsItem. @@ -57142,7 +50435,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: Dynamic Prefix List Name. - _custom_data: _custom_data """ @@ -57151,16 +50443,13 @@ class DynamicPrefixLists(AvdList[DynamicPrefixListsItem]): DynamicPrefixLists._item_type = DynamicPrefixListsItem - _fields: ClassVar[dict] = {"dynamic_prefix_lists": {"type": DynamicPrefixLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic_prefix_lists": {"type": DynamicPrefixLists}} dynamic_prefix_lists: DynamicPrefixLists """Subclass of AvdList with `DynamicPrefixListsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, dynamic_prefix_lists: DynamicPrefixLists | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, dynamic_prefix_lists: DynamicPrefixLists | UndefinedType = Undefined) -> None: """ Routes. @@ -57169,18 +50458,16 @@ def __init__( Args: dynamic_prefix_lists: Subclass of AvdList with `DynamicPrefixListsItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "leak_routes": {"type": LeakRoutes}, "routes": {"type": Routes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "leak_routes": {"type": LeakRoutes}, "routes": {"type": Routes}} name: str """Destination-VRF.""" leak_routes: LeakRoutes """Subclass of AvdList with `LeakRoutesItem` items.""" routes: Routes """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57190,7 +50477,6 @@ def __init__( name: str | UndefinedType = Undefined, leak_routes: LeakRoutes | UndefinedType = Undefined, routes: Routes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -57202,7 +50488,6 @@ def __init__( name: Destination-VRF. leak_routes: Subclass of AvdList with `LeakRoutesItem` items. routes: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57219,7 +50504,7 @@ class ControlFunctions(AvdModel): class CodeUnitsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "content": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "content": {"type": str}} name: str """Name of the code unit.""" content: str @@ -57231,17 +50516,10 @@ class CodeUnitsItem(AvdModel): } EOF """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - content: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, content: str | UndefinedType = Undefined) -> None: """ CodeUnitsItem. @@ -57257,7 +50535,6 @@ def __init__( return true; } EOF - _custom_data: _custom_data """ @@ -57268,14 +50545,13 @@ class CodeUnits(AvdIndexedList[str, CodeUnitsItem]): CodeUnits._item_type = CodeUnitsItem - _fields: ClassVar[dict] = {"code_units": {"type": CodeUnits}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"code_units": {"type": CodeUnits}} code_units: CodeUnits """Subclass of AvdIndexedList with `CodeUnitsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, code_units: CodeUnits | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, code_units: CodeUnits | UndefinedType = Undefined) -> None: """ ControlFunctions. @@ -57284,7 +50560,6 @@ def __init__(self, *, code_units: CodeUnits | UndefinedType = Undefined, _custom Args: code_units: Subclass of AvdIndexedList with `CodeUnitsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -57293,7 +50568,6 @@ def __init__(self, *, code_units: CodeUnits | UndefinedType = Undefined, _custom "nexthop_fast_failover": {"type": bool, "default": False}, "vrfs": {"type": Vrfs}, "control_functions": {"type": ControlFunctions}, - "_custom_data": {"type": dict}, } router_id: RouterId """Subclass of AvdModel.""" @@ -57313,7 +50587,6 @@ def __init__(self, *, code_units: CodeUnits | UndefinedType = Undefined, _custom Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57324,7 +50597,6 @@ def __init__( nexthop_fast_failover: bool | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, control_functions: ControlFunctions | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterGeneral. @@ -57347,7 +50619,6 @@ def __init__( CloudVision with `eos_config_deploy_cvp` or `cv_deploy`. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57357,7 +50628,7 @@ class RouterIgmp(AvdModel): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "host_proxy_match_mroute": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "host_proxy_match_mroute": {"type": str}} name: str """VRF name.""" host_proxy_match_mroute: Literal["all", "iif"] | None @@ -57367,16 +50638,11 @@ class VrfsItem(AvdModel): in iif aware. 'all' will enable igmp host-proxy to work in iif unaware mode (EOS default). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - host_proxy_match_mroute: Literal["all", "iif"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, host_proxy_match_mroute: Literal["all", "iif"] | None | UndefinedType = Undefined ) -> None: """ VrfsItem. @@ -57391,7 +50657,6 @@ def __init__( 'iif' will enable igmp host-proxy to work in iif aware. 'all' will enable igmp host-proxy to work in iif unaware mode (EOS default). - _custom_data: _custom_data """ @@ -57402,12 +50667,7 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Vrfs._item_type = VrfsItem - _fields: ClassVar[dict] = { - "host_proxy_match_mroute": {"type": str}, - "ssm_aware": {"type": bool}, - "vrfs": {"type": Vrfs}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"host_proxy_match_mroute": {"type": str}, "ssm_aware": {"type": bool}, "vrfs": {"type": Vrfs}} host_proxy_match_mroute: Literal["all", "iif"] | None """ Specify conditions for sending IGMP joins for host-proxy. @@ -57424,7 +50684,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57434,7 +50693,6 @@ def __init__( host_proxy_match_mroute: Literal["all", "iif"] | None | UndefinedType = Undefined, ssm_aware: bool | None | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterIgmp. @@ -57455,7 +50713,6 @@ def __init__( 'router_igmp'. Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -57468,13 +50725,12 @@ class PoliciesItem(AvdModel): class ExitGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ ExitGroupsItem. @@ -57483,7 +50739,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: name - _custom_data: _custom_data """ @@ -57492,7 +50747,7 @@ class ExitGroups(AvdList[ExitGroupsItem]): ExitGroups._item_type = ExitGroupsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "exit_groups": {"type": ExitGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "exit_groups": {"type": ExitGroups}} name: str exit_groups: ExitGroups """ @@ -57502,17 +50757,10 @@ class ExitGroups(AvdList[ExitGroupsItem]): Subclass of AvdList with `ExitGroupsItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - exit_groups: ExitGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, exit_groups: ExitGroups | UndefinedType = Undefined) -> None: """ PoliciesItem. @@ -57527,7 +50775,6 @@ def __init__( Subclass of AvdList with `ExitGroupsItem` items. - _custom_data: _custom_data """ @@ -57544,13 +50791,12 @@ class ExitGroupsItem(AvdModel): class LocalConnectionsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ LocalConnectionsItem. @@ -57559,7 +50805,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: name - _custom_data: _custom_data """ @@ -57568,12 +50813,7 @@ class LocalConnections(AvdList[LocalConnectionsItem]): LocalConnections._item_type = LocalConnectionsItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "fib_default": {"type": bool}, - "local_connections": {"type": LocalConnections}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "fib_default": {"type": bool}, "local_connections": {"type": LocalConnections}} name: str fib_default: bool | None """ @@ -57589,7 +50829,6 @@ class LocalConnections(AvdList[LocalConnectionsItem]): Subclass of AvdList with `LocalConnectionsItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57599,7 +50838,6 @@ def __init__( name: str | UndefinedType = Undefined, fib_default: bool | None | UndefinedType = Undefined, local_connections: LocalConnections | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ExitGroupsItem. @@ -57619,7 +50857,6 @@ def __init__( is healthy. Subclass of AvdList with `LocalConnectionsItem` items. - _custom_data: _custom_data """ @@ -57630,7 +50867,7 @@ class ExitGroups(AvdIndexedList[str, ExitGroupsItem]): ExitGroups._item_type = ExitGroupsItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "exit_groups": {"type": ExitGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}, "exit_groups": {"type": ExitGroups}} policies: Policies """ Internet-exit policy represent a policy which can be attached to a virtual topology profile. @@ -57645,17 +50882,10 @@ class ExitGroups(AvdIndexedList[str, ExitGroupsItem]): Subclass of AvdIndexedList with `ExitGroupsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - policies: Policies | UndefinedType = Undefined, - exit_groups: ExitGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined, exit_groups: ExitGroups | UndefinedType = Undefined) -> None: """ RouterInternetExit. @@ -57673,7 +50903,6 @@ def __init__( Subclass of AvdIndexedList with `ExitGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -57686,7 +50915,7 @@ class Timers(AvdModel): class LocalConvergence(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"protected_prefixes": {"type": bool}, "delay": {"type": int, "default": 10000}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"protected_prefixes": {"type": bool}, "delay": {"type": int, "default": 10000}} protected_prefixes: bool | None delay: int """ @@ -57694,17 +50923,10 @@ class LocalConvergence(AvdModel): Default value: `10000` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - protected_prefixes: bool | None | UndefinedType = Undefined, - delay: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, protected_prefixes: bool | None | UndefinedType = Undefined, delay: int | UndefinedType = Undefined) -> None: """ LocalConvergence. @@ -57714,7 +50936,6 @@ def __init__( Args: protected_prefixes: protected_prefixes delay: Delay in milliseconds. - _custom_data: _custom_data """ @@ -57724,19 +50945,13 @@ class Lsp(AvdModel): class Generation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interval": {"type": int}, - "initial_wait_time": {"type": int}, - "wait_time": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interval": {"type": int}, "initial_wait_time": {"type": int}, "wait_time": {"type": int}} interval: int """Maximum interval (in seconds) between generating two LSPs.""" initial_wait_time: int | None """Initial wait time (in milliseconds) before generating LSPs.""" wait_time: int | None """Wait time (in milliseconds) between generating the first and second LSPs.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57746,7 +50961,6 @@ def __init__( interval: int | UndefinedType = Undefined, initial_wait_time: int | None | UndefinedType = Undefined, wait_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Generation. @@ -57758,7 +50972,6 @@ def __init__( interval: Maximum interval (in seconds) between generating two LSPs. initial_wait_time: Initial wait time (in milliseconds) before generating LSPs. wait_time: Wait time (in milliseconds) between generating the first and second LSPs. - _custom_data: _custom_data """ @@ -57767,7 +50980,6 @@ def __init__( "out_delay": {"type": int}, "refresh_interval": {"type": int}, "min_remaining_lifetime": {"type": int}, - "_custom_data": {"type": dict}, } generation: Generation """Subclass of AvdModel.""" @@ -57777,7 +50989,6 @@ def __init__( """Interval (in seconds) between two LSP refreshes.""" min_remaining_lifetime: int | None """Minimum remaining lifetime for LSPs (in seconds).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57788,7 +50999,6 @@ def __init__( out_delay: int | None | UndefinedType = Undefined, refresh_interval: int | None | UndefinedType = Undefined, min_remaining_lifetime: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Lsp. @@ -57801,7 +51011,6 @@ def __init__( out_delay: Transmit delay (in milliseconds) for link state packets. refresh_interval: Interval (in seconds) between two LSP refreshes. min_remaining_lifetime: Minimum remaining lifetime for LSPs (in seconds). - _custom_data: _custom_data """ @@ -57811,22 +51020,15 @@ class Csnp(AvdModel): class Generation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "p2p_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "p2p_disabled": {"type": bool}} interval: int | None """Transmit frequency (in seconds) for CSN packets.""" p2p_disabled: bool | None """Disable periodic CSN packets for P2P links.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - p2p_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined, p2p_disabled: bool | None | UndefinedType = Undefined) -> None: """ Generation. @@ -57836,18 +51038,16 @@ def __init__( Args: interval: Transmit frequency (in seconds) for CSN packets. p2p_disabled: Disable periodic CSN packets for P2P links. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"generation": {"type": Generation}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"generation": {"type": Generation}} generation: Generation """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, generation: Generation | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, generation: Generation | UndefinedType = Undefined) -> None: """ Csnp. @@ -57856,16 +51056,10 @@ def __init__(self, *, generation: Generation | UndefinedType = Undefined, _custo Args: generation: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "local_convergence": {"type": LocalConvergence}, - "lsp": {"type": Lsp}, - "csnp": {"type": Csnp}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"local_convergence": {"type": LocalConvergence}, "lsp": {"type": Lsp}, "csnp": {"type": Csnp}} local_convergence: LocalConvergence """Subclass of AvdModel.""" lsp: Lsp @@ -57880,7 +51074,6 @@ def __init__(self, *, generation: Generation | UndefinedType = Undefined, _custo Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57890,7 +51083,6 @@ def __init__( local_convergence: LocalConvergence | UndefinedType = Undefined, lsp: Lsp | UndefinedType = Undefined, csnp: Csnp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Timers. @@ -57908,7 +51100,6 @@ def __init__( CSN Packet timers. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57921,21 +51112,14 @@ class OnStartup(AvdModel): class WaitForBgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "timeout": {"type": int}} enabled: bool | None timeout: int | None """Number of seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ WaitForBgp. @@ -57945,26 +51129,18 @@ def __init__( Args: enabled: enabled timeout: Number of seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"delay": {"type": int}, "wait_for_bgp": {"type": WaitForBgp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"delay": {"type": int}, "wait_for_bgp": {"type": WaitForBgp}} delay: int | None """Number of seconds.""" wait_for_bgp: WaitForBgp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - delay: int | None | UndefinedType = Undefined, - wait_for_bgp: WaitForBgp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, delay: int | None | UndefinedType = Undefined, wait_for_bgp: WaitForBgp | UndefinedType = Undefined) -> None: """ OnStartup. @@ -57974,25 +51150,17 @@ def __init__( Args: delay: Number of seconds. wait_for_bgp: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "on_startup": {"type": OnStartup}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "on_startup": {"type": OnStartup}} enabled: bool | None on_startup: OnStartup """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - on_startup: OnStartup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, on_startup: OnStartup | UndefinedType = Undefined) -> None: """ SetOverloadBit. @@ -58002,7 +51170,6 @@ def __init__( Args: enabled: enabled on_startup: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -58021,7 +51188,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -58032,7 +51198,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58044,7 +51209,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -58058,7 +51222,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -58072,13 +51235,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -58087,17 +51249,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58106,7 +51266,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -58117,7 +51276,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -58129,7 +51287,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -58153,7 +51310,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58167,7 +51323,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Both. @@ -58189,7 +51344,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -58205,7 +51359,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -58216,7 +51369,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58228,7 +51380,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -58242,7 +51393,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -58256,13 +51406,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -58271,17 +51420,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58290,7 +51437,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -58301,7 +51447,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -58313,7 +51458,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -58337,7 +51481,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58351,7 +51494,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level1. @@ -58373,7 +51515,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -58389,7 +51530,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -58400,7 +51540,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58412,7 +51551,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -58426,7 +51564,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -58440,13 +51577,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -58455,17 +51591,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58474,7 +51608,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -58485,7 +51618,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -58497,7 +51629,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -58521,7 +51652,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58535,7 +51665,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level2. @@ -58557,11 +51686,10 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} both: Both """ Authentication settings for level-1 and level-2. 'both' takes precedence over 'level_1' and @@ -58579,17 +51707,11 @@ def __init__( Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - both: Both | UndefinedType = Undefined, - level_1: Level1 | UndefinedType = Undefined, - level_2: Level2 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, both: Both | UndefinedType = Undefined, level_1: Level1 | UndefinedType = Undefined, level_2: Level2 | UndefinedType = Undefined ) -> None: """ Authentication. @@ -58609,20 +51731,18 @@ def __init__( level_2: Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. - _custom_data: _custom_data """ class Advertise(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"passive_only": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"passive_only": {"type": bool}} passive_only: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, passive_only: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, passive_only: bool | None | UndefinedType = Undefined) -> None: """ Advertise. @@ -58631,7 +51751,6 @@ def __init__(self, *, passive_only: bool | None | UndefinedType = Undefined, _cu Args: passive_only: passive_only - _custom_data: _custom_data """ @@ -58643,7 +51762,6 @@ class RedistributeRoutesItem(AvdModel): "route_map": {"type": str}, "include_leaked": {"type": bool}, "ospf_route_type": {"type": str}, - "_custom_data": {"type": dict}, } source_protocol: Literal["bgp", "connected", "isis", "ospf", "ospfv3", "static"] route_map: str | None @@ -58651,7 +51769,6 @@ class RedistributeRoutesItem(AvdModel): include_leaked: bool | None ospf_route_type: Literal["external", "internal", "nssa-external"] | None """ospf_route_type is required with source_protocols 'ospf' and 'ospfv3'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58662,7 +51779,6 @@ def __init__( route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, ospf_route_type: Literal["external", "internal", "nssa-external"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RedistributeRoutesItem. @@ -58675,7 +51791,6 @@ def __init__( route_map: Route-map name. include_leaked: include_leaked ospf_route_type: ospf_route_type is required with source_protocols 'ospf' and 'ospfv3'. - _custom_data: _custom_data """ @@ -58693,20 +51808,13 @@ class FastRerouteTiLfa(AvdModel): class Srlg(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "strict": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "strict": {"type": bool}} enable: bool | None strict: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - strict: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, strict: bool | None | UndefinedType = Undefined) -> None: """ Srlg. @@ -58716,11 +51824,10 @@ def __init__( Args: enable: enable strict: strict - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}} mode: Literal["link-protection", "node-protection"] | None level: Literal["level-1", "level-2"] | None srlg: Srlg @@ -58729,7 +51836,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58739,7 +51845,6 @@ def __init__( mode: Literal["link-protection", "node-protection"] | None | UndefinedType = Undefined, level: Literal["level-1", "level-2"] | None | UndefinedType = Undefined, srlg: Srlg | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FastRerouteTiLfa. @@ -58754,28 +51859,20 @@ def __init__( Shared Risk Link Group. Subclass of AvdModel. - _custom_data: _custom_data """ class TunnelSourceLabeledUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "rcf": {"type": str}} enabled: bool | None rcf: str | None """Route Control Function.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - rcf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, rcf: str | None | UndefinedType = Undefined) -> None: """ TunnelSourceLabeledUnicast. @@ -58785,7 +51882,6 @@ def __init__( Args: enabled: enabled rcf: Route Control Function. - _custom_data: _custom_data """ @@ -58795,7 +51891,6 @@ def __init__( "bfd_all_interfaces": {"type": bool}, "fast_reroute_ti_lfa": {"type": FastRerouteTiLfa}, "tunnel_source_labeled_unicast": {"type": TunnelSourceLabeledUnicast}, - "_custom_data": {"type": dict}, } enabled: bool maximum_paths: int | None @@ -58805,7 +51900,6 @@ def __init__( """Subclass of AvdModel.""" tunnel_source_labeled_unicast: TunnelSourceLabeledUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58817,7 +51911,6 @@ def __init__( bfd_all_interfaces: bool | None | UndefinedType = Undefined, fast_reroute_ti_lfa: FastRerouteTiLfa | UndefinedType = Undefined, tunnel_source_labeled_unicast: TunnelSourceLabeledUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4. @@ -58831,7 +51924,6 @@ def __init__( bfd_all_interfaces: Enable BFD on all interfaces. fast_reroute_ti_lfa: Subclass of AvdModel. tunnel_source_labeled_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -58844,20 +51936,13 @@ class FastRerouteTiLfa(AvdModel): class Srlg(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool}, "strict": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool}, "strict": {"type": bool}} enable: bool | None strict: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | None | UndefinedType = Undefined, - strict: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | None | UndefinedType = Undefined, strict: bool | None | UndefinedType = Undefined) -> None: """ Srlg. @@ -58867,11 +51952,10 @@ def __init__( Args: enable: enable strict: strict - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "level": {"type": str}, "srlg": {"type": Srlg}} mode: Literal["link-protection", "node-protection"] | None level: Literal["level-1", "level-2"] | None """Optional, default is to protect all levels.""" @@ -58881,7 +51965,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58891,7 +51974,6 @@ def __init__( mode: Literal["link-protection", "node-protection"] | None | UndefinedType = Undefined, level: Literal["level-1", "level-2"] | None | UndefinedType = Undefined, srlg: Srlg | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FastRerouteTiLfa. @@ -58906,7 +51988,6 @@ def __init__( Shared Risk Link Group. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -58915,7 +51996,6 @@ def __init__( "maximum_paths": {"type": int}, "bfd_all_interfaces": {"type": bool}, "fast_reroute_ti_lfa": {"type": FastRerouteTiLfa}, - "_custom_data": {"type": dict}, } enabled: bool maximum_paths: int | None @@ -58923,7 +52003,6 @@ def __init__( """Enable BFD on all interfaces.""" fast_reroute_ti_lfa: FastRerouteTiLfa """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58934,7 +52013,6 @@ def __init__( maximum_paths: int | None | UndefinedType = Undefined, bfd_all_interfaces: bool | None | UndefinedType = Undefined, fast_reroute_ti_lfa: FastRerouteTiLfa | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6. @@ -58947,7 +52025,6 @@ def __init__( maximum_paths: maximum_paths bfd_all_interfaces: Enable BFD on all interfaces. fast_reroute_ti_lfa: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -58957,20 +52034,13 @@ class SegmentRoutingMpls(AvdModel): class PrefixSegmentsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "index": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}, "index": {"type": int}} prefix: str | None index: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefix: str | None | UndefinedType = Undefined, - index: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefix: str | None | UndefinedType = Undefined, index: int | None | UndefinedType = Undefined) -> None: """ PrefixSegmentsItem. @@ -58980,7 +52050,6 @@ def __init__( Args: prefix: prefix index: index - _custom_data: _custom_data """ @@ -58989,17 +52058,11 @@ class PrefixSegments(AvdList[PrefixSegmentsItem]): PrefixSegments._item_type = PrefixSegmentsItem - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "router_id": {"type": str}, - "prefix_segments": {"type": PrefixSegments}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "router_id": {"type": str}, "prefix_segments": {"type": PrefixSegments}} enabled: bool | None router_id: str | None prefix_segments: PrefixSegments """Subclass of AvdList with `PrefixSegmentsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59009,7 +52072,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, router_id: str | None | UndefinedType = Undefined, prefix_segments: PrefixSegments | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SegmentRoutingMpls. @@ -59021,7 +52083,6 @@ def __init__( enabled: enabled router_id: router_id prefix_segments: Subclass of AvdList with `PrefixSegmentsItem` items. - _custom_data: _custom_data """ @@ -59033,7 +52094,6 @@ class SpfInterval(AvdModel): "interval_unit": {"type": str}, "wait_interval": {"type": int}, "hold_interval": {"type": int}, - "_custom_data": {"type": dict}, } interval: int | None """ @@ -59048,7 +52108,6 @@ class SpfInterval(AvdModel): """Initial wait interval for SPF in milliseconds.""" hold_interval: int | None """Hold interval between the first and second SPF runs in milliseconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59059,7 +52118,6 @@ def __init__( interval_unit: Literal["seconds", "milliseconds"] | None | UndefinedType = Undefined, wait_interval: int | None | UndefinedType = Undefined, hold_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SpfInterval. @@ -59076,7 +52134,6 @@ def __init__( interval_unit: If interval unit is not defined EOS takes `seconds` by default. wait_interval: Initial wait interval for SPF in milliseconds. hold_interval: Hold interval between the first and second SPF runs in milliseconds. - _custom_data: _custom_data """ @@ -59086,21 +52143,16 @@ class GracefulRestart(AvdModel): class T2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level_1_wait_time": {"type": int}, "level_2_wait_time": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level_1_wait_time": {"type": int}, "level_2_wait_time": {"type": int}} level_1_wait_time: int | None """Level-1 LSP database sync wait time in seconds.""" level_2_wait_time: int | None """Level-2 LSP database sync wait time in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - level_1_wait_time: int | None | UndefinedType = Undefined, - level_2_wait_time: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, level_1_wait_time: int | None | UndefinedType = Undefined, level_2_wait_time: int | None | UndefinedType = Undefined ) -> None: """ T2. @@ -59111,17 +52163,15 @@ def __init__( Args: level_1_wait_time: Level-1 LSP database sync wait time in seconds. level_2_wait_time: Level-2 LSP database sync wait time in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "restart_hold_time": {"type": int}, "t2": {"type": T2}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "restart_hold_time": {"type": int}, "t2": {"type": T2}} enabled: bool | None restart_hold_time: int | None """Number of seconds.""" t2: T2 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59131,7 +52181,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, restart_hold_time: int | None | UndefinedType = Undefined, t2: T2 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GracefulRestart. @@ -59143,7 +52192,6 @@ def __init__( enabled: enabled restart_hold_time: Number of seconds. t2: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -59166,7 +52214,6 @@ def __init__( "spf_interval": {"type": SpfInterval}, "graceful_restart": {"type": GracefulRestart}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } instance: str """ISIS Instance Name.""" @@ -59201,7 +52248,6 @@ def __init__( """Subclass of AvdModel.""" eos_cli: str | None """Multiline EOS CLI rendered directly on the router isis in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59226,7 +52272,6 @@ def __init__( spf_interval: SpfInterval | UndefinedType = Undefined, graceful_restart: GracefulRestart | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterIsis. @@ -59253,7 +52298,6 @@ def __init__( spf_interval: Subclass of AvdModel. graceful_restart: Subclass of AvdModel. eos_cli: Multiline EOS CLI rendered directly on the router isis in the final EOS configuration. - _custom_data: _custom_data """ @@ -59263,14 +52307,13 @@ class RouterL2Vpn(AvdModel): class ArpProxy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix_list": {"type": str}} prefix_list: str | None """Prefix-list name. ARP Proxying is disabled for IPv4 addresses defined in the prefix-list.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined) -> None: """ ArpProxy. @@ -59279,24 +52322,22 @@ def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _cust Args: prefix_list: Prefix-list name. ARP Proxying is disabled for IPv4 addresses defined in the prefix-list. - _custom_data: _custom_data """ class NdProxy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix_list": {"type": str}} prefix_list: str | None """ Prefix-list name. Neighbor Discovery Proxying is disabled for IPv6 addresses defined in the prefix- list. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined) -> None: """ NdProxy. @@ -59307,7 +52348,6 @@ def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _cust prefix_list: Prefix-list name. Neighbor Discovery Proxying is disabled for IPv6 addresses defined in the prefix- list. - _custom_data: _custom_data """ @@ -59319,7 +52359,6 @@ def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _cust "nd_proxy": {"type": NdProxy}, "nd_rs_flooding_disabled": {"type": bool}, "virtual_router_nd_ra_flooding_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } arp_learning_bridged: bool | None arp_proxy: ArpProxy @@ -59330,7 +52369,6 @@ def __init__(self, *, prefix_list: str | None | UndefinedType = Undefined, _cust """Subclass of AvdModel.""" nd_rs_flooding_disabled: bool | None virtual_router_nd_ra_flooding_disabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59344,7 +52382,6 @@ def __init__( nd_proxy: NdProxy | UndefinedType = Undefined, nd_rs_flooding_disabled: bool | None | UndefinedType = Undefined, virtual_router_nd_ra_flooding_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterL2Vpn. @@ -59360,7 +52397,6 @@ def __init__( nd_proxy: Subclass of AvdModel. nd_rs_flooding_disabled: nd_rs_flooding_disabled virtual_router_nd_ra_flooding_disabled: virtual_router_nd_ra_flooding_disabled - _custom_data: _custom_data """ @@ -59370,22 +52406,15 @@ class RouterMsdp(AvdModel): class GroupLimitsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "limit": {"type": int}} source_prefix: str """Source address prefix.""" limit: int """Limit for SAs matching the source address prefix.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source_prefix: str | UndefinedType = Undefined, - limit: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source_prefix: str | UndefinedType = Undefined, limit: int | UndefinedType = Undefined) -> None: """ GroupLimitsItem. @@ -59395,7 +52424,6 @@ def __init__( Args: source_prefix: Source address prefix. limit: Limit for SAs matching the source address prefix. - _custom_data: _custom_data """ @@ -59412,21 +52440,14 @@ class PeersItem(AvdModel): class DefaultPeer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "prefix_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "prefix_list": {"type": str}} enabled: bool | None prefix_list: str | None """Prefix list to filter source of SA messages.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - prefix_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, prefix_list: str | None | UndefinedType = Undefined) -> None: """ DefaultPeer. @@ -59436,21 +52457,19 @@ def __init__( Args: enabled: enabled prefix_list: Prefix list to filter source of SA messages. - _custom_data: _custom_data """ class MeshGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str """Mesh group name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ MeshGroupsItem. @@ -59459,7 +52478,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: Mesh group name. - _custom_data: _custom_data """ @@ -59473,21 +52491,14 @@ class MeshGroups(AvdIndexedList[str, MeshGroupsItem]): class Keepalive(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"keepalive_timer": {"type": int}, "hold_timer": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"keepalive_timer": {"type": int}, "hold_timer": {"type": int}} keepalive_timer: int hold_timer: int """Must be greater than keepalive timer.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - keepalive_timer: int | UndefinedType = Undefined, - hold_timer: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, keepalive_timer: int | UndefinedType = Undefined, hold_timer: int | UndefinedType = Undefined) -> None: """ Keepalive. @@ -59497,29 +52508,21 @@ def __init__( Args: keepalive_timer: keepalive_timer hold_timer: Must be greater than keepalive timer. - _custom_data: _custom_data """ class SaFilter(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"in_list": {"type": str}, "out_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"in_list": {"type": str}, "out_list": {"type": str}} in_list: str | None """ACL to filter inbound SA messages.""" out_list: str | None """ACL to filter outbound SA messages.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - in_list: str | None | UndefinedType = Undefined, - out_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, in_list: str | None | UndefinedType = Undefined, out_list: str | None | UndefinedType = Undefined) -> None: """ SaFilter. @@ -59529,7 +52532,6 @@ def __init__( Args: in_list: ACL to filter inbound SA messages. out_list: ACL to filter outbound SA messages. - _custom_data: _custom_data """ @@ -59543,7 +52545,6 @@ def __init__( "mesh_groups": {"type": MeshGroups}, "keepalive": {"type": Keepalive}, "sa_filter": {"type": SaFilter}, - "_custom_data": {"type": dict}, } ipv4_address: str """Peer IP Address.""" @@ -59561,7 +52562,6 @@ def __init__( """Subclass of AvdModel.""" sa_filter: SaFilter """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59577,7 +52577,6 @@ def __init__( mesh_groups: MeshGroups | UndefinedType = Undefined, keepalive: Keepalive | UndefinedType = Undefined, sa_filter: SaFilter | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeersItem. @@ -59595,7 +52594,6 @@ def __init__( mesh_groups: Subclass of AvdIndexedList with `MeshGroupsItem` items. Primary key is `name` (`str`). keepalive: Subclass of AvdModel. sa_filter: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -59612,22 +52610,15 @@ class VrfsItem(AvdModel): class GroupLimitsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "limit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "limit": {"type": int}} source_prefix: str """Source address prefix.""" limit: int """Limit for SAs matching the source address prefix.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source_prefix: str | UndefinedType = Undefined, - limit: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source_prefix: str | UndefinedType = Undefined, limit: int | UndefinedType = Undefined) -> None: """ GroupLimitsItem. @@ -59637,7 +52628,6 @@ def __init__( Args: source_prefix: Source address prefix. limit: Limit for SAs matching the source address prefix. - _custom_data: _custom_data """ @@ -59654,21 +52644,14 @@ class PeersItem(AvdModel): class DefaultPeer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "prefix_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "prefix_list": {"type": str}} enabled: bool | None prefix_list: str | None """Prefix list to filter source of SA messages.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - prefix_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, prefix_list: str | None | UndefinedType = Undefined) -> None: """ DefaultPeer. @@ -59678,21 +52661,19 @@ def __init__( Args: enabled: enabled prefix_list: Prefix list to filter source of SA messages. - _custom_data: _custom_data """ class MeshGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str """Mesh group name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ MeshGroupsItem. @@ -59701,7 +52682,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: Mesh group name. - _custom_data: _custom_data """ @@ -59715,21 +52695,14 @@ class MeshGroups(AvdIndexedList[str, MeshGroupsItem]): class Keepalive(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"keepalive_timer": {"type": int}, "hold_timer": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"keepalive_timer": {"type": int}, "hold_timer": {"type": int}} keepalive_timer: int hold_timer: int """Must be greater than keepalive timer.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - keepalive_timer: int | UndefinedType = Undefined, - hold_timer: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, keepalive_timer: int | UndefinedType = Undefined, hold_timer: int | UndefinedType = Undefined) -> None: """ Keepalive. @@ -59739,29 +52712,21 @@ def __init__( Args: keepalive_timer: keepalive_timer hold_timer: Must be greater than keepalive timer. - _custom_data: _custom_data """ class SaFilter(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"in_list": {"type": str}, "out_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"in_list": {"type": str}, "out_list": {"type": str}} in_list: str | None """ACL to filter inbound SA messages.""" out_list: str | None """ACL to filter outbound SA messages.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - in_list: str | None | UndefinedType = Undefined, - out_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, in_list: str | None | UndefinedType = Undefined, out_list: str | None | UndefinedType = Undefined) -> None: """ SaFilter. @@ -59771,7 +52736,6 @@ def __init__( Args: in_list: ACL to filter inbound SA messages. out_list: ACL to filter outbound SA messages. - _custom_data: _custom_data """ @@ -59785,7 +52749,6 @@ def __init__( "mesh_groups": {"type": MeshGroups}, "keepalive": {"type": Keepalive}, "sa_filter": {"type": SaFilter}, - "_custom_data": {"type": dict}, } ipv4_address: str """Peer IP Address.""" @@ -59803,7 +52766,6 @@ def __init__( """Subclass of AvdModel.""" sa_filter: SaFilter """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59819,7 +52781,6 @@ def __init__( mesh_groups: MeshGroups | UndefinedType = Undefined, keepalive: Keepalive | UndefinedType = Undefined, sa_filter: SaFilter | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PeersItem. @@ -59837,7 +52798,6 @@ def __init__( mesh_groups: Subclass of AvdIndexedList with `MeshGroupsItem` items. Primary key is `name` (`str`). keepalive: Subclass of AvdModel. sa_filter: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -59856,7 +52816,6 @@ class Peers(AvdIndexedList[str, PeersItem]): "connection_retry_interval": {"type": int}, "group_limits": {"type": GroupLimits}, "peers": {"type": Peers}, - "_custom_data": {"type": dict}, } name: str """VRF name.""" @@ -59870,7 +52829,6 @@ class Peers(AvdIndexedList[str, PeersItem]): """Subclass of AvdIndexedList with `GroupLimitsItem` items. Primary key is `source_prefix` (`str`).""" peers: Peers """Subclass of AvdIndexedList with `PeersItem` items. Primary key is `ipv4_address` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59884,7 +52842,6 @@ def __init__( connection_retry_interval: int | None | UndefinedType = Undefined, group_limits: GroupLimits | UndefinedType = Undefined, peers: Peers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -59900,7 +52857,6 @@ def __init__( connection_retry_interval: connection_retry_interval group_limits: Subclass of AvdIndexedList with `GroupLimitsItem` items. Primary key is `source_prefix` (`str`). peers: Subclass of AvdIndexedList with `PeersItem` items. Primary key is `ipv4_address` (`str`). - _custom_data: _custom_data """ @@ -59919,7 +52875,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "group_limits": {"type": GroupLimits}, "peers": {"type": Peers}, "vrfs": {"type": Vrfs}, - "_custom_data": {"type": dict}, } originator_id_local_interface: str | None """Interface to use for originator ID.""" @@ -59933,7 +52888,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): """Subclass of AvdIndexedList with `PeersItem` items. Primary key is `ipv4_address` (`str`).""" vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59947,7 +52901,6 @@ def __init__( group_limits: GroupLimits | UndefinedType = Undefined, peers: Peers | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterMsdp. @@ -59963,7 +52916,6 @@ def __init__( group_limits: Subclass of AvdIndexedList with `GroupLimitsItem` items. Primary key is `source_prefix` (`str`). peers: Subclass of AvdIndexedList with `PeersItem` items. Primary key is `ipv4_address` (`str`). vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -59976,16 +52928,13 @@ class Ipv4(AvdModel): class Counters(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate_period_decay": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate_period_decay": {"type": int}} rate_period_decay: int | None """Rate in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, rate_period_decay: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, rate_period_decay: int | None | UndefinedType = Undefined) -> None: """ Counters. @@ -59994,7 +52943,6 @@ def __init__( Args: rate_period_decay: Rate in seconds. - _custom_data: _custom_data """ @@ -60007,22 +52955,15 @@ class RoutesItem(AvdModel): class DestinationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"nexthop": {"type": str}, "distance": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"nexthop": {"type": str}, "distance": {"type": int}} nexthop: str """Next-hop IP address or interface name.""" distance: int | None """Administrative distance for this route.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - nexthop: str | UndefinedType = Undefined, - distance: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, nexthop: str | UndefinedType = Undefined, distance: int | None | UndefinedType = Undefined) -> None: """ DestinationsItem. @@ -60032,7 +52973,6 @@ def __init__( Args: nexthop: Next-hop IP address or interface name. distance: Administrative distance for this route. - _custom_data: _custom_data """ @@ -60041,22 +52981,15 @@ class Destinations(AvdList[DestinationsItem]): Destinations._item_type = DestinationsItem - _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "destinations": {"type": Destinations}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source_prefix": {"type": str}, "destinations": {"type": Destinations}} source_prefix: str """Source address A.B.C.D or Source prefix A.B.C.D/E.""" destinations: Destinations """Subclass of AvdList with `DestinationsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - source_prefix: str | UndefinedType = Undefined, - destinations: Destinations | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, source_prefix: str | UndefinedType = Undefined, destinations: Destinations | UndefinedType = Undefined) -> None: """ RoutesItem. @@ -60066,7 +52999,6 @@ def __init__( Args: source_prefix: Source address A.B.C.D or Source prefix A.B.C.D/E. destinations: Subclass of AvdList with `DestinationsItem` items. - _custom_data: _custom_data """ @@ -60075,14 +53007,13 @@ class Routes(AvdList[RoutesItem]): Routes._item_type = RoutesItem - _fields: ClassVar[dict] = {"routes": {"type": Routes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"routes": {"type": Routes}} routes: Routes """Subclass of AvdList with `RoutesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, routes: Routes | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, routes: Routes | UndefinedType = Undefined) -> None: """ Rpf. @@ -60091,7 +53022,6 @@ def __init__(self, *, routes: Routes | UndefinedType = Undefined, _custom_data: Args: routes: Subclass of AvdList with `RoutesItem` items. - _custom_data: _custom_data """ @@ -60102,7 +53032,6 @@ def __init__(self, *, routes: Routes | UndefinedType = Undefined, _custom_data: "multipath": {"type": str}, "software_forwarding": {"type": str}, "rpf": {"type": Rpf}, - "_custom_data": {"type": dict}, } activity_polling_interval: int | None """MFIB entry activity polling interval.""" @@ -60113,7 +53042,6 @@ def __init__(self, *, routes: Routes | UndefinedType = Undefined, _custom_data: software_forwarding: Literal["kernel", "sfe"] | None rpf: Rpf """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60126,7 +53054,6 @@ def __init__( multipath: Literal["none", "deterministic", "deterministic color", "deterministic router-id"] | None | UndefinedType = Undefined, software_forwarding: Literal["kernel", "sfe"] | None | UndefinedType = Undefined, rpf: Rpf | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -60141,23 +53068,19 @@ def __init__( multipath: multipath software_forwarding: software_forwarding rpf: Subclass of AvdModel. - _custom_data: _custom_data """ class Ipv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"activity_polling_interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"activity_polling_interval": {"type": int}} activity_polling_interval: int | None """MFIB entry activity polling interval.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, activity_polling_interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, activity_polling_interval: int | None | UndefinedType = Undefined) -> None: """ Ipv6. @@ -60166,7 +53089,6 @@ def __init__( Args: activity_polling_interval: MFIB entry activity polling interval. - _custom_data: _custom_data """ @@ -60176,13 +53098,12 @@ class VrfsItem(AvdModel): class Ipv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"routing": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"routing": {"type": bool}} routing: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, routing: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, routing: bool | None | UndefinedType = Undefined) -> None: """ Ipv4. @@ -60191,25 +53112,17 @@ def __init__(self, *, routing: bool | None | UndefinedType = Undefined, _custom_ Args: routing: routing - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4": {"type": Ipv4}} name: str ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - ipv4: Ipv4 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -60219,7 +53132,6 @@ def __init__( Args: name: name ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -60230,24 +53142,18 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Vrfs._item_type = VrfsItem - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "vrfs": {"type": Vrfs}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "vrfs": {"type": Vrfs}} ipv4: Ipv4 """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - ipv6: Ipv6 | UndefinedType = Undefined, - vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined ) -> None: """ RouterMulticast. @@ -60259,7 +53165,6 @@ def __init__( ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -60272,11 +53177,10 @@ class ProcessIdsItem(AvdModel): class Distance(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"external": {"type": int}, "inter_area": {"type": int}, "intra_area": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"external": {"type": int}, "inter_area": {"type": int}, "intra_area": {"type": int}} external: int | None inter_area: int | None intra_area: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60286,7 +53190,6 @@ def __init__( external: int | None | UndefinedType = Undefined, inter_area: int | None | UndefinedType = Undefined, intra_area: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Distance. @@ -60298,27 +53201,19 @@ def __init__( external: external inter_area: inter_area intra_area: intra_area - _custom_data: _custom_data """ class NetworkPrefixesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_prefix": {"type": str}, "area": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_prefix": {"type": str}, "area": {"type": str}} ipv4_prefix: str area: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4_prefix: str | UndefinedType = Undefined, - area: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4_prefix: str | UndefinedType = Undefined, area: str | None | UndefinedType = Undefined) -> None: """ NetworkPrefixesItem. @@ -60328,7 +53223,6 @@ def __init__( Args: ipv4_prefix: ipv4_prefix area: area - _custom_data: _custom_data """ @@ -60347,13 +53241,12 @@ class NoPassiveInterfaces(AvdList[str]): class DistributeListIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"route_map": {"type": str}} route_map: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, route_map: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, route_map: str | None | UndefinedType = Undefined) -> None: """ DistributeListIn. @@ -60362,7 +53255,6 @@ def __init__(self, *, route_map: str | None | UndefinedType = Undefined, _custom Args: route_map: route_map - _custom_data: _custom_data """ @@ -60375,14 +53267,13 @@ class Lsa(AvdModel): class TxDelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"initial": {"type": int}, "min": {"type": int}, "max": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"initial": {"type": int}, "min": {"type": int}, "max": {"type": int}} initial: int | None """Delay to generate first occurrence of LSA in msecs.""" min: int | None """Min delay between originating the same LSA in msecs.""" max: int | None """1-600000 Maximum delay between originating the same LSA in msec.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60392,7 +53283,6 @@ def __init__( initial: int | None | UndefinedType = Undefined, min: int | None | UndefinedType = Undefined, max: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TxDelay. @@ -60404,26 +53294,18 @@ def __init__( initial: Delay to generate first occurrence of LSA in msecs. min: Min delay between originating the same LSA in msecs. max: 1-600000 Maximum delay between originating the same LSA in msec. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"rx_min_interval": {"type": int}, "tx_delay": {"type": TxDelay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rx_min_interval": {"type": int}, "tx_delay": {"type": TxDelay}} rx_min_interval: int | None """Min interval in msecs between accepting the same LSA.""" tx_delay: TxDelay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - rx_min_interval: int | None | UndefinedType = Undefined, - tx_delay: TxDelay | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, rx_min_interval: int | None | UndefinedType = Undefined, tx_delay: TxDelay | UndefinedType = Undefined) -> None: """ Lsa. @@ -60433,21 +53315,19 @@ def __init__( Args: rx_min_interval: Min interval in msecs between accepting the same LSA. tx_delay: Subclass of AvdModel. - _custom_data: _custom_data """ class SpfDelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"initial": {"type": int}, "min": {"type": int}, "max": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"initial": {"type": int}, "min": {"type": int}, "max": {"type": int}} initial: int | None """Initial SPF schedule delay in msecs.""" min: int | None """Min Hold time between two SPFs in msecs.""" max: int | None """Max wait time between two SPFs in msecs.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60457,7 +53337,6 @@ def __init__( initial: int | None | UndefinedType = Undefined, min: int | None | UndefinedType = Undefined, max: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SpfDelay. @@ -60469,26 +53348,18 @@ def __init__( initial: Initial SPF schedule delay in msecs. min: Min Hold time between two SPFs in msecs. max: Max wait time between two SPFs in msecs. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"lsa": {"type": Lsa}, "spf_delay": {"type": SpfDelay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"lsa": {"type": Lsa}, "spf_delay": {"type": SpfDelay}} lsa: Lsa """Subclass of AvdModel.""" spf_delay: SpfDelay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - lsa: Lsa | UndefinedType = Undefined, - spf_delay: SpfDelay | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, lsa: Lsa | UndefinedType = Undefined, spf_delay: SpfDelay | UndefinedType = Undefined) -> None: """ Timers. @@ -60498,20 +53369,18 @@ def __init__( Args: lsa: Subclass of AvdModel. spf_delay: Subclass of AvdModel. - _custom_data: _custom_data """ class DefaultInformationOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"always": {"type": bool}, "metric": {"type": int}, "metric_type": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"always": {"type": bool}, "metric": {"type": int}, "metric_type": {"type": int}} always: bool | None metric: int | None """Metric for default route.""" metric_type: Literal[1, 2] | None """OSPF metric type for default route.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60521,7 +53390,6 @@ def __init__( always: bool | None | UndefinedType = Undefined, metric: int | None | UndefinedType = Undefined, metric_type: Literal[1, 2] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultInformationOriginate. @@ -60533,26 +53401,18 @@ def __init__( always: always metric: Metric for default route. metric_type: OSPF metric type for default route. - _custom_data: _custom_data """ class SummaryAddressesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "prefix": {"type": str}, - "tag": {"type": int}, - "attribute_map": {"type": str}, - "not_advertise": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"prefix": {"type": str}, "tag": {"type": int}, "attribute_map": {"type": str}, "not_advertise": {"type": bool}} prefix: str """Summary Prefix Address.""" tag: int | None attribute_map: str | None not_advertise: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60563,7 +53423,6 @@ def __init__( tag: int | None | UndefinedType = Undefined, attribute_map: str | None | UndefinedType = Undefined, not_advertise: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SummaryAddressesItem. @@ -60576,7 +53435,6 @@ def __init__( tag: tag attribute_map: attribute_map not_advertise: not_advertise - _custom_data: _custom_data """ @@ -60593,17 +53451,11 @@ class Redistribute(AvdModel): class Static(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None """Route Map Name.""" include_leaked: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60613,7 +53465,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Static. @@ -60625,24 +53476,17 @@ def __init__( enabled: enabled route_map: Route Map Name. include_leaked: include_leaked - _custom_data: _custom_data """ class Connected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None """Route Map Name.""" include_leaked: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60652,7 +53496,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Connected. @@ -60664,24 +53507,17 @@ def __init__( enabled: enabled route_map: Route Map Name. include_leaked: include_leaked - _custom_data: _custom_data """ class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "route_map": {"type": str}, - "include_leaked": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "route_map": {"type": str}, "include_leaked": {"type": bool}} enabled: bool route_map: str | None """Route Map Name.""" include_leaked: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60691,7 +53527,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, include_leaked: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -60703,18 +53538,16 @@ def __init__( enabled: enabled route_map: Route Map Name. include_leaked: include_leaked - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"static": {"type": Static}, "connected": {"type": Connected}, "bgp": {"type": Bgp}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"static": {"type": Static}, "connected": {"type": Connected}, "bgp": {"type": Bgp}} static: Static """Subclass of AvdModel.""" connected: Connected """Subclass of AvdModel.""" bgp: Bgp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60724,7 +53557,6 @@ def __init__( static: Static | UndefinedType = Undefined, connected: Connected | UndefinedType = Undefined, bgp: Bgp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Redistribute. @@ -60736,7 +53568,6 @@ def __init__( static: Subclass of AvdModel. connected: Subclass of AvdModel. bgp: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -60751,22 +53582,15 @@ class Networks(AvdList[str]): Networks._item_type = str - _fields: ClassVar[dict] = {"networks": {"type": Networks}, "prefix_list": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"networks": {"type": Networks}, "prefix_list": {"type": str}} networks: Networks """Subclass of AvdList with `str` items.""" prefix_list: str | None """Prefix-List Name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - networks: Networks | UndefinedType = Undefined, - prefix_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, networks: Networks | UndefinedType = Undefined, prefix_list: str | None | UndefinedType = Undefined) -> None: """ Filter. @@ -60776,28 +53600,22 @@ def __init__( Args: networks: Subclass of AvdList with `str` items. prefix_list: Prefix-List Name. - _custom_data: _custom_data """ class DefaultInformationOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"metric": {"type": int}, "metric_type": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"metric": {"type": int}, "metric_type": {"type": int}} metric: int | None """Metric for default route.""" metric_type: Literal[1, 2] | None """OSPF metric type for default route.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - metric: int | None | UndefinedType = Undefined, - metric_type: Literal[1, 2] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, metric: int | None | UndefinedType = Undefined, metric_type: Literal[1, 2] | None | UndefinedType = Undefined ) -> None: """ DefaultInformationOriginate. @@ -60808,7 +53626,6 @@ def __init__( Args: metric: Metric for default route. metric_type: OSPF metric type for default route. - _custom_data: _custom_data """ @@ -60819,7 +53636,6 @@ def __init__( "no_summary": {"type": bool}, "nssa_only": {"type": bool}, "default_information_originate": {"type": DefaultInformationOriginate}, - "_custom_data": {"type": dict}, } id: str filter: Filter @@ -60830,7 +53646,6 @@ def __init__( nssa_only: bool | None default_information_originate: DefaultInformationOriginate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60843,7 +53658,6 @@ def __init__( no_summary: bool | None | UndefinedType = Undefined, nssa_only: bool | None | UndefinedType = Undefined, default_information_originate: DefaultInformationOriginate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AreasItem. @@ -60858,7 +53672,6 @@ def __init__( no_summary: no_summary nssa_only: nssa_only default_information_originate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -60878,15 +53691,12 @@ class RouterLsa(AvdModel): class ExternalLsa(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"override_metric": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"override_metric": {"type": int}} override_metric: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, override_metric: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, override_metric: int | None | UndefinedType = Undefined) -> None: """ ExternalLsa. @@ -60895,22 +53705,18 @@ def __init__( Args: override_metric: override_metric - _custom_data: _custom_data """ class SummaryLsa(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"override_metric": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"override_metric": {"type": int}} override_metric: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, override_metric: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, override_metric: int | None | UndefinedType = Undefined) -> None: """ SummaryLsa. @@ -60919,7 +53725,6 @@ def __init__( Args: override_metric: override_metric - _custom_data: _custom_data """ @@ -60928,7 +53733,6 @@ def __init__( "include_stub": {"type": bool}, "on_startup": {"type": str}, "summary_lsa": {"type": SummaryLsa}, - "_custom_data": {"type": dict}, } external_lsa: ExternalLsa """Subclass of AvdModel.""" @@ -60940,7 +53744,6 @@ def __init__( """ summary_lsa: SummaryLsa """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -60951,7 +53754,6 @@ def __init__( include_stub: bool | None | UndefinedType = Undefined, on_startup: str | None | UndefinedType = Undefined, summary_lsa: SummaryLsa | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterLsa. @@ -60966,18 +53768,16 @@ def __init__( "wait-for-bgp" or Integer 5-86400. Example: "wait-for-bgp" Or "222" summary_lsa: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"router_lsa": {"type": RouterLsa}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"router_lsa": {"type": RouterLsa}} router_lsa: RouterLsa """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, router_lsa: RouterLsa | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, router_lsa: RouterLsa | UndefinedType = Undefined) -> None: """ MaxMetric. @@ -60986,28 +53786,20 @@ def __init__(self, *, router_lsa: RouterLsa | UndefinedType = Undefined, _custom Args: router_lsa: Subclass of AvdModel. - _custom_data: _custom_data """ class GracefulRestart(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "grace_period": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "grace_period": {"type": int}} enabled: bool grace_period: int | None """Specify maximum time in seconds to wait for graceful-restart to complete.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - grace_period: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, grace_period: int | None | UndefinedType = Undefined) -> None: """ GracefulRestart. @@ -61017,7 +53809,6 @@ def __init__( Args: enabled: enabled grace_period: Specify maximum time in seconds to wait for graceful-restart to complete. - _custom_data: _custom_data """ @@ -61046,7 +53837,6 @@ def __init__( "graceful_restart_helper": {"type": bool}, "mpls_ldp_sync_default": {"type": bool}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } id: int """OSPF Process ID.""" @@ -61088,7 +53878,6 @@ def __init__( mpls_ldp_sync_default: bool | None eos_cli: str | None """Multiline EOS CLI rendered directly on the Router OSPF process ID in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61119,7 +53908,6 @@ def __init__( graceful_restart_helper: bool | None | UndefinedType = Undefined, mpls_ldp_sync_default: bool | None | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProcessIdsItem. @@ -61152,7 +53940,6 @@ def __init__( graceful_restart_helper: graceful_restart_helper mpls_ldp_sync_default: mpls_ldp_sync_default eos_cli: Multiline EOS CLI rendered directly on the Router OSPF process ID in the final EOS configuration. - _custom_data: _custom_data """ @@ -61163,14 +53950,13 @@ class ProcessIds(AvdIndexedList[int, ProcessIdsItem]): ProcessIds._item_type = ProcessIdsItem - _fields: ClassVar[dict] = {"process_ids": {"type": ProcessIds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"process_ids": {"type": ProcessIds}} process_ids: ProcessIds """Subclass of AvdIndexedList with `ProcessIdsItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, process_ids: ProcessIds | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, process_ids: ProcessIds | UndefinedType = Undefined) -> None: """ RouterOspf. @@ -61179,7 +53965,6 @@ def __init__(self, *, process_ids: ProcessIds | UndefinedType = Undefined, _cust Args: process_ids: Subclass of AvdIndexedList with `ProcessIdsItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -61200,20 +53985,17 @@ class ServerProfiles(AvdList[str]): ServerProfiles._item_type = str - _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}} server_profiles: ServerProfiles """ STUN server-profile names. Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, server_profiles: ServerProfiles | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, server_profiles: ServerProfiles | UndefinedType = Undefined) -> None: """ Stun. @@ -61225,18 +54007,16 @@ def __init__( STUN server-profile names. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}} name: str """Local interface name.""" public_address: str | None """Public IP assigned by NAT.""" stun: Stun """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61246,7 +54026,6 @@ def __init__( name: str | UndefinedType = Undefined, public_address: str | None | UndefinedType = Undefined, stun: Stun | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LocalInterfacesItem. @@ -61258,7 +54037,6 @@ def __init__( name: Local interface name. public_address: Public IP assigned by NAT. stun: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -61280,20 +54058,17 @@ class ServerProfiles(AvdList[str]): ServerProfiles._item_type = str - _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}} server_profiles: ServerProfiles """ STUN server-profile names. Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, server_profiles: ServerProfiles | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, server_profiles: ServerProfiles | UndefinedType = Undefined) -> None: """ Stun. @@ -61305,17 +54080,15 @@ def __init__( STUN server-profile names. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ip_address": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_address": {"type": str}, "public_address": {"type": str}, "stun": {"type": Stun}} ip_address: str public_address: str | None """Public IP assigned by NAT.""" stun: Stun """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61325,7 +54098,6 @@ def __init__( ip_address: str | UndefinedType = Undefined, public_address: str | None | UndefinedType = Undefined, stun: Stun | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LocalIpsItem. @@ -61337,7 +54109,6 @@ def __init__( ip_address: ip_address public_address: Public IP assigned by NAT. stun: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -61351,14 +54122,13 @@ class LocalIps(AvdIndexedList[str, LocalIpsItem]): class DynamicPeers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "ip_local": {"type": bool}, "ipsec": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "ip_local": {"type": bool}, "ipsec": {"type": bool}} enabled: bool | None """Enable `peer dynamic`.""" ip_local: bool | None """Prefer local IP address.""" ipsec: bool | None """IPsec configuration for dynamic peers.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61368,7 +54138,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, ip_local: bool | None | UndefinedType = Undefined, ipsec: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicPeers. @@ -61380,7 +54149,6 @@ def __init__( enabled: Enable `peer dynamic`. ip_local: Prefer local IP address. ipsec: IPsec configuration for dynamic peers. - _custom_data: _custom_data """ @@ -61392,12 +54160,7 @@ class Ipv4Addresses(AvdList[str]): Ipv4Addresses._item_type = str - _fields: ClassVar[dict] = { - "router_ip": {"type": str}, - "name": {"type": str}, - "ipv4_addresses": {"type": Ipv4Addresses}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"router_ip": {"type": str}, "name": {"type": str}, "ipv4_addresses": {"type": Ipv4Addresses}} router_ip: str """Peer router IP.""" name: str | None @@ -61408,7 +54171,6 @@ class Ipv4Addresses(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61418,7 +54180,6 @@ def __init__( router_ip: str | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, ipv4_addresses: Ipv4Addresses | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticPeersItem. @@ -61433,7 +54194,6 @@ def __init__( Static IPv4 addresses. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -61447,12 +54207,7 @@ class StaticPeers(AvdIndexedList[str, StaticPeersItem]): class Keepalive(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "auto": {"type": bool, "default": False}, - "interval": {"type": int}, - "failure_threshold": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"auto": {"type": bool, "default": False}, "interval": {"type": int}, "failure_threshold": {"type": int}} auto: bool """ Enable adaptive keepalive and feedback interval. @@ -61463,7 +54218,6 @@ class Keepalive(AvdModel): """Interval in milliseconds.""" failure_threshold: int | None """Failure threshold in number of intervals. Required when `interval` is set.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61473,7 +54227,6 @@ def __init__( auto: bool | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined, failure_threshold: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Keepalive. @@ -61485,7 +54238,6 @@ def __init__( auto: Enable adaptive keepalive and feedback interval. interval: Interval in milliseconds. failure_threshold: Failure threshold in number of intervals. Required when `interval` is set. - _custom_data: _custom_data """ @@ -61499,7 +54251,6 @@ def __init__( "dynamic_peers": {"type": DynamicPeers}, "static_peers": {"type": StaticPeers}, "keepalive": {"type": Keepalive}, - "_custom_data": {"type": dict}, } name: str """Path group name.""" @@ -61524,7 +54275,6 @@ def __init__( """Subclass of AvdIndexedList with `StaticPeersItem` items. Primary key is `router_ip` (`str`).""" keepalive: Keepalive """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61540,7 +54290,6 @@ def __init__( dynamic_peers: DynamicPeers | UndefinedType = Undefined, static_peers: StaticPeers | UndefinedType = Undefined, keepalive: Keepalive | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PathGroupsItem. @@ -61562,7 +54311,6 @@ def __init__( AvdModel. static_peers: Subclass of AvdIndexedList with `StaticPeersItem` items. Primary key is `router_ip` (`str`). keepalive: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -61579,7 +54327,7 @@ class LoadBalancePoliciesItem(AvdModel): class PathGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "priority": {"type": int}} name: str """Path-group name.""" priority: int | None @@ -61587,17 +54335,10 @@ class PathGroupsItem(AvdModel): Priority for this path-group. The EOS default value is 1. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined) -> None: """ PathGroupsItem. @@ -61609,7 +54350,6 @@ def __init__( priority: Priority for this path-group. The EOS default value is 1. - _custom_data: _custom_data """ @@ -61627,7 +54367,6 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): "latency": {"type": int}, "loss_rate": {"type": str}, "path_groups": {"type": PathGroups}, - "_custom_data": {"type": dict}, } name: str """Load-balance policy name.""" @@ -61649,7 +54388,6 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): Subclass of AvdIndexedList with `PathGroupsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61662,7 +54400,6 @@ def __init__( latency: int | None | UndefinedType = Undefined, loss_rate: str | None | UndefinedType = Undefined, path_groups: PathGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LoadBalancePoliciesItem. @@ -61683,7 +54420,6 @@ def __init__( Subclass of AvdIndexedList with `PathGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -61700,16 +54436,13 @@ class PoliciesItem(AvdModel): class DefaultMatch(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"load_balance": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"load_balance": {"type": str}} load_balance: str | None """Name of the load-balance policy.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, load_balance: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, load_balance: str | None | UndefinedType = Undefined) -> None: """ DefaultMatch. @@ -61718,25 +54451,18 @@ def __init__( Args: load_balance: Name of the load-balance policy. - _custom_data: _custom_data """ class RulesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "application_profile": {"type": str}, - "load_balance": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "application_profile": {"type": str}, "load_balance": {"type": str}} id: int """Rule ID.""" application_profile: str load_balance: str | None """Name of the load-balance policy.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61746,7 +54472,6 @@ def __init__( id: int | UndefinedType = Undefined, application_profile: str | UndefinedType = Undefined, load_balance: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RulesItem. @@ -61758,7 +54483,6 @@ def __init__( id: Rule ID. application_profile: application_profile load_balance: Name of the load-balance policy. - _custom_data: _custom_data """ @@ -61769,14 +54493,13 @@ class Rules(AvdIndexedList[int, RulesItem]): Rules._item_type = RulesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "default_match": {"type": DefaultMatch}, "rules": {"type": Rules}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "default_match": {"type": DefaultMatch}, "rules": {"type": Rules}} name: str """DPS policy name.""" default_match: DefaultMatch """Subclass of AvdModel.""" rules: Rules """Subclass of AvdIndexedList with `RulesItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -61786,7 +54509,6 @@ def __init__( name: str | UndefinedType = Undefined, default_match: DefaultMatch | UndefinedType = Undefined, rules: Rules | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PoliciesItem. @@ -61798,7 +54520,6 @@ def __init__( name: DPS policy name. default_match: Subclass of AvdModel. rules: Subclass of AvdIndexedList with `RulesItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -61812,22 +54533,15 @@ class Policies(AvdIndexedList[str, PoliciesItem]): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "path_selection_policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "path_selection_policy": {"type": str}} name: str """VRF name.""" path_selection_policy: str | None """DPS policy name to use for this VRF.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - path_selection_policy: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, path_selection_policy: str | None | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -61837,7 +54551,6 @@ def __init__( Args: name: VRF name. path_selection_policy: DPS policy name to use for this VRF. - _custom_data: _custom_data """ @@ -61851,7 +54564,7 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class TcpMssCeiling(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_segment_size": {"type": str}, "direction": {"type": str, "default": "ingress"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_segment_size": {"type": str}, "direction": {"type": str, "default": "ingress"}} ipv4_segment_size: str | None """ Segment Size for IPv4. @@ -61869,16 +54582,11 @@ class TcpMssCeiling(AvdModel): Default value: `"ingress"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4_segment_size: str | None | UndefinedType = Undefined, - direction: Literal["ingress"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4_segment_size: str | None | UndefinedType = Undefined, direction: Literal["ingress"] | UndefinedType = Undefined ) -> None: """ TcpMssCeiling. @@ -61898,7 +54606,6 @@ def __init__( Enforce on packets through DPS tunnel for a specific direction. Only 'ingress' direction is supported. - _custom_data: _custom_data """ @@ -61908,22 +54615,15 @@ class InterfacesItem(AvdModel): class MetricBandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"receive": {"type": int}, "transmit": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"receive": {"type": int}, "transmit": {"type": int}} receive: int | None """Maximum receive bandwidth in Mbps.""" transmit: int | None """Maximum transmit bandwidth in Mbps.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - receive: int | None | UndefinedType = Undefined, - transmit: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, receive: int | None | UndefinedType = Undefined, transmit: int | None | UndefinedType = Undefined) -> None: """ MetricBandwidth. @@ -61933,25 +54633,17 @@ def __init__( Args: receive: Maximum receive bandwidth in Mbps. transmit: Maximum transmit bandwidth in Mbps. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "metric_bandwidth": {"type": MetricBandwidth}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "metric_bandwidth": {"type": MetricBandwidth}} name: str metric_bandwidth: MetricBandwidth """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - metric_bandwidth: MetricBandwidth | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, metric_bandwidth: MetricBandwidth | UndefinedType = Undefined) -> None: """ InterfacesItem. @@ -61961,7 +54653,6 @@ def __init__( Args: name: name metric_bandwidth: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -61980,7 +54671,6 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): "vrfs": {"type": Vrfs}, "tcp_mss_ceiling": {"type": TcpMssCeiling}, "interfaces": {"type": Interfaces}, - "_custom_data": {"type": dict}, } peer_dynamic_source: Literal["stun"] | None """Source of dynamic peer discovery.""" @@ -61996,7 +54686,6 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): """Subclass of AvdModel.""" interfaces: Interfaces """Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62010,7 +54699,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, tcp_mss_ceiling: TcpMssCeiling | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterPathSelection. @@ -62026,7 +54714,6 @@ def __init__( vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). tcp_mss_ceiling: Subclass of AvdModel. interfaces: Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -62056,7 +54743,6 @@ class AccessLists(AvdList[str]): "priority": {"type": int}, "hashmask": {"type": int}, "override": {"type": bool}, - "_custom_data": {"type": dict}, } address: str """RP Address.""" @@ -62067,7 +54753,6 @@ class AccessLists(AvdList[str]): priority: int | None hashmask: int | None override: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62080,7 +54765,6 @@ def __init__( priority: int | None | UndefinedType = Undefined, hashmask: int | None | UndefinedType = Undefined, override: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RpAddressesItem. @@ -62095,7 +54779,6 @@ def __init__( priority: priority hashmask: hashmask override: override - _custom_data: _custom_data """ @@ -62110,21 +54793,14 @@ class AnycastRpsItem(AvdModel): class OtherAnycastRpAddressesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "register_count": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}, "register_count": {"type": int}} address: str """Other Anycast RP Address.""" register_count: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address: str | UndefinedType = Undefined, - register_count: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined, register_count: int | None | UndefinedType = Undefined) -> None: """ OtherAnycastRpAddressesItem. @@ -62134,7 +54810,6 @@ def __init__( Args: address: Other Anycast RP Address. register_count: register_count - _custom_data: _custom_data """ @@ -62148,11 +54823,7 @@ class OtherAnycastRpAddresses(AvdIndexedList[str, OtherAnycastRpAddressesItem]): OtherAnycastRpAddresses._item_type = OtherAnycastRpAddressesItem - _fields: ClassVar[dict] = { - "address": {"type": str}, - "other_anycast_rp_addresses": {"type": OtherAnycastRpAddresses}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"address": {"type": str}, "other_anycast_rp_addresses": {"type": OtherAnycastRpAddresses}} address: str """Anycast RP Address.""" other_anycast_rp_addresses: OtherAnycastRpAddresses @@ -62160,16 +54831,11 @@ class OtherAnycastRpAddresses(AvdIndexedList[str, OtherAnycastRpAddressesItem]): Subclass of AvdIndexedList with `OtherAnycastRpAddressesItem` items. Primary key is `address` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - address: str | UndefinedType = Undefined, - other_anycast_rp_addresses: OtherAnycastRpAddresses | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, address: str | UndefinedType = Undefined, other_anycast_rp_addresses: OtherAnycastRpAddresses | UndefinedType = Undefined ) -> None: """ AnycastRpsItem. @@ -62182,7 +54848,6 @@ def __init__( other_anycast_rp_addresses: Subclass of AvdIndexedList with `OtherAnycastRpAddressesItem` items. Primary key is `address` (`str`). - _custom_data: _custom_data """ @@ -62199,7 +54864,6 @@ class AnycastRps(AvdIndexedList[str, AnycastRpsItem]): "ssm_range": {"type": str}, "rp_addresses": {"type": RpAddresses}, "anycast_rps": {"type": AnycastRps}, - "_custom_data": {"type": dict}, } bfd: bool | None """Enable/Disable BFD.""" @@ -62211,7 +54875,6 @@ class AnycastRps(AvdIndexedList[str, AnycastRpsItem]): """Subclass of AvdList with `RpAddressesItem` items.""" anycast_rps: AnycastRps """Subclass of AvdIndexedList with `AnycastRpsItem` items. Primary key is `address` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62223,7 +54886,6 @@ def __init__( ssm_range: str | None | UndefinedType = Undefined, rp_addresses: RpAddresses | UndefinedType = Undefined, anycast_rps: AnycastRps | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -62237,7 +54899,6 @@ def __init__( ssm_range: IPv4 Prefix associated with SSM. rp_addresses: Subclass of AvdList with `RpAddressesItem` items. anycast_rps: Subclass of AvdIndexedList with `AnycastRpsItem` items. Primary key is `address` (`str`). - _custom_data: _custom_data """ @@ -62267,7 +54928,6 @@ class AccessLists(AvdList[str]): "priority": {"type": int}, "hashmask": {"type": int}, "override": {"type": bool}, - "_custom_data": {"type": dict}, } address: str """RP Address.""" @@ -62278,7 +54938,6 @@ class AccessLists(AvdList[str]): priority: int | None hashmask: int | None override: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62291,7 +54950,6 @@ def __init__( priority: int | None | UndefinedType = Undefined, hashmask: int | None | UndefinedType = Undefined, override: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RpAddressesItem. @@ -62306,7 +54964,6 @@ def __init__( priority: priority hashmask: hashmask override: override - _custom_data: _custom_data """ @@ -62315,19 +54972,13 @@ class RpAddresses(AvdList[RpAddressesItem]): RpAddresses._item_type = RpAddressesItem - _fields: ClassVar[dict] = { - "bfd": {"type": bool}, - "make_before_break": {"type": bool}, - "rp_addresses": {"type": RpAddresses}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"bfd": {"type": bool}, "make_before_break": {"type": bool}, "rp_addresses": {"type": RpAddresses}} bfd: bool | None """Enable/Disable BFD.""" make_before_break: bool | None """Enable/Disable Make-Before-Break.""" rp_addresses: RpAddresses """Subclass of AvdList with `RpAddressesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62337,7 +54988,6 @@ def __init__( bfd: bool | None | UndefinedType = Undefined, make_before_break: bool | None | UndefinedType = Undefined, rp_addresses: RpAddresses | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -62349,26 +54999,18 @@ def __init__( bfd: Enable/Disable BFD. make_before_break: Enable/Disable Make-Before-Break. rp_addresses: Subclass of AvdList with `RpAddressesItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4": {"type": Ipv4}} name: str """VRF Name.""" ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - ipv4: Ipv4 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -62378,7 +55020,6 @@ def __init__( Args: name: VRF Name. ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -62389,22 +55030,15 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Vrfs._item_type = VrfsItem - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "vrfs": {"type": Vrfs}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "vrfs": {"type": Vrfs}} ipv4: Ipv4 """Subclass of AvdModel.""" vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined) -> None: """ RouterPimSparseMode. @@ -62414,7 +55048,6 @@ def __init__( Args: ipv4: Subclass of AvdModel. vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -62434,7 +55067,6 @@ class SequenceNumbersItem(AvdModel): "log": {"type": bool}, "stateless": {"type": bool, "default": True}, "next_hop": {"type": str}, - "_custom_data": {"type": dict}, } sequence: int """Sequence ID.""" @@ -62455,7 +55087,6 @@ class SequenceNumbersItem(AvdModel): """ next_hop: str | None """When the action is 'redirect', this indicates the IPv4 next hop to redirect to.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62468,7 +55099,6 @@ def __init__( log: bool | None | UndefinedType = Undefined, stateless: bool | UndefinedType = Undefined, next_hop: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceNumbersItem. @@ -62485,7 +55115,6 @@ def __init__( log: Enable logging - note that platform support is limited. stateless: Take action, regardless of state. Should be set to 'true' for MSS-G. next_hop: When the action is 'redirect', this indicates the IPv4 next hop to redirect to. - _custom_data: _custom_data """ @@ -62496,22 +55125,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Policy name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ PoliciesItem. @@ -62521,7 +55143,6 @@ def __init__( Args: name: Policy name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -62549,12 +55170,7 @@ class Interfaces(AvdList[str]): class MatchListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "address_family": {"type": str}, - "covered_prefix_list": {"type": str}, - "prefix": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"address_family": {"type": str}, "covered_prefix_list": {"type": str}, "prefix": {"type": str}} address_family: Literal["ipv4", "ipv6"] """Indicate which address-family the match list belongs to e.g. ipv4 or ipv6.""" covered_prefix_list: str | None @@ -62567,7 +55183,6 @@ class MatchListsItem(AvdModel): The name of the match-list. You can have a maximum of one per address-family. Mutually exclusive to the use of covered_prefix_list. If both are configured prefix takes precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62577,7 +55192,6 @@ def __init__( address_family: Literal["ipv4", "ipv6"] | UndefinedType = Undefined, covered_prefix_list: str | None | UndefinedType = Undefined, prefix: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchListsItem. @@ -62593,7 +55207,6 @@ def __init__( prefix: The name of the match-list. You can have a maximum of one per address-family. Mutually exclusive to the use of covered_prefix_list. If both are configured prefix takes precedence. - _custom_data: _custom_data """ @@ -62604,7 +55217,7 @@ class MatchLists(AvdIndexedList[str, MatchListsItem]): MatchLists._item_type = MatchListsItem - _fields: ClassVar[dict] = {"interfaces": {"type": Interfaces}, "match_lists": {"type": MatchLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interfaces": {"type": Interfaces}, "match_lists": {"type": MatchLists}} interfaces: Interfaces """ The names of the source interface e.g. Port-Channel1 - note that platform support is limited. @@ -62615,17 +55228,10 @@ class MatchLists(AvdIndexedList[str, MatchListsItem]): The set of lists that define the segment. These can be a mix of IPv4 and IPv6 prefix or match lists. Subclass of AvdIndexedList with `MatchListsItem` items. Primary key is `address_family` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interfaces: Interfaces | UndefinedType = Undefined, - match_lists: MatchLists | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interfaces: Interfaces | UndefinedType = Undefined, match_lists: MatchLists | UndefinedType = Undefined) -> None: """ Definition. @@ -62639,14 +55245,13 @@ def __init__( match_lists: The set of lists that define the segment. These can be a mix of IPv4 and IPv6 prefix or match lists. Subclass of AvdIndexedList with `MatchListsItem` items. Primary key is `address_family` (`str`). - _custom_data: _custom_data """ class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"field_from": {"type": str}, "policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"field_from": {"type": str}, "policy": {"type": str}} _field_to_key_map: ClassVar[dict] = {"field_from": "from"} _key_to_field_map: ClassVar[dict] = {"from": "field_from"} field_from: str @@ -62656,17 +55261,10 @@ class PoliciesItem(AvdModel): The name of the policy to apply. The built-in policies are 'policy-forward-all' and 'policy-drop- all'. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - field_from: str | UndefinedType = Undefined, - policy: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, field_from: str | UndefinedType = Undefined, policy: str | None | UndefinedType = Undefined) -> None: """ PoliciesItem. @@ -62678,7 +55276,6 @@ def __init__( policy: The name of the policy to apply. The built-in policies are 'policy-forward-all' and 'policy-drop- all'. - _custom_data: _custom_data """ @@ -62694,7 +55291,6 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "definition": {"type": Definition}, "policies": {"type": Policies}, "fallback_policy": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Segment name.""" @@ -62712,7 +55308,6 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Only supported on the R3 series platforms, this allows a per-segment default policy to be specified by name. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62723,7 +55318,6 @@ def __init__( definition: Definition | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, fallback_policy: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SegmentsItem. @@ -62742,7 +55336,6 @@ def __init__( fallback_policy: Only supported on the R3 series platforms, this allows a per-segment default policy to be specified by name. - _custom_data: _custom_data """ @@ -62753,21 +55346,14 @@ class Segments(AvdIndexedList[str, SegmentsItem]): Segments._item_type = SegmentsItem - _fields: ClassVar[dict] = {"name": {"type": str}, "segments": {"type": Segments}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "segments": {"type": Segments}} name: str segments: Segments """Subclass of AvdIndexedList with `SegmentsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - segments: Segments | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, segments: Segments | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -62777,7 +55363,6 @@ def __init__( Args: name: name segments: Subclass of AvdIndexedList with `SegmentsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -62788,7 +55373,7 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Vrfs._item_type = VrfsItem - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "policies": {"type": Policies}, "vrfs": {"type": Vrfs}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "policies": {"type": Policies}, "vrfs": {"type": Vrfs}} enabled: bool | None policies: Policies """ @@ -62805,7 +55390,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62815,7 +55399,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterSegmentSecurity. @@ -62836,7 +55419,6 @@ def __init__( Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -62849,22 +55431,15 @@ class ConnectionsItem(AvdModel): class EthernetInterface(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "next_hop": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "next_hop": {"type": str}} name: str """e.g. Ethernet2 or Ethernet2/2.2""" next_hop: str """Next-hop IPv4 address (without mask).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - next_hop: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, next_hop: str | UndefinedType = Undefined) -> None: """ EthernetInterface. @@ -62874,29 +55449,21 @@ def __init__( Args: name: e.g. Ethernet2 or Ethernet2/2.2 next_hop: Next-hop IPv4 address (without mask). - _custom_data: _custom_data """ class TunnelInterface(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"primary": {"type": str}, "secondary": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"primary": {"type": str}, "secondary": {"type": str}} primary: str | None """e.g. Tunnel2""" secondary: str | None """e.g. Tunnel3""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - primary: str | None | UndefinedType = Undefined, - secondary: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, primary: str | None | UndefinedType = Undefined, secondary: str | None | UndefinedType = Undefined) -> None: """ TunnelInterface. @@ -62906,7 +55473,6 @@ def __init__( Args: primary: e.g. Tunnel2 secondary: e.g. Tunnel3 - _custom_data: _custom_data """ @@ -62915,7 +55481,6 @@ def __init__( "ethernet_interface": {"type": EthernetInterface}, "tunnel_interface": {"type": TunnelInterface}, "monitor_connectivity_host": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Connection name.""" @@ -62940,7 +55505,6 @@ def __init__( Name of the host defined under `monitor_connectivity.hosts` used to derive the health of the connection. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -62951,7 +55515,6 @@ def __init__( ethernet_interface: EthernetInterface | UndefinedType = Undefined, tunnel_interface: TunnelInterface | UndefinedType = Undefined, monitor_connectivity_host: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ConnectionsItem. @@ -62976,7 +55539,6 @@ def __init__( monitor_connectivity_host: Name of the host defined under `monitor_connectivity.hosts` used to derive the health of the connection. - _custom_data: _custom_data """ @@ -62987,21 +55549,14 @@ class Connections(AvdIndexedList[str, ConnectionsItem]): Connections._item_type = ConnectionsItem - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "connections": {"type": Connections}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "connections": {"type": Connections}} enabled: bool | None connections: Connections """Subclass of AvdIndexedList with `ConnectionsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - connections: Connections | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, connections: Connections | UndefinedType = Undefined) -> None: """ RouterServiceInsertion. @@ -63011,7 +55566,6 @@ def __init__( Args: enabled: enabled connections: Subclass of AvdIndexedList with `ConnectionsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -63021,20 +55575,13 @@ class RouterTrafficEngineering(AvdModel): class RouterId(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": str}, "ipv6": {"type": str}} ipv4: str | None ipv6: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: str | None | UndefinedType = Undefined, - ipv6: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: str | None | UndefinedType = Undefined, ipv6: str | None | UndefinedType = Undefined) -> None: """ RouterId. @@ -63044,7 +55591,6 @@ def __init__( Args: ipv4: ipv4 ipv6: ipv6 - _custom_data: _custom_data """ @@ -63063,12 +55609,7 @@ class PathGroupItem(AvdModel): class SegmentListItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "label_stack": {"type": str}, - "weight": {"type": int}, - "index": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"label_stack": {"type": str}, "weight": {"type": int}, "index": {"type": int}} label_stack: str | None """ Label Stack as string. @@ -63076,7 +55617,6 @@ class SegmentListItem(AvdModel): """ weight: int | None index: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63086,7 +55626,6 @@ def __init__( label_stack: str | None | UndefinedType = Undefined, weight: int | None | UndefinedType = Undefined, index: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SegmentListItem. @@ -63100,7 +55639,6 @@ def __init__( Example: "100 2000 30" weight: weight index: index - _custom_data: _custom_data """ @@ -63109,17 +55647,11 @@ class SegmentList(AvdList[SegmentListItem]): SegmentList._item_type = SegmentListItem - _fields: ClassVar[dict] = { - "preference": {"type": int}, - "explicit_null": {"type": str}, - "segment_list": {"type": SegmentList}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"preference": {"type": int}, "explicit_null": {"type": str}, "segment_list": {"type": SegmentList}} preference: int | None explicit_null: Literal["ipv4", "ipv6", "ipv4 ipv6", "none"] | None segment_list: SegmentList """Subclass of AvdList with `SegmentListItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63129,7 +55661,6 @@ def __init__( preference: int | None | UndefinedType = Undefined, explicit_null: Literal["ipv4", "ipv6", "ipv4 ipv6", "none"] | None | UndefinedType = Undefined, segment_list: SegmentList | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PathGroupItem. @@ -63141,7 +55672,6 @@ def __init__( preference: preference explicit_null: explicit_null segment_list: Subclass of AvdList with `SegmentListItem` items. - _custom_data: _custom_data """ @@ -63157,7 +55687,6 @@ class PathGroup(AvdList[PathGroupItem]): "name": {"type": str}, "sbfd_remote_discriminator": {"type": str}, "path_group": {"type": PathGroup}, - "_custom_data": {"type": dict}, } value: int binding_sid: int | None @@ -63167,7 +55696,6 @@ class PathGroup(AvdList[PathGroupItem]): """IPv4 address or 32 bit integer.""" path_group: PathGroup """Subclass of AvdList with `PathGroupItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63180,7 +55708,6 @@ def __init__( name: str | None | UndefinedType = Undefined, sbfd_remote_discriminator: str | None | UndefinedType = Undefined, path_group: PathGroup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ColorsItem. @@ -63195,7 +55722,6 @@ def __init__( name: name sbfd_remote_discriminator: IPv4 address or 32 bit integer. path_group: Subclass of AvdList with `PathGroupItem` items. - _custom_data: _custom_data """ @@ -63206,22 +55732,15 @@ class Colors(AvdIndexedList[int, ColorsItem]): Colors._item_type = ColorsItem - _fields: ClassVar[dict] = {"address": {"type": str}, "colors": {"type": Colors}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}, "colors": {"type": Colors}} address: str | None """IPv4 or IPv6 address.""" colors: Colors """Subclass of AvdIndexedList with `ColorsItem` items. Primary key is `value` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address: str | None | UndefinedType = Undefined, - colors: Colors | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address: str | None | UndefinedType = Undefined, colors: Colors | UndefinedType = Undefined) -> None: """ PolicyEndpointsItem. @@ -63231,7 +55750,6 @@ def __init__( Args: address: IPv4 or IPv6 address. colors: Subclass of AvdIndexedList with `ColorsItem` items. Primary key is `value` (`int`). - _custom_data: _custom_data """ @@ -63240,20 +55758,15 @@ class PolicyEndpoints(AvdList[PolicyEndpointsItem]): PolicyEndpoints._item_type = PolicyEndpointsItem - _fields: ClassVar[dict] = {"colored_tunnel_rib": {"type": bool}, "policy_endpoints": {"type": PolicyEndpoints}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"colored_tunnel_rib": {"type": bool}, "policy_endpoints": {"type": PolicyEndpoints}} colored_tunnel_rib: bool | None policy_endpoints: PolicyEndpoints """Subclass of AvdList with `PolicyEndpointsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - colored_tunnel_rib: bool | None | UndefinedType = Undefined, - policy_endpoints: PolicyEndpoints | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, colored_tunnel_rib: bool | None | UndefinedType = Undefined, policy_endpoints: PolicyEndpoints | UndefinedType = Undefined ) -> None: """ SegmentRouting. @@ -63264,22 +55777,15 @@ def __init__( Args: colored_tunnel_rib: colored_tunnel_rib policy_endpoints: Subclass of AvdList with `PolicyEndpointsItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "router_id": {"type": RouterId}, - "segment_routing": {"type": SegmentRouting}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "router_id": {"type": RouterId}, "segment_routing": {"type": SegmentRouting}} enabled: bool router_id: RouterId """Subclass of AvdModel.""" segment_routing: SegmentRouting """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63289,7 +55795,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, router_id: RouterId | UndefinedType = Undefined, segment_routing: SegmentRouting | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RouterTrafficEngineering. @@ -63301,20 +55806,18 @@ def __init__( enabled: enabled router_id: Subclass of AvdModel. segment_routing: Subclass of AvdModel. - _custom_data: _custom_data """ class ServiceRoutingConfigurationBgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"no_equals_default": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"no_equals_default": {"type": bool}} no_equals_default: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, no_equals_default: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, no_equals_default: bool | None | UndefinedType = Undefined) -> None: """ ServiceRoutingConfigurationBgp. @@ -63323,27 +55826,19 @@ def __init__(self, *, no_equals_default: bool | None | UndefinedType = Undefined Args: no_equals_default: no_equals_default - _custom_data: _custom_data """ class ServiceUnsupportedTransceiver(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"license_name": {"type": str}, "license_key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"license_name": {"type": str}, "license_key": {"type": str}} license_name: str | None license_key: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - license_name: str | None | UndefinedType = Undefined, - license_key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, license_name: str | None | UndefinedType = Undefined, license_key: str | None | UndefinedType = Undefined) -> None: """ ServiceUnsupportedTransceiver. @@ -63353,7 +55848,6 @@ def __init__( Args: license_name: license_name license_key: license_key - _custom_data: _custom_data """ @@ -63366,22 +55860,15 @@ class VrfsItem(AvdModel): class DestinationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}} destination: str """Sflow Destination IP Address.""" port: int | None """Port Number""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - destination: str | UndefinedType = Undefined, - port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, destination: str | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined) -> None: """ DestinationsItem. @@ -63391,7 +55878,6 @@ def __init__( Args: destination: Sflow Destination IP Address. port: Port Number - _custom_data: _custom_data """ @@ -63407,7 +55893,6 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): "destinations": {"type": Destinations}, "source": {"type": str}, "source_interface": {"type": str}, - "_custom_data": {"type": dict}, } name: str destinations: Destinations @@ -63420,7 +55905,6 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): """ source_interface: str | None """Source Interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63431,7 +55915,6 @@ def __init__( destinations: Destinations | UndefinedType = Undefined, source: str | None | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -63447,7 +55930,6 @@ def __init__( "source" and "source_interface" are mutually exclusive. If both are defined, "source_interface" takes precedence. source_interface: Source Interface. - _custom_data: _custom_data """ @@ -63461,22 +55943,15 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): class DestinationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}} destination: str """Sflow Destination IP Address.""" port: int | None """Port Number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - destination: str | UndefinedType = Undefined, - port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, destination: str | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined) -> None: """ DestinationsItem. @@ -63486,7 +55961,6 @@ def __init__( Args: destination: Sflow Destination IP Address. port: Port Number. - _custom_data: _custom_data """ @@ -63500,22 +55974,15 @@ class Destinations(AvdIndexedList[str, DestinationsItem]): class ExtensionsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool}} name: str """Extension Name.""" enabled: bool """Enable or Disable Extension.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - enabled: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, enabled: bool | UndefinedType = Undefined) -> None: """ ExtensionsItem. @@ -63525,7 +55992,6 @@ def __init__( Args: name: Extension Name. enabled: Enable or Disable Extension. - _custom_data: _custom_data """ @@ -63542,13 +56008,12 @@ class Interface(AvdModel): class Disable(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": bool}} default: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, default: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, default: bool | None | UndefinedType = Undefined) -> None: """ Disable. @@ -63557,14 +56022,13 @@ def __init__(self, *, default: bool | None | UndefinedType = Undefined, _custom_ Args: default: default - _custom_data: _custom_data """ class Egress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable_default": {"type": bool}, "unmodified": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable_default": {"type": bool}, "unmodified": {"type": bool}} enable_default: bool | None """Enable egress sFlow by default.""" unmodified: bool | None @@ -63572,17 +56036,10 @@ class Egress(AvdModel): Enable egress sFlow unmodified. Platform dependent feature. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable_default: bool | None | UndefinedType = Undefined, - unmodified: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable_default: bool | None | UndefinedType = Undefined, unmodified: bool | None | UndefinedType = Undefined) -> None: """ Egress. @@ -63594,26 +56051,18 @@ def __init__( unmodified: Enable egress sFlow unmodified. Platform dependent feature. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"disable": {"type": Disable}, "egress": {"type": Egress}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"disable": {"type": Disable}, "egress": {"type": Egress}} disable: Disable """Subclass of AvdModel.""" egress: Egress """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - disable: Disable | UndefinedType = Undefined, - egress: Egress | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, disable: Disable | UndefinedType = Undefined, egress: Egress | UndefinedType = Undefined) -> None: """ Interface. @@ -63623,7 +56072,6 @@ def __init__( Args: disable: Subclass of AvdModel. egress: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -63633,21 +56081,14 @@ class HardwareAcceleration(AvdModel): class ModulesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool, "default": True}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool, "default": True}} name: str enabled: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - enabled: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, enabled: bool | UndefinedType = Undefined) -> None: """ ModulesItem. @@ -63657,7 +56098,6 @@ def __init__( Args: name: name enabled: enabled - _custom_data: _custom_data """ @@ -63668,12 +56108,11 @@ class Modules(AvdIndexedList[str, ModulesItem]): Modules._item_type = ModulesItem - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "sample": {"type": int}, "modules": {"type": Modules}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "sample": {"type": int}, "modules": {"type": Modules}} enabled: bool | None sample: int | None modules: Modules """Subclass of AvdIndexedList with `ModulesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63683,7 +56122,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, sample: int | None | UndefinedType = Undefined, modules: Modules | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HardwareAcceleration. @@ -63695,7 +56133,6 @@ def __init__( enabled: enabled sample: sample modules: Subclass of AvdIndexedList with `ModulesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -63713,7 +56150,6 @@ def __init__( "interface": {"type": Interface}, "run": {"type": bool}, "hardware_acceleration": {"type": HardwareAcceleration}, - "_custom_data": {"type": dict}, } sample: int | None sample_input_subinterface: bool | None @@ -63740,7 +56176,6 @@ def __init__( run: bool | None hardware_acceleration: HardwareAcceleration """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63760,7 +56195,6 @@ def __init__( interface: Interface | UndefinedType = Undefined, run: bool | None | UndefinedType = Undefined, hardware_acceleration: HardwareAcceleration | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sflow. @@ -63785,7 +56219,6 @@ def __init__( interface: Subclass of AvdModel. run: run hardware_acceleration: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -63798,13 +56231,12 @@ class EngineIds(AvdModel): class RemotesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": str}, "address": {"type": str}, "udp_port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": str}, "address": {"type": str}, "udp_port": {"type": int}} id: str | None """Remote engine ID in hexadecimal.""" address: str | None """Hostname or IP of remote engine.""" udp_port: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63814,7 +56246,6 @@ def __init__( id: str | None | UndefinedType = Undefined, address: str | None | UndefinedType = Undefined, udp_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotesItem. @@ -63826,7 +56257,6 @@ def __init__( id: Remote engine ID in hexadecimal. address: Hostname or IP of remote engine. udp_port: udp_port - _custom_data: _custom_data """ @@ -63835,22 +56265,15 @@ class Remotes(AvdList[RemotesItem]): Remotes._item_type = RemotesItem - _fields: ClassVar[dict] = {"local": {"type": str}, "remotes": {"type": Remotes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"local": {"type": str}, "remotes": {"type": Remotes}} local: str | None """Engine ID in hexadecimal.""" remotes: Remotes """Subclass of AvdList with `RemotesItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - local: str | None | UndefinedType = Undefined, - remotes: Remotes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, local: str | None | UndefinedType = Undefined, remotes: Remotes | UndefinedType = Undefined) -> None: """ EngineIds. @@ -63860,7 +56283,6 @@ def __init__( Args: local: Engine ID in hexadecimal. remotes: Subclass of AvdList with `RemotesItem` items. - _custom_data: _custom_data """ @@ -63870,14 +56292,13 @@ class CommunitiesItem(AvdModel): class AccessListIpv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None """IPv4 access list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ AccessListIpv4. @@ -63886,21 +56307,19 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: IPv4 access list name. - _custom_data: _custom_data """ class AccessListIpv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str | None """IPv6 access list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined) -> None: """ AccessListIpv6. @@ -63909,7 +56328,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data Args: name: IPv6 access list name. - _custom_data: _custom_data """ @@ -63919,7 +56337,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data "access_list_ipv4": {"type": AccessListIpv4}, "access_list_ipv6": {"type": AccessListIpv6}, "view": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Community name.""" @@ -63929,7 +56346,6 @@ def __init__(self, *, name: str | None | UndefinedType = Undefined, _custom_data access_list_ipv6: AccessListIpv6 """Subclass of AvdModel.""" view: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -63941,7 +56357,6 @@ def __init__( access_list_ipv4: AccessListIpv4 | UndefinedType = Undefined, access_list_ipv6: AccessListIpv6 | UndefinedType = Undefined, view: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CommunitiesItem. @@ -63955,7 +56370,6 @@ def __init__( access_list_ipv4: Subclass of AvdModel. access_list_ipv6: Subclass of AvdModel. view: view - _custom_data: _custom_data """ @@ -63969,21 +56383,14 @@ class Communities(AvdIndexedList[str, CommunitiesItem]): class Ipv4AclsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """IPv4 access list name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv4AclsItem. @@ -63993,7 +56400,6 @@ def __init__( Args: name: IPv4 access list name. vrf: vrf - _custom_data: _custom_data """ @@ -64005,21 +56411,14 @@ class Ipv4Acls(AvdList[Ipv4AclsItem]): class Ipv6AclsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """IPv6 access list name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv6AclsItem. @@ -64029,7 +56428,6 @@ def __init__( Args: name: IPv6 access list name. vrf: vrf - _custom_data: _custom_data """ @@ -64041,21 +56439,14 @@ class Ipv6Acls(AvdList[Ipv6AclsItem]): class LocalInterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str """Interface name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ LocalInterfacesItem. @@ -64065,7 +56456,6 @@ def __init__( Args: name: Interface name. vrf: vrf - _custom_data: _custom_data """ @@ -64079,12 +56469,11 @@ class LocalInterfaces(AvdIndexedList[str, LocalInterfacesItem]): class ViewsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}} name: str | None """SNMP view name.""" mib_family_name: str | None included: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64094,7 +56483,6 @@ def __init__( name: str | None | UndefinedType = Undefined, mib_family_name: str | None | UndefinedType = Undefined, included: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ViewsItem. @@ -64106,7 +56494,6 @@ def __init__( name: SNMP view name. mib_family_name: mib_family_name included: included - _custom_data: _custom_data """ @@ -64125,7 +56512,6 @@ class GroupsItem(AvdModel): "read": {"type": str}, "write": {"type": str}, "notify": {"type": str}, - "_custom_data": {"type": dict}, } name: str | None """Group name.""" @@ -64137,7 +56523,6 @@ class GroupsItem(AvdModel): """Write view.""" notify: str | None """Notify view.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64150,7 +56535,6 @@ def __init__( read: str | None | UndefinedType = Undefined, write: str | None | UndefinedType = Undefined, notify: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -64165,7 +56549,6 @@ def __init__( read: Read view. write: Write view. notify: Notify view. - _custom_data: _custom_data """ @@ -64188,7 +56571,6 @@ class UsersItem(AvdModel): "auth_passphrase": {"type": str}, "priv": {"type": str}, "priv_passphrase": {"type": str}, - "_custom_data": {"type": dict}, } name: str | None """Username.""" @@ -64212,7 +56594,6 @@ class UsersItem(AvdModel): """Encryption algorithm.""" priv_passphrase: str | None """Hashed privacy passphrase if localized is used else cleartext privacy passphrase.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64229,7 +56610,6 @@ def __init__( auth_passphrase: str | None | UndefinedType = Undefined, priv: str | None | UndefinedType = Undefined, priv_passphrase: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UsersItem. @@ -64250,7 +56630,6 @@ def __init__( auth_passphrase: Hashed authentication passphrase if localized is used else cleartext authentication passphrase. priv: Encryption algorithm. priv_passphrase: Hashed privacy passphrase if localized is used else cleartext privacy passphrase. - _custom_data: _custom_data """ @@ -64265,10 +56644,9 @@ class HostsItem(AvdModel): class UsersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"username": {"type": str}, "authentication_level": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"username": {"type": str}, "authentication_level": {"type": str}} username: str | None authentication_level: Literal["auth", "noauth", "priv"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64277,7 +56655,6 @@ def __init__( *, username: str | None | UndefinedType = Undefined, authentication_level: Literal["auth", "noauth", "priv"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UsersItem. @@ -64288,7 +56665,6 @@ def __init__( Args: username: username authentication_level: authentication_level - _custom_data: _custom_data """ @@ -64303,7 +56679,6 @@ class Users(AvdList[UsersItem]): "version": {"type": str}, "community": {"type": str}, "users": {"type": Users}, - "_custom_data": {"type": dict}, } host: str | None """Host IP address or name.""" @@ -64313,7 +56688,6 @@ class Users(AvdList[UsersItem]): """Community name. Required with version "1" or "2c".""" users: Users """Subclass of AvdList with `UsersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64325,7 +56699,6 @@ def __init__( version: Literal["1", "2c", "3"] | None | UndefinedType = Undefined, community: str | None | UndefinedType = Undefined, users: Users | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -64339,7 +56712,6 @@ def __init__( version: version community: Community name. Required with version "1" or "2c". users: Subclass of AvdList with `UsersItem` items. - _custom_data: _custom_data """ @@ -64354,7 +56726,7 @@ class Traps(AvdModel): class SnmpTrapsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool, "default": True}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enabled": {"type": bool, "default": True}} name: str | None """ Enable or disable specific snmp-traps and their sub_traps. @@ -64364,17 +56736,10 @@ class SnmpTrapsItem(AvdModel): """ enabled: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - enabled: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, enabled: bool | UndefinedType = Undefined) -> None: """ SnmpTrapsItem. @@ -64388,7 +56753,6 @@ def __init__( - "bgp" - "bgp established" enabled: enabled - _custom_data: _custom_data """ @@ -64397,7 +56761,7 @@ class SnmpTraps(AvdList[SnmpTrapsItem]): SnmpTraps._item_type = SnmpTrapsItem - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "snmp_traps": {"type": SnmpTraps}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "snmp_traps": {"type": SnmpTraps}} enable: bool """ Enable or disable all snmp-traps. @@ -64406,17 +56770,10 @@ class SnmpTraps(AvdList[SnmpTrapsItem]): """ snmp_traps: SnmpTraps """Subclass of AvdList with `SnmpTrapsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enable: bool | UndefinedType = Undefined, - snmp_traps: SnmpTraps | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined, snmp_traps: SnmpTraps | UndefinedType = Undefined) -> None: """ Traps. @@ -64426,28 +56783,20 @@ def __init__( Args: enable: Enable or disable all snmp-traps. snmp_traps: Subclass of AvdList with `SnmpTrapsItem` items. - _custom_data: _custom_data """ class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "enable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "enable": {"type": bool}} name: str """VRF name.""" enable: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - enable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, enable: bool | None | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -64457,7 +56806,6 @@ def __init__( Args: name: VRF name. enable: enable - _custom_data: _custom_data """ @@ -64483,7 +56831,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "traps": {"type": Traps}, "vrfs": {"type": Vrfs}, "ifmib_ifspeed_shape_rate": {"type": bool}, - "_custom_data": {"type": dict}, } engine_ids: EngineIds """Subclass of AvdModel.""" @@ -64513,7 +56860,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" ifmib_ifspeed_shape_rate: bool | None """SNMP ifspeed reflecting shaping rate.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64534,7 +56880,6 @@ def __init__( traps: Traps | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, ifmib_ifspeed_shape_rate: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SnmpServer. @@ -64557,7 +56902,6 @@ def __init__( traps: Subclass of AvdModel. vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). ifmib_ifspeed_shape_rate: SNMP ifspeed reflecting shaping rate. - _custom_data: _custom_data """ @@ -64567,19 +56911,14 @@ class SpanningTree(AvdModel): class EdgePort(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"bpdufilter_default": {"type": bool}, "bpduguard_default": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"bpdufilter_default": {"type": bool}, "bpduguard_default": {"type": bool}} bpdufilter_default: bool | None bpduguard_default: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - bpdufilter_default: bool | None | UndefinedType = Undefined, - bpduguard_default: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, bpdufilter_default: bool | None | UndefinedType = Undefined, bpduguard_default: bool | None | UndefinedType = Undefined ) -> None: """ EdgePort. @@ -64590,28 +56929,20 @@ def __init__( Args: bpdufilter_default: bpdufilter_default bpduguard_default: bpduguard_default - _custom_data: _custom_data """ class BpduguardRateLimit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"default": {"type": bool}, "count": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"default": {"type": bool}, "count": {"type": int}} default: bool | None count: int | None """Maximum number of BPDUs per timer interval.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - default: bool | None | UndefinedType = Undefined, - count: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, default: bool | None | UndefinedType = Undefined, count: int | None | UndefinedType = Undefined) -> None: """ BpduguardRateLimit. @@ -64621,7 +56952,6 @@ def __init__( Args: default: default count: Maximum number of BPDUs per timer interval. - _custom_data: _custom_data """ @@ -64634,7 +56964,7 @@ class Configuration(AvdModel): class InstancesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "vlans": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "vlans": {"type": str}} id: int """Instance ID.""" vlans: str | None @@ -64642,17 +56972,10 @@ class InstancesItem(AvdModel): "< vlan_id >, < vlan_id >-< vlan_id >" Example: 15,16,17,18 """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: int | UndefinedType = Undefined, - vlans: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: int | UndefinedType = Undefined, vlans: str | None | UndefinedType = Undefined) -> None: """ InstancesItem. @@ -64664,7 +56987,6 @@ def __init__( vlans: "< vlan_id >, < vlan_id >-< vlan_id >" Example: 15,16,17,18 - _custom_data: _custom_data """ @@ -64675,13 +56997,12 @@ class Instances(AvdIndexedList[int, InstancesItem]): Instances._item_type = InstancesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "revision": {"type": int}, "instances": {"type": Instances}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "revision": {"type": int}, "instances": {"type": Instances}} name: str | None revision: int | None """0-65535.""" instances: Instances """Subclass of AvdIndexedList with `InstancesItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64691,7 +57012,6 @@ def __init__( name: str | None | UndefinedType = Undefined, revision: int | None | UndefinedType = Undefined, instances: Instances | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Configuration. @@ -64703,25 +57023,17 @@ def __init__( name: name revision: 0-65535. instances: Subclass of AvdIndexedList with `InstancesItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"pvst_border": {"type": bool}, "configuration": {"type": Configuration}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pvst_border": {"type": bool}, "configuration": {"type": Configuration}} pvst_border: bool | None configuration: Configuration """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - pvst_border: bool | None | UndefinedType = Undefined, - configuration: Configuration | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, pvst_border: bool | None | UndefinedType = Undefined, configuration: Configuration | UndefinedType = Undefined) -> None: """ Mst. @@ -64731,28 +57043,20 @@ def __init__( Args: pvst_border: pvst_border configuration: Subclass of AvdModel. - _custom_data: _custom_data """ class MstInstancesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": str}, "priority": {"type": int}} id: str """Instance ID.""" priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: str | UndefinedType = Undefined, - priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined) -> None: """ MstInstancesItem. @@ -64762,7 +57066,6 @@ def __init__( Args: id: Instance ID. priority: priority - _custom_data: _custom_data """ @@ -64776,24 +57079,17 @@ class MstInstances(AvdIndexedList[str, MstInstancesItem]): class RapidPvstInstancesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": str}, "priority": {"type": int}} id: str """ "< vlan_id >, < vlan_id >-< vlan_id >" Example: 105,202,505-506 """ priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - id: str | UndefinedType = Undefined, - priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, id: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined) -> None: """ RapidPvstInstancesItem. @@ -64805,7 +57101,6 @@ def __init__( "< vlan_id >, < vlan_id >-< vlan_id >" Example: 105,202,505-506 priority: priority - _custom_data: _custom_data """ @@ -64826,7 +57121,6 @@ class RapidPvstInstances(AvdIndexedList[str, RapidPvstInstancesItem]): "mst_instances": {"type": MstInstances}, "no_spanning_tree_vlan": {"type": str}, "rapid_pvst_instances": {"type": RapidPvstInstances}, - "_custom_data": {"type": dict}, } root_super: bool | None edge_port: EdgePort @@ -64846,7 +57140,6 @@ class RapidPvstInstances(AvdIndexedList[str, RapidPvstInstancesItem]): """ rapid_pvst_instances: RapidPvstInstances """Subclass of AvdIndexedList with `RapidPvstInstancesItem` items. Primary key is `id` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64862,7 +57155,6 @@ def __init__( mst_instances: MstInstances | UndefinedType = Undefined, no_spanning_tree_vlan: str | None | UndefinedType = Undefined, rapid_pvst_instances: RapidPvstInstances | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SpanningTree. @@ -64882,7 +57174,6 @@ def __init__( "< vlan_id >, < vlan_id >-< vlan_id >" Example: 105,202,505-506 rapid_pvst_instances: Subclass of AvdIndexedList with `RapidPvstInstancesItem` items. Primary key is `id` (`str`). - _custom_data: _custom_data """ @@ -64892,7 +57183,7 @@ class StandardAccessListsItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -64900,17 +57191,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "deny ip any any" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -64922,7 +57206,6 @@ def __init__( action: Action as string. Example: "deny ip any any" - _custom_data: _custom_data """ @@ -64933,18 +57216,12 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "counters_per_entry": {"type": bool}, - "sequence_numbers": {"type": SequenceNumbers}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "counters_per_entry": {"type": bool}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Access-list Name.""" counters_per_entry: bool | None sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -64954,7 +57231,6 @@ def __init__( name: str | UndefinedType = Undefined, counters_per_entry: bool | None | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StandardAccessListsItem. @@ -64966,7 +57242,6 @@ def __init__( name: Access-list Name. counters_per_entry: counters_per_entry sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -64990,7 +57265,6 @@ class StaticRoutesItem(AvdModel): "tag": {"type": int}, "name": {"type": str}, "metric": {"type": int}, - "_custom_data": {"type": dict}, } vrf: str | None """VRF Name.""" @@ -65006,7 +57280,6 @@ class StaticRoutesItem(AvdModel): name: str | None """Description.""" metric: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65022,7 +57295,6 @@ def __init__( tag: int | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, metric: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticRoutesItem. @@ -65040,7 +57312,6 @@ def __init__( tag: tag name: Description. metric: metric - _custom_data: _custom_data """ @@ -65058,20 +57329,13 @@ class Client(AvdModel): class ServerProfilesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "ip_address": {"type": str}, - "ssl_profile": {"type": str}, - "port": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "ip_address": {"type": str}, "ssl_profile": {"type": str}, "port": {"type": int}} name: str ip_address: str | None ssl_profile: str | None """SSL profile name.""" port: int | None """Destination port for the request STUN server (default - 3478).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65082,7 +57346,6 @@ def __init__( ip_address: str | None | UndefinedType = Undefined, ssl_profile: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ServerProfilesItem. @@ -65095,7 +57358,6 @@ def __init__( ip_address: ip_address ssl_profile: SSL profile name. port: Destination port for the request STUN server (default - 3478). - _custom_data: _custom_data """ @@ -65106,7 +57368,7 @@ class ServerProfiles(AvdIndexedList[str, ServerProfilesItem]): ServerProfiles._item_type = ServerProfilesItem - _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"server_profiles": {"type": ServerProfiles}} server_profiles: ServerProfiles """ List of server profiles for the client. @@ -65114,13 +57376,10 @@ class ServerProfiles(AvdIndexedList[str, ServerProfilesItem]): Subclass of AvdIndexedList with `ServerProfilesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, server_profiles: ServerProfiles | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, server_profiles: ServerProfiles | UndefinedType = Undefined) -> None: """ Client. @@ -65133,7 +57392,6 @@ def __init__( Subclass of AvdIndexedList with `ServerProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -65148,22 +57406,15 @@ class LocalInterfaces(AvdList[str]): class SslConnectionLifetime(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"minutes": {"type": int}, "hours": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"minutes": {"type": int}, "hours": {"type": int}} minutes: int | None """SSL connection lifetime in minutes (default - 120).""" hours: int | None """SSL connection lifetime in hours (default - 2).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - minutes: int | None | UndefinedType = Undefined, - hours: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, minutes: int | None | UndefinedType = Undefined, hours: int | None | UndefinedType = Undefined) -> None: """ SslConnectionLifetime. @@ -65173,7 +57424,6 @@ def __init__( Args: minutes: SSL connection lifetime in minutes (default - 120). hours: SSL connection lifetime in hours (default - 2). - _custom_data: _custom_data """ @@ -65183,7 +57433,6 @@ def __init__( "ssl_profile": {"type": str}, "ssl_connection_lifetime": {"type": SslConnectionLifetime}, "port": {"type": int}, - "_custom_data": {"type": dict}, } local_interfaces: LocalInterfaces """Subclass of AvdList with `str` items.""" @@ -65201,7 +57450,6 @@ def __init__( """ port: int | None """Listening port for STUN server (default - 3478).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65213,7 +57461,6 @@ def __init__( ssl_profile: str | None | UndefinedType = Undefined, ssl_connection_lifetime: SslConnectionLifetime | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Server. @@ -65232,11 +57479,10 @@ def __init__( Subclass of AvdModel. port: Listening port for STUN server (default - 3478). - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"client": {"type": Client}, "server": {"type": Server}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client": {"type": Client}, "server": {"type": Server}} client: Client """ STUN client settings. @@ -65249,17 +57495,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - client: Client | UndefinedType = Undefined, - server: Server | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, client: Client | UndefinedType = Undefined, server: Server | UndefinedType = Undefined) -> None: """ Stun. @@ -65275,7 +57514,6 @@ def __init__( STUN server settings. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -65285,12 +57523,11 @@ class SwitchportDefault(AvdModel): class Phone(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"cos": {"type": int}, "trunk": {"type": str}, "vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"cos": {"type": int}, "trunk": {"type": str}, "vlan": {"type": int}} cos: int | None trunk: Literal["tagged", "untagged"] | None vlan: int | None """VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65300,7 +57537,6 @@ def __init__( cos: int | None | UndefinedType = Undefined, trunk: Literal["tagged", "untagged"] | None | UndefinedType = Undefined, vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Phone. @@ -65312,25 +57548,17 @@ def __init__( cos: cos trunk: trunk vlan: VLAN ID. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mode": {"type": str}, "phone": {"type": Phone}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "phone": {"type": Phone}} mode: Literal["routed", "access"] | None phone: Phone """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mode: Literal["routed", "access"] | None | UndefinedType = Undefined, - phone: Phone | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mode: Literal["routed", "access"] | None | UndefinedType = Undefined, phone: Phone | UndefinedType = Undefined) -> None: """ SwitchportDefault. @@ -65340,7 +57568,6 @@ def __init__( Args: mode: mode phone: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -65350,20 +57577,13 @@ class SwitchportPortSecurity(AvdModel): class MacAddress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"aging": {"type": bool}, "moveable": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"aging": {"type": bool}, "moveable": {"type": bool}} aging: bool | None moveable: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - aging: bool | None | UndefinedType = Undefined, - moveable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, aging: bool | None | UndefinedType = Undefined, moveable: bool | None | UndefinedType = Undefined) -> None: """ MacAddress. @@ -65373,21 +57593,14 @@ def __init__( Args: aging: aging moveable: moveable - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "mac_address": {"type": MacAddress}, - "persistence_disabled": {"type": bool}, - "violation_protect_chip_based": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mac_address": {"type": MacAddress}, "persistence_disabled": {"type": bool}, "violation_protect_chip_based": {"type": bool}} mac_address: MacAddress """Subclass of AvdModel.""" persistence_disabled: bool | None violation_protect_chip_based: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65397,7 +57610,6 @@ def __init__( mac_address: MacAddress | UndefinedType = Undefined, persistence_disabled: bool | None | UndefinedType = Undefined, violation_protect_chip_based: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SwitchportPortSecurity. @@ -65409,20 +57621,18 @@ def __init__( mac_address: Subclass of AvdModel. persistence_disabled: persistence_disabled violation_protect_chip_based: violation_protect_chip_based - _custom_data: _custom_data """ class SyncE(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"network_option": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"network_option": {"type": int}} network_option: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, network_option: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, network_option: int | UndefinedType = Undefined) -> None: """ SyncE. @@ -65431,7 +57641,6 @@ def __init__(self, *, network_option: int | UndefinedType = Undefined, _custom_d Args: network_option: network_option - _custom_data: _custom_data """ @@ -65444,22 +57653,15 @@ class ControlPlane(AvdModel): class TcpMss(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}} ipv4: int | None """Segment size.""" ipv6: int | None """Segment size.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: int | None | UndefinedType = Undefined, - ipv6: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: int | None | UndefinedType = Undefined, ipv6: int | None | UndefinedType = Undefined) -> None: """ TcpMss. @@ -65469,27 +57671,19 @@ def __init__( Args: ipv4: Segment size. ipv6: Segment size. - _custom_data: _custom_data """ class Ipv4AccessGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"acl_name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"acl_name": {"type": str}, "vrf": {"type": str}} acl_name: str vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - acl_name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, acl_name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv4AccessGroupsItem. @@ -65499,7 +57693,6 @@ def __init__( Args: acl_name: acl_name vrf: vrf - _custom_data: _custom_data """ @@ -65511,20 +57704,13 @@ class Ipv4AccessGroups(AvdList[Ipv4AccessGroupsItem]): class Ipv6AccessGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"acl_name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"acl_name": {"type": str}, "vrf": {"type": str}} acl_name: str vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - acl_name: str | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, acl_name: str | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv6AccessGroupsItem. @@ -65534,7 +57720,6 @@ def __init__( Args: acl_name: acl_name vrf: vrf - _custom_data: _custom_data """ @@ -65549,7 +57734,6 @@ class Ipv6AccessGroups(AvdList[Ipv6AccessGroupsItem]): "ipv4_access_groups": {"type": Ipv4AccessGroups}, "ipv6_access_group_ingress_default": {"type": str}, "ipv6_access_groups": {"type": Ipv6AccessGroups}, - "_custom_data": {"type": dict}, } tcp_mss: TcpMss """Subclass of AvdModel.""" @@ -65561,7 +57745,6 @@ class Ipv6AccessGroups(AvdList[Ipv6AccessGroupsItem]): """ACL name to be used as the default CP ACL for all VRFs.""" ipv6_access_groups: Ipv6AccessGroups """Subclass of AvdList with `Ipv6AccessGroupsItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65573,7 +57756,6 @@ def __init__( ipv4_access_groups: Ipv4AccessGroups | UndefinedType = Undefined, ipv6_access_group_ingress_default: str | None | UndefinedType = Undefined, ipv6_access_groups: Ipv6AccessGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ControlPlane. @@ -65587,21 +57769,15 @@ def __init__( ipv4_access_groups: Subclass of AvdList with `Ipv4AccessGroupsItem` items. ipv6_access_group_ingress_default: ACL name to be used as the default CP ACL for all VRFs. ipv6_access_groups: Subclass of AvdList with `Ipv6AccessGroupsItem` items. - _custom_data: _custom_data """ class L1(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "unsupported_speed_action": {"type": str}, - "unsupported_error_correction_action": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"unsupported_speed_action": {"type": str}, "unsupported_error_correction_action": {"type": str}} unsupported_speed_action: Literal["error", "warn"] | None unsupported_error_correction_action: Literal["error", "warn"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65610,7 +57786,6 @@ def __init__( *, unsupported_speed_action: Literal["error", "warn"] | None | UndefinedType = Undefined, unsupported_error_correction_action: Literal["error", "warn"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L1. @@ -65621,26 +57796,18 @@ def __init__( Args: unsupported_speed_action: unsupported_speed_action unsupported_error_correction_action: unsupported_error_correction_action - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"control_plane": {"type": ControlPlane}, "l1": {"type": L1}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"control_plane": {"type": ControlPlane}, "l1": {"type": L1}} control_plane: ControlPlane """Subclass of AvdModel.""" l1: L1 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - control_plane: ControlPlane | UndefinedType = Undefined, - l1: L1 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, control_plane: ControlPlane | UndefinedType = Undefined, l1: L1 | UndefinedType = Undefined) -> None: """ System. @@ -65650,7 +57817,6 @@ def __init__( Args: control_plane: Subclass of AvdModel. l1: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -65667,7 +57833,6 @@ class HostsItem(AvdModel): "key_type": {"type": str, "default": "7"}, "single_connection": {"type": bool}, "timeout": {"type": int}, - "_custom_data": {"type": dict}, } host: str | None """Host IP address or name.""" @@ -65679,7 +57844,6 @@ class HostsItem(AvdModel): single_connection: bool | None timeout: int | None """Timeout in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65692,7 +57856,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, single_connection: bool | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -65707,7 +57870,6 @@ def __init__( key_type: key_type single_connection: single_connection timeout: Timeout in seconds. - _custom_data: _custom_data """ @@ -65716,18 +57878,12 @@ class Hosts(AvdList[HostsItem]): Hosts._item_type = HostsItem - _fields: ClassVar[dict] = { - "timeout": {"type": int}, - "hosts": {"type": Hosts}, - "policy_unknown_mandatory_attribute_ignore": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"timeout": {"type": int}, "hosts": {"type": Hosts}, "policy_unknown_mandatory_attribute_ignore": {"type": bool}} timeout: int | None """Timeout in seconds.""" hosts: Hosts """Subclass of AvdList with `HostsItem` items.""" policy_unknown_mandatory_attribute_ignore: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65737,7 +57893,6 @@ def __init__( timeout: int | None | UndefinedType = Undefined, hosts: Hosts | UndefinedType = Undefined, policy_unknown_mandatory_attribute_ignore: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TacacsServers. @@ -65749,7 +57904,6 @@ def __init__( timeout: Timeout in seconds. hosts: Subclass of AvdList with `HostsItem` items. policy_unknown_mandatory_attribute_ignore: policy_unknown_mandatory_attribute_ignore - _custom_data: _custom_data """ @@ -65767,18 +57921,12 @@ class NoErrdisable(AvdList[str]): NoErrdisable._item_type = str - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "profile": {"type": str}, - "no_errdisable": {"type": NoErrdisable}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "profile": {"type": str}, "no_errdisable": {"type": NoErrdisable}} enabled: bool | None profile: str | None """Profile Name.""" no_errdisable: NoErrdisable """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65788,7 +57936,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, profile: str | None | UndefinedType = Undefined, no_errdisable: NoErrdisable | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Exclusive. @@ -65800,18 +57947,16 @@ def __init__( enabled: enabled profile: Profile Name. no_errdisable: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"exclusive": {"type": Exclusive}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"exclusive": {"type": Exclusive}} exclusive: Exclusive """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, exclusive: Exclusive | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, exclusive: Exclusive | UndefinedType = Undefined) -> None: """ Mode. @@ -65820,7 +57965,6 @@ def __init__(self, *, exclusive: Exclusive | UndefinedType = Undefined, _custom_ Args: exclusive: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -65833,20 +57977,15 @@ class Timestamp(AvdModel): class Header(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"format": {"type": str}, "eth_type": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"format": {"type": str}, "eth_type": {"type": int}} format: Literal["48-bit", "64-bit"] | None eth_type: int | None """EtherType.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - format: Literal["48-bit", "64-bit"] | None | UndefinedType = Undefined, - eth_type: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, format: Literal["48-bit", "64-bit"] | None | UndefinedType = Undefined, eth_type: int | None | UndefinedType = Undefined ) -> None: """ Header. @@ -65857,25 +57996,17 @@ def __init__( Args: format: format eth_type: EtherType. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"replace_source_mac": {"type": bool}, "header": {"type": Header}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"replace_source_mac": {"type": bool}, "header": {"type": Header}} replace_source_mac: bool | None header: Header """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - replace_source_mac: bool | None | UndefinedType = Undefined, - header: Header | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, replace_source_mac: bool | None | UndefinedType = Undefined, header: Header | UndefinedType = Undefined) -> None: """ Timestamp. @@ -65885,16 +58016,10 @@ def __init__( Args: replace_source_mac: replace_source_mac header: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "timestamp": {"type": Timestamp}, - "fcs_append": {"type": bool}, - "fcs_error": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"timestamp": {"type": Timestamp}, "fcs_append": {"type": bool}, "fcs_error": {"type": str}} timestamp: Timestamp """ mac.timestamp.replace_source_mac and mac.timestamp.header.format are mutually exclsuive. If both are @@ -65909,7 +58034,6 @@ def __init__( precedence. """ fcs_error: Literal["correct", "discard", "pass-through"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65919,7 +58043,6 @@ def __init__( timestamp: Timestamp | UndefinedType = Undefined, fcs_append: bool | None | UndefinedType = Undefined, fcs_error: Literal["correct", "discard", "pass-through"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Mac. @@ -65938,7 +58061,6 @@ def __init__( mac.fcs_append and mac.fcs_error are mutually exclusive. If both are defined, mac.fcs_append takes precedence. fcs_error: fcs_error - _custom_data: _custom_data """ @@ -65949,7 +58071,6 @@ def __init__( "protocol_lldp_trap": {"type": bool}, "truncation_size": {"type": int}, "mac": {"type": Mac}, - "_custom_data": {"type": dict}, } mode: Mode """Subclass of AvdModel.""" @@ -65960,7 +58081,6 @@ def __init__( """Allowed truncation_size values vary depending on the platform.""" mac: Mac """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -65973,7 +58093,6 @@ def __init__( protocol_lldp_trap: bool | None | UndefinedType = Undefined, truncation_size: int | None | UndefinedType = Undefined, mac: Mac | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TapAggregation. @@ -65988,7 +58107,6 @@ def __init__( protocol_lldp_trap: protocol_lldp_trap truncation_size: Allowed truncation_size values vary depending on the platform. mac: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -65998,7 +58116,7 @@ class TcamProfile(AvdModel): class ProfilesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "config": {"type": str}, "source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "config": {"type": str}, "source": {"type": str}} name: str """Tcam-Profile Name.""" config: str | None @@ -66012,7 +58130,6 @@ class ProfilesItem(AvdModel): TCAM profile local source path. Used to read the TCAM profile from a local path existing on the device. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66022,7 +58139,6 @@ def __init__( name: str | UndefinedType = Undefined, config: str | None | UndefinedType = Undefined, source: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProfilesItem. @@ -66039,7 +58155,6 @@ def __init__( source: TCAM profile local source path. Used to read the TCAM profile from a local path existing on the device. - _custom_data: _custom_data """ @@ -66050,22 +58165,15 @@ class Profiles(AvdIndexedList[str, ProfilesItem]): Profiles._item_type = ProfilesItem - _fields: ClassVar[dict] = {"system": {"type": str}, "profiles": {"type": Profiles}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"system": {"type": str}, "profiles": {"type": Profiles}} system: str | None """TCAM profile name to activate.""" profiles: Profiles """Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - system: str | None | UndefinedType = Undefined, - profiles: Profiles | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, system: str | None | UndefinedType = Undefined, profiles: Profiles | UndefinedType = Undefined) -> None: """ TcamProfile. @@ -66075,27 +58183,19 @@ def __init__( Args: system: TCAM profile name to activate. profiles: Subclass of AvdIndexedList with `ProfilesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class Terminal(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"length": {"type": int}, "width": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"length": {"type": int}, "width": {"type": int}} length: int | None width: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - length: int | None | UndefinedType = Undefined, - width: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, length: int | None | UndefinedType = Undefined, width: int | None | UndefinedType = Undefined) -> None: """ Terminal. @@ -66105,19 +58205,13 @@ def __init__( Args: length: length width: width - _custom_data: _custom_data """ class TrackersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "interface": {"type": str}, - "tracked_property": {"type": str, "default": "line-protocol"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "interface": {"type": str}, "tracked_property": {"type": str, "default": "line-protocol"}} name: str """Name of tracker object.""" interface: str @@ -66128,17 +58222,11 @@ class TrackersItem(AvdModel): Default value: `"line-protocol"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - interface: str | UndefinedType = Undefined, - tracked_property: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, interface: str | UndefinedType = Undefined, tracked_property: str | UndefinedType = Undefined ) -> None: """ TrackersItem. @@ -66150,7 +58238,6 @@ def __init__( name: Name of tracker object. interface: Name of tracked interface. tracked_property: Property to track. - _custom_data: _custom_data """ @@ -66167,15 +58254,12 @@ class TrafficPolicies(AvdModel): class Options(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"counter_per_interface": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"counter_per_interface": {"type": bool}} counter_per_interface: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, counter_per_interface: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, counter_per_interface: bool | None | UndefinedType = Undefined) -> None: """ Options. @@ -66184,7 +58268,6 @@ def __init__( Args: counter_per_interface: counter_per_interface - _custom_data: _custom_data """ @@ -66199,22 +58282,15 @@ class Prefixes(AvdList[str]): Prefixes._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}} name: str """IPv4 Prefix Field Set Name.""" prefixes: Prefixes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - prefixes: Prefixes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ Ipv4Item. @@ -66224,7 +58300,6 @@ def __init__( Args: name: IPv4 Prefix Field Set Name. prefixes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -66243,22 +58318,15 @@ class Prefixes(AvdList[str]): Prefixes._item_type = str - _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "prefixes": {"type": Prefixes}} name: str """IPv6 Prefix Field Set Name.""" prefixes: Prefixes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - prefixes: Prefixes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, prefixes: Prefixes | UndefinedType = Undefined) -> None: """ Ipv6Item. @@ -66268,7 +58336,6 @@ def __init__( Args: name: IPv6 Prefix Field Set Name. prefixes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -66282,22 +58349,15 @@ class Ipv6(AvdIndexedList[str, Ipv6Item]): class PortsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "port_range": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "port_range": {"type": str}} name: str """L4 Port Field Set Name.""" port_range: str | None """Example: '10,20,80,440-450'""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - port_range: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, port_range: str | None | UndefinedType = Undefined) -> None: """ PortsItem. @@ -66307,7 +58367,6 @@ def __init__( Args: name: L4 Port Field Set Name. port_range: Example: '10,20,80,440-450' - _custom_data: _custom_data """ @@ -66318,24 +58377,18 @@ class Ports(AvdIndexedList[str, PortsItem]): Ports._item_type = PortsItem - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "ports": {"type": Ports}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "ports": {"type": Ports}} ipv4: Ipv4 """Subclass of AvdIndexedList with `Ipv4Item` items. Primary key is `name` (`str`).""" ipv6: Ipv6 """Subclass of AvdIndexedList with `Ipv6Item` items. Primary key is `name` (`str`).""" ports: Ports """Subclass of AvdIndexedList with `PortsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - ipv6: Ipv6 | UndefinedType = Undefined, - ports: Ports | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined, ports: Ports | UndefinedType = Undefined ) -> None: """ FieldSets. @@ -66347,7 +58400,6 @@ def __init__( ipv4: Subclass of AvdIndexedList with `Ipv4Item` items. Primary key is `name` (`str`). ipv6: Subclass of AvdIndexedList with `Ipv6Item` items. Primary key is `name` (`str`). ports: Subclass of AvdIndexedList with `PortsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -66370,7 +58422,7 @@ class PrefixLists(AvdList[str]): PrefixLists._item_type = str - _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "prefix_lists": {"type": PrefixLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "prefix_lists": {"type": PrefixLists}} prefixes: Prefixes """Subclass of AvdList with `str` items.""" prefix_lists: PrefixLists @@ -66379,17 +58431,10 @@ class PrefixLists(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefixes: Prefixes | UndefinedType = Undefined, - prefix_lists: PrefixLists | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, prefix_lists: PrefixLists | UndefinedType = Undefined) -> None: """ Source. @@ -66402,7 +58447,6 @@ def __init__( Field-set prefix lists. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -66419,7 +58463,7 @@ class PrefixLists(AvdList[str]): PrefixLists._item_type = str - _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "prefix_lists": {"type": PrefixLists}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefixes": {"type": Prefixes}, "prefix_lists": {"type": PrefixLists}} prefixes: Prefixes """Subclass of AvdList with `str` items.""" prefix_lists: PrefixLists @@ -66428,17 +58472,10 @@ class PrefixLists(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - prefixes: Prefixes | UndefinedType = Undefined, - prefix_lists: PrefixLists | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, prefixes: Prefixes | UndefinedType = Undefined, prefix_lists: PrefixLists | UndefinedType = Undefined) -> None: """ Destination. @@ -66451,21 +58488,19 @@ def __init__( Field-set prefix lists. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ class Fragment(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"offset": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"offset": {"type": str}} offset: str | None """Fragment offset range.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, offset: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, offset: str | None | UndefinedType = Undefined) -> None: """ Fragment. @@ -66474,7 +58509,6 @@ def __init__(self, *, offset: str | None | UndefinedType = Undefined, _custom_da Args: offset: Fragment offset range. - _custom_data: _custom_data """ @@ -66500,7 +58534,6 @@ class IcmpType(AvdList[str]): "flags": {"type": Flags}, "icmp_type": {"type": IcmpType}, "enforce_gtsm": {"type": bool}, - "_custom_data": {"type": dict}, } protocol: str src_port: str | None @@ -66517,7 +58550,6 @@ class IcmpType(AvdList[str]): """Subclass of AvdList with `str` items.""" enforce_gtsm: bool | None """Enforce the GTSM for BGP speakers. Only supported when protocol is set to 'neighbors'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66532,7 +58564,6 @@ def __init__( flags: Flags | UndefinedType = Undefined, icmp_type: IcmpType | UndefinedType = Undefined, enforce_gtsm: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ProtocolsItem. @@ -66549,7 +58580,6 @@ def __init__( flags: Subclass of AvdList with `str` items. icmp_type: Subclass of AvdList with `str` items. enforce_gtsm: Enforce the GTSM for BGP speakers. Only supported when protocol is set to 'neighbors'. - _custom_data: _custom_data """ @@ -66569,7 +58599,6 @@ class Actions(AvdModel): "count": {"type": str}, "drop": {"type": bool}, "log": {"type": bool}, - "_custom_data": {"type": dict}, } dscp: int | None traffic_class: int | None @@ -66579,7 +58608,6 @@ class Actions(AvdModel): drop: bool | None log: bool | None """Only supported when action is set to drop.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66591,7 +58619,6 @@ def __init__( count: str | None | UndefinedType = Undefined, drop: bool | None | UndefinedType = Undefined, log: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Actions. @@ -66605,7 +58632,6 @@ def __init__( count: Counter name. drop: drop log: Only supported when action is set to drop. - _custom_data: _custom_data """ @@ -66618,7 +58644,6 @@ def __init__( "fragment": {"type": Fragment}, "protocols": {"type": Protocols}, "actions": {"type": Actions}, - "_custom_data": {"type": dict}, } name: str """Traffic Policy Item.""" @@ -66642,7 +58667,6 @@ def __init__( """Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`).""" actions: Actions """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66657,7 +58681,6 @@ def __init__( fragment: Fragment | UndefinedType = Undefined, protocols: Protocols | UndefinedType = Undefined, actions: Actions | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MatchesItem. @@ -66680,7 +58703,6 @@ def __init__( Subclass of AvdModel. protocols: Subclass of AvdIndexedList with `ProtocolsItem` items. Primary key is `protocol` (`str`). actions: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -66703,7 +58725,6 @@ class Ipv4(AvdModel): "count": {"type": str}, "drop": {"type": bool}, "log": {"type": bool}, - "_custom_data": {"type": dict}, } dscp: int | None traffic_class: int | None @@ -66713,7 +58734,6 @@ class Ipv4(AvdModel): drop: bool | None log: bool | None """Only supported when action is set to drop.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66725,7 +58745,6 @@ def __init__( count: str | None | UndefinedType = Undefined, drop: bool | None | UndefinedType = Undefined, log: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -66739,7 +58758,6 @@ def __init__( count: Counter name. drop: drop log: Only supported when action is set to drop. - _custom_data: _custom_data """ @@ -66752,7 +58770,6 @@ class Ipv6(AvdModel): "count": {"type": str}, "drop": {"type": bool}, "log": {"type": bool}, - "_custom_data": {"type": dict}, } dscp: int | None traffic_class: int | None @@ -66762,7 +58779,6 @@ class Ipv6(AvdModel): drop: bool | None log: bool | None """Only supported when action is set to drop.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66774,7 +58790,6 @@ def __init__( count: str | None | UndefinedType = Undefined, drop: bool | None | UndefinedType = Undefined, log: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6. @@ -66788,26 +58803,18 @@ def __init__( count: Counter name. drop: drop log: Only supported when action is set to drop. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} ipv4: Ipv4 """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - ipv6: Ipv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined) -> None: """ DefaultActions. @@ -66817,23 +58824,16 @@ def __init__( Args: ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "name": {"type": str}, - "matches": {"type": Matches}, - "default_actions": {"type": DefaultActions}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "matches": {"type": Matches}, "default_actions": {"type": DefaultActions}} name: str """Traffic Policy Name.""" matches: Matches """Subclass of AvdIndexedList with `MatchesItem` items. Primary key is `name` (`str`).""" default_actions: DefaultActions """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66843,7 +58843,6 @@ def __init__( name: str | UndefinedType = Undefined, matches: Matches | UndefinedType = Undefined, default_actions: DefaultActions | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PoliciesItem. @@ -66855,7 +58854,6 @@ def __init__( name: Traffic Policy Name. matches: Subclass of AvdIndexedList with `MatchesItem` items. Primary key is `name` (`str`). default_actions: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -66866,19 +58864,13 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = { - "options": {"type": Options}, - "field_sets": {"type": FieldSets}, - "policies": {"type": Policies}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"options": {"type": Options}, "field_sets": {"type": FieldSets}, "policies": {"type": Policies}} options: Options """Subclass of AvdModel.""" field_sets: FieldSets """Subclass of AvdModel.""" policies: Policies """Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66888,7 +58880,6 @@ def __init__( options: Options | UndefinedType = Undefined, field_sets: FieldSets | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrafficPolicies. @@ -66900,7 +58891,6 @@ def __init__( options: Subclass of AvdModel. field_sets: Subclass of AvdModel. policies: Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -66910,14 +58900,13 @@ class TunnelInterfacesItem(AvdModel): class TcpMssCeiling(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": int}, "ipv6": {"type": int}, "direction": {"type": str}} ipv4: int | None """Segment Size for IPv4.""" ipv6: int | None """Segment Size for IPv6.""" direction: Literal["ingress", "egress"] | None """Optional direction ('ingress', 'egress') for tcp mss ceiling.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -66927,7 +58916,6 @@ def __init__( ipv4: int | None | UndefinedType = Undefined, ipv6: int | None | UndefinedType = Undefined, direction: Literal["ingress", "egress"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TcpMssCeiling. @@ -66939,7 +58927,6 @@ def __init__( ipv4: Segment Size for IPv4. ipv6: Segment Size for IPv6. direction: Optional direction ('ingress', 'egress') for tcp mss ceiling. - _custom_data: _custom_data """ @@ -66965,7 +58952,6 @@ def __init__( "ipsec_profile": {"type": str}, "nat_profile": {"type": str}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Tunnel Interface Name.""" @@ -67016,7 +59002,6 @@ def __init__( Multiline String with EOS CLI rendered directly on the Tunnel interface in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67044,7 +59029,6 @@ def __init__( ipsec_profile: str | None | UndefinedType = Undefined, nat_profile: str | None | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TunnelInterfacesItem. @@ -67082,7 +59066,6 @@ def __init__( eos_cli: Multiline String with EOS CLI rendered directly on the Tunnel interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -67096,14 +59079,13 @@ class TunnelInterfaces(AvdIndexedList[str, TunnelInterfacesItem]): class VirtualSourceNatVrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "ip_address": {"type": str}, "ipv6_address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "ip_address": {"type": str}, "ipv6_address": {"type": str}} name: str """VRF Name.""" ip_address: str | None """IPv4 Address.""" ipv6_address: str | None """IPv6 Address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67113,7 +59095,6 @@ def __init__( name: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, ipv6_address: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VirtualSourceNatVrfsItem. @@ -67125,7 +59106,6 @@ def __init__( name: VRF Name. ip_address: IPv4 Address. ipv6_address: IPv6 Address. - _custom_data: _custom_data """ @@ -67145,15 +59125,12 @@ class Logging(AvdModel): class Event(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"link_status": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"link_status": {"type": bool}} link_status: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, link_status: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, link_status: bool | None | UndefinedType = Undefined) -> None: """ Event. @@ -67162,18 +59139,16 @@ def __init__( Args: link_status: link_status - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"event": {"type": Event}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"event": {"type": Event}} event: Event """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, event: Event | UndefinedType = Undefined) -> None: """ Logging. @@ -67182,7 +59157,6 @@ def __init__(self, *, event: Event | UndefinedType = Undefined, _custom_data: di Args: event: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -67210,13 +59184,12 @@ class GroupsItem(AvdModel): class ExcludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ ExcludeItem. @@ -67225,7 +59198,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -67239,13 +59211,12 @@ class Exclude(AvdIndexedList[str, ExcludeItem]): class IncludeItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"source": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"source": {"type": str}} source: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, source: str | UndefinedType = Undefined) -> None: """ IncludeItem. @@ -67254,7 +59225,6 @@ def __init__(self, *, source: str | UndefinedType = Undefined, _custom_data: dic Args: source: source - _custom_data: _custom_data """ @@ -67265,7 +59235,7 @@ class Include(AvdIndexedList[str, IncludeItem]): Include._item_type = IncludeItem - _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"group": {"type": str}, "exclude": {"type": Exclude}, "include": {"type": Include}} group: str """Multicast Address.""" exclude: Exclude @@ -67282,7 +59252,6 @@ class Include(AvdIndexedList[str, IncludeItem]): Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67292,7 +59261,6 @@ def __init__( group: str | UndefinedType = Undefined, exclude: Exclude | UndefinedType = Undefined, include: Include | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -67312,7 +59280,6 @@ def __init__( Subclass of AvdIndexedList with `IncludeItem` items. Primary key is `source` (`str`). - _custom_data: _custom_data """ @@ -67326,13 +59293,12 @@ class Groups(AvdIndexedList[str, GroupsItem]): class AccessListsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ AccessListsItem. @@ -67341,7 +59307,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ @@ -67358,7 +59323,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): "report_interval": {"type": int}, "access_lists": {"type": AccessLists}, "version": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool | None groups: Groups @@ -67374,7 +59338,6 @@ class AccessLists(AvdIndexedList[str, AccessListsItem]): """ version: int | None """IGMP version on IGMP host-proxy interface.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67386,7 +59349,6 @@ def __init__( report_interval: int | None | UndefinedType = Undefined, access_lists: AccessLists | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpIgmpHostProxy. @@ -67404,21 +59366,19 @@ def __init__( Subclass of AvdIndexedList with `AccessListsItem` items. Primary key is `name` (`str`). version: IGMP version on IGMP host-proxy interface. - _custom_data: _custom_data """ class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "vrf": {"type": str}} ip_helper: str """IP address or hostname of DHCP server.""" source_interface: str | None """Interface used as source for forwarded DHCP packets.""" vrf: str | None """VRF where DHCP server can be reached.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67428,7 +59388,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -67440,7 +59399,6 @@ def __init__( ip_helper: IP address or hostname of DHCP server. source_interface: Interface used as source for forwarded DHCP packets. vrf: VRF where DHCP server can be reached. - _custom_data: _custom_data """ @@ -67460,18 +59418,11 @@ class Destination(AvdModel): class DynamicItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "access_list": {"type": str}, - "comment": {"type": str}, - "pool_name": {"type": str}, - "priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"access_list": {"type": str}, "comment": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}} access_list: str comment: str | None pool_name: str priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67482,7 +59433,6 @@ def __init__( comment: str | None | UndefinedType = Undefined, pool_name: str | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -67495,7 +59445,6 @@ def __init__( comment: comment pool_name: pool_name priority: priority - _custom_data: _custom_data """ @@ -67520,7 +59469,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -67544,7 +59492,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67561,7 +59508,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -67584,7 +59530,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -67593,22 +59538,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Destination. @@ -67618,7 +59556,6 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ @@ -67634,7 +59571,6 @@ class DynamicItem(AvdModel): "nat_type": {"type": str}, "pool_name": {"type": str}, "priority": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str comment: str | None @@ -67646,7 +59582,6 @@ class DynamicItem(AvdModel): overload. """ priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67658,7 +59593,6 @@ def __init__( nat_type: Literal["overload", "pool", "pool-address-only", "pool-full-cone"] | UndefinedType = Undefined, pool_name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DynamicItem. @@ -67675,7 +59609,6 @@ def __init__( ignored if 'nat_type' is overload. priority: priority - _custom_data: _custom_data """ @@ -67700,7 +59633,6 @@ class StaticItem(AvdModel): "protocol": {"type": str}, "translated_ip": {"type": str}, "translated_port": {"type": int}, - "_custom_data": {"type": dict}, } access_list: str | None """'access_list' and 'group' are mutual exclusive.""" @@ -67724,7 +59656,6 @@ class StaticItem(AvdModel): """IPv4 address.""" translated_port: int | None """requires 'original_port'.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67741,7 +59672,6 @@ def __init__( protocol: Literal["udp", "tcp"] | None | UndefinedType = Undefined, translated_ip: str | UndefinedType = Undefined, translated_port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticItem. @@ -67764,7 +59694,6 @@ def __init__( protocol: protocol translated_ip: IPv4 address. translated_port: requires 'original_port'. - _custom_data: _custom_data """ @@ -67773,22 +59702,15 @@ class Static(AvdList[StaticItem]): Static._item_type = StaticItem - _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"dynamic": {"type": Dynamic}, "static": {"type": Static}} dynamic: Dynamic """Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`).""" static: Static """Subclass of AvdList with `StaticItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic: Dynamic | UndefinedType = Undefined, - static: Static | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic: Dynamic | UndefinedType = Undefined, static: Static | UndefinedType = Undefined) -> None: """ Source. @@ -67798,26 +59720,18 @@ def __init__( Args: dynamic: Subclass of AvdIndexedList with `DynamicItem` items. Primary key is `access_list` (`str`). static: Subclass of AvdList with `StaticItem` items. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"destination": {"type": Destination}, "source": {"type": Source}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination": {"type": Destination}, "source": {"type": Source}} destination: Destination """Subclass of AvdModel.""" source: Source """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - destination: Destination | UndefinedType = Undefined, - source: Source | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, destination: Destination | UndefinedType = Undefined, source: Source | UndefinedType = Undefined) -> None: """ IpNat. @@ -67827,7 +59741,6 @@ def __init__( Args: destination: Subclass of AvdModel. source: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -67844,19 +59757,13 @@ class Ipv6VirtualRouterAddresses(AvdList[str]): class Ipv6NdCache(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "dynamic_capacity": {"type": int}, - "expire": {"type": int}, - "refresh_always": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"dynamic_capacity": {"type": int}, "expire": {"type": int}, "refresh_always": {"type": bool}} dynamic_capacity: int | None """Capacity of dynamic cache entries.""" expire: int | None """Cache entries expirery in seconds.""" refresh_always: bool | None """Force refresh on cache expiry.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67866,7 +59773,6 @@ def __init__( dynamic_capacity: int | None | UndefinedType = Undefined, expire: int | None | UndefinedType = Undefined, refresh_always: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6NdCache. @@ -67878,7 +59784,6 @@ def __init__( dynamic_capacity: Capacity of dynamic cache entries. expire: Cache entries expirery in seconds. refresh_always: Force refresh on cache expiry. - _custom_data: _custom_data """ @@ -67890,7 +59795,6 @@ class Ipv6NdPrefixesItem(AvdModel): "valid_lifetime": {"type": str}, "preferred_lifetime": {"type": str}, "no_autoconfig_flag": {"type": bool}, - "_custom_data": {"type": dict}, } ipv6_prefix: str """IPv6_address/Mask.""" @@ -67899,7 +59803,6 @@ class Ipv6NdPrefixesItem(AvdModel): preferred_lifetime: str | None """In seconds <0-4294967295> or infinite.""" no_autoconfig_flag: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67910,7 +59813,6 @@ def __init__( valid_lifetime: str | None | UndefinedType = Undefined, preferred_lifetime: str | None | UndefinedType = Undefined, no_autoconfig_flag: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6NdPrefixesItem. @@ -67923,7 +59825,6 @@ def __init__( valid_lifetime: In seconds <0-4294967295> or infinite. preferred_lifetime: In seconds <0-4294967295> or infinite. no_autoconfig_flag: no_autoconfig_flag - _custom_data: _custom_data """ @@ -67943,7 +59844,6 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): "local_interface": {"type": str}, "source_address": {"type": str}, "link_address": {"type": str}, - "_custom_data": {"type": dict}, } address: str """DHCP server's IPv6 address.""" @@ -67954,7 +59854,6 @@ class Ipv6DhcpRelayDestinationsItem(AvdModel): """Source IPv6 address to communicate with DHCP server - mutually exclusive to local_interface.""" link_address: str | None """Override the default link address specified in the relayed DHCP packet.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -67966,7 +59865,6 @@ def __init__( local_interface: str | None | UndefinedType = Undefined, source_address: str | None | UndefinedType = Undefined, link_address: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6DhcpRelayDestinationsItem. @@ -67980,7 +59878,6 @@ def __init__( local_interface: Local interface to communicate with DHCP server - mutually exclusive to source_address. source_address: Source IPv6 address to communicate with DHCP server - mutually exclusive to local_interface. link_address: Override the default link address specified in the relayed DHCP packet. - _custom_data: _custom_data """ @@ -68003,21 +59900,14 @@ class Ipv4(AvdModel): class BoundariesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"boundary": {"type": str}, "out": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundary": {"type": str}, "out": {"type": bool}} boundary: str """IPv4 access-list name or IPv4 multicast group prefix with mask.""" out: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - boundary: str | UndefinedType = Undefined, - out: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, boundary: str | UndefinedType = Undefined, out: bool | None | UndefinedType = Undefined) -> None: """ BoundariesItem. @@ -68027,7 +59917,6 @@ def __init__( Args: boundary: IPv4 access-list name or IPv4 multicast group prefix with mask. out: out - _custom_data: _custom_data """ @@ -68041,19 +59930,14 @@ class Boundaries(AvdIndexedList[str, BoundariesItem]): class SourceRouteExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "administrative_distance": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "administrative_distance": {"type": int}} enabled: bool administrative_distance: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - administrative_distance: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, administrative_distance: int | None | UndefinedType = Undefined ) -> None: """ SourceRouteExport. @@ -68064,16 +59948,10 @@ def __init__( Args: enabled: enabled administrative_distance: administrative_distance - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "boundaries": {"type": Boundaries}, - "source_route_export": {"type": SourceRouteExport}, - "static": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "source_route_export": {"type": SourceRouteExport}, "static": {"type": bool}} boundaries: Boundaries """ Boundaries can be either 1 ACL or a list of multicast IP address_range(s)/prefix but not combination @@ -68084,7 +59962,6 @@ def __init__( source_route_export: SourceRouteExport """Subclass of AvdModel.""" static: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68094,7 +59971,6 @@ def __init__( boundaries: Boundaries | UndefinedType = Undefined, source_route_export: SourceRouteExport | UndefinedType = Undefined, static: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -68110,7 +59986,6 @@ def __init__( Subclass of AvdIndexedList with `BoundariesItem` items. Primary key is `boundary` (`str`). source_route_export: Subclass of AvdModel. static: static - _custom_data: _custom_data """ @@ -68120,14 +59995,13 @@ class Ipv6(AvdModel): class BoundariesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"boundary": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"boundary": {"type": str}} boundary: str """IPv6 access-list name or IPv6 multicast group prefix with mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, boundary: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, boundary: str | UndefinedType = Undefined) -> None: """ BoundariesItem. @@ -68136,7 +60010,6 @@ def __init__(self, *, boundary: str | UndefinedType = Undefined, _custom_data: d Args: boundary: IPv6 access-list name or IPv6 multicast group prefix with mask. - _custom_data: _custom_data """ @@ -68150,19 +60023,14 @@ class Boundaries(AvdIndexedList[str, BoundariesItem]): class SourceRouteExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "administrative_distance": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "administrative_distance": {"type": int}} enabled: bool administrative_distance: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - administrative_distance: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, administrative_distance: int | None | UndefinedType = Undefined ) -> None: """ SourceRouteExport. @@ -68173,16 +60041,10 @@ def __init__( Args: enabled: enabled administrative_distance: administrative_distance - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "boundaries": {"type": Boundaries}, - "source_route_export": {"type": SourceRouteExport}, - "static": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"boundaries": {"type": Boundaries}, "source_route_export": {"type": SourceRouteExport}, "static": {"type": bool}} boundaries: Boundaries """ Boundaries can be either 1 ACL or a list of multicast IP address_range(s)/prefix but not combination @@ -68193,7 +60055,6 @@ def __init__( source_route_export: SourceRouteExport """Subclass of AvdModel.""" static: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68203,7 +60064,6 @@ def __init__( boundaries: Boundaries | UndefinedType = Undefined, source_route_export: SourceRouteExport | UndefinedType = Undefined, static: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6. @@ -68219,26 +60079,18 @@ def __init__( Subclass of AvdIndexedList with `BoundariesItem` items. Primary key is `boundary` (`str`). source_route_export: Subclass of AvdModel. static: static - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}} ipv4: Ipv4 """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: Ipv4 | UndefinedType = Undefined, - ipv6: Ipv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined) -> None: """ Multicast. @@ -68248,19 +60100,17 @@ def __init__( Args: ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ class OspfMessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str}, "key": {"type": str}} id: int hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None key: str | None """Encrypted password.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68270,7 +60120,6 @@ def __init__( id: int | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | None | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ OspfMessageDigestKeysItem. @@ -68282,7 +60131,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Encrypted password. - _custom_data: _custom_data """ @@ -68302,22 +60150,15 @@ class Ipv4(AvdModel): class Hello(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"count": {"type": str}, "interval": {"type": int}} count: str | None """Number of missed hellos after which the neighbor expires. Range <1.5-65535>.""" interval: int | None """PIM hello interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - count: str | None | UndefinedType = Undefined, - interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, count: str | None | UndefinedType = Undefined, interval: int | None | UndefinedType = Undefined) -> None: """ Hello. @@ -68327,7 +60168,6 @@ def __init__( Args: count: Number of missed hellos after which the neighbor expires. Range <1.5-65535>. interval: PIM hello interval in seconds. - _custom_data: _custom_data """ @@ -68339,7 +60179,6 @@ def __init__( "bfd": {"type": bool}, "bidirectional": {"type": bool}, "hello": {"type": Hello}, - "_custom_data": {"type": dict}, } border_router: bool | None """Configure PIM border router. EOS default is false.""" @@ -68351,7 +60190,6 @@ def __init__( bidirectional: bool | None hello: Hello """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68365,7 +60203,6 @@ def __init__( bfd: bool | None | UndefinedType = Undefined, bidirectional: bool | None | UndefinedType = Undefined, hello: Hello | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4. @@ -68381,18 +60218,16 @@ def __init__( bfd: Set the default for whether Bidirectional Forwarding Detection is enabled for PIM. bidirectional: bidirectional hello: Subclass of AvdModel. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": Ipv4}} ipv4: Ipv4 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined) -> None: """ Pim. @@ -68401,7 +60236,6 @@ def __init__(self, *, ipv4: Ipv4 | UndefinedType = Undefined, _custom_data: dict Args: ipv4: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -68420,7 +60254,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -68431,7 +60264,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68443,7 +60275,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -68457,7 +60288,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -68471,13 +60301,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -68486,17 +60315,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68505,7 +60332,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -68516,7 +60342,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -68528,7 +60353,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -68552,7 +60376,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68566,7 +60389,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Both. @@ -68588,7 +60410,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -68604,7 +60425,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -68615,7 +60435,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68627,7 +60446,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -68641,7 +60459,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -68655,13 +60472,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -68670,17 +60486,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68689,7 +60503,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -68700,7 +60513,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -68712,7 +60524,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -68736,7 +60547,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68750,7 +60560,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level1. @@ -68772,7 +60581,6 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ @@ -68788,7 +60596,6 @@ class KeyIdsItem(AvdModel): "key_type": {"type": str}, "key": {"type": str}, "rfc_5310": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """Configure authentication key-id.""" @@ -68799,7 +60606,6 @@ class KeyIdsItem(AvdModel): """Password string.""" rfc_5310: bool | None """SHA digest computation according to rfc5310.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68811,7 +60617,6 @@ def __init__( key_type: Literal["0", "7", "8a"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, rfc_5310: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ KeyIdsItem. @@ -68825,7 +60630,6 @@ def __init__( key_type: Configure authentication key type. key: Password string. rfc_5310: SHA digest computation according to rfc5310. - _custom_data: _custom_data """ @@ -68839,13 +60643,12 @@ class KeyIds(AvdIndexedList[int, KeyIdsItem]): class Sha(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key_id": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key_id": {"type": int}} key_id: int - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, key_id: int | UndefinedType = Undefined) -> None: """ Sha. @@ -68854,17 +60657,15 @@ def __init__(self, *, key_id: int | UndefinedType = Undefined, _custom_data: dic Args: key_id: key_id - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "algorithm": {"type": str}} profile: str algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68873,7 +60674,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, algorithm: Literal["md5", "sha-1", "sha-224", "sha-256", "sha-384", "sha-512"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -68884,7 +60684,6 @@ def __init__( Args: profile: profile algorithm: algorithm - _custom_data: _custom_data """ @@ -68896,7 +60695,6 @@ def __init__( "sha": {"type": Sha}, "shared_secret": {"type": SharedSecret}, "rx_disabled": {"type": bool}, - "_custom_data": {"type": dict}, } key_type: Literal["0", "7", "8a"] | None """Configure authentication key type.""" @@ -68920,7 +60718,6 @@ def __init__( """ rx_disabled: bool | None """Disable authentication check on the receive side.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -68934,7 +60731,6 @@ def __init__( sha: Sha | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, rx_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Level2. @@ -68956,11 +60752,10 @@ def __init__( Subclass of AvdModel. rx_disabled: Disable authentication check on the receive side. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"both": {"type": Both}, "level_1": {"type": Level1}, "level_2": {"type": Level2}} both: Both """ Authentication settings for level-1 and level-2. 'both' takes precedence over 'level_1' and @@ -68978,17 +60773,11 @@ def __init__( Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - both: Both | UndefinedType = Undefined, - level_1: Level1 | UndefinedType = Undefined, - level_2: Level2 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, both: Both | UndefinedType = Undefined, level_1: Level1 | UndefinedType = Undefined, level_2: Level2 | UndefinedType = Undefined ) -> None: """ IsisAuthentication. @@ -69008,7 +60797,6 @@ def __init__( level_2: Authentication settings for level-2. 'both' takes precedence over 'level_1' and 'level_2' settings. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -69018,14 +60806,13 @@ class VrrpIdsItem(AvdModel): class Advertisement(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}} interval: int | None """Interval in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined) -> None: """ Advertisement. @@ -69034,7 +60821,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Args: interval: Interval in seconds. - _custom_data: _custom_data """ @@ -69044,22 +60830,15 @@ class Preempt(AvdModel): class Delay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"minimum": {"type": int}, "reload": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"minimum": {"type": int}, "reload": {"type": int}} minimum: int | None """Minimum preempt delay in seconds.""" reload: int | None """Reload preempt delay in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - minimum: int | None | UndefinedType = Undefined, - reload: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, minimum: int | None | UndefinedType = Undefined, reload: int | None | UndefinedType = Undefined) -> None: """ Delay. @@ -69069,25 +60848,17 @@ def __init__( Args: minimum: Minimum preempt delay in seconds. reload: Reload preempt delay in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "delay": {"type": Delay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "delay": {"type": Delay}} enabled: bool delay: Delay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - delay: Delay | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, delay: Delay | UndefinedType = Undefined) -> None: """ Preempt. @@ -69097,7 +60868,6 @@ def __init__( Args: enabled: enabled delay: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -69107,14 +60877,13 @@ class Timers(AvdModel): class Delay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"reload": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"reload": {"type": int}} reload: int | None """Delay after reload in seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, reload: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, reload: int | None | UndefinedType = Undefined) -> None: """ Delay. @@ -69123,18 +60892,16 @@ def __init__(self, *, reload: int | None | UndefinedType = Undefined, _custom_da Args: reload: Delay after reload in seconds. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"delay": {"type": Delay}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"delay": {"type": Delay}} delay: Delay """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, delay: Delay | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, delay: Delay | UndefinedType = Undefined) -> None: """ Timers. @@ -69143,20 +60910,18 @@ def __init__(self, *, delay: Delay | UndefinedType = Undefined, _custom_data: di Args: delay: Subclass of AvdModel. - _custom_data: _custom_data """ class TrackedObjectItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "decrement": {"type": int}, "shutdown": {"type": bool}} name: str """Tracked object name.""" decrement: int | None """Decrement VRRP priority by 1-254.""" shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -69166,7 +60931,6 @@ def __init__( name: str | UndefinedType = Undefined, decrement: int | None | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrackedObjectItem. @@ -69178,7 +60942,6 @@ def __init__( name: Tracked object name. decrement: Decrement VRRP priority by 1-254. shutdown: shutdown - _custom_data: _custom_data """ @@ -69192,21 +60955,14 @@ class TrackedObject(AvdIndexedList[str, TrackedObjectItem]): class Ipv4(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}, "version": {"type": int}} address: str """Virtual IPv4 address.""" version: Literal[2, 3] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - address: str | UndefinedType = Undefined, - version: Literal[2, 3] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined, version: Literal[2, 3] | None | UndefinedType = Undefined) -> None: """ Ipv4. @@ -69216,21 +60972,19 @@ def __init__( Args: address: Virtual IPv4 address. version: version - _custom_data: _custom_data """ class Ipv6(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"address": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address": {"type": str}} address: str """Virtual IPv6 address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, address: str | UndefinedType = Undefined) -> None: """ Ipv6. @@ -69239,7 +60993,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di Args: address: Virtual IPv6 address. - _custom_data: _custom_data """ @@ -69252,7 +61005,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di "tracked_object": {"type": TrackedObject}, "ipv4": {"type": Ipv4}, "ipv6": {"type": Ipv6}, - "_custom_data": {"type": dict}, } id: int """VRID.""" @@ -69270,7 +61022,6 @@ def __init__(self, *, address: str | UndefinedType = Undefined, _custom_data: di """Subclass of AvdModel.""" ipv6: Ipv6 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -69285,7 +61036,6 @@ def __init__( tracked_object: TrackedObject | UndefinedType = Undefined, ipv4: Ipv4 | UndefinedType = Undefined, ipv6: Ipv6 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrrpIdsItem. @@ -69302,7 +61052,6 @@ def __init__( tracked_object: Subclass of AvdIndexedList with `TrackedObjectItem` items. Primary key is `name` (`str`). ipv4: Subclass of AvdModel. ipv6: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -69316,20 +61065,13 @@ class VrrpIds(AvdIndexedList[int, VrrpIdsItem]): class IpAttachedHostRouteExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "distance": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "distance": {"type": int}} enabled: bool distance: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - distance: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, distance: int | None | UndefinedType = Undefined) -> None: """ IpAttachedHostRouteExport. @@ -69339,20 +61081,18 @@ def __init__( Args: enabled: enabled distance: distance - _custom_data: _custom_data """ class Ipv6AttachedHostRouteExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "distance": {"type": int}, "prefix_length": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "distance": {"type": int}, "prefix_length": {"type": int}} enabled: bool distance: int | None """Administrative distance for generated routes.""" prefix_length: int | None """Prefix length for generated routes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -69362,7 +61102,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, distance: int | None | UndefinedType = Undefined, prefix_length: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6AttachedHostRouteExport. @@ -69374,27 +61113,19 @@ def __init__( enabled: enabled distance: Administrative distance for generated routes. prefix_length: Prefix length for generated routes. - _custom_data: _custom_data """ class Bfd(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "echo": {"type": bool}, - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"echo": {"type": bool}, "interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} echo: bool | None interval: int | None """Rate in milliseconds.""" min_rx: int | None """Minimum RX hold time in milliseconds.""" multiplier: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -69405,7 +61136,6 @@ def __init__( interval: int | None | UndefinedType = Undefined, min_rx: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bfd. @@ -69418,7 +61148,6 @@ def __init__( interval: Rate in milliseconds. min_rx: Minimum RX hold time in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ @@ -69428,14 +61157,13 @@ class ServicePolicy(AvdModel): class Pbr(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"input": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"input": {"type": str}} input: str | None """Name of policy-map used for policy based routing.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, input: str | None | UndefinedType = Undefined) -> None: """ Pbr. @@ -69444,18 +61172,16 @@ def __init__(self, *, input: str | None | UndefinedType = Undefined, _custom_dat Args: input: Name of policy-map used for policy based routing. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"pbr": {"type": Pbr}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"pbr": {"type": Pbr}} pbr: Pbr """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, pbr: Pbr | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, pbr: Pbr | UndefinedType = Undefined) -> None: """ ServicePolicy. @@ -69464,7 +61190,6 @@ def __init__(self, *, pbr: Pbr | UndefinedType = Undefined, _custom_data: dict[s Args: pbr: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -69539,7 +61264,6 @@ class Tags(AvdList[str]): "tags": {"type": Tags}, "type": {"type": str}, "eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } name: str """VLAN interface name like "Vlan123".""" @@ -69685,7 +61409,6 @@ class Tags(AvdList[str]): """Key only used for documentation or validation purposes.""" eos_cli: str | None """Multiline EOS CLI rendered directly on the VLAN interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -69757,7 +61480,6 @@ def __init__( tags: Tags | UndefinedType = Undefined, type: str | None | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlanInterfacesItem. @@ -69859,7 +61581,6 @@ def __init__( Subclass of AvdList with `str` items. type: Key only used for documentation or validation purposes. eos_cli: Multiline EOS CLI rendered directly on the VLAN interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -69876,22 +61597,15 @@ class VlanInternalOrder(AvdModel): class Range(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"beginning": {"type": int}, "ending": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"beginning": {"type": int}, "ending": {"type": int}} beginning: int """First VLAN ID.""" ending: int """Last VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - beginning: int | UndefinedType = Undefined, - ending: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, beginning: int | UndefinedType = Undefined, ending: int | UndefinedType = Undefined) -> None: """ Range. @@ -69901,25 +61615,17 @@ def __init__( Args: beginning: First VLAN ID. ending: Last VLAN ID. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"allocation": {"type": str}, "range": {"type": Range}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"allocation": {"type": str}, "range": {"type": Range}} allocation: Literal["ascending", "descending"] range: Range """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - allocation: Literal["ascending", "descending"] | UndefinedType = Undefined, - range: Range | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, allocation: Literal["ascending", "descending"] | UndefinedType = Undefined, range: Range | UndefinedType = Undefined) -> None: """ VlanInternalOrder. @@ -69929,7 +61635,6 @@ def __init__( Args: allocation: allocation range: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -69942,22 +61647,15 @@ class AddressLocking(AvdModel): class AddressFamily(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}} ipv4: bool | None """Enable address locking for IPv4.""" ipv6: bool | None """Enable address locking for IPv6.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4: bool | None | UndefinedType = Undefined, - ipv6: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined) -> None: """ AddressFamily. @@ -69967,25 +61665,19 @@ def __init__( Args: ipv4: Enable address locking for IPv4. ipv6: Enable address locking for IPv6. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"address_family": {"type": AddressFamily}, "ipv4_enforcement_disabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"address_family": {"type": AddressFamily}, "ipv4_enforcement_disabled": {"type": bool}} address_family: AddressFamily """Subclass of AvdModel.""" ipv4_enforcement_disabled: bool | None """Disable enforcement for IPv4 locked addresses.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - address_family: AddressFamily | UndefinedType = Undefined, - ipv4_enforcement_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, address_family: AddressFamily | UndefinedType = Undefined, ipv4_enforcement_disabled: bool | None | UndefinedType = Undefined ) -> None: """ AddressLocking. @@ -69996,7 +61688,6 @@ def __init__( Args: address_family: Subclass of AvdModel. ipv4_enforcement_disabled: Disable enforcement for IPv4 locked addresses. - _custom_data: _custom_data """ @@ -70008,20 +61699,15 @@ class TrunkGroups(AvdList[str]): class PrivateVlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "primary_vlan": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "primary_vlan": {"type": int}} type: Literal["community", "isolated"] | None primary_vlan: int | None """Primary VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - type: Literal["community", "isolated"] | None | UndefinedType = Undefined, - primary_vlan: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, type: Literal["community", "isolated"] | None | UndefinedType = Undefined, primary_vlan: int | None | UndefinedType = Undefined ) -> None: """ PrivateVlan. @@ -70032,7 +61718,6 @@ def __init__( Args: type: type primary_vlan: Primary VLAN ID. - _custom_data: _custom_data """ @@ -70044,7 +61729,6 @@ def __init__( "trunk_groups": {"type": TrunkGroups}, "private_vlan": {"type": PrivateVlan}, "tenant": {"type": str}, - "_custom_data": {"type": dict}, } id: int """VLAN ID.""" @@ -70059,7 +61743,6 @@ def __init__( """Subclass of AvdModel.""" tenant: str | None """Key only used for documentation or validation purposes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70073,7 +61756,6 @@ def __init__( trunk_groups: TrunkGroups | UndefinedType = Undefined, private_vlan: PrivateVlan | UndefinedType = Undefined, tenant: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlansItem. @@ -70089,7 +61771,6 @@ def __init__( trunk_groups: Subclass of AvdList with `str` items. private_vlan: Subclass of AvdModel. tenant: Key only used for documentation or validation purposes. - _custom_data: _custom_data """ @@ -70111,7 +61792,6 @@ class VmtracerSessionsItem(AvdModel): "autovlan_disable": {"type": bool}, "vrf": {"type": str}, "source_interface": {"type": str}, - "_custom_data": {"type": dict}, } name: str """Vmtracer Session Name.""" @@ -70122,7 +61802,6 @@ class VmtracerSessionsItem(AvdModel): autovlan_disable: bool | None vrf: str | None source_interface: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70136,7 +61815,6 @@ def __init__( autovlan_disable: bool | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VmtracerSessionsItem. @@ -70152,7 +61830,6 @@ def __init__( autovlan_disable: autovlan_disable vrf: vrf source_interface: source_interface - _custom_data: _custom_data """ @@ -70173,7 +61850,6 @@ class VrfsItem(AvdModel): "ipv6_routing": {"type": bool}, "ip_routing_ipv6_interfaces": {"type": bool}, "tenant": {"type": str}, - "_custom_data": {"type": dict}, } name: str """VRF Name.""" @@ -70183,7 +61859,6 @@ class VrfsItem(AvdModel): ip_routing_ipv6_interfaces: bool | None tenant: str | None """Key only used for documentation or validation purposes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70196,7 +61871,6 @@ def __init__( ipv6_routing: bool | None | UndefinedType = Undefined, ip_routing_ipv6_interfaces: bool | None | UndefinedType = Undefined, tenant: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -70211,7 +61885,6 @@ def __init__( ipv6_routing: ipv6_routing ip_routing_ipv6_interfaces: ip_routing_ipv6_interfaces tenant: Key only used for documentation or validation purposes. - _custom_data: _custom_data """ @@ -70234,15 +61907,12 @@ class Vxlan(AvdModel): class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"headend_replication": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"headend_replication": {"type": bool}} headend_replication: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, headend_replication: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, headend_replication: bool | None | UndefinedType = Undefined) -> None: """ Multicast. @@ -70251,22 +61921,18 @@ def __init__( Args: headend_replication: headend_replication - _custom_data: _custom_data """ class ControllerClient(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ ControllerClient. @@ -70275,25 +61941,17 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class BfdVtepEvpn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "prefix_list": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "prefix_list": {"type": str}} interval: int | None min_rx: int | None multiplier: int | None prefix_list: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70304,7 +61962,6 @@ def __init__( min_rx: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, prefix_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BfdVtepEvpn. @@ -70317,7 +61974,6 @@ def __init__( min_rx: min_rx multiplier: multiplier prefix_list: prefix_list - _custom_data: _custom_data """ @@ -70328,13 +61984,11 @@ class Qos(AvdModel): "dscp_propagation_encapsulation": {"type": bool}, "ecn_propagation": {"type": bool}, "map_dscp_to_traffic_class_decapsulation": {"type": bool}, - "_custom_data": {"type": dict}, } dscp_propagation_encapsulation: bool | None ecn_propagation: bool | None """Enable copying the ECN marking to/from encapsulated packets.""" map_dscp_to_traffic_class_decapsulation: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70344,7 +61998,6 @@ def __init__( dscp_propagation_encapsulation: bool | None | UndefinedType = Undefined, ecn_propagation: bool | None | UndefinedType = Undefined, map_dscp_to_traffic_class_decapsulation: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Qos. @@ -70356,7 +62009,6 @@ def __init__( dscp_propagation_encapsulation: dscp_propagation_encapsulation ecn_propagation: Enable copying the ECN marking to/from encapsulated packets. map_dscp_to_traffic_class_decapsulation: map_dscp_to_traffic_class_decapsulation - _custom_data: _custom_data """ @@ -70368,13 +62020,7 @@ class FloodVteps(AvdList[str]): FloodVteps._item_type = str - _fields: ClassVar[dict] = { - "id": {"type": int}, - "vni": {"type": int}, - "multicast_group": {"type": str}, - "flood_vteps": {"type": FloodVteps}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "vni": {"type": int}, "multicast_group": {"type": str}, "flood_vteps": {"type": FloodVteps}} id: int """VLAN ID.""" vni: int | None @@ -70382,7 +62028,6 @@ class FloodVteps(AvdList[str]): """IP Multicast Group Address.""" flood_vteps: FloodVteps """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70393,7 +62038,6 @@ def __init__( vni: int | None | UndefinedType = Undefined, multicast_group: str | None | UndefinedType = Undefined, flood_vteps: FloodVteps | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlansItem. @@ -70406,7 +62050,6 @@ def __init__( vni: vni multicast_group: IP Multicast Group Address. flood_vteps: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -70420,13 +62063,12 @@ class Vlans(AvdIndexedList[int, VlansItem]): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}} name: str """VRF Name.""" vni: int | None multicast_group: str | None """IP Multicast Group Address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70436,7 +62078,6 @@ def __init__( name: str | UndefinedType = Undefined, vni: int | None | UndefinedType = Undefined, multicast_group: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -70448,7 +62089,6 @@ def __init__( name: VRF Name. vni: vni multicast_group: IP Multicast Group Address. - _custom_data: _custom_data """ @@ -70478,7 +62118,6 @@ class FloodVteps(AvdList[str]): "vrfs": {"type": Vrfs}, "flood_vteps": {"type": FloodVteps}, "flood_vtep_learned_data_plane": {"type": bool}, - "_custom_data": {"type": dict}, } source_interface: str | None """Source Interface Name.""" @@ -70515,7 +62154,6 @@ class FloodVteps(AvdList[str]): flood_vteps: FloodVteps """Subclass of AvdList with `str` items.""" flood_vtep_learned_data_plane: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70535,7 +62173,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, flood_vteps: FloodVteps | UndefinedType = Undefined, flood_vtep_learned_data_plane: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Vxlan. @@ -70567,11 +62204,10 @@ def __init__( vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). flood_vteps: Subclass of AvdList with `str` items. flood_vtep_learned_data_plane: flood_vtep_learned_data_plane - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}} description: str | None vxlan: Vxlan """Subclass of AvdModel.""" @@ -70580,7 +62216,6 @@ def __init__( Multiline String with EOS CLI rendered directly on the Vxlan interface in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70590,7 +62225,6 @@ def __init__( description: str | None | UndefinedType = Undefined, vxlan: Vxlan | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Vxlan1. @@ -70604,7 +62238,6 @@ def __init__( eos_cli: Multiline String with EOS CLI rendered directly on the Vxlan interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -70617,15 +62250,12 @@ class Vxlan(AvdModel): class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"headend_replication": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"headend_replication": {"type": bool}} headend_replication: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, headend_replication: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, headend_replication: bool | None | UndefinedType = Undefined) -> None: """ Multicast. @@ -70634,22 +62264,18 @@ def __init__( Args: headend_replication: headend_replication - _custom_data: _custom_data """ class ControllerClient(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ ControllerClient. @@ -70658,25 +62284,17 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class BfdVtepEvpn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "prefix_list": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "prefix_list": {"type": str}} interval: int | None min_rx: int | None multiplier: int | None prefix_list: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70687,7 +62305,6 @@ def __init__( min_rx: int | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, prefix_list: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BfdVtepEvpn. @@ -70700,7 +62317,6 @@ def __init__( min_rx: min_rx multiplier: multiplier prefix_list: prefix_list - _custom_data: _custom_data """ @@ -70711,13 +62327,11 @@ class Qos(AvdModel): "dscp_propagation_encapsulation": {"type": bool}, "ecn_propagation": {"type": bool}, "map_dscp_to_traffic_class_decapsulation": {"type": bool}, - "_custom_data": {"type": dict}, } dscp_propagation_encapsulation: bool | None ecn_propagation: bool | None """Enable copying the ECN marking to/from encapsulated packets.""" map_dscp_to_traffic_class_decapsulation: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70727,7 +62341,6 @@ def __init__( dscp_propagation_encapsulation: bool | None | UndefinedType = Undefined, ecn_propagation: bool | None | UndefinedType = Undefined, map_dscp_to_traffic_class_decapsulation: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Qos. @@ -70739,7 +62352,6 @@ def __init__( dscp_propagation_encapsulation: dscp_propagation_encapsulation ecn_propagation: Enable copying the ECN marking to/from encapsulated packets. map_dscp_to_traffic_class_decapsulation: map_dscp_to_traffic_class_decapsulation - _custom_data: _custom_data """ @@ -70751,13 +62363,7 @@ class FloodVteps(AvdList[str]): FloodVteps._item_type = str - _fields: ClassVar[dict] = { - "id": {"type": int}, - "vni": {"type": int}, - "multicast_group": {"type": str}, - "flood_vteps": {"type": FloodVteps}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "vni": {"type": int}, "multicast_group": {"type": str}, "flood_vteps": {"type": FloodVteps}} id: int """VLAN ID.""" vni: int | None @@ -70765,7 +62371,6 @@ class FloodVteps(AvdList[str]): """IP Multicast Group Address.""" flood_vteps: FloodVteps """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70776,7 +62381,6 @@ def __init__( vni: int | None | UndefinedType = Undefined, multicast_group: str | None | UndefinedType = Undefined, flood_vteps: FloodVteps | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VlansItem. @@ -70789,7 +62393,6 @@ def __init__( vni: vni multicast_group: IP Multicast Group Address. flood_vteps: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -70803,13 +62406,12 @@ class Vlans(AvdIndexedList[int, VlansItem]): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vni": {"type": int}, "multicast_group": {"type": str}} name: str """VRF Name.""" vni: int | None multicast_group: str | None """IP Multicast Group Address.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70819,7 +62421,6 @@ def __init__( name: str | UndefinedType = Undefined, vni: int | None | UndefinedType = Undefined, multicast_group: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -70831,7 +62432,6 @@ def __init__( name: VRF Name. vni: vni multicast_group: IP Multicast Group Address. - _custom_data: _custom_data """ @@ -70861,7 +62461,6 @@ class FloodVteps(AvdList[str]): "vrfs": {"type": Vrfs}, "flood_vteps": {"type": FloodVteps}, "flood_vtep_learned_data_plane": {"type": bool}, - "_custom_data": {"type": dict}, } source_interface: str | None """Source Interface Name.""" @@ -70898,7 +62497,6 @@ class FloodVteps(AvdList[str]): flood_vteps: FloodVteps """Subclass of AvdList with `str` items.""" flood_vtep_learned_data_plane: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70918,7 +62516,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, flood_vteps: FloodVteps | UndefinedType = Undefined, flood_vtep_learned_data_plane: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Vxlan. @@ -70950,11 +62547,10 @@ def __init__( vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). flood_vteps: Subclass of AvdList with `str` items. flood_vtep_learned_data_plane: flood_vtep_learned_data_plane - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"description": {"type": str}, "vxlan": {"type": Vxlan}, "eos_cli": {"type": str}} description: str | None vxlan: Vxlan """Subclass of AvdModel.""" @@ -70963,7 +62559,6 @@ def __init__( Multiline String with EOS CLI rendered directly on the Vxlan interface in the final EOS configuration. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -70973,7 +62568,6 @@ def __init__( description: str | None | UndefinedType = Undefined, vxlan: Vxlan | UndefinedType = Undefined, eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Vxlan1. @@ -70987,28 +62581,20 @@ def __init__( eos_cli: Multiline String with EOS CLI rendered directly on the Vxlan interface in the final EOS configuration. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"vxlan1": {"type": Vxlan1}, "field_Vxlan1": {"type": Vxlan1}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"vxlan1": {"type": Vxlan1}, "field_Vxlan1": {"type": Vxlan1}} _field_to_key_map: ClassVar[dict] = {"field_Vxlan1": "Vxlan1"} _key_to_field_map: ClassVar[dict] = {"Vxlan1": "field_Vxlan1"} vxlan1: Vxlan1 """Subclass of AvdModel.""" field_Vxlan1: Vxlan1 """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - vxlan1: Vxlan1 | UndefinedType = Undefined, - field_Vxlan1: Vxlan1 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, vxlan1: Vxlan1 | UndefinedType = Undefined, field_Vxlan1: Vxlan1 | UndefinedType = Undefined) -> None: """ VxlanInterface. @@ -71018,7 +62604,6 @@ def __init__( Args: vxlan1: Subclass of AvdModel. field_Vxlan1: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -71206,7 +62791,6 @@ def __init__( "vmtracer_sessions": {"type": VmtracerSessions}, "vrfs": {"type": Vrfs}, "vxlan_interface": {"type": VxlanInterface}, - "_custom_data": {"type": dict}, } _allow_other_keys: ClassVar[bool] = True aaa_accounting: AaaAccounting @@ -71757,7 +63341,6 @@ def __init__( """ vxlan_interface: VxlanInterface """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -71947,7 +63530,6 @@ def __init__( vmtracer_sessions: VmtracerSessions | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, vxlan_interface: VxlanInterface | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EosCliConfigGen. @@ -72288,6 +63870,5 @@ def __init__( Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). vxlan_interface: Subclass of AvdModel. - _custom_data: _custom_data """ diff --git a/python-avd/pyavd/_eos_designs/avdfacts.py b/python-avd/pyavd/_eos_designs/avdfacts.py index 01287ab9d80..320a953923c 100644 --- a/python-avd/pyavd/_eos_designs/avdfacts.py +++ b/python-avd/pyavd/_eos_designs/avdfacts.py @@ -59,7 +59,7 @@ def render(self) -> dict: If the value is not cached, it will be resolved by the attribute function first. Empty values are removed from the returned data. """ - return {key: getattr(self, key) for key in self.keys() if getattr(self, key) is not None} + return {key: value for key in self.keys() if (value := getattr(self, key)) is not None} def clear_cache(self) -> None: for key in self.keys() + self.internal_keys(): diff --git a/python-avd/pyavd/_eos_designs/eos_designs_facts/vlans.py b/python-avd/pyavd/_eos_designs/eos_designs_facts/vlans.py index 8b04ee3b81e..2144f13e160 100644 --- a/python-avd/pyavd/_eos_designs/eos_designs_facts/vlans.py +++ b/python-avd/pyavd/_eos_designs/eos_designs_facts/vlans.py @@ -90,7 +90,7 @@ def _local_endpoint_vlans_and_trunk_groups(self: EosDesignsFactsProtocol) -> tup for connected_endpoints_key in self.inputs._dynamic_keys.connected_endpoints: for connected_endpoint in connected_endpoints_key.value: for index, adapter in enumerate(connected_endpoint.adapters): - adapter._context = f"{connected_endpoints_key.key}[name={connected_endpoint.name}].adapters[{index}]" + adapter._internal_data.context = f"{connected_endpoints_key.key}[name={connected_endpoint.name}].adapters[{index}]" adapter_settings = self.shared_utils.get_merged_adapter_settings(adapter) if self.shared_utils.hostname not in adapter_settings.switches: # This switch is not connected to this endpoint. Skipping. @@ -114,7 +114,7 @@ def _local_endpoint_vlans_and_trunk_groups(self: EosDesignsFactsProtocol) -> tup # Skip entry if no match continue - network_port_item._context = f"network_ports[{index}]" + network_port_item._internal_data.context = f"network_ports[{index}]" adapter_settings = self.shared_utils.get_merged_adapter_settings(network_port_item) adapter_vlans, adapter_trunk_groups = self._parse_adapter_settings(adapter_settings) vlans.update(adapter_vlans) diff --git a/python-avd/pyavd/_eos_designs/eos_designs_facts/wan.py b/python-avd/pyavd/_eos_designs/eos_designs_facts/wan.py index 2829e910831..3428c8e5468 100644 --- a/python-avd/pyavd/_eos_designs/eos_designs_facts/wan.py +++ b/python-avd/pyavd/_eos_designs/eos_designs_facts/wan.py @@ -33,6 +33,6 @@ def wan_path_groups(self: EosDesignsFactsProtocol) -> list | None: wan_path_groups = self.shared_utils.wan_local_path_groups._as_list() for wan_path_group in wan_path_groups: - wan_path_group["_interfaces"] = self.shared_utils.wan_local_path_groups[wan_path_group["name"]]._interfaces + wan_path_group["_interfaces"] = self.shared_utils.wan_local_path_groups[wan_path_group["name"]]._internal_data.interfaces return wan_path_groups diff --git a/python-avd/pyavd/_eos_designs/schema/__init__.py b/python-avd/pyavd/_eos_designs/schema/__init__.py index e7f93fd31ea..79096a216d5 100644 --- a/python-avd/pyavd/_eos_designs/schema/__init__.py +++ b/python-avd/pyavd/_eos_designs/schema/__init__.py @@ -26,21 +26,15 @@ class ApplicationClassification(EosCliConfigGen.ApplicationTrafficRecognition): class BfdMultihop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int min_rx: int multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | UndefinedType = Undefined, - min_rx: int | UndefinedType = Undefined, - multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined ) -> None: """ BfdMultihop. @@ -52,7 +46,6 @@ def __init__( interval: interval min_rx: min_rx multiplier: multiplier - _custom_data: _custom_data """ @@ -62,7 +55,7 @@ class BgpDistance(EosCliConfigGen.RouterBgp.Distance): class BgpGracefulRestart(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "restart_time": {"type": int, "default": 300}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "restart_time": {"type": int, "default": 300}} enabled: bool """ Enable or disable graceful-restart for all BGP peers. @@ -75,17 +68,10 @@ class BgpGracefulRestart(AvdModel): Default value: `300` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - restart_time: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, restart_time: int | UndefinedType = Undefined) -> None: """ BgpGracefulRestart. @@ -95,7 +81,6 @@ def __init__( Args: enabled: Enable or disable graceful-restart for all BGP peers. restart_time: Restart time in seconds. - _custom_data: _custom_data """ @@ -113,7 +98,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": False}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -130,7 +114,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -141,7 +124,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4UnderlayPeers. @@ -156,7 +138,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -171,7 +152,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": False}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """Name of peer group.""" @@ -184,7 +164,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -195,7 +174,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MlagIpv4VrfsPeer. @@ -210,7 +188,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -225,7 +202,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": False}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -242,7 +218,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -253,7 +228,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MlagIpv4UnderlayPeer. @@ -268,7 +242,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -283,7 +256,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": True}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -300,7 +272,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -311,7 +282,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnOverlayPeers. @@ -326,7 +296,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -341,7 +310,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": True}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -358,7 +326,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -369,7 +336,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnOverlayCore. @@ -384,7 +350,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -399,7 +364,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": True}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -416,7 +380,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -427,7 +390,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MplsOverlayPeers. @@ -442,7 +404,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -457,7 +418,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": True}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -474,7 +434,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -485,7 +444,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RrOverlayPeers. @@ -500,7 +458,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -515,7 +472,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "password": {"type": str}, "bfd": {"type": bool, "default": True}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -532,7 +488,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -543,7 +498,6 @@ def __init__( password: str | None | UndefinedType = Undefined, bfd: bool | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGatewayPeers. @@ -558,7 +512,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -572,7 +525,6 @@ class BfdTimers(AvdModel): "interval": {"type": int, "default": 1000}, "min_rx": {"type": int, "default": 1000}, "multiplier": {"type": int, "default": 10}, - "_custom_data": {"type": dict}, } interval: int """ @@ -588,17 +540,11 @@ class BfdTimers(AvdModel): """ multiplier: int """Default value: `10`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | UndefinedType = Undefined, - min_rx: int | UndefinedType = Undefined, - multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined ) -> None: """ BfdTimers. @@ -610,7 +556,6 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ @@ -630,7 +575,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "listen_range_prefixes": {"type": ListenRangePrefixes}, "ttl_maximum_hops": {"type": int, "default": 1}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -676,7 +620,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -690,7 +633,6 @@ def __init__( listen_range_prefixes: ListenRangePrefixes | UndefinedType = Undefined, ttl_maximum_hops: int | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanOverlayPeers. @@ -728,7 +670,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -742,7 +683,6 @@ class BfdTimers(AvdModel): "interval": {"type": int, "default": 1000}, "min_rx": {"type": int, "default": 1000}, "multiplier": {"type": int, "default": 10}, - "_custom_data": {"type": dict}, } interval: int """ @@ -758,17 +698,11 @@ class BfdTimers(AvdModel): """ multiplier: int """Default value: `10`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - interval: int | UndefinedType = Undefined, - min_rx: int | UndefinedType = Undefined, - multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined ) -> None: """ BfdTimers. @@ -780,7 +714,6 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ @@ -794,7 +727,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): "bfd_timers": {"type": BfdTimers}, "ttl_maximum_hops": {"type": int, "default": 1}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -831,7 +763,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.PeerGroupsItem): Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -844,7 +775,6 @@ def __init__( bfd_timers: BfdTimers | UndefinedType = Undefined, ttl_maximum_hops: int | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanRrOverlayPeers. @@ -875,7 +805,6 @@ def __init__( structured_config: Custom structured config added under router_bgp.peer_groups.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -890,7 +819,6 @@ def __init__( "ipvpn_gateway_peers": {"type": IpvpnGatewayPeers}, "wan_overlay_peers": {"type": WanOverlayPeers}, "wan_rr_overlay_peers": {"type": WanRrOverlayPeers}, - "_custom_data": {"type": dict}, } ipv4_underlay_peers: Ipv4UnderlayPeers """Subclass of AvdModel.""" @@ -926,7 +854,6 @@ def __init__( Configuration options for the peer-group created to peer between AutoVPN RRs or CV Pathfinders. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -943,7 +870,6 @@ def __init__( ipvpn_gateway_peers: IpvpnGatewayPeers | UndefinedType = Undefined, wan_overlay_peers: WanOverlayPeers | UndefinedType = Undefined, wan_rr_overlay_peers: WanRrOverlayPeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BgpPeerGroups. @@ -974,30 +900,23 @@ def __init__( wan_rr_overlay_peers: Configuration options for the peer-group created to peer between AutoVPN RRs or CV Pathfinders. Subclass of AvdModel. - _custom_data: _custom_data """ class ConnectedEndpointsKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"key": {"type": str}, "type": {"type": str}, "description": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"key": {"type": str}, "type": {"type": str}, "description": {"type": str}} key: str type: str | None """Type used for documentation.""" description: str | None """Description used for documentation.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - key: str | UndefinedType = Undefined, - type: str | None | UndefinedType = Undefined, - description: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, key: str | UndefinedType = Undefined, type: str | None | UndefinedType = Undefined, description: str | None | UndefinedType = Undefined ) -> None: """ ConnectedEndpointsKeysItem. @@ -1009,7 +928,6 @@ def __init__( key: key type: Type used for documentation. description: Description used for documentation. - _custom_data: _custom_data """ @@ -1026,12 +944,7 @@ class CoreInterfaces(AvdModel): class P2pLinksIpPoolsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "ipv4_pool": {"type": str}, - "prefix_size": {"type": int, "default": 31}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4_pool": {"type": str}, "prefix_size": {"type": int, "default": 31}} name: str """P2P pool name.""" ipv4_pool: str | None @@ -1042,7 +955,6 @@ class P2pLinksIpPoolsItem(AvdModel): Default value: `31` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1052,7 +964,6 @@ def __init__( name: str | UndefinedType = Undefined, ipv4_pool: str | None | UndefinedType = Undefined, prefix_size: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksIpPoolsItem. @@ -1064,7 +975,6 @@ def __init__( name: P2P pool name. ipv4_pool: Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). prefix_size: Subnet mask size. - _custom_data: _custom_data """ @@ -1115,7 +1025,6 @@ class Roles(AvdList[str]): "enabled": {"type": bool, "default": False}, "roles": {"type": Roles}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """ @@ -1139,17 +1048,11 @@ class Roles(AvdList[str]): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - roles: Roles | UndefinedType = Undefined, - profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, roles: Roles | UndefinedType = Undefined, profile: str | UndefinedType = Undefined ) -> None: """ Ptp. @@ -1169,28 +1072,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -1200,7 +1095,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -1215,12 +1109,7 @@ class Interfaces(AvdList[str]): Interfaces._item_type = str - _fields: ClassVar[dict] = { - "node": {"type": str}, - "interfaces": {"type": Interfaces}, - "channel_id": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"node": {"type": str}, "interfaces": {"type": Interfaces}, "channel_id": {"type": int}} node: str interfaces: Interfaces """ @@ -1234,7 +1123,6 @@ class Interfaces(AvdList[str]): Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1244,7 +1132,6 @@ def __init__( node: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, channel_id: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesChildInterfacesItem. @@ -1262,7 +1149,6 @@ def __init__( channel_id: Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. - _custom_data: _custom_data """ @@ -1277,7 +1163,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "description": {"type": str}, "mode": {"type": str, "default": "active"}, "nodes_child_interfaces": {"type": NodesChildInterfaces}, - "_custom_data": {"type": dict}, } description: str | None """ @@ -1304,7 +1189,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): """Default value: `"active"`""" nodes_child_interfaces: NodesChildInterfaces """Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1314,7 +1198,6 @@ def __init__( description: str | None | UndefinedType = Undefined, mode: str | UndefinedType = Undefined, nodes_child_interfaces: NodesChildInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -1344,7 +1227,6 @@ def __init__( name and port_channel interface of the peer. mode: mode nodes_child_interfaces: Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`). - _custom_data: _custom_data """ @@ -1381,7 +1263,6 @@ def __init__( "raw_eos_cli": {"type": str}, "routing_protocol": {"type": str}, "structured_config": {"type": dict}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_as": "as"} _key_to_field_map: ClassVar[dict] = {"as": "field_as"} @@ -1513,7 +1394,6 @@ def __init__( Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1552,7 +1432,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, routing_protocol: Literal["ebgp"] | None | UndefinedType = Undefined, structured_config: dict | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksProfilesItem. @@ -1637,7 +1516,6 @@ def __init__( Custom structured config for interfaces. Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. - _custom_data: _custom_data """ @@ -1688,7 +1566,6 @@ class Roles(AvdList[str]): "enabled": {"type": bool, "default": False}, "roles": {"type": Roles}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """ @@ -1712,17 +1589,11 @@ class Roles(AvdList[str]): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - roles: Roles | UndefinedType = Undefined, - profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, roles: Roles | UndefinedType = Undefined, profile: str | UndefinedType = Undefined ) -> None: """ Ptp. @@ -1742,28 +1613,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -1773,7 +1636,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -1788,12 +1650,7 @@ class Interfaces(AvdList[str]): Interfaces._item_type = str - _fields: ClassVar[dict] = { - "node": {"type": str}, - "interfaces": {"type": Interfaces}, - "channel_id": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"node": {"type": str}, "interfaces": {"type": Interfaces}, "channel_id": {"type": int}} node: str interfaces: Interfaces """ @@ -1807,7 +1664,6 @@ class Interfaces(AvdList[str]): Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1817,7 +1673,6 @@ def __init__( node: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, channel_id: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesChildInterfacesItem. @@ -1835,7 +1690,6 @@ def __init__( channel_id: Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. - _custom_data: _custom_data """ @@ -1850,7 +1704,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "description": {"type": str}, "mode": {"type": str, "default": "active"}, "nodes_child_interfaces": {"type": NodesChildInterfaces}, - "_custom_data": {"type": dict}, } description: str | None """ @@ -1877,7 +1730,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): """Default value: `"active"`""" nodes_child_interfaces: NodesChildInterfaces """Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -1887,7 +1739,6 @@ def __init__( description: str | None | UndefinedType = Undefined, mode: str | UndefinedType = Undefined, nodes_child_interfaces: NodesChildInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -1917,7 +1768,6 @@ def __init__( name and port_channel interface of the peer. mode: mode nodes_child_interfaces: Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`). - _custom_data: _custom_data """ @@ -1954,7 +1804,6 @@ def __init__( "raw_eos_cli": {"type": str}, "routing_protocol": {"type": str}, "structured_config": {"type": dict}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_as": "as"} _key_to_field_map: ClassVar[dict] = {"as": "field_as"} @@ -2086,7 +1935,6 @@ def __init__( Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2125,7 +1973,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, routing_protocol: Literal["ebgp"] | None | UndefinedType = Undefined, structured_config: dict | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksItem. @@ -2210,7 +2057,6 @@ def __init__( Custom structured config for interfaces. Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. - _custom_data: _custom_data """ @@ -2223,7 +2069,6 @@ class P2pLinks(AvdList[P2pLinksItem]): "p2p_links_ip_pools": {"type": P2pLinksIpPools}, "p2p_links_profiles": {"type": P2pLinksProfiles}, "p2p_links": {"type": P2pLinks}, - "_custom_data": {"type": dict}, } p2p_links_ip_pools: P2pLinksIpPools """Subclass of AvdIndexedList with `P2pLinksIpPoolsItem` items. Primary key is `name` (`str`).""" @@ -2231,7 +2076,6 @@ class P2pLinks(AvdList[P2pLinksItem]): """Subclass of AvdIndexedList with `P2pLinksProfilesItem` items. Primary key is `name` (`str`).""" p2p_links: P2pLinks """Subclass of AvdList with `P2pLinksItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2241,7 +2085,6 @@ def __init__( p2p_links_ip_pools: P2pLinksIpPools | UndefinedType = Undefined, p2p_links_profiles: P2pLinksProfiles | UndefinedType = Undefined, p2p_links: P2pLinks | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CoreInterfaces. @@ -2253,7 +2096,6 @@ def __init__( p2p_links_ip_pools: Subclass of AvdIndexedList with `P2pLinksIpPoolsItem` items. Primary key is `name` (`str`). p2p_links_profiles: Subclass of AvdIndexedList with `P2pLinksProfilesItem` items. Primary key is `name` (`str`). p2p_links: Subclass of AvdList with `P2pLinksItem` items. - _custom_data: _custom_data """ @@ -2265,13 +2107,12 @@ class CustomStructuredConfigurationPrefix(AvdList[str]): class CvPathfinderGlobalSitesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "description": {"type": str}, "location": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "description": {"type": str}, "location": {"type": str}} name: str """The site name.""" description: str | None location: str | None """Location as a string is resolved on Cloudvision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2281,7 +2122,6 @@ def __init__( name: str | UndefinedType = Undefined, description: str | None | UndefinedType = Undefined, location: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvPathfinderGlobalSitesItem. @@ -2293,7 +2133,6 @@ def __init__( name: The site name. description: description location: Location as a string is resolved on Cloudvision. - _custom_data: _custom_data """ @@ -2313,7 +2152,7 @@ class Zscaler(AvdModel): class Firewall(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "ips": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "ips": {"type": bool, "default": False}} enabled: bool """ Enforce firewall controls. @@ -2326,17 +2165,10 @@ class Firewall(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - ips: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, ips: bool | UndefinedType = Undefined) -> None: """ Firewall. @@ -2346,7 +2178,6 @@ def __init__( Args: enabled: Enforce firewall controls. ips: Enable IPS Controls for the firewall. - _custom_data: _custom_data """ @@ -2358,7 +2189,6 @@ def __init__( "upload_bandwidth": {"type": int}, "firewall": {"type": Firewall}, "acceptable_use_policy": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } ipsec_key_salt: str """ @@ -2391,7 +2221,6 @@ def __init__( Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2405,7 +2234,6 @@ def __init__( upload_bandwidth: int | None | UndefinedType = Undefined, firewall: Firewall | UndefinedType = Undefined, acceptable_use_policy: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Zscaler. @@ -2430,7 +2258,6 @@ def __init__( upload_bandwidth: Maximum allowed upload bandwidth in Mbps for each device using this policy. firewall: Subclass of AvdModel. acceptable_use_policy: Display an Acceptable Use Policy (AUP) and require users to accept it. - _custom_data: _custom_data """ @@ -2439,7 +2266,6 @@ def __init__( "type": {"type": str}, "fallback_to_system_default": {"type": bool, "default": True}, "zscaler": {"type": Zscaler}, - "_custom_data": {"type": dict}, } name: str """Internet-exit policy name.""" @@ -2462,7 +2288,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2473,7 +2298,6 @@ def __init__( type: Literal["direct", "zscaler"] | UndefinedType = Undefined, fallback_to_system_default: bool | UndefinedType = Undefined, zscaler: Zscaler | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvPathfinderInternetExitPoliciesItem. @@ -2493,7 +2317,6 @@ def __init__( Zscaler information. Only used if `type` is 'zscaler'. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -2520,7 +2343,6 @@ class SitesItem(AvdModel): "location": {"type": str}, "site_contact": {"type": str}, "site_after_hours_contact": {"type": str}, - "_custom_data": {"type": dict}, } name: str """The site name.""" @@ -2535,7 +2357,6 @@ class SitesItem(AvdModel): """Location as a string is resolved on Cloudvision.""" site_contact: str | None site_after_hours_contact: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2548,7 +2369,6 @@ def __init__( location: str | None | UndefinedType = Undefined, site_contact: str | None | UndefinedType = Undefined, site_after_hours_contact: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SitesItem. @@ -2566,7 +2386,6 @@ def __init__( location: Location as a string is resolved on Cloudvision. site_contact: site_contact site_after_hours_contact: site_after_hours_contact - _custom_data: _custom_data """ @@ -2577,13 +2396,7 @@ class Sites(AvdIndexedList[str, SitesItem]): Sites._item_type = SitesItem - _fields: ClassVar[dict] = { - "name": {"type": str}, - "description": {"type": str}, - "id": {"type": int}, - "sites": {"type": Sites}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "description": {"type": str}, "id": {"type": int}, "sites": {"type": Sites}} name: str description: str | None id: int @@ -2595,7 +2408,6 @@ class Sites(AvdIndexedList[str, SitesItem]): Subclass of AvdIndexedList with `SitesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2606,7 +2418,6 @@ def __init__( description: str | None | UndefinedType = Undefined, id: int | UndefinedType = Undefined, sites: Sites | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvPathfinderRegionsItem. @@ -2623,7 +2434,6 @@ def __init__( Subclass of AvdIndexedList with `SitesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -2640,11 +2450,10 @@ class CvTopologyItem(AvdModel): class InterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "neighbor": {"type": str}, "neighbor_interface": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "neighbor": {"type": str}, "neighbor_interface": {"type": str}} name: str neighbor: str | None neighbor_interface: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2654,7 +2463,6 @@ def __init__( name: str | UndefinedType = Undefined, neighbor: str | None | UndefinedType = Undefined, neighbor_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfacesItem. @@ -2666,7 +2474,6 @@ def __init__( name: name neighbor: neighbor neighbor_interface: neighbor_interface - _custom_data: _custom_data """ @@ -2677,12 +2484,11 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): Interfaces._item_type = InterfacesItem - _fields: ClassVar[dict] = {"hostname": {"type": str}, "platform": {"type": str}, "interfaces": {"type": Interfaces}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hostname": {"type": str}, "platform": {"type": str}, "interfaces": {"type": Interfaces}} hostname: str platform: str interfaces: Interfaces """Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2692,7 +2498,6 @@ def __init__( hostname: str | UndefinedType = Undefined, platform: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CvTopologyItem. @@ -2704,7 +2509,6 @@ def __init__( hostname: hostname platform: platform interfaces: Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -2755,7 +2559,6 @@ class DownlinkInterfaces(AvdList[str]): "mlag_interfaces": {"type": MlagInterfaces}, "downlink_interfaces": {"type": DownlinkInterfaces}, "uplink_interface_speed": {"type": str}, - "_custom_data": {"type": dict}, } types: Types """ @@ -2792,7 +2595,6 @@ class DownlinkInterfaces(AvdList[str]): """ uplink_interface_speed: str | None """Set point-to-Point uplink interface speed.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -2805,7 +2607,6 @@ def __init__( mlag_interfaces: MlagInterfaces | UndefinedType = Undefined, downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined, uplink_interface_speed: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultInterfacesItem. @@ -2838,7 +2639,6 @@ def __init__( Subclass of AvdList with `str` items. uplink_interface_speed: Set point-to-Point uplink interface speed. - _custom_data: _custom_data """ @@ -2855,7 +2655,7 @@ class MatchHostnames(AvdList[str]): MatchHostnames._item_type = str - _fields: ClassVar[dict] = {"node_type": {"type": str}, "match_hostnames": {"type": MatchHostnames}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"node_type": {"type": str}, "match_hostnames": {"type": MatchHostnames}} node_type: str """Resulting node type when regex matches.""" match_hostnames: MatchHostnames @@ -2864,17 +2664,10 @@ class MatchHostnames(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - node_type: str | UndefinedType = Undefined, - match_hostnames: MatchHostnames | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, node_type: str | UndefinedType = Undefined, match_hostnames: MatchHostnames | UndefinedType = Undefined) -> None: """ DefaultNodeTypesItem. @@ -2887,7 +2680,6 @@ def __init__( Regular expressions to match against hostnames. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -2901,7 +2693,7 @@ class DefaultNodeTypes(AvdIndexedList[str, DefaultNodeTypesItem]): class Design(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str, "default": "l3ls-evpn"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str, "default": "l3ls-evpn"}} type: Literal["l3ls-evpn", "mpls", "l2ls"] """ By setting the design.type variable, the default node-types and templates described in these @@ -2909,13 +2701,10 @@ class Design(AvdModel): Default value: `"l3ls-evpn"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, type: Literal["l3ls-evpn", "mpls", "l2ls"] | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, type: Literal["l3ls-evpn", "mpls", "l2ls"] | UndefinedType = Undefined) -> None: """ Design. @@ -2926,7 +2715,6 @@ def __init__( type: By setting the design.type variable, the default node-types and templates described in these documents will be used. - _custom_data: _custom_data """ @@ -2936,11 +2724,7 @@ class EosDesignsCustomTemplatesItem(AvdModel): class Options(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "list_merge": {"type": str, "default": "append_rp"}, - "strip_empty_keys": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"list_merge": {"type": str, "default": "append_rp"}, "strip_empty_keys": {"type": bool, "default": True}} list_merge: str """ Merge strategy for lists. @@ -2953,17 +2737,10 @@ class Options(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - list_merge: str | UndefinedType = Undefined, - strip_empty_keys: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, list_merge: str | UndefinedType = Undefined, strip_empty_keys: bool | UndefinedType = Undefined) -> None: """ Options. @@ -2973,11 +2750,10 @@ def __init__( Args: list_merge: Merge strategy for lists. strip_empty_keys: Filter out keys from the generated output if value is null/none/undefined. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"template": {"type": str}, "options": {"type": Options}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"template": {"type": str}, "options": {"type": Options}} template: str """Template file.""" options: Options @@ -2986,17 +2762,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - template: str | UndefinedType = Undefined, - options: Options | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, template: str | UndefinedType = Undefined, options: Options | UndefinedType = Undefined) -> None: """ EosDesignsCustomTemplatesItem. @@ -3009,7 +2778,6 @@ def __init__( Template options. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -3027,7 +2795,6 @@ class EosDesignsDocumentation(AvdModel): "topology_csv": {"type": bool, "default": False}, "p2p_links_csv": {"type": bool, "default": False}, "toc": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, } enable: bool """ @@ -3061,7 +2828,6 @@ class EosDesignsDocumentation(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3073,7 +2839,6 @@ def __init__( topology_csv: bool | UndefinedType = Undefined, p2p_links_csv: bool | UndefinedType = Undefined, toc: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EosDesignsDocumentation. @@ -3090,7 +2855,6 @@ def __init__( topology_csv: Generate Topology CSV with all interfaces towards other devices. p2p_links_csv: Generate P2P links CSV with all routed point-to-point links between devices. toc: Generate the table of content(TOC) on fabric documentation. - _custom_data: _custom_data """ @@ -3108,7 +2872,6 @@ class EvpnHostflapDetection(AvdModel): "threshold": {"type": int, "default": 5}, "window": {"type": int, "default": 180}, "expiry_timeout": {"type": int}, - "_custom_data": {"type": dict}, } enabled: bool """ @@ -3130,7 +2893,6 @@ class EvpnHostflapDetection(AvdModel): """ expiry_timeout: int | None """Time (in seconds) to purge a MAC duplication issue.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3141,7 +2903,6 @@ def __init__( threshold: int | UndefinedType = Undefined, window: int | UndefinedType = Undefined, expiry_timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnHostflapDetection. @@ -3154,7 +2915,6 @@ def __init__( threshold: Minimum number of MAC moves that indicate a MAC duplication issue. window: Time (in seconds) to detect a MAC duplication issue. expiry_timeout: Time (in seconds) to purge a MAC duplication issue. - _custom_data: _custom_data """ @@ -3164,14 +2924,13 @@ class EvpnVlanBundlesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"raw_eos_cli": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"raw_eos_cli": {"type": str}} raw_eos_cli: str | None """EOS cli commands rendered on router_bgp.vlans-aware-bundle.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, raw_eos_cli: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, raw_eos_cli: str | None | UndefinedType = Undefined) -> None: """ Bgp. @@ -3180,7 +2939,6 @@ def __init__(self, *, raw_eos_cli: str | None | UndefinedType = Undefined, _cust Args: raw_eos_cli: EOS cli commands rendered on router_bgp.vlans-aware-bundle. - _custom_data: _custom_data """ @@ -3191,7 +2949,6 @@ def __init__(self, *, raw_eos_cli: str | None | UndefinedType = Undefined, _cust "rd_override": {"type": str}, "evpn_l2_multi_domain": {"type": bool}, "bgp": {"type": Bgp}, - "_custom_data": {"type": dict}, } name: str """ @@ -3240,7 +2997,6 @@ def __init__(self, *, raw_eos_cli: str | None | UndefinedType = Undefined, _cust """ bgp: Bgp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3253,7 +3009,6 @@ def __init__( rd_override: str | None | UndefinedType = Undefined, evpn_l2_multi_domain: bool | None | UndefinedType = Undefined, bgp: Bgp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnVlanBundlesItem. @@ -3298,7 +3053,6 @@ def __init__( Overrides `.[].evpn_l2_multi_domain`. bgp: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -3315,11 +3069,7 @@ class FabricFlowTracking(AvdModel): class Uplinks(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3328,17 +3078,10 @@ class Uplinks(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ Uplinks. @@ -3348,18 +3091,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class Downlinks(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3368,17 +3106,10 @@ class Downlinks(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ Downlinks. @@ -3388,18 +3119,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class Endpoints(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3408,17 +3134,10 @@ class Endpoints(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ Endpoints. @@ -3428,18 +3147,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class L3Edge(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3448,17 +3162,10 @@ class L3Edge(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ L3Edge. @@ -3468,18 +3175,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class CoreInterfaces(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3488,17 +3190,10 @@ class CoreInterfaces(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ CoreInterfaces. @@ -3508,18 +3203,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class MlagInterfaces(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3528,17 +3218,10 @@ class MlagInterfaces(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ MlagInterfaces. @@ -3548,18 +3231,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class L3Interfaces(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3568,17 +3246,10 @@ class L3Interfaces(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ L3Interfaces. @@ -3588,18 +3259,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class L3PortChannels(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3608,17 +3274,10 @@ class L3PortChannels(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ L3PortChannels. @@ -3628,18 +3287,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class DpsInterfaces(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": True}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": True}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `True`""" name: str @@ -3648,17 +3302,10 @@ class DpsInterfaces(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ DpsInterfaces. @@ -3668,18 +3315,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class DirectWanHaLinks(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "name": {"type": str, "default": "FLOW-TRACKER"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "name": {"type": str, "default": "FLOW-TRACKER"}} enabled: bool """Default value: `False`""" name: str @@ -3688,17 +3330,10 @@ class DirectWanHaLinks(AvdModel): Default value: `"FLOW-TRACKER"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - name: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, name: str | UndefinedType = Undefined) -> None: """ DirectWanHaLinks. @@ -3708,7 +3343,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -3723,7 +3357,6 @@ def __init__( "l3_port_channels": {"type": L3PortChannels}, "dps_interfaces": {"type": DpsInterfaces}, "direct_wan_ha_links": {"type": DirectWanHaLinks}, - "_custom_data": {"type": dict}, } uplinks: Uplinks """ @@ -3784,7 +3417,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3801,7 +3433,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, dps_interfaces: DpsInterfaces | UndefinedType = Undefined, direct_wan_ha_links: DirectWanHaLinks | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FabricFlowTracking. @@ -3849,7 +3480,6 @@ def __init__( Enable flow-tracking on all direct WAN HA links. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -3863,7 +3493,6 @@ class Mlag(AvdModel): "algorithm": {"type": str, "default": "first_id"}, "ipv4_prefix_length": {"type": int, "default": 31}, "ipv6_prefix_length": {"type": int, "default": 64}, - "_custom_data": {"type": dict}, } algorithm: Literal["first_id", "odd_id", "same_subnet"] """ @@ -3897,7 +3526,6 @@ class Mlag(AvdModel): Default value: `64` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -3907,7 +3535,6 @@ def __init__( algorithm: Literal["first_id", "odd_id", "same_subnet"] | UndefinedType = Undefined, ipv4_prefix_length: int | UndefinedType = Undefined, ipv6_prefix_length: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Mlag. @@ -3934,25 +3561,23 @@ def __init__( a default of /31. ipv4_prefix_length: IPv4 prefix length used for MLAG peer-vlan and L3 point-to-point SVIs over the MLAG peer-link. ipv6_prefix_length: IPv6 prefix length used for MLAG peer-vlan and L3 point-to-point SVIs over the MLAG peer-link. - _custom_data: _custom_data """ class P2pUplinks(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_prefix_length": {"type": int, "default": 31}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_prefix_length": {"type": int, "default": 31}} ipv4_prefix_length: int """ IPv4 prefix length used for L3 point-to-point uplinks. Default value: `31` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined) -> None: """ P2pUplinks. @@ -3961,25 +3586,23 @@ def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined, _cust Args: ipv4_prefix_length: IPv4 prefix length used for L3 point-to-point uplinks. - _custom_data: _custom_data """ class WanHa(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_prefix_length": {"type": int, "default": 31}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_prefix_length": {"type": int, "default": 31}} ipv4_prefix_length: int """ IPv4 prefix length used for point-to-point interface for direct WAN HA link. Default value: `31` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined) -> None: """ WanHa. @@ -3988,11 +3611,10 @@ def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined, _cust Args: ipv4_prefix_length: IPv4 prefix length used for point-to-point interface for direct WAN HA link. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mlag": {"type": Mlag}, "p2p_uplinks": {"type": P2pUplinks}, "wan_ha": {"type": WanHa}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mlag": {"type": Mlag}, "p2p_uplinks": {"type": P2pUplinks}, "wan_ha": {"type": WanHa}} mlag: Mlag """Subclass of AvdModel.""" p2p_uplinks: P2pUplinks @@ -4003,17 +3625,11 @@ def __init__(self, *, ipv4_prefix_length: int | UndefinedType = Undefined, _cust Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mlag: Mlag | UndefinedType = Undefined, - p2p_uplinks: P2pUplinks | UndefinedType = Undefined, - wan_ha: WanHa | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mlag: Mlag | UndefinedType = Undefined, p2p_uplinks: P2pUplinks | UndefinedType = Undefined, wan_ha: WanHa | UndefinedType = Undefined ) -> None: """ FabricIpAddressing. @@ -4028,7 +3644,6 @@ def __init__( Allow to manipulate the IP addressing scheme for WAN HA direct subnets. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4043,7 +3658,6 @@ class FabricSflow(AvdModel): "core_interfaces": {"type": bool}, "mlag_interfaces": {"type": bool}, "l3_interfaces": {"type": bool}, - "_custom_data": {"type": dict}, } uplinks: bool | None """Enable sFlow on all fabric uplinks.""" @@ -4059,7 +3673,6 @@ class FabricSflow(AvdModel): """Enable sFlow on all MLAG peer interfaces.""" l3_interfaces: bool | None """Enable sFlow on all l3 interfaces.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4073,7 +3686,6 @@ def __init__( core_interfaces: bool | None | UndefinedType = Undefined, mlag_interfaces: bool | None | UndefinedType = Undefined, l3_interfaces: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FabricSflow. @@ -4089,7 +3701,6 @@ def __init__( core_interfaces: Enable sFlow on all p2p_links defined under core_interfaces. mlag_interfaces: Enable sFlow on all MLAG peer interfaces. l3_interfaces: Enable sFlow on all l3 interfaces. - _custom_data: _custom_data """ @@ -4102,20 +3713,13 @@ class Sampled(AvdModel): class Encapsulation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4_ipv6": {"type": bool}, "mpls": {"type": bool}} ipv4_ipv6: bool | None mpls: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - ipv4_ipv6: bool | None | UndefinedType = Undefined, - mpls: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, ipv4_ipv6: bool | None | UndefinedType = Undefined, mpls: bool | None | UndefinedType = Undefined) -> None: """ Encapsulation. @@ -4125,21 +3729,19 @@ def __init__( Args: ipv4_ipv6: ipv4_ipv6 mpls: mpls - _custom_data: _custom_data """ class HardwareOffload(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipv4": {"type": bool}, "ipv6": {"type": bool}, "threshold_minimum": {"type": int}} ipv4: bool | None """Configure hardware offload for IPv4 traffic.""" ipv6: bool | None """Configure hardware offload for IPv6 traffic.""" threshold_minimum: int | None """Minimum number of samples.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4149,7 +3751,6 @@ def __init__( ipv4: bool | None | UndefinedType = Undefined, ipv6: bool | None | UndefinedType = Undefined, threshold_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HardwareOffload. @@ -4161,7 +3762,6 @@ def __init__( ipv4: Configure hardware offload for IPv4 traffic. ipv6: Configure hardware offload for IPv6 traffic. threshold_minimum: Minimum number of samples. - _custom_data: _custom_data """ @@ -4169,7 +3769,6 @@ def __init__( "encapsulation": {"type": Encapsulation}, "sample": {"type": int, "default": 10000}, "hardware_offload": {"type": HardwareOffload}, - "_custom_data": {"type": dict}, } encapsulation: Encapsulation """Subclass of AvdModel.""" @@ -4177,7 +3776,6 @@ def __init__( """Default value: `10000`""" hardware_offload: HardwareOffload """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4187,7 +3785,6 @@ def __init__( encapsulation: Encapsulation | UndefinedType = Undefined, sample: int | UndefinedType = Undefined, hardware_offload: HardwareOffload | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Sampled. @@ -4199,7 +3796,6 @@ def __init__( encapsulation: Subclass of AvdModel. sample: sample hardware_offload: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4209,19 +3805,13 @@ class Hardware(AvdModel): class Record(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"format_ipfix_standard_timestamps_counters": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"format_ipfix_standard_timestamps_counters": {"type": bool}} format_ipfix_standard_timestamps_counters: bool | None """Enable software export of IPFIX data records.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - format_ipfix_standard_timestamps_counters: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, format_ipfix_standard_timestamps_counters: bool | None | UndefinedType = Undefined) -> None: """ Record. @@ -4230,18 +3820,16 @@ def __init__( Args: format_ipfix_standard_timestamps_counters: Enable software export of IPFIX data records. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"record": {"type": Record}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"record": {"type": Record}} record: Record """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, record: Record | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, record: Record | UndefinedType = Undefined) -> None: """ Hardware. @@ -4250,7 +3838,6 @@ def __init__(self, *, record: Record | UndefinedType = Undefined, _custom_data: Args: record: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4263,14 +3850,13 @@ class Sampled(AvdModel): class RecordExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mpls": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mpls": {"type": bool}} mpls: bool | None """Export MPLS forwarding information.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, mpls: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, mpls: bool | None | UndefinedType = Undefined) -> None: """ RecordExport. @@ -4279,26 +3865,18 @@ def __init__(self, *, mpls: bool | None | UndefinedType = Undefined, _custom_dat Args: mpls: Export MPLS forwarding information. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"table_size": {"type": int}, "record_export": {"type": RecordExport}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"table_size": {"type": int}, "record_export": {"type": RecordExport}} table_size: int | None """Maximum number of entries in flow table.""" record_export: RecordExport """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - table_size: int | None | UndefinedType = Undefined, - record_export: RecordExport | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, table_size: int | None | UndefinedType = Undefined, record_export: RecordExport | UndefinedType = Undefined) -> None: """ Sampled. @@ -4308,28 +3886,22 @@ def __init__( Args: table_size: Maximum number of entries in flow table. record_export: Subclass of AvdModel. - _custom_data: _custom_data """ class RecordExport(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"on_inactive_timeout": {"type": int}, "on_interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"on_inactive_timeout": {"type": int}, "on_interval": {"type": int}} on_inactive_timeout: int | None """Flow record inactive export timeout in milliseconds""" on_interval: int | None """Flow record export interval in milliseconds""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - on_inactive_timeout: int | None | UndefinedType = Undefined, - on_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, on_inactive_timeout: int | None | UndefinedType = Undefined, on_interval: int | None | UndefinedType = Undefined ) -> None: """ RecordExport. @@ -4340,7 +3912,6 @@ def __init__( Args: on_inactive_timeout: Flow record inactive export timeout in milliseconds on_interval: Flow record export interval in milliseconds - _custom_data: _custom_data """ @@ -4350,22 +3921,15 @@ class ExportersItem(AvdModel): class Collector(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"host": {"type": str}, "port": {"type": int}} host: str | None """Collector IPv4 address or IPv6 address or fully qualified domain name""" port: int | None """Collector Port Number""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - host: str | None | UndefinedType = Undefined, - port: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, host: str | None | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined) -> None: """ Collector. @@ -4375,22 +3939,18 @@ def __init__( Args: host: Collector IPv4 address or IPv6 address or fully qualified domain name port: Collector Port Number - _custom_data: _custom_data """ class Format(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"ipfix_version": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"ipfix_version": {"type": int}} ipfix_version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, ipfix_version: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, ipfix_version: int | None | UndefinedType = Undefined) -> None: """ Format. @@ -4399,7 +3959,6 @@ def __init__( Args: ipfix_version: ipfix_version - _custom_data: _custom_data """ @@ -4409,7 +3968,6 @@ def __init__( "format": {"type": Format}, "local_interface": {"type": str}, "template_interval": {"type": int}, - "_custom_data": {"type": dict}, } name: str """Exporter Name""" @@ -4421,7 +3979,6 @@ def __init__( """Local Source Interface""" template_interval: int | None """Template interval in milliseconds""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4433,7 +3990,6 @@ def __init__( format: Format | UndefinedType = Undefined, local_interface: str | None | UndefinedType = Undefined, template_interval: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ExportersItem. @@ -4447,7 +4003,6 @@ def __init__( format: Subclass of AvdModel. local_interface: Local Source Interface template_interval: Template interval in milliseconds - _custom_data: _custom_data """ @@ -4463,7 +4018,6 @@ class Exporters(AvdIndexedList[str, ExportersItem]): "sampled": {"type": Sampled}, "record_export": {"type": RecordExport}, "exporters": {"type": Exporters}, - "_custom_data": {"type": dict}, } name: str """Tracker Name""" @@ -4477,7 +4031,6 @@ class Exporters(AvdIndexedList[str, ExportersItem]): """Subclass of AvdModel.""" exporters: Exporters """Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4488,7 +4041,6 @@ def __init__( sampled: Sampled | UndefinedType = Undefined, record_export: RecordExport | UndefinedType = Undefined, exporters: Exporters | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ TrackersItem. @@ -4504,7 +4056,6 @@ def __init__( Subclass of AvdModel. record_export: Subclass of AvdModel. exporters: Subclass of AvdIndexedList with `ExportersItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -4533,7 +4084,6 @@ class Trackers(AvdIndexedList[str, TrackersItem]): target_type=cls, ), }, - "_custom_data": {"type": dict}, } sampled: Sampled """ @@ -4553,7 +4103,6 @@ class Trackers(AvdIndexedList[str, TrackersItem]): Default value: `lambda cls: coerce_type([{"name": "FLOW-TRACKER", "record_export": {"on_inactive_timeout": 70000, "on_interval": 300000}, "exporters": [{"name": "CV-TELEMETRY", "collector": {"host": "127.0.0.1"}, "local_interface": "Loopback0", "template_interval": 3600000}]}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4563,7 +4112,6 @@ def __init__( sampled: Sampled | UndefinedType = Undefined, hardware: Hardware | UndefinedType = Undefined, trackers: Trackers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FlowTrackingSettings. @@ -4581,7 +4129,6 @@ def __init__( Subclass of AvdModel. trackers: Subclass of AvdIndexedList with `TrackersItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -4591,7 +4138,7 @@ class GenerateCvTags(AvdModel): class InterfaceTagsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}} name: str """Tag name to be assigned to generated tags.""" data_path: str | None @@ -4605,7 +4152,6 @@ class InterfaceTagsItem(AvdModel): """ value: str | None """Value to be assigned to the tag.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4615,7 +4161,6 @@ def __init__( name: str | UndefinedType = Undefined, data_path: str | None | UndefinedType = Undefined, value: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfaceTagsItem. @@ -4633,7 +4178,6 @@ def __init__( created. `data_path` is ignored if `value` is set. value: Value to be assigned to the tag. - _custom_data: _custom_data """ @@ -4647,7 +4191,7 @@ class InterfaceTags(AvdIndexedList[str, InterfaceTagsItem]): class DeviceTagsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "data_path": {"type": str}, "value": {"type": str}} name: str """Tag name to be assigned to generated tags.""" data_path: str | None @@ -4661,7 +4205,6 @@ class DeviceTagsItem(AvdModel): """ value: str | None """Value to be assigned to the tag.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4671,7 +4214,6 @@ def __init__( name: str | UndefinedType = Undefined, data_path: str | None | UndefinedType = Undefined, value: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DeviceTagsItem. @@ -4689,7 +4231,6 @@ def __init__( the structured config, the tag is not created. `data_path` is ignored if `value` is set. value: Value to be assigned to the tag. - _custom_data: _custom_data """ @@ -4702,7 +4243,6 @@ class DeviceTags(AvdList[DeviceTagsItem]): "topology_hints": {"type": bool, "default": False}, "interface_tags": {"type": InterfaceTags}, "device_tags": {"type": DeviceTags}, - "_custom_data": {"type": dict}, } topology_hints: bool """ @@ -4723,7 +4263,6 @@ class DeviceTags(AvdList[DeviceTagsItem]): Subclass of AvdList with `DeviceTagsItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4733,7 +4272,6 @@ def __init__( topology_hints: bool | UndefinedType = Undefined, interface_tags: InterfaceTags | UndefinedType = Undefined, device_tags: DeviceTags | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GenerateCvTags. @@ -4752,7 +4290,6 @@ def __init__( List of device tags that should be generated. Subclass of AvdList with `DeviceTagsItem` items. - _custom_data: _custom_data """ @@ -4765,22 +4302,15 @@ class InternalVlanOrder(AvdModel): class Range(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"beginning": {"type": int}, "ending": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"beginning": {"type": int}, "ending": {"type": int}} beginning: int """First VLAN ID.""" ending: int """Last VLAN ID.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - beginning: int | UndefinedType = Undefined, - ending: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, beginning: int | UndefinedType = Undefined, ending: int | UndefinedType = Undefined) -> None: """ Range. @@ -4790,25 +4320,17 @@ def __init__( Args: beginning: First VLAN ID. ending: Last VLAN ID. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"allocation": {"type": str}, "range": {"type": Range}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"allocation": {"type": str}, "range": {"type": Range}} allocation: Literal["ascending", "descending"] range: Range """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - allocation: Literal["ascending", "descending"] | UndefinedType = Undefined, - range: Range | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, allocation: Literal["ascending", "descending"] | UndefinedType = Undefined, range: Range | UndefinedType = Undefined) -> None: """ InternalVlanOrder. @@ -4818,7 +4340,6 @@ def __init__( Args: allocation: allocation range: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -4867,7 +4388,6 @@ class TcpFlags(AvdList[str]): "vlan_number": {"type": int}, "vlan_inner": {"type": bool, "default": False}, "vlan_mask": {"type": str}, - "_custom_data": {"type": dict}, } source: str | None """ @@ -4937,7 +4457,6 @@ class TcpFlags(AvdList[str]): """Default value: `False`""" vlan_mask: str | None """0x000-0xFFF VLAN mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -4967,7 +4486,6 @@ def __init__( vlan_number: int | None | UndefinedType = Undefined, vlan_inner: bool | UndefinedType = Undefined, vlan_mask: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EntriesItem. @@ -5017,7 +4535,6 @@ def __init__( vlan_number: vlan_number vlan_inner: vlan_inner vlan_mask: 0x000-0xFFF VLAN mask. - _custom_data: _custom_data """ @@ -5031,7 +4548,6 @@ class Entries(AvdList[EntriesItem]): "entries": {"type": Entries}, "counters_per_entry": {"type": bool}, "permit_response_traffic": {"type": str}, - "_custom_data": {"type": dict}, } name: str """ @@ -5052,7 +4568,6 @@ class Entries(AvdList[EntriesItem]): Minimum EOS version requirement 4.32.2F. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5063,7 +4578,6 @@ def __init__( entries: Entries | UndefinedType = Undefined, counters_per_entry: bool | None | UndefinedType = Undefined, permit_response_traffic: Literal["nat"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv4AclsItem. @@ -5085,7 +4599,6 @@ def __init__( Permit response traffic automatically based on NAT translations. Minimum EOS version requirement 4.32.2F. - _custom_data: _custom_data """ @@ -5102,7 +4615,7 @@ class Ipv4PrefixListCatalogItem(AvdModel): class SequenceNumbersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"sequence": {"type": int}, "action": {"type": str}} sequence: int """Sequence ID.""" action: str @@ -5110,17 +4623,10 @@ class SequenceNumbersItem(AvdModel): Action as string. Example: "permit 10.255.0.0/27 eq 32" """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - sequence: int | UndefinedType = Undefined, - action: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, sequence: int | UndefinedType = Undefined, action: str | UndefinedType = Undefined) -> None: """ SequenceNumbersItem. @@ -5132,7 +4638,6 @@ def __init__( action: Action as string. Example: "permit 10.255.0.0/27 eq 32" - _custom_data: _custom_data """ @@ -5143,22 +4648,15 @@ class SequenceNumbers(AvdIndexedList[int, SequenceNumbersItem]): SequenceNumbers._item_type = SequenceNumbersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "sequence_numbers": {"type": SequenceNumbers}} name: str """Prefix-list Name.""" sequence_numbers: SequenceNumbers """Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - sequence_numbers: SequenceNumbers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, sequence_numbers: SequenceNumbers | UndefinedType = Undefined) -> None: """ Ipv4PrefixListCatalogItem. @@ -5168,7 +4666,6 @@ def __init__( Args: name: Prefix-list Name. sequence_numbers: Subclass of AvdIndexedList with `SequenceNumbersItem` items. Primary key is `sequence` (`int`). - _custom_data: _custom_data """ @@ -5191,7 +4688,6 @@ class IsisTiLfa(AvdModel): "enabled": {"type": bool, "default": False}, "protection": {"type": str}, "local_convergence_delay": {"type": int, "default": 10000}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -5202,7 +4698,6 @@ class IsisTiLfa(AvdModel): Default value: `10000` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5212,7 +4707,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, protection: Literal["link", "node"] | None | UndefinedType = Undefined, local_convergence_delay: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IsisTiLfa. @@ -5224,7 +4718,6 @@ def __init__( enabled: enabled protection: protection local_convergence_delay: Local convergence delay in milliseconds. - _custom_data: _custom_data """ @@ -5234,12 +4727,7 @@ class L3Edge(AvdModel): class P2pLinksIpPoolsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "ipv4_pool": {"type": str}, - "prefix_size": {"type": int, "default": 31}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "ipv4_pool": {"type": str}, "prefix_size": {"type": int, "default": 31}} name: str """P2P pool name.""" ipv4_pool: str | None @@ -5250,7 +4738,6 @@ class P2pLinksIpPoolsItem(AvdModel): Default value: `31` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5260,7 +4747,6 @@ def __init__( name: str | UndefinedType = Undefined, ipv4_pool: str | None | UndefinedType = Undefined, prefix_size: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksIpPoolsItem. @@ -5272,7 +4758,6 @@ def __init__( name: P2P pool name. ipv4_pool: Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). prefix_size: Subnet mask size. - _custom_data: _custom_data """ @@ -5323,7 +4808,6 @@ class Roles(AvdList[str]): "enabled": {"type": bool, "default": False}, "roles": {"type": Roles}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """ @@ -5347,17 +4831,11 @@ class Roles(AvdList[str]): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - roles: Roles | UndefinedType = Undefined, - profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, roles: Roles | UndefinedType = Undefined, profile: str | UndefinedType = Undefined ) -> None: """ Ptp. @@ -5377,28 +4855,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -5408,7 +4878,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -5423,12 +4892,7 @@ class Interfaces(AvdList[str]): Interfaces._item_type = str - _fields: ClassVar[dict] = { - "node": {"type": str}, - "interfaces": {"type": Interfaces}, - "channel_id": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"node": {"type": str}, "interfaces": {"type": Interfaces}, "channel_id": {"type": int}} node: str interfaces: Interfaces """ @@ -5442,7 +4906,6 @@ class Interfaces(AvdList[str]): Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5452,7 +4915,6 @@ def __init__( node: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, channel_id: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesChildInterfacesItem. @@ -5470,7 +4932,6 @@ def __init__( channel_id: Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. - _custom_data: _custom_data """ @@ -5485,7 +4946,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "description": {"type": str}, "mode": {"type": str, "default": "active"}, "nodes_child_interfaces": {"type": NodesChildInterfaces}, - "_custom_data": {"type": dict}, } description: str | None """ @@ -5512,7 +4972,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): """Default value: `"active"`""" nodes_child_interfaces: NodesChildInterfaces """Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5522,7 +4981,6 @@ def __init__( description: str | None | UndefinedType = Undefined, mode: str | UndefinedType = Undefined, nodes_child_interfaces: NodesChildInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -5552,7 +5010,6 @@ def __init__( name and port_channel interface of the peer. mode: mode nodes_child_interfaces: Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`). - _custom_data: _custom_data """ @@ -5589,7 +5046,6 @@ def __init__( "raw_eos_cli": {"type": str}, "routing_protocol": {"type": str}, "structured_config": {"type": dict}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_as": "as"} _key_to_field_map: ClassVar[dict] = {"as": "field_as"} @@ -5721,7 +5177,6 @@ def __init__( Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -5760,7 +5215,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, routing_protocol: Literal["ebgp"] | None | UndefinedType = Undefined, structured_config: dict | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksProfilesItem. @@ -5845,7 +5299,6 @@ def __init__( Custom structured config for interfaces. Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. - _custom_data: _custom_data """ @@ -5896,7 +5349,6 @@ class Roles(AvdList[str]): "enabled": {"type": bool, "default": False}, "roles": {"type": Roles}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """ @@ -5920,17 +5372,11 @@ class Roles(AvdList[str]): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - roles: Roles | UndefinedType = Undefined, - profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | UndefinedType = Undefined, roles: Roles | UndefinedType = Undefined, profile: str | UndefinedType = Undefined ) -> None: """ Ptp. @@ -5950,28 +5396,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -5981,7 +5419,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -5996,12 +5433,7 @@ class Interfaces(AvdList[str]): Interfaces._item_type = str - _fields: ClassVar[dict] = { - "node": {"type": str}, - "interfaces": {"type": Interfaces}, - "channel_id": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"node": {"type": str}, "interfaces": {"type": Interfaces}, "channel_id": {"type": int}} node: str interfaces: Interfaces """ @@ -6015,7 +5447,6 @@ class Interfaces(AvdList[str]): Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6025,7 +5456,6 @@ def __init__( node: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, channel_id: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesChildInterfacesItem. @@ -6043,7 +5473,6 @@ def __init__( channel_id: Port-Channel ID. If no channel_id is specified, an id is generated from the first switch port in the port channel. - _custom_data: _custom_data """ @@ -6058,7 +5487,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): "description": {"type": str}, "mode": {"type": str, "default": "active"}, "nodes_child_interfaces": {"type": NodesChildInterfaces}, - "_custom_data": {"type": dict}, } description: str | None """ @@ -6085,7 +5513,6 @@ class NodesChildInterfaces(AvdIndexedList[str, NodesChildInterfacesItem]): """Default value: `"active"`""" nodes_child_interfaces: NodesChildInterfaces """Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6095,7 +5522,6 @@ def __init__( description: str | None | UndefinedType = Undefined, mode: str | UndefinedType = Undefined, nodes_child_interfaces: NodesChildInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -6125,7 +5551,6 @@ def __init__( name and port_channel interface of the peer. mode: mode nodes_child_interfaces: Subclass of AvdIndexedList with `NodesChildInterfacesItem` items. Primary key is `node` (`str`). - _custom_data: _custom_data """ @@ -6162,7 +5587,6 @@ def __init__( "raw_eos_cli": {"type": str}, "routing_protocol": {"type": str}, "structured_config": {"type": dict}, - "_custom_data": {"type": dict}, } _field_to_key_map: ClassVar[dict] = {"field_as": "as"} _key_to_field_map: ClassVar[dict] = {"as": "field_as"} @@ -6294,7 +5718,6 @@ def __init__( Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6333,7 +5756,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, routing_protocol: Literal["ebgp"] | None | UndefinedType = Undefined, structured_config: dict | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ P2pLinksItem. @@ -6418,7 +5840,6 @@ def __init__( Custom structured config for interfaces. Note! The content of this dictionary is _not_ validated by the schema, since it can be either ethernet_interfaces or port_channel_interfaces. - _custom_data: _custom_data """ @@ -6431,7 +5852,6 @@ class P2pLinks(AvdList[P2pLinksItem]): "p2p_links_ip_pools": {"type": P2pLinksIpPools}, "p2p_links_profiles": {"type": P2pLinksProfiles}, "p2p_links": {"type": P2pLinks}, - "_custom_data": {"type": dict}, } p2p_links_ip_pools: P2pLinksIpPools """Subclass of AvdIndexedList with `P2pLinksIpPoolsItem` items. Primary key is `name` (`str`).""" @@ -6439,7 +5859,6 @@ class P2pLinks(AvdList[P2pLinksItem]): """Subclass of AvdIndexedList with `P2pLinksProfilesItem` items. Primary key is `name` (`str`).""" p2p_links: P2pLinks """Subclass of AvdList with `P2pLinksItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6449,7 +5868,6 @@ def __init__( p2p_links_ip_pools: P2pLinksIpPools | UndefinedType = Undefined, p2p_links_profiles: P2pLinksProfiles | UndefinedType = Undefined, p2p_links: P2pLinks | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3Edge. @@ -6461,7 +5879,6 @@ def __init__( p2p_links_ip_pools: Subclass of AvdIndexedList with `P2pLinksIpPoolsItem` items. Primary key is `name` (`str`). p2p_links_profiles: Subclass of AvdIndexedList with `P2pLinksProfilesItem` items. Primary key is `name` (`str`). p2p_links: Subclass of AvdList with `P2pLinksItem` items. - _custom_data: _custom_data """ @@ -6471,12 +5888,7 @@ class L3InterfaceProfilesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -6495,7 +5907,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6505,7 +5916,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -6526,21 +5936,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -6549,7 +5957,6 @@ def __init__(self, *, prefix: str | UndefinedType = Undefined, _custom_data: dic Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -6564,7 +5971,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -6573,17 +5980,10 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined) -> None: """ PoliciesItem. @@ -6596,7 +5996,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -6607,7 +6006,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -6615,11 +6014,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -6632,28 +6030,20 @@ def __init__(self, *, policies: Policies | UndefinedType = Undefined, _custom_da Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -6663,7 +6053,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -6696,7 +6085,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str """ @@ -6843,7 +6231,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -6875,7 +6262,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfaceProfilesItem. @@ -6975,7 +6361,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -6995,17 +6380,16 @@ class LocalUsers(EosCliConfigGen.LocalUsers): class MacAddressTable(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"aging_time": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"aging_time": {"type": int}} aging_time: int | None """ Aging time in seconds 10-1000000. Enter 0 to disable aging. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, aging_time: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, aging_time: int | None | UndefinedType = Undefined) -> None: """ MacAddressTable. @@ -7016,7 +6400,6 @@ def __init__(self, *, aging_time: int | None | UndefinedType = Undefined, _custo aging_time: Aging time in seconds 10-1000000. Enter 0 to disable aging. - _custom_data: _custom_data """ @@ -7027,14 +6410,12 @@ class ManagementEapi(AvdModel): "enable_http": {"type": bool, "default": False}, "enable_https": {"type": bool, "default": True}, "default_services": {"type": bool}, - "_custom_data": {"type": dict}, } enable_http: bool """Default value: `False`""" enable_https: bool """Default value: `True`""" default_services: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7044,7 +6425,6 @@ def __init__( enable_http: bool | UndefinedType = Undefined, enable_https: bool | UndefinedType = Undefined, default_services: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ManagementEapi. @@ -7056,7 +6436,6 @@ def __init__( enable_http: enable_http enable_https: enable_https default_services: default_services - _custom_data: _custom_data """ @@ -7068,14 +6447,13 @@ class MgmtDestinationNetworks(AvdList[str]): class MlagIbgpPeeringVrfs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"base_vlan": {"type": int, "default": 3000}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"base_vlan": {"type": int, "default": 3000}} base_vlan: int """Default value: `3000`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, base_vlan: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, base_vlan: int | UndefinedType = Undefined) -> None: """ MlagIbgpPeeringVrfs. @@ -7084,7 +6462,6 @@ def __init__(self, *, base_vlan: int | UndefinedType = Undefined, _custom_data: Args: base_vlan: base_vlan - _custom_data: _custom_data """ @@ -7126,7 +6503,6 @@ class Ptp(AvdModel): "enabled": {"type": bool, "default": False}, "endpoint_role": {"type": str, "default": "follower"}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -7151,7 +6527,6 @@ class Ptp(AvdModel): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7161,7 +6536,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, endpoint_role: Literal["follower", "dynamic", "bmca", "default"] | UndefinedType = Undefined, profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -7184,28 +6558,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -7215,14 +6581,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class LinkTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """ @@ -7232,17 +6597,10 @@ class LinkTracking(AvdModel): Optional if default link_tracking settings are configured on the node. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -7257,7 +6615,6 @@ def __init__( `link_tracking.groups[0].name` with default value being "LT_GROUP1". Optional if default link_tracking settings are configured on the node. - _custom_data: _custom_data """ @@ -7273,7 +6630,7 @@ class StormControl(AvdModel): class All(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -7282,17 +6639,10 @@ class All(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ All. @@ -7302,14 +6652,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Broadcast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -7318,17 +6667,10 @@ class Broadcast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Broadcast. @@ -7338,14 +6680,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -7354,17 +6695,10 @@ class Multicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Multicast. @@ -7374,14 +6708,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class UnknownUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -7390,17 +6723,10 @@ class UnknownUnicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ UnknownUnicast. @@ -7410,7 +6736,6 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ @@ -7419,7 +6744,6 @@ def __init__( "broadcast": {"type": Broadcast}, "multicast": {"type": Multicast}, "unknown_unicast": {"type": UnknownUnicast}, - "_custom_data": {"type": dict}, } all: All """Subclass of AvdModel.""" @@ -7429,7 +6753,6 @@ def __init__( """Subclass of AvdModel.""" unknown_unicast: UnknownUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7440,7 +6763,6 @@ def __init__( broadcast: Broadcast | UndefinedType = Undefined, multicast: Multicast | UndefinedType = Undefined, unknown_unicast: UnknownUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StormControl. @@ -7453,7 +6775,6 @@ def __init__( broadcast: Subclass of AvdModel. multicast: Subclass of AvdModel. unknown_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -7466,12 +6787,11 @@ class SourceSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7481,7 +6801,6 @@ def __init__( type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessGroup. @@ -7493,11 +6812,10 @@ def __init__( type: type name: ACL name. priority: priority - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}} direction: Literal["rx", "tx", "both"] | None access_group: AccessGroup """ @@ -7505,7 +6823,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7514,7 +6831,6 @@ def __init__( *, direction: Literal["rx", "tx", "both"] | None | UndefinedType = Undefined, access_group: AccessGroup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourceSettings. @@ -7528,7 +6844,6 @@ def __init__( This can only be set when `session_settings.access_group` is not set. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -7538,20 +6853,15 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ AccessGroup. @@ -7562,28 +6872,20 @@ def __init__( Args: type: type name: ACL name. - _custom_data: _custom_data """ class Truncate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined) -> None: """ Truncate. @@ -7593,7 +6895,6 @@ def __init__( Args: enabled: enabled size: Size in bytes. - _custom_data: _custom_data """ @@ -7605,7 +6906,6 @@ def __init__( "rate_limit_per_egress_chip": {"type": str}, "sample": {"type": int}, "truncate": {"type": Truncate}, - "_custom_data": {"type": dict}, } encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -7631,7 +6931,6 @@ def __init__( sample: int | None truncate: Truncate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7645,7 +6944,6 @@ def __init__( rate_limit_per_egress_chip: str | None | UndefinedType = Undefined, sample: int | None | UndefinedType = Undefined, truncate: Truncate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SessionSettings. @@ -7671,7 +6969,6 @@ def __init__( "10 mbps" sample: sample truncate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -7680,7 +6977,6 @@ def __init__( "role": {"type": str}, "source_settings": {"type": SourceSettings}, "session_settings": {"type": SessionSettings}, - "_custom_data": {"type": dict}, } name: str """Session name.""" @@ -7696,7 +6992,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7707,7 +7002,6 @@ def __init__( role: Literal["source", "destination"] | None | UndefinedType = Undefined, source_settings: SourceSettings | UndefinedType = Undefined, session_settings: SessionSettings | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorSessionsItem. @@ -7726,7 +7020,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -7749,7 +7042,6 @@ class DesignatedForwarderPreferences(AvdList[int]): "designated_forwarder_algorithm": {"type": str}, "designated_forwarder_preferences": {"type": DesignatedForwarderPreferences}, "dont_preempt": {"type": bool}, - "_custom_data": {"type": dict}, } short_esi: str """ @@ -7789,7 +7081,6 @@ class DesignatedForwarderPreferences(AvdList[int]): """ dont_preempt: bool | None """Disable preemption for single-active forwarding when auto/manual DF preference is configured.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7801,7 +7092,6 @@ def __init__( designated_forwarder_algorithm: Literal["auto", "modulus", "preference"] | None | UndefinedType = Undefined, designated_forwarder_preferences: DesignatedForwarderPreferences | UndefinedType = Undefined, dont_preempt: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EthernetSegment. @@ -7839,7 +7129,6 @@ def __init__( Subclass of AvdList with `int` items. dont_preempt: Disable preemption for single-active forwarding when auto/manual DF preference is configured. - _custom_data: _custom_data """ @@ -7852,16 +7141,13 @@ class LacpFallback(AvdModel): class Individual(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None """Port-profile name to inherit configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ Individual. @@ -7870,16 +7156,10 @@ def __init__( Args: profile: Port-profile name to inherit configuration. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "mode": {"type": str}, - "individual": {"type": Individual}, - "timeout": {"type": int, "default": 90}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mode": {"type": str}, "individual": {"type": Individual}, "timeout": {"type": int, "default": 90}} mode: Literal["static", "individual"] | None """ Either static or individual mode is supported. @@ -7899,7 +7179,6 @@ def __init__( Default value: `90` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -7909,7 +7188,6 @@ def __init__( mode: Literal["static", "individual"] | None | UndefinedType = Undefined, individual: Individual | UndefinedType = Undefined, timeout: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpFallback. @@ -7928,28 +7206,22 @@ def __init__( Subclass of AvdModel. timeout: Timeout in seconds. - _custom_data: _custom_data """ class LacpTimer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}} mode: Literal["normal", "fast"] | None """LACP mode for interface members.""" multiplier: int | None """Number of LACP BPDUs lost before deeming the peer down. EOS default is 3.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mode: Literal["normal", "fast"] | None | UndefinedType = Undefined, - multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mode: Literal["normal", "fast"] | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined ) -> None: """ LacpTimer. @@ -7960,7 +7232,6 @@ def __init__( Args: mode: LACP mode for interface members. multiplier: Number of LACP BPDUs lost before deeming the peer down. EOS default is 3. - _custom_data: _custom_data """ @@ -7970,15 +7241,12 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"client_dot1q": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client_dot1q": {"type": int}} client_dot1q: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, client_dot1q: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, client_dot1q: int | None | UndefinedType = Undefined) -> None: """ EncapsulationVlan. @@ -7987,7 +7255,6 @@ def __init__( Args: client_dot1q: client_dot1q - _custom_data: _custom_data """ @@ -7996,7 +7263,6 @@ def __init__( "short_esi": {"type": str}, "vlan_id": {"type": int}, "encapsulation_vlan": {"type": EncapsulationVlan}, - "_custom_data": {"type": dict}, } number: int | None """Subinterface number.""" @@ -8018,7 +7284,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8029,7 +7294,6 @@ def __init__( short_esi: str | None | UndefinedType = Undefined, vlan_id: int | None | UndefinedType = Undefined, encapsulation_vlan: EncapsulationVlan | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SubinterfacesItem. @@ -8051,7 +7315,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -8075,7 +7338,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "subinterfaces": {"type": Subinterfaces}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } mode: Literal["active", "passive", "on"] | None """Port-Channel Mode.""" @@ -8168,7 +7430,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8186,7 +7447,6 @@ def __init__( subinterfaces: Subinterfaces | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -8262,7 +7522,6 @@ def __init__( eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -8307,7 +7566,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "validate_lldp": {"type": bool}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } switches: Switches """ @@ -8519,7 +7777,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8563,7 +7820,6 @@ def __init__( validate_lldp: bool | None | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NetworkPortsItem. @@ -8725,7 +7981,6 @@ def __init__( structured_config: Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -8737,13 +7992,12 @@ class NetworkPorts(AvdList[NetworkPortsItem]): class NetworkServicesKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}} name: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ NetworkServicesKeysItem. @@ -8752,7 +8006,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ @@ -8774,12 +8027,7 @@ class DefaultOverlayAddressFamilies(AvdList[str]): class NetworkServices(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "l1": {"type": bool, "default": False}, - "l2": {"type": bool, "default": False}, - "l3": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"l1": {"type": bool, "default": False}, "l2": {"type": bool, "default": False}, "l3": {"type": bool, "default": False}} l1: bool """ ?? @@ -8799,18 +8047,10 @@ class NetworkServices(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - l1: bool | UndefinedType = Undefined, - l2: bool | UndefinedType = Undefined, - l3: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, l1: bool | UndefinedType = Undefined, l2: bool | UndefinedType = Undefined, l3: bool | UndefinedType = Undefined) -> None: """ NetworkServices. @@ -8823,7 +8063,6 @@ def __init__( l3: VRFs, SVIs (if l2 is true). Only supported with underlay_router. - _custom_data: _custom_data """ @@ -8845,7 +8084,6 @@ class IpAddressing(AvdModel): "p2p_uplinks_peer_ip": {"type": str}, "vtep_ip_mlag": {"type": str}, "vtep_ip": {"type": str}, - "_custom_data": {"type": dict}, } python_module: str | None """Custom Python Module to import for IP addressing.""" @@ -8879,7 +8117,6 @@ class IpAddressing(AvdModel): """Path to Custom J2 template.""" vtep_ip: str | None """Path to Custom J2 template.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8900,7 +8137,6 @@ def __init__( p2p_uplinks_peer_ip: str | None | UndefinedType = Undefined, vtep_ip_mlag: str | None | UndefinedType = Undefined, vtep_ip: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpAddressing. @@ -8923,7 +8159,6 @@ def __init__( p2p_uplinks_peer_ip: Path to Custom J2 template. vtep_ip_mlag: Path to Custom J2 template. vtep_ip: Path to Custom J2 template. - _custom_data: _custom_data """ @@ -8942,7 +8177,6 @@ class InterfaceDescriptions(AvdModel): "router_id_loopback_interface": {"type": str}, "vtep_loopback_interface": {"type": str}, "overlay_loopback_interface": {"type": str}, - "_custom_data": {"type": dict}, } python_module: str | None """Custom Python Module to import for interface descriptions.""" @@ -8970,7 +8204,6 @@ class InterfaceDescriptions(AvdModel): """Path to Custom J2 template.""" overlay_loopback_interface: str | None """Path to Custom J2 template.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -8988,7 +8221,6 @@ def __init__( router_id_loopback_interface: str | None | UndefinedType = Undefined, vtep_loopback_interface: str | None | UndefinedType = Undefined, overlay_loopback_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfaceDescriptions. @@ -9008,7 +8240,6 @@ def __init__( router_id_loopback_interface: Path to Custom J2 template. vtep_loopback_interface: Path to Custom J2 template. overlay_loopback_interface: Path to Custom J2 template. - _custom_data: _custom_data """ @@ -9034,7 +8265,6 @@ def __init__( "ip_addressing": {"type": IpAddressing}, "interface_descriptions": {"type": InterfaceDescriptions}, "cv_tags_topology_type": {"type": str}, - "_custom_data": {"type": dict}, } key: str type: str | None @@ -9189,7 +8419,6 @@ def __init__( Type that CloudVision should use when generating the Topology. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9218,7 +8447,6 @@ def __init__( ip_addressing: IpAddressing | UndefinedType = Undefined, interface_descriptions: InterfaceDescriptions | UndefinedType = Undefined, cv_tags_topology_type: Literal["leaf", "spine", "core", "edge"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CustomNodeTypeKeysItem. @@ -9306,7 +8534,6 @@ def __init__( PREVIEW: This key is currently not supported Type that CloudVision should use when generating the Topology. - _custom_data: _custom_data """ @@ -9328,12 +8555,7 @@ class DefaultOverlayAddressFamilies(AvdList[str]): class NetworkServices(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "l1": {"type": bool, "default": False}, - "l2": {"type": bool, "default": False}, - "l3": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"l1": {"type": bool, "default": False}, "l2": {"type": bool, "default": False}, "l3": {"type": bool, "default": False}} l1: bool """ ?? @@ -9353,18 +8575,10 @@ class NetworkServices(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - l1: bool | UndefinedType = Undefined, - l2: bool | UndefinedType = Undefined, - l3: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, l1: bool | UndefinedType = Undefined, l2: bool | UndefinedType = Undefined, l3: bool | UndefinedType = Undefined) -> None: """ NetworkServices. @@ -9377,7 +8591,6 @@ def __init__( l3: VRFs, SVIs (if l2 is true). Only supported with underlay_router. - _custom_data: _custom_data """ @@ -9399,7 +8612,6 @@ class IpAddressing(AvdModel): "p2p_uplinks_peer_ip": {"type": str}, "vtep_ip_mlag": {"type": str}, "vtep_ip": {"type": str}, - "_custom_data": {"type": dict}, } python_module: str | None """Custom Python Module to import for IP addressing.""" @@ -9433,7 +8645,6 @@ class IpAddressing(AvdModel): """Path to Custom J2 template.""" vtep_ip: str | None """Path to Custom J2 template.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9454,7 +8665,6 @@ def __init__( p2p_uplinks_peer_ip: str | None | UndefinedType = Undefined, vtep_ip_mlag: str | None | UndefinedType = Undefined, vtep_ip: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpAddressing. @@ -9477,7 +8687,6 @@ def __init__( p2p_uplinks_peer_ip: Path to Custom J2 template. vtep_ip_mlag: Path to Custom J2 template. vtep_ip: Path to Custom J2 template. - _custom_data: _custom_data """ @@ -9496,7 +8705,6 @@ class InterfaceDescriptions(AvdModel): "router_id_loopback_interface": {"type": str}, "vtep_loopback_interface": {"type": str}, "overlay_loopback_interface": {"type": str}, - "_custom_data": {"type": dict}, } python_module: str | None """Custom Python Module to import for interface descriptions.""" @@ -9524,7 +8732,6 @@ class InterfaceDescriptions(AvdModel): """Path to Custom J2 template.""" overlay_loopback_interface: str | None """Path to Custom J2 template.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9542,7 +8749,6 @@ def __init__( router_id_loopback_interface: str | None | UndefinedType = Undefined, vtep_loopback_interface: str | None | UndefinedType = Undefined, overlay_loopback_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ InterfaceDescriptions. @@ -9562,7 +8768,6 @@ def __init__( router_id_loopback_interface: Path to Custom J2 template. vtep_loopback_interface: Path to Custom J2 template. overlay_loopback_interface: Path to Custom J2 template. - _custom_data: _custom_data """ @@ -9588,7 +8793,6 @@ def __init__( "ip_addressing": {"type": IpAddressing}, "interface_descriptions": {"type": InterfaceDescriptions}, "cv_tags_topology_type": {"type": str}, - "_custom_data": {"type": dict}, } key: str type: str | None @@ -9743,7 +8947,6 @@ def __init__( Type that CloudVision should use when generating the Topology. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9772,7 +8975,6 @@ def __init__( ip_addressing: IpAddressing | UndefinedType = Undefined, interface_descriptions: InterfaceDescriptions | UndefinedType = Undefined, cv_tags_topology_type: Literal["leaf", "spine", "core", "edge"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodeTypeKeysItem. @@ -9860,7 +9062,6 @@ def __init__( PREVIEW: This key is currently not supported Type that CloudVision should use when generating the Topology. - _custom_data: _custom_data """ @@ -9885,7 +9086,6 @@ class ServersItem(AvdModel): "maxpoll": {"type": int}, "minpoll": {"type": int}, "version": {"type": int}, - "_custom_data": {"type": dict}, } name: str | None """IP or hostname e.g., 2.2.2.55, 2001:db8::55, ie.pool.ntp.org.""" @@ -9897,7 +9097,6 @@ class ServersItem(AvdModel): minpoll: int | None """Value of minpoll between 3 - 17 (Logarithmic).""" version: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9911,7 +9110,6 @@ def __init__( maxpoll: int | None | UndefinedType = Undefined, minpoll: int | None | UndefinedType = Undefined, version: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ServersItem. @@ -9927,7 +9125,6 @@ def __init__( maxpoll: Value of maxpoll between 3 - 17 (Logarithmic). minpoll: Value of minpoll between 3 - 17 (Logarithmic). version: version - _custom_data: _custom_data """ @@ -9946,7 +9143,6 @@ class AuthenticationKeys(EosCliConfigGen.Ntp.AuthenticationKeys): "authenticate_servers_only": {"type": bool}, "authentication_keys": {"type": AuthenticationKeys}, "trusted_keys": {"type": str}, - "_custom_data": {"type": dict}, } server_vrf: str | None """ @@ -9977,7 +9173,6 @@ class AuthenticationKeys(EosCliConfigGen.Ntp.AuthenticationKeys): authentication_keys: AuthenticationKeys trusted_keys: str | None """List of trusted-keys as string ex. 10-12,15.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -9990,7 +9185,6 @@ def __init__( authenticate_servers_only: bool | None | UndefinedType = Undefined, authentication_keys: AuthenticationKeys | UndefinedType = Undefined, trusted_keys: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NtpSettings. @@ -10023,7 +9217,6 @@ def __init__( authenticate_servers_only: authenticate_servers_only authentication_keys: authentication_keys trusted_keys: List of trusted-keys as string ex. 10-12,15. - _custom_data: _custom_data """ @@ -10041,7 +9234,6 @@ class OverlayRdType(AvdModel): "vrf_admin_subfield": {"type": str}, "vrf_admin_subfield_offset": {"type": int}, "vlan_assigned_number_subfield": {"type": str, "default": "mac_vrf_id"}, - "_custom_data": {"type": dict}, } admin_subfield: str """ @@ -10111,7 +9303,6 @@ class OverlayRdType(AvdModel): Default value: `"mac_vrf_id"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10123,7 +9314,6 @@ def __init__( vrf_admin_subfield: str | None | UndefinedType = Undefined, vrf_admin_subfield_offset: int | None | UndefinedType = Undefined, vlan_assigned_number_subfield: Literal["mac_vrf_id", "mac_vrf_vni", "vlan_id"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ OverlayRdType. @@ -10184,7 +9374,6 @@ def __init__( These methods can be overridden per VLAN if either 'rd_override', 'rt_override' or 'vni_override' is set (preferred in this order). - _custom_data: _custom_data """ @@ -10195,7 +9384,6 @@ class OverlayRtType(AvdModel): "admin_subfield": {"type": str, "default": "vrf_id"}, "vrf_admin_subfield": {"type": str}, "vlan_assigned_number_subfield": {"type": str, "default": "mac_vrf_id"}, - "_custom_data": {"type": dict}, } admin_subfield: str """ @@ -10251,7 +9439,6 @@ class OverlayRtType(AvdModel): Default value: `"mac_vrf_id"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10261,7 +9448,6 @@ def __init__( admin_subfield: str | UndefinedType = Undefined, vrf_admin_subfield: str | None | UndefinedType = Undefined, vlan_assigned_number_subfield: Literal["mac_vrf_id", "mac_vrf_vni", "vlan_id"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ OverlayRtType. @@ -10314,7 +9500,6 @@ def __init__( These methods can be overridden per VLAN if either 'rt_override' or 'vni_override' is set (preferred in this order). - _custom_data: _custom_data """ @@ -10329,22 +9514,15 @@ class Platforms(AvdList[str]): class ReloadDelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mlag": {"type": int}, "non_mlag": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mlag": {"type": int}, "non_mlag": {"type": int}} mlag: int | None """In seconds.""" non_mlag: int | None """In seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mlag: int | None | UndefinedType = Undefined, - non_mlag: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mlag: int | None | UndefinedType = Undefined, non_mlag: int | None | UndefinedType = Undefined) -> None: """ ReloadDelay. @@ -10354,7 +9532,6 @@ def __init__( Args: mlag: In seconds. non_mlag: In seconds. - _custom_data: _custom_data """ @@ -10368,7 +9545,6 @@ class FeatureSupport(AvdModel): "per_interface_mtu": {"type": bool, "default": True}, "bgp_update_wait_install": {"type": bool, "default": True}, "bgp_update_wait_for_convergence": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, } queue_monitor_length_notify: bool """Default value: `True`""" @@ -10405,7 +9581,6 @@ class FeatureSupport(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10418,7 +9593,6 @@ def __init__( per_interface_mtu: bool | UndefinedType = Undefined, bgp_update_wait_install: bool | UndefinedType = Undefined, bgp_update_wait_for_convergence: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FeatureSupport. @@ -10447,7 +9621,6 @@ def __init__( that may not yet be installed into the forwarding plane. Can be overridden by setting "bgp_update_wait_for_convergence" host/group_vars. - _custom_data: _custom_data """ @@ -10459,7 +9632,6 @@ class SecurityEntropySources(AvdModel): "haveged": {"type": bool}, "cpu_jitter": {"type": bool}, "hardware_exclusive": {"type": bool}, - "_custom_data": {"type": dict}, } hardware: bool | None """Use a hardware based source.""" @@ -10469,7 +9641,6 @@ class SecurityEntropySources(AvdModel): """Use the Jitter RNG algorithm of a CPU based source.""" hardware_exclusive: bool | None """Only use entropy from the hardware source.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10480,7 +9651,6 @@ def __init__( haveged: bool | None | UndefinedType = Undefined, cpu_jitter: bool | None | UndefinedType = Undefined, hardware_exclusive: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SecurityEntropySources. @@ -10493,7 +9663,6 @@ def __init__( haveged: Use the HAVEGE algorithm. cpu_jitter: Use the Jitter RNG algorithm of a CPU based source. hardware_exclusive: Only use entropy from the hardware source. - _custom_data: _custom_data """ @@ -10513,7 +9682,6 @@ class StructuredConfig(EosCliConfigGen): "security_entropy_sources": {"type": SecurityEntropySources}, "structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } platforms: Platforms """Subclass of AvdList with `str` items.""" @@ -10552,7 +9720,6 @@ class StructuredConfig(EosCliConfigGen): """ raw_eos_cli: str | None """EOS CLI rendered directly on the root level of the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10571,7 +9738,6 @@ def __init__( security_entropy_sources: SecurityEntropySources | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CustomPlatformSettingsItem. @@ -10603,7 +9769,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the root level of the final EOS configuration. - _custom_data: _custom_data """ @@ -10623,22 +9788,15 @@ class Platforms(AvdList[str]): class ReloadDelay(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mlag": {"type": int}, "non_mlag": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mlag": {"type": int}, "non_mlag": {"type": int}} mlag: int | None """In seconds.""" non_mlag: int | None """In seconds.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mlag: int | None | UndefinedType = Undefined, - non_mlag: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mlag: int | None | UndefinedType = Undefined, non_mlag: int | None | UndefinedType = Undefined) -> None: """ ReloadDelay. @@ -10648,7 +9806,6 @@ def __init__( Args: mlag: In seconds. non_mlag: In seconds. - _custom_data: _custom_data """ @@ -10662,7 +9819,6 @@ class FeatureSupport(AvdModel): "per_interface_mtu": {"type": bool, "default": True}, "bgp_update_wait_install": {"type": bool, "default": True}, "bgp_update_wait_for_convergence": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, } queue_monitor_length_notify: bool """Default value: `True`""" @@ -10699,7 +9855,6 @@ class FeatureSupport(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10712,7 +9867,6 @@ def __init__( per_interface_mtu: bool | UndefinedType = Undefined, bgp_update_wait_install: bool | UndefinedType = Undefined, bgp_update_wait_for_convergence: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ FeatureSupport. @@ -10741,7 +9895,6 @@ def __init__( that may not yet be installed into the forwarding plane. Can be overridden by setting "bgp_update_wait_for_convergence" host/group_vars. - _custom_data: _custom_data """ @@ -10753,7 +9906,6 @@ class SecurityEntropySources(AvdModel): "haveged": {"type": bool}, "cpu_jitter": {"type": bool}, "hardware_exclusive": {"type": bool}, - "_custom_data": {"type": dict}, } hardware: bool | None """Use a hardware based source.""" @@ -10763,7 +9915,6 @@ class SecurityEntropySources(AvdModel): """Use the Jitter RNG algorithm of a CPU based source.""" hardware_exclusive: bool | None """Only use entropy from the hardware source.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10774,7 +9925,6 @@ def __init__( haveged: bool | None | UndefinedType = Undefined, cpu_jitter: bool | None | UndefinedType = Undefined, hardware_exclusive: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SecurityEntropySources. @@ -10787,7 +9937,6 @@ def __init__( haveged: Use the HAVEGE algorithm. cpu_jitter: Use the Jitter RNG algorithm of a CPU based source. hardware_exclusive: Only use entropy from the hardware source. - _custom_data: _custom_data """ @@ -10807,7 +9956,6 @@ class StructuredConfig(EosCliConfigGen): "security_entropy_sources": {"type": SecurityEntropySources}, "structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } platforms: Platforms """Subclass of AvdList with `str` items.""" @@ -10846,7 +9994,6 @@ class StructuredConfig(EosCliConfigGen): """ raw_eos_cli: str | None """EOS CLI rendered directly on the root level of the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -10865,7 +10012,6 @@ def __init__( security_entropy_sources: SecurityEntropySources | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PlatformSettingsItem. @@ -10897,7 +10043,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the root level of the final EOS configuration. - _custom_data: _custom_data """ @@ -10917,21 +10062,14 @@ class SpeedGroups(AvdList[str]): SpeedGroups._item_type = str - _fields: ClassVar[dict] = {"speed": {"type": str}, "speed_groups": {"type": SpeedGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"speed": {"type": str}, "speed_groups": {"type": SpeedGroups}} speed: str speed_groups: SpeedGroups """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - speed: str | UndefinedType = Undefined, - speed_groups: SpeedGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, speed: str | UndefinedType = Undefined, speed_groups: SpeedGroups | UndefinedType = Undefined) -> None: """ SpeedsItem. @@ -10941,7 +10079,6 @@ def __init__( Args: speed: speed speed_groups: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -10952,21 +10089,14 @@ class Speeds(AvdIndexedList[str, SpeedsItem]): Speeds._item_type = SpeedsItem - _fields: ClassVar[dict] = {"platform": {"type": str}, "speeds": {"type": Speeds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"platform": {"type": str}, "speeds": {"type": Speeds}} platform: str speeds: Speeds """Subclass of AvdIndexedList with `SpeedsItem` items. Primary key is `speed` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - platform: str | UndefinedType = Undefined, - speeds: Speeds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, platform: str | UndefinedType = Undefined, speeds: Speeds | UndefinedType = Undefined) -> None: """ PlatformSpeedGroupsItem. @@ -10976,7 +10106,6 @@ def __init__( Args: platform: platform speeds: Subclass of AvdIndexedList with `SpeedsItem` items. Primary key is `speed` (`str`). - _custom_data: _custom_data """ @@ -11005,7 +10134,6 @@ class Ptp(AvdModel): "enabled": {"type": bool, "default": False}, "endpoint_role": {"type": str, "default": "follower"}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -11030,7 +10158,6 @@ class Ptp(AvdModel): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11040,7 +10167,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, endpoint_role: Literal["follower", "dynamic", "bmca", "default"] | UndefinedType = Undefined, profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -11063,28 +10189,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -11094,14 +10212,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class LinkTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """ @@ -11111,17 +10228,10 @@ class LinkTracking(AvdModel): Optional if default link_tracking settings are configured on the node. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -11136,7 +10246,6 @@ def __init__( `link_tracking.groups[0].name` with default value being "LT_GROUP1". Optional if default link_tracking settings are configured on the node. - _custom_data: _custom_data """ @@ -11152,7 +10261,7 @@ class StormControl(AvdModel): class All(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -11161,17 +10270,10 @@ class All(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ All. @@ -11181,14 +10283,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Broadcast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -11197,17 +10298,10 @@ class Broadcast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Broadcast. @@ -11217,14 +10311,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -11233,17 +10326,10 @@ class Multicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ Multicast. @@ -11253,14 +10339,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class UnknownUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -11269,17 +10354,10 @@ class UnknownUnicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined) -> None: """ UnknownUnicast. @@ -11289,7 +10367,6 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ @@ -11298,7 +10375,6 @@ def __init__( "broadcast": {"type": Broadcast}, "multicast": {"type": Multicast}, "unknown_unicast": {"type": UnknownUnicast}, - "_custom_data": {"type": dict}, } all: All """Subclass of AvdModel.""" @@ -11308,7 +10384,6 @@ def __init__( """Subclass of AvdModel.""" unknown_unicast: UnknownUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11319,7 +10394,6 @@ def __init__( broadcast: Broadcast | UndefinedType = Undefined, multicast: Multicast | UndefinedType = Undefined, unknown_unicast: UnknownUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StormControl. @@ -11332,7 +10406,6 @@ def __init__( broadcast: Subclass of AvdModel. multicast: Subclass of AvdModel. unknown_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11345,12 +10418,11 @@ class SourceSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11360,7 +10432,6 @@ def __init__( type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessGroup. @@ -11372,11 +10443,10 @@ def __init__( type: type name: ACL name. priority: priority - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}} direction: Literal["rx", "tx", "both"] | None access_group: AccessGroup """ @@ -11384,7 +10454,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11393,7 +10462,6 @@ def __init__( *, direction: Literal["rx", "tx", "both"] | None | UndefinedType = Undefined, access_group: AccessGroup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourceSettings. @@ -11407,7 +10475,6 @@ def __init__( This can only be set when `session_settings.access_group` is not set. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11417,20 +10484,15 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ AccessGroup. @@ -11441,28 +10503,20 @@ def __init__( Args: type: type name: ACL name. - _custom_data: _custom_data """ class Truncate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined) -> None: """ Truncate. @@ -11472,7 +10526,6 @@ def __init__( Args: enabled: enabled size: Size in bytes. - _custom_data: _custom_data """ @@ -11484,7 +10537,6 @@ def __init__( "rate_limit_per_egress_chip": {"type": str}, "sample": {"type": int}, "truncate": {"type": Truncate}, - "_custom_data": {"type": dict}, } encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -11510,7 +10562,6 @@ def __init__( sample: int | None truncate: Truncate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11524,7 +10575,6 @@ def __init__( rate_limit_per_egress_chip: str | None | UndefinedType = Undefined, sample: int | None | UndefinedType = Undefined, truncate: Truncate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SessionSettings. @@ -11550,7 +10600,6 @@ def __init__( "10 mbps" sample: sample truncate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11559,7 +10608,6 @@ def __init__( "role": {"type": str}, "source_settings": {"type": SourceSettings}, "session_settings": {"type": SessionSettings}, - "_custom_data": {"type": dict}, } name: str """Session name.""" @@ -11575,7 +10623,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11586,7 +10633,6 @@ def __init__( role: Literal["source", "destination"] | None | UndefinedType = Undefined, source_settings: SourceSettings | UndefinedType = Undefined, session_settings: SessionSettings | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorSessionsItem. @@ -11605,7 +10651,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11628,7 +10673,6 @@ class DesignatedForwarderPreferences(AvdList[int]): "designated_forwarder_algorithm": {"type": str}, "designated_forwarder_preferences": {"type": DesignatedForwarderPreferences}, "dont_preempt": {"type": bool}, - "_custom_data": {"type": dict}, } short_esi: str """ @@ -11668,7 +10712,6 @@ class DesignatedForwarderPreferences(AvdList[int]): """ dont_preempt: bool | None """Disable preemption for single-active forwarding when auto/manual DF preference is configured.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11680,7 +10723,6 @@ def __init__( designated_forwarder_algorithm: Literal["auto", "modulus", "preference"] | None | UndefinedType = Undefined, designated_forwarder_preferences: DesignatedForwarderPreferences | UndefinedType = Undefined, dont_preempt: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EthernetSegment. @@ -11718,7 +10760,6 @@ def __init__( Subclass of AvdList with `int` items. dont_preempt: Disable preemption for single-active forwarding when auto/manual DF preference is configured. - _custom_data: _custom_data """ @@ -11731,16 +10772,13 @@ class LacpFallback(AvdModel): class Individual(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None """Port-profile name to inherit configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ Individual. @@ -11749,16 +10787,10 @@ def __init__( Args: profile: Port-profile name to inherit configuration. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "mode": {"type": str}, - "individual": {"type": Individual}, - "timeout": {"type": int, "default": 90}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mode": {"type": str}, "individual": {"type": Individual}, "timeout": {"type": int, "default": 90}} mode: Literal["static", "individual"] | None """ Either static or individual mode is supported. @@ -11778,7 +10810,6 @@ def __init__( Default value: `90` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11788,7 +10819,6 @@ def __init__( mode: Literal["static", "individual"] | None | UndefinedType = Undefined, individual: Individual | UndefinedType = Undefined, timeout: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpFallback. @@ -11807,28 +10837,22 @@ def __init__( Subclass of AvdModel. timeout: Timeout in seconds. - _custom_data: _custom_data """ class LacpTimer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}} mode: Literal["normal", "fast"] | None """LACP mode for interface members.""" multiplier: int | None """Number of LACP BPDUs lost before deeming the peer down. EOS default is 3.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mode: Literal["normal", "fast"] | None | UndefinedType = Undefined, - multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mode: Literal["normal", "fast"] | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined ) -> None: """ LacpTimer. @@ -11839,7 +10863,6 @@ def __init__( Args: mode: LACP mode for interface members. multiplier: Number of LACP BPDUs lost before deeming the peer down. EOS default is 3. - _custom_data: _custom_data """ @@ -11849,15 +10872,12 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"client_dot1q": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client_dot1q": {"type": int}} client_dot1q: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, client_dot1q: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, client_dot1q: int | None | UndefinedType = Undefined) -> None: """ EncapsulationVlan. @@ -11866,7 +10886,6 @@ def __init__( Args: client_dot1q: client_dot1q - _custom_data: _custom_data """ @@ -11875,7 +10894,6 @@ def __init__( "short_esi": {"type": str}, "vlan_id": {"type": int}, "encapsulation_vlan": {"type": EncapsulationVlan}, - "_custom_data": {"type": dict}, } number: int | None """Subinterface number.""" @@ -11897,7 +10915,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -11908,7 +10925,6 @@ def __init__( short_esi: str | None | UndefinedType = Undefined, vlan_id: int | None | UndefinedType = Undefined, encapsulation_vlan: EncapsulationVlan | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SubinterfacesItem. @@ -11930,7 +10946,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -11954,7 +10969,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "subinterfaces": {"type": Subinterfaces}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } mode: Literal["active", "passive", "on"] | None """Port-Channel Mode.""" @@ -12047,7 +11061,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12065,7 +11078,6 @@ def __init__( subinterfaces: Subinterfaces | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -12141,7 +11153,6 @@ def __init__( eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12183,7 +11194,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "validate_lldp": {"type": bool}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str """Port profile name.""" @@ -12352,7 +11362,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12393,7 +11402,6 @@ def __init__( validate_lldp: bool | None | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortProfilesItem. @@ -12517,7 +11525,6 @@ def __init__( structured_config: Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12534,20 +11541,13 @@ class PtpProfilesItem(AvdModel): class Announce(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}, "timeout": {"type": int}} interval: int | None timeout: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: int | None | UndefinedType = Undefined, - timeout: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined, timeout: int | None | UndefinedType = Undefined) -> None: """ Announce. @@ -12557,20 +11557,18 @@ def __init__( Args: interval: interval timeout: timeout - _custom_data: _custom_data """ class SyncMessage(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": int}} interval: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, interval: int | None | UndefinedType = Undefined) -> None: """ SyncMessage. @@ -12579,7 +11577,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Args: interval: interval - _custom_data: _custom_data """ @@ -12589,7 +11586,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ "delay_req": {"type": int}, "sync_message": {"type": SyncMessage}, "transport": {"type": str}, - "_custom_data": {"type": dict}, } profile: str """PTP profile.""" @@ -12607,7 +11603,6 @@ def __init__(self, *, interval: int | None | UndefinedType = Undefined, _custom_ Subclass of AvdModel. """ transport: Literal["ipv4"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12619,7 +11614,6 @@ def __init__( delay_req: int | None | UndefinedType = Undefined, sync_message: SyncMessage | UndefinedType = Undefined, transport: Literal["ipv4"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PtpProfilesItem. @@ -12639,7 +11633,6 @@ def __init__( Subclass of AvdModel. transport: transport - _custom_data: _custom_data """ @@ -12658,7 +11651,6 @@ class PtpSettings(AvdModel): "profile": {"type": str, "default": "aes67-r16-2016"}, "domain": {"type": int, "default": 127}, "auto_clock_identity": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str @@ -12674,7 +11666,6 @@ class PtpSettings(AvdModel): """Default value: `127`""" auto_clock_identity: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12685,7 +11676,6 @@ def __init__( profile: str | UndefinedType = Undefined, domain: int | UndefinedType = Undefined, auto_clock_identity: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PtpSettings. @@ -12702,7 +11692,6 @@ def __init__( - "smpte2059-2" domain: domain auto_clock_identity: auto_clock_identity - _custom_data: _custom_data """ @@ -12712,7 +11701,7 @@ class QueueMonitorLength(AvdModel): class DefaultThresholds(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}} high: int """Default high threshold for Ethernet Interfaces.""" low: int | None @@ -12720,17 +11709,10 @@ class DefaultThresholds(AvdModel): Default low threshold for Ethernet Interfaces. Low threshold support is platform dependent. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - high: int | UndefinedType = Undefined, - low: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, high: int | UndefinedType = Undefined, low: int | None | UndefinedType = Undefined) -> None: """ DefaultThresholds. @@ -12742,7 +11724,6 @@ def __init__( low: Default low threshold for Ethernet Interfaces. Low threshold support is platform dependent. - _custom_data: _custom_data """ @@ -12752,20 +11733,13 @@ class Cpu(AvdModel): class Thresholds(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"high": {"type": int}, "low": {"type": int}} high: int low: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - high: int | UndefinedType = Undefined, - low: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, high: int | UndefinedType = Undefined, low: int | None | UndefinedType = Undefined) -> None: """ Thresholds. @@ -12775,18 +11749,16 @@ def __init__( Args: high: high low: low - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"thresholds": {"type": Thresholds}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"thresholds": {"type": Thresholds}} thresholds: Thresholds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined) -> None: """ Cpu. @@ -12795,7 +11767,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo Args: thresholds: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -12806,7 +11777,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo "log": {"type": int}, "cpu": {"type": Cpu}, "tx_latency": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool notifying: bool | None @@ -12822,7 +11792,6 @@ def __init__(self, *, thresholds: Thresholds | UndefinedType = Undefined, _custo """Subclass of AvdModel.""" tx_latency: bool | None """Enable tx-latency mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12835,7 +11804,6 @@ def __init__( log: int | None | UndefinedType = Undefined, cpu: Cpu | UndefinedType = Undefined, tx_latency: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ QueueMonitorLength. @@ -12852,7 +11820,6 @@ def __init__( log: Logging interval in seconds. cpu: Subclass of AvdModel. tx_latency: Enable tx-latency mode. - _custom_data: _custom_data """ @@ -12862,15 +11829,12 @@ class QueueMonitorStreaming(EosCliConfigGen.QueueMonitorStreaming): class Redundancy(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"protocol": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"protocol": {"type": str}} protocol: Literal["sso", "rpr"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, protocol: Literal["sso", "rpr"] | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, protocol: Literal["sso", "rpr"] | None | UndefinedType = Undefined) -> None: """ Redundancy. @@ -12879,7 +11843,6 @@ def __init__( Args: protocol: protocol - _custom_data: _custom_data """ @@ -12889,7 +11852,7 @@ class SflowSettings(AvdModel): class Sample(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"rate": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"rate": {"type": int}} rate: int | None """ Packet sampling rate that defines the average number of ingress packets that pass through an @@ -12897,11 +11860,10 @@ class Sample(AvdModel): A rate of 16384 corresponds to an average sample of one per 16384 packets. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, rate: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, rate: int | None | UndefinedType = Undefined) -> None: """ Sample. @@ -12914,14 +11876,13 @@ def __init__(self, *, rate: int | None | UndefinedType = Undefined, _custom_data interface for every packet that is sampled. A rate of 16384 corresponds to an average sample of one per 16384 packets. - _custom_data: _custom_data """ class DestinationsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"destination": {"type": str}, "port": {"type": int}, "vrf": {"type": str}} destination: str """sFlow destination name or IP address.""" port: int | None @@ -12944,7 +11905,6 @@ class DestinationsItem(AvdModel): other string will be used directly as the VRF name. Remember to set the `sflow_settings.vrfs[].source_interface` if needed. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -12954,7 +11914,6 @@ def __init__( destination: str | UndefinedType = Undefined, port: int | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DestinationsItem. @@ -12981,7 +11940,6 @@ def __init__( - Any other string will be used directly as the VRF name. Remember to set the `sflow_settings.vrfs[].source_interface` if needed. - _custom_data: _custom_data """ @@ -12993,7 +11951,7 @@ class Destinations(AvdList[DestinationsItem]): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "source_interface": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "source_interface": {"type": str}} name: str """VRF name.""" source_interface: str | None @@ -13002,17 +11960,10 @@ class VrfsItem(AvdModel): If set for the VRFs defined by `mgmt_interface_vrf` or `inband_mgmt_vrf`, this setting will take precedence. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - source_interface: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined) -> None: """ VrfsItem. @@ -13025,7 +11976,6 @@ def __init__( Source interface to use for sFlow destinations in this VRF. If set for the VRFs defined by `mgmt_interface_vrf` or `inband_mgmt_vrf`, this setting will take precedence. - _custom_data: _custom_data """ @@ -13041,7 +11991,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): "sample": {"type": Sample}, "destinations": {"type": Destinations}, "vrfs": {"type": Vrfs}, - "_custom_data": {"type": dict}, } polling_interval: int | None """Interval in seconds for sending counter data to the sFlow collector.""" @@ -13051,7 +12000,6 @@ class Vrfs(AvdIndexedList[str, VrfsItem]): """Subclass of AvdList with `DestinationsItem` items.""" vrfs: Vrfs """Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13062,7 +12010,6 @@ def __init__( sample: Sample | UndefinedType = Undefined, destinations: Destinations | UndefinedType = Undefined, vrfs: Vrfs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SflowSettings. @@ -13075,7 +12022,6 @@ def __init__( sample: Subclass of AvdModel. destinations: Subclass of AvdList with `DestinationsItem` items. vrfs: Subclass of AvdIndexedList with `VrfsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -13096,7 +12042,6 @@ class UsersItem(AvdModel): "auth_passphrase": {"type": str}, "priv": {"type": str}, "priv_passphrase": {"type": str}, - "_custom_data": {"type": dict}, } name: str | None """Username.""" @@ -13109,7 +12054,6 @@ class UsersItem(AvdModel): priv: Literal["des", "aes", "aes192", "aes256"] | None priv_passphrase: str | None """Cleartext passphrase so the recommendation is to use vault. Requires 'priv' to be set.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13123,7 +12067,6 @@ def __init__( auth_passphrase: str | None | UndefinedType = Undefined, priv: Literal["des", "aes", "aes192", "aes256"] | None | UndefinedType = Undefined, priv_passphrase: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UsersItem. @@ -13139,7 +12082,6 @@ def __init__( auth_passphrase: Cleartext passphrase so the recommendation is to use vault. Requires 'auth' to be set. priv: priv priv_passphrase: Cleartext passphrase so the recommendation is to use vault. Requires 'priv' to be set. - _custom_data: _custom_data """ @@ -13154,10 +12096,9 @@ class HostsItem(AvdModel): class UsersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"username": {"type": str}, "authentication_level": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"username": {"type": str}, "authentication_level": {"type": str}} username: str | None authentication_level: Literal["auth", "noauth", "priv"] | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13166,7 +12107,6 @@ def __init__( *, username: str | None | UndefinedType = Undefined, authentication_level: Literal["auth", "noauth", "priv"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UsersItem. @@ -13177,7 +12117,6 @@ def __init__( Args: username: username authentication_level: authentication_level - _custom_data: _custom_data """ @@ -13194,7 +12133,6 @@ class Users(AvdList[UsersItem]): "version": {"type": str}, "community": {"type": str}, "users": {"type": Users}, - "_custom_data": {"type": dict}, } host: str | None """Host IP address or name.""" @@ -13223,7 +12161,6 @@ class Users(AvdList[UsersItem]): """Community name. Required with version "1" or "2c".""" users: Users """Subclass of AvdList with `UsersItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13237,7 +12174,6 @@ def __init__( version: Literal["1", "2c", "3"] | None | UndefinedType = Undefined, community: str | None | UndefinedType = Undefined, users: Users | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ HostsItem. @@ -13264,7 +12200,6 @@ def __init__( version: version community: Community name. Required with version "1" or "2c". users: Subclass of AvdList with `UsersItem` items. - _custom_data: _custom_data """ @@ -13279,21 +12214,14 @@ class Communities(EosCliConfigGen.SnmpServer.Communities): class Ipv4AclsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """IPv4 access list name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv4AclsItem. @@ -13303,7 +12231,6 @@ def __init__( Args: name: IPv4 access list name. vrf: vrf - _custom_data: _custom_data """ @@ -13315,21 +12242,14 @@ class Ipv4Acls(AvdList[Ipv4AclsItem]): class Ipv6AclsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "vrf": {"type": str}} name: str | None """IPv6 access list name.""" vrf: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | None | UndefinedType = Undefined, - vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | None | UndefinedType = Undefined, vrf: str | None | UndefinedType = Undefined) -> None: """ Ipv6AclsItem. @@ -13339,7 +12259,6 @@ def __init__( Args: name: IPv6 access list name. vrf: vrf - _custom_data: _custom_data """ @@ -13351,12 +12270,11 @@ class Ipv6Acls(AvdList[Ipv6AclsItem]): class ViewsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "mib_family_name": {"type": str}, "included": {"type": bool}} name: str | None """SNMP view name.""" mib_family_name: str | None included: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13366,7 +12284,6 @@ def __init__( name: str | None | UndefinedType = Undefined, mib_family_name: str | None | UndefinedType = Undefined, included: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ViewsItem. @@ -13378,7 +12295,6 @@ def __init__( name: SNMP view name. mib_family_name: mib_family_name included: included - _custom_data: _custom_data """ @@ -13397,7 +12313,6 @@ class GroupsItem(AvdModel): "read": {"type": str}, "write": {"type": str}, "notify": {"type": str}, - "_custom_data": {"type": dict}, } name: str | None """Group name.""" @@ -13409,7 +12324,6 @@ class GroupsItem(AvdModel): """Write view.""" notify: str | None """Notify view.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13422,7 +12336,6 @@ def __init__( read: str | None | UndefinedType = Undefined, write: str | None | UndefinedType = Undefined, notify: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -13437,7 +12350,6 @@ def __init__( read: Read view. write: Write view. notify: Notify view. - _custom_data: _custom_data """ @@ -13466,7 +12378,6 @@ class Traps(EosCliConfigGen.SnmpServer.Traps): "views": {"type": Views}, "groups": {"type": Groups}, "traps": {"type": Traps}, - "_custom_data": {"type": dict}, } contact: str | None """SNMP contact.""" @@ -13551,7 +12462,6 @@ class Traps(EosCliConfigGen.SnmpServer.Traps): """Subclass of AvdList with `GroupsItem` items.""" traps: Traps """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -13574,7 +12484,6 @@ def __init__( views: Views | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, traps: Traps | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SnmpSettings. @@ -13634,7 +12543,6 @@ def __init__( views: Subclass of AvdList with `ViewsItem` items. groups: Subclass of AvdList with `GroupsItem` items. traps: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -13644,11 +12552,7 @@ class SourceInterfaces(AvdModel): class DomainLookup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure an IP Domain Lookup source-interface with the interface set by `mgmt_interface` for the @@ -13667,17 +12571,10 @@ class DomainLookup(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ DomainLookup. @@ -13695,18 +12592,13 @@ def __init__( the VRF set by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ class HttpClient(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure an IP HTTP Client source-interface with the interface set by `mgmt_interface` for the VRF @@ -13725,17 +12617,10 @@ class HttpClient(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ HttpClient. @@ -13753,18 +12638,13 @@ def __init__( the VRF set by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ class Radius(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure an IP Radius source-interface with the interface set by `mgmt_interface` for the VRF set @@ -13783,17 +12663,10 @@ class Radius(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ Radius. @@ -13811,18 +12684,13 @@ def __init__( VRF set by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ class Snmp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure a SNMP local-interface with the interface set by `mgmt_interface` for the VRF set by @@ -13841,17 +12709,10 @@ class Snmp(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ Snmp. @@ -13869,18 +12730,13 @@ def __init__( by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ class SshClient(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure an IP SSH Client source-interface with the interface set by `mgmt_interface` for the VRF @@ -13899,17 +12755,10 @@ class SshClient(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ SshClient. @@ -13927,18 +12776,13 @@ def __init__( the VRF set by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ class Tacacs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "mgmt_interface": {"type": bool, "default": False}, - "inband_mgmt_interface": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mgmt_interface": {"type": bool, "default": False}, "inband_mgmt_interface": {"type": bool, "default": False}} mgmt_interface: bool """ Configure an IP Tacacs source-interface with the interface set by `mgmt_interface` for the VRF set @@ -13957,17 +12801,10 @@ class Tacacs(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - mgmt_interface: bool | UndefinedType = Undefined, - inband_mgmt_interface: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, mgmt_interface: bool | UndefinedType = Undefined, inband_mgmt_interface: bool | UndefinedType = Undefined) -> None: """ Tacacs. @@ -13985,7 +12822,6 @@ def __init__( VRF set by `inband_mgmt_vrf`. `inband_mgmt_interface` is typically a loopback or SVI interface, and can be set under the node settings. - _custom_data: _custom_data """ @@ -13996,7 +12832,6 @@ def __init__( "snmp": {"type": Snmp}, "ssh_client": {"type": SshClient}, "tacacs": {"type": Tacacs}, - "_custom_data": {"type": dict}, } domain_lookup: DomainLookup """ @@ -14034,7 +12869,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14047,7 +12881,6 @@ def __init__( snmp: Snmp | UndefinedType = Undefined, ssh_client: SshClient | UndefinedType = Undefined, tacacs: Tacacs | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourceInterfaces. @@ -14080,7 +12913,6 @@ def __init__( IP Tacacs source-interfaces. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -14113,19 +12945,13 @@ class Ipv6VirtualRouterAddresses(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ip_helper": {"type": str}, - "source_interface": {"type": str}, - "source_vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "source_vrf": {"type": str}} ip_helper: str """IPv4 DHCP server IP.""" source_interface: str | None """Interface name to originate DHCP relay packets to DHCP server.""" source_vrf: str | None """VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14135,7 +12961,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, source_vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -14147,7 +12972,6 @@ def __init__( ip_helper: IPv4 DHCP server IP. source_interface: Interface name to originate DHCP relay packets to DHCP server. source_vrf: VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI. - _custom_data: _custom_data """ @@ -14166,7 +12990,7 @@ class TrunkGroups(AvdList[str]): class EvpnL2Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} enabled: bool | None always_redistribute_igmp: bool | None """ @@ -14180,16 +13004,11 @@ class EvpnL2Multicast(AvdModel): but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - always_redistribute_igmp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, always_redistribute_igmp: bool | None | UndefinedType = Undefined ) -> None: """ EvpnL2Multicast. @@ -14209,20 +13028,18 @@ def __init__( additional control-plane and data-plane resources, but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. - _custom_data: _custom_data """ class EvpnL3Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EvpnL3Multicast. @@ -14231,20 +13048,13 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ Args: enabled: enabled - _custom_data: _custom_data """ class IgmpSnoopingQuerier(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "source_address": {"type": str}, - "version": {"type": int}, - "fast_leave": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "source_address": {"type": str}, "version": {"type": int}, "fast_leave": {"type": bool}} enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" source_address: str | None @@ -14256,7 +13066,6 @@ class IgmpSnoopingQuerier(AvdModel): """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" fast_leave: bool | None """Enable IGMP snooping fast-leave feature.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14267,7 +13076,6 @@ def __init__( source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -14282,7 +13090,6 @@ def __init__( If not set, IP address of "Loopback0" will be used. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). fast_leave: Enable IGMP snooping fast-leave feature. - _custom_data: _custom_data """ @@ -14292,18 +13099,12 @@ class Ospf(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int | None hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" key: str | None """Type 7 encrypted key.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14313,7 +13114,6 @@ def __init__( id: int | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -14325,7 +13125,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Type 7 encrypted key. - _custom_data: _custom_data """ @@ -14342,7 +13141,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): "authentication": {"type": str}, "simple_auth_key": {"type": str}, "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, } enabled: bool | None point_to_point: bool @@ -14360,7 +13158,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): """Password used with simple authentication.""" message_digest_keys: MessageDigestKeys """Subclass of AvdList with `MessageDigestKeysItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14374,7 +13171,6 @@ def __init__( authentication: Literal["simple", "message-digest"] | None | UndefinedType = Undefined, simple_auth_key: str | None | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -14390,7 +13186,6 @@ def __init__( authentication: authentication simple_auth_key: Password used with simple authentication. message_digest_keys: Subclass of AvdList with `MessageDigestKeysItem` items. - _custom_data: _custom_data """ @@ -14400,7 +13195,7 @@ class Bgp(AvdModel): class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} structured_config: StructuredConfig """ Structured configuration and EOS CLI commands rendered on router_bgp.vlans.[id=]. @@ -14412,16 +13207,11 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """ raw_eos_cli: str | None """EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - structured_config: StructuredConfig | UndefinedType = Undefined, - raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined ) -> None: """ Bgp. @@ -14438,7 +13228,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -14477,7 +13266,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, "evpn_l2_multi_domain": {"type": bool}, - "_custom_data": {"type": dict}, } node: str """Node inventory hostname.""" @@ -14659,7 +13447,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14697,7 +13484,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, evpn_l2_multi_domain: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -14834,7 +13620,6 @@ def __init__( Not supported in conjunction with EVPN vlan aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. - _custom_data: _custom_data """ @@ -14868,19 +13653,13 @@ class Ipv6VirtualRouterAddresses(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ip_helper": {"type": str}, - "source_interface": {"type": str}, - "source_vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "source_vrf": {"type": str}} ip_helper: str """IPv4 DHCP server IP.""" source_interface: str | None """Interface name to originate DHCP relay packets to DHCP server.""" source_vrf: str | None """VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -14890,7 +13669,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, source_vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -14902,7 +13680,6 @@ def __init__( ip_helper: IPv4 DHCP server IP. source_interface: Interface name to originate DHCP relay packets to DHCP server. source_vrf: VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI. - _custom_data: _custom_data """ @@ -14921,7 +13698,7 @@ class TrunkGroups(AvdList[str]): class EvpnL2Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} enabled: bool | None always_redistribute_igmp: bool | None """ @@ -14935,16 +13712,11 @@ class EvpnL2Multicast(AvdModel): but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - always_redistribute_igmp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, always_redistribute_igmp: bool | None | UndefinedType = Undefined ) -> None: """ EvpnL2Multicast. @@ -14964,20 +13736,18 @@ def __init__( additional control-plane and data-plane resources, but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. - _custom_data: _custom_data """ class EvpnL3Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EvpnL3Multicast. @@ -14986,20 +13756,13 @@ def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, _custom_ Args: enabled: enabled - _custom_data: _custom_data """ class IgmpSnoopingQuerier(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "source_address": {"type": str}, - "version": {"type": int}, - "fast_leave": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "source_address": {"type": str}, "version": {"type": int}, "fast_leave": {"type": bool}} enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" source_address: str | None @@ -15011,7 +13774,6 @@ class IgmpSnoopingQuerier(AvdModel): """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" fast_leave: bool | None """Enable IGMP snooping fast-leave feature.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15022,7 +13784,6 @@ def __init__( source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -15037,7 +13798,6 @@ def __init__( If not set, IP address of "Loopback0" will be used. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). fast_leave: Enable IGMP snooping fast-leave feature. - _custom_data: _custom_data """ @@ -15047,18 +13807,12 @@ class Ospf(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int | None hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" key: str | None """Type 7 encrypted key.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15068,7 +13822,6 @@ def __init__( id: int | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -15080,7 +13833,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Type 7 encrypted key. - _custom_data: _custom_data """ @@ -15097,7 +13849,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): "authentication": {"type": str}, "simple_auth_key": {"type": str}, "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, } enabled: bool | None point_to_point: bool @@ -15115,7 +13866,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): """Password used with simple authentication.""" message_digest_keys: MessageDigestKeys """Subclass of AvdList with `MessageDigestKeysItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15129,7 +13879,6 @@ def __init__( authentication: Literal["simple", "message-digest"] | None | UndefinedType = Undefined, simple_auth_key: str | None | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -15145,7 +13894,6 @@ def __init__( authentication: authentication simple_auth_key: Password used with simple authentication. message_digest_keys: Subclass of AvdList with `MessageDigestKeysItem` items. - _custom_data: _custom_data """ @@ -15155,7 +13903,7 @@ class Bgp(AvdModel): class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} structured_config: StructuredConfig """ Structured configuration and EOS CLI commands rendered on router_bgp.vlans.[id=]. @@ -15167,16 +13915,11 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """ raw_eos_cli: str | None """EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - structured_config: StructuredConfig | UndefinedType = Undefined, - raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined ) -> None: """ Bgp. @@ -15193,7 +13936,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -15234,7 +13976,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, "evpn_l2_multi_domain": {"type": bool}, - "_custom_data": {"type": dict}, } profile: str """Profile name.""" @@ -15432,7 +14173,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15472,7 +14212,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, evpn_l2_multi_domain: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SviProfilesItem. @@ -15621,7 +14360,6 @@ def __init__( Not supported in conjunction with EVPN vlan aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. - _custom_data: _custom_data """ @@ -15638,14 +14376,13 @@ class TrunkGroups(AvdModel): class Mlag(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str, "default": "MLAG"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str, "default": "MLAG"}} name: str """Default value: `"MLAG"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ Mlag. @@ -15654,21 +14391,19 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ class MlagL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str, "default": "MLAG"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str, "default": "MLAG"}} name: str """Default value: `"MLAG"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ MlagL3. @@ -15677,21 +14412,19 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ class Uplink(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str, "default": "UPLINK"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str, "default": "UPLINK"}} name: str """Default value: `"UPLINK"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined) -> None: """ Uplink. @@ -15700,11 +14433,10 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Args: name: name - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"mlag": {"type": Mlag}, "mlag_l3": {"type": MlagL3}, "uplink": {"type": Uplink}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mlag": {"type": Mlag}, "mlag_l3": {"type": MlagL3}, "uplink": {"type": Uplink}} mlag: Mlag """ Trunk Group used for MLAG VLAN (Typically VLAN 4094). @@ -15724,17 +14456,11 @@ def __init__(self, *, name: str | UndefinedType = Undefined, _custom_data: dict[ Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mlag: Mlag | UndefinedType = Undefined, - mlag_l3: MlagL3 | UndefinedType = Undefined, - uplink: Uplink | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mlag: Mlag | UndefinedType = Undefined, mlag_l3: MlagL3 | UndefinedType = Undefined, uplink: Uplink | UndefinedType = Undefined ) -> None: """ TrunkGroups. @@ -15756,21 +14482,19 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ class UnderlayMulticastAnycastRp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str, "default": "pim"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str, "default": "pim"}} mode: Literal["pim", "msdp"] """Default value: `"pim"`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, mode: Literal["pim", "msdp"] | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, mode: Literal["pim", "msdp"] | UndefinedType = Undefined) -> None: """ UnderlayMulticastAnycastRp. @@ -15779,7 +14503,6 @@ def __init__(self, *, mode: Literal["pim", "msdp"] | UndefinedType = Undefined, Args: mode: mode - _custom_data: _custom_data """ @@ -15789,12 +14512,7 @@ class UnderlayMulticastRpsItem(AvdModel): class NodesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "loopback_number": {"type": int}, - "description": {"type": str, "default": "PIM RP"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "loopback_number": {"type": int}, "description": {"type": str, "default": "PIM RP"}} name: str """Hostname.""" loopback_number: int @@ -15804,7 +14522,6 @@ class NodesItem(AvdModel): Default value: `"PIM RP"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15814,7 +14531,6 @@ def __init__( name: str | UndefinedType = Undefined, loopback_number: int | UndefinedType = Undefined, description: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -15826,7 +14542,6 @@ def __init__( name: Hostname. loopback_number: loopback_number description: Interface description. - _custom_data: _custom_data """ @@ -15842,13 +14557,7 @@ class Groups(AvdList[str]): Groups._item_type = str - _fields: ClassVar[dict] = { - "rp": {"type": str}, - "nodes": {"type": Nodes}, - "groups": {"type": Groups}, - "access_list_name": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"rp": {"type": str}, "nodes": {"type": Nodes}, "groups": {"type": Groups}, "access_list_name": {"type": str}} rp: str """RP IPv4 address.""" nodes: Nodes @@ -15872,7 +14581,6 @@ class Groups(AvdList[str]): """ access_list_name: str | None """Name of standard Access-List.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15883,7 +14591,6 @@ def __init__( nodes: Nodes | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, access_list_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ UnderlayMulticastRpsItem. @@ -15909,7 +14616,6 @@ def __init__( Subclass of AvdList with `str` items. access_list_name: Name of standard Access-List. - _custom_data: _custom_data """ @@ -15926,12 +14632,7 @@ class UnderlayOspfAuthentication(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" @@ -15943,7 +14644,6 @@ class MessageDigestKeysItem(AvdModel): To protect the password at rest it is strongly recommended to make use of Ansible Vault or similar. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -15953,7 +14653,6 @@ def __init__( id: int | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -15970,7 +14669,6 @@ def __init__( for each individual underlay interface. To protect the password at rest it is strongly recommended to make use of Ansible Vault or similar. - _custom_data: _custom_data """ @@ -15981,26 +14679,15 @@ class MessageDigestKeys(AvdIndexedList[int, MessageDigestKeysItem]): MessageDigestKeys._item_type = MessageDigestKeysItem - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "message_digest_keys": {"type": MessageDigestKeys}} enabled: bool """Default value: `False`""" message_digest_keys: MessageDigestKeys """Subclass of AvdIndexedList with `MessageDigestKeysItem` items. Primary key is `id` (`int`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined) -> None: """ UnderlayOspfAuthentication. @@ -16010,7 +14697,6 @@ def __init__( Args: enabled: enabled message_digest_keys: Subclass of AvdIndexedList with `MessageDigestKeysItem` items. Primary key is `id` (`int`). - _custom_data: _custom_data """ @@ -16020,14 +14706,13 @@ class UnsupportedTransceiver(EosCliConfigGen.ServiceUnsupportedTransceiver): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -16036,7 +14721,6 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ @@ -16048,7 +14732,6 @@ class WanCarriersItem(AvdModel): "description": {"type": str}, "path_group": {"type": str}, "trusted": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } name: str """Carrier name.""" @@ -16064,7 +14747,6 @@ class WanCarriersItem(AvdModel): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16075,7 +14757,6 @@ def __init__( description: str | None | UndefinedType = Undefined, path_group: str | UndefinedType = Undefined, trusted: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanCarriersItem. @@ -16091,7 +14772,6 @@ def __init__( Set this to `true` to mark this carrier as "trusted". WAN interfaces require an inbound access-list to be set unless the carrier is "trusted". - _custom_data: _custom_data """ @@ -16105,7 +14785,7 @@ class WanCarriers(AvdIndexedList[str, WanCarriersItem]): class WanHa(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"lan_ha_path_group_name": {"type": str, "default": "LAN_HA"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"lan_ha_path_group_name": {"type": str, "default": "LAN_HA"}} lan_ha_path_group_name: str """ When WAN HA is enabled for a site if `wan_mode: cv-pathfinder`, a default path-group is injected to @@ -16114,11 +14794,10 @@ class WanHa(AvdModel): Default value: `"LAN_HA"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, lan_ha_path_group_name: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, lan_ha_path_group_name: str | UndefinedType = Undefined) -> None: """ WanHa. @@ -16130,7 +14809,6 @@ def __init__(self, *, lan_ha_path_group_name: str | UndefinedType = Undefined, _ When WAN HA is enabled for a site if `wan_mode: cv-pathfinder`, a default path-group is injected to form DPS tunnels over LAN. This key allows to overwrite the default LAN HA path-group name. - _custom_data: _custom_data """ @@ -16145,7 +14823,6 @@ class ControlPlane(AvdModel): "sa_policy_name": {"type": str, "default": "CP-SA-POLICY"}, "profile_name": {"type": str, "default": "CP-PROFILE"}, "shared_key": {"type": str}, - "_custom_data": {"type": dict}, } ike_policy_name: str """ @@ -16171,7 +14848,6 @@ class ControlPlane(AvdModel): This variable is sensitive and SHOULD be configured using some vault mechanism. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16182,7 +14858,6 @@ def __init__( sa_policy_name: str | UndefinedType = Undefined, profile_name: str | UndefinedType = Undefined, shared_key: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ControlPlane. @@ -16198,7 +14873,6 @@ def __init__( The IPSec shared key. This variable is sensitive and SHOULD be configured using some vault mechanism. - _custom_data: _custom_data """ @@ -16210,7 +14884,6 @@ class DataPlane(AvdModel): "sa_policy_name": {"type": str, "default": "DP-SA-POLICY"}, "profile_name": {"type": str, "default": "DP-PROFILE"}, "shared_key": {"type": str}, - "_custom_data": {"type": dict}, } ike_policy_name: str """ @@ -16236,7 +14909,6 @@ class DataPlane(AvdModel): This variable is sensitive and should be configured using some vault mechanism. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16247,7 +14919,6 @@ def __init__( sa_policy_name: str | UndefinedType = Undefined, profile_name: str | UndefinedType = Undefined, shared_key: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DataPlane. @@ -16263,11 +14934,10 @@ def __init__( The type 7 encrypted IPSec shared key. This variable is sensitive and should be configured using some vault mechanism. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"control_plane": {"type": ControlPlane}, "data_plane": {"type": DataPlane}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"control_plane": {"type": ControlPlane}, "data_plane": {"type": DataPlane}} control_plane: ControlPlane """Subclass of AvdModel.""" data_plane: DataPlane @@ -16276,17 +14946,10 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - control_plane: ControlPlane | UndefinedType = Undefined, - data_plane: DataPlane | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, control_plane: ControlPlane | UndefinedType = Undefined, data_plane: DataPlane | UndefinedType = Undefined) -> None: """ WanIpsecProfiles. @@ -16299,7 +14962,6 @@ def __init__( If `data_plane` is not defined, `control_plane` information is used for both. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -16309,11 +14971,7 @@ class WanPathGroupsItem(AvdModel): class Ipsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "dynamic_peers": {"type": bool, "default": True}, - "static_peers": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"dynamic_peers": {"type": bool, "default": True}, "static_peers": {"type": bool, "default": True}} dynamic_peers: bool """ Enable IPSec for dynamic peers. @@ -16326,17 +14984,10 @@ class Ipsec(AvdModel): Default value: `True` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - dynamic_peers: bool | UndefinedType = Undefined, - static_peers: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, dynamic_peers: bool | UndefinedType = Undefined, static_peers: bool | UndefinedType = Undefined) -> None: """ Ipsec. @@ -16346,29 +14997,21 @@ def __init__( Args: dynamic_peers: Enable IPSec for dynamic peers. static_peers: Enable IPSec for static peers. - _custom_data: _custom_data """ class ImportPathGroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"remote": {"type": str}, "local": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"remote": {"type": str}, "local": {"type": str}} remote: str | None """Remote path-group to import.""" local: str | None """Optional, if not set, the path-group `name` is used as local.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - remote: str | None | UndefinedType = Undefined, - local: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, remote: str | None | UndefinedType = Undefined, local: str | None | UndefinedType = Undefined) -> None: """ ImportPathGroupsItem. @@ -16378,7 +15021,6 @@ def __init__( Args: remote: Remote path-group to import. local: Optional, if not set, the path-group `name` is used as local. - _custom_data: _custom_data """ @@ -16390,7 +15032,7 @@ class ImportPathGroups(AvdList[ImportPathGroupsItem]): class DpsKeepalive(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"interval": {"type": str}, "failure_threshold": {"type": int, "default": 5}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"interval": {"type": str}, "failure_threshold": {"type": int, "default": 5}} interval: str | None """ Interval in milliseconds. Valid values are 50-60000 | "auto". @@ -16405,17 +15047,10 @@ class DpsKeepalive(AvdModel): Default value: `5` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - interval: str | None | UndefinedType = Undefined, - failure_threshold: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, interval: str | None | UndefinedType = Undefined, failure_threshold: int | UndefinedType = Undefined) -> None: """ DpsKeepalive. @@ -16430,7 +15065,6 @@ def __init__( failure_threshold are automatically determined based on path state. failure_threshold: Failure threshold in number of lost keep-alive messages. - _custom_data: _custom_data """ @@ -16443,7 +15077,6 @@ def __init__( "default_preference": {"type": str, "default": "preferred"}, "excluded_from_default_policy": {"type": bool, "default": False}, "dps_keepalive": {"type": DpsKeepalive}, - "_custom_data": {"type": dict}, } name: str """Path-group name.""" @@ -16495,7 +15128,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16510,7 +15142,6 @@ def __init__( default_preference: str | UndefinedType = Undefined, excluded_from_default_policy: bool | UndefinedType = Undefined, dps_keepalive: DpsKeepalive | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanPathGroupsItem. @@ -16550,7 +15181,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -16570,22 +15200,15 @@ class PathGroupsItem(AvdModel): class InterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "public_ip": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "public_ip": {"type": str}} name: str """Interface name.""" public_ip: str | None """The public IPv4 address (without mask) of the Route Reflector for this path-group.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - public_ip: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, public_ip: str | None | UndefinedType = Undefined) -> None: """ InterfacesItem. @@ -16595,7 +15218,6 @@ def __init__( Args: name: Interface name. public_ip: The public IPv4 address (without mask) of the Route Reflector for this path-group. - _custom_data: _custom_data """ @@ -16606,22 +15228,15 @@ class Interfaces(AvdIndexedList[str, InterfacesItem]): Interfaces._item_type = InterfacesItem - _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": Interfaces}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "interfaces": {"type": Interfaces}} name: str """Path-group name.""" interfaces: Interfaces """Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - name: str | UndefinedType = Undefined, - interfaces: Interfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined) -> None: """ PathGroupsItem. @@ -16631,7 +15246,6 @@ def __init__( Args: name: Path-group name. interfaces: Subclass of AvdIndexedList with `InterfacesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -16642,7 +15256,7 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): PathGroups._item_type = PathGroupsItem - _fields: ClassVar[dict] = {"hostname": {"type": str}, "vtep_ip": {"type": str}, "path_groups": {"type": PathGroups}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"hostname": {"type": str}, "vtep_ip": {"type": str}, "path_groups": {"type": PathGroups}} hostname: str """Route-Reflector hostname.""" vtep_ip: str | None @@ -16654,7 +15268,6 @@ class PathGroups(AvdIndexedList[str, PathGroupsItem]): Subclass of AvdIndexedList with `PathGroupsItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16664,7 +15277,6 @@ def __init__( hostname: str | UndefinedType = Undefined, vtep_ip: str | None | UndefinedType = Undefined, path_groups: PathGroups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanRouteServersItem. @@ -16680,7 +15292,6 @@ def __init__( Subclass of AvdIndexedList with `PathGroupsItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -16697,12 +15308,7 @@ class WanVirtualTopologies(AvdModel): class VrfsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "policy": {"type": str, "default": "DEFAULT-POLICY"}, - "wan_vni": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "policy": {"type": str, "default": "DEFAULT-POLICY"}, "wan_vni": {"type": int}} name: str """VRF name.""" policy: str @@ -16731,17 +15337,11 @@ class VrfsItem(AvdModel): In addition either `vrf_id` or `vrf_vni` must be set to enforce consistent route-targets across domains. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - policy: str | UndefinedType = Undefined, - wan_vni: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, policy: str | UndefinedType = Undefined, wan_vni: int | UndefinedType = Undefined ) -> None: """ VrfsItem. @@ -16771,7 +15371,6 @@ def __init__( `wan_vni` set to `1`. In addition either `vrf_id` or `vrf_vni` must be set to enforce consistent route-targets across domains. - _custom_data: _custom_data """ @@ -16788,7 +15387,7 @@ class ControlPlaneVirtualTopology(AvdModel): class Constraints(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" latency: int | None @@ -16798,7 +15397,6 @@ class Constraints(AvdModel): Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16808,7 +15406,6 @@ def __init__( jitter: int | None | UndefinedType = Undefined, latency: int | None | UndefinedType = Undefined, loss_rate: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Constraints. @@ -16822,7 +15419,6 @@ def __init__( loss_rate: Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. - _custom_data: _custom_data """ @@ -16834,7 +15430,7 @@ class Names(AvdList[str]): Names._item_type = str - _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}} names: Names """ List of path-group names. @@ -16851,17 +15447,10 @@ class Names(AvdList[str]): If not set, each path-group in `names` will be attributed its `default_preference`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - names: Names | UndefinedType = Undefined, - preference: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, names: Names | UndefinedType = Undefined, preference: str | None | UndefinedType = Undefined) -> None: """ PathGroupsItem. @@ -16881,7 +15470,6 @@ def __init__( If not set, each path-group in `names` will be attributed its `default_preference`. - _custom_data: _custom_data """ @@ -16893,7 +15481,7 @@ class PathGroups(AvdList[PathGroupsItem]): class InternetExit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policy": {"type": str}} policy: str | None """ PREVIEW: This key is in preview mode. @@ -16902,11 +15490,10 @@ class InternetExit(AvdModel): virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, policy: str | None | UndefinedType = Undefined) -> None: """ InternetExit. @@ -16920,7 +15507,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da Internet-exit policy name associated with this virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. - _custom_data: _custom_data """ @@ -16933,7 +15519,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da "constraints": {"type": Constraints}, "path_groups": {"type": PathGroups}, "internet_exit": {"type": InternetExit}, - "_custom_data": {"type": dict}, } name: str | None """Optional name, if not set `CONTROL-PLANE-PROFILE` is used.""" @@ -16969,7 +15554,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da """Subclass of AvdList with `PathGroupsItem` items.""" internet_exit: InternetExit """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -16984,7 +15568,6 @@ def __init__( constraints: Constraints | UndefinedType = Undefined, path_groups: PathGroups | UndefinedType = Undefined, internet_exit: InternetExit | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ControlPlaneVirtualTopology. @@ -17013,7 +15596,6 @@ def __init__( constraints: Subclass of AvdModel. path_groups: Subclass of AvdList with `PathGroupsItem` items. internet_exit: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17026,7 +15608,7 @@ class ApplicationVirtualTopologiesItem(AvdModel): class Constraints(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" latency: int | None @@ -17036,7 +15618,6 @@ class Constraints(AvdModel): Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17046,7 +15627,6 @@ def __init__( jitter: int | None | UndefinedType = Undefined, latency: int | None | UndefinedType = Undefined, loss_rate: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Constraints. @@ -17060,7 +15640,6 @@ def __init__( loss_rate: Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. - _custom_data: _custom_data """ @@ -17072,7 +15651,7 @@ class Names(AvdList[str]): Names._item_type = str - _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}} names: Names """ List of path-group names. @@ -17089,17 +15668,10 @@ class Names(AvdList[str]): If not set, each path-group in `names` will be attributed its `default_preference`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - names: Names | UndefinedType = Undefined, - preference: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, names: Names | UndefinedType = Undefined, preference: str | None | UndefinedType = Undefined) -> None: """ PathGroupsItem. @@ -17119,7 +15691,6 @@ def __init__( If not set, each path-group in `names` will be attributed its `default_preference`. - _custom_data: _custom_data """ @@ -17131,7 +15702,7 @@ class PathGroups(AvdList[PathGroupsItem]): class InternetExit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policy": {"type": str}} policy: str | None """ PREVIEW: This key is in preview mode. @@ -17140,11 +15711,10 @@ class InternetExit(AvdModel): virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, policy: str | None | UndefinedType = Undefined) -> None: """ InternetExit. @@ -17158,7 +15728,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da Internet-exit policy name associated with this virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. - _custom_data: _custom_data """ @@ -17172,7 +15741,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da "constraints": {"type": Constraints}, "path_groups": {"type": PathGroups}, "internet_exit": {"type": InternetExit}, - "_custom_data": {"type": dict}, } application_profile: str """ @@ -17206,7 +15774,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da """Subclass of AvdList with `PathGroupsItem` items.""" internet_exit: InternetExit """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17222,7 +15789,6 @@ def __init__( constraints: Constraints | UndefinedType = Undefined, path_groups: PathGroups | UndefinedType = Undefined, internet_exit: InternetExit | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ApplicationVirtualTopologiesItem. @@ -17249,7 +15815,6 @@ def __init__( constraints: Subclass of AvdModel. path_groups: Subclass of AvdList with `PathGroupsItem` items. internet_exit: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17269,7 +15834,7 @@ class DefaultVirtualTopology(AvdModel): class Constraints(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"jitter": {"type": int}, "latency": {"type": int}, "loss_rate": {"type": str}} jitter: int | None """Jitter requirement for this load balance policy in milliseconds.""" latency: int | None @@ -17279,7 +15844,6 @@ class Constraints(AvdModel): Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17289,7 +15853,6 @@ def __init__( jitter: int | None | UndefinedType = Undefined, latency: int | None | UndefinedType = Undefined, loss_rate: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Constraints. @@ -17303,7 +15866,6 @@ def __init__( loss_rate: Loss Rate requirement in percentage for this load balance policy. Value between 0.00 and 100.00. - _custom_data: _custom_data """ @@ -17315,7 +15877,7 @@ class Names(AvdList[str]): Names._item_type = str - _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"names": {"type": Names}, "preference": {"type": str}} names: Names """ List of path-group names. @@ -17332,17 +15894,10 @@ class Names(AvdList[str]): If not set, each path-group in `names` will be attributed its `default_preference`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - names: Names | UndefinedType = Undefined, - preference: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, names: Names | UndefinedType = Undefined, preference: str | None | UndefinedType = Undefined) -> None: """ PathGroupsItem. @@ -17362,7 +15917,6 @@ def __init__( If not set, each path-group in `names` will be attributed its `default_preference`. - _custom_data: _custom_data """ @@ -17374,7 +15928,7 @@ class PathGroups(AvdList[PathGroupsItem]): class InternetExit(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"policy": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policy": {"type": str}} policy: str | None """ PREVIEW: This key is in preview mode. @@ -17383,11 +15937,10 @@ class InternetExit(AvdModel): virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, policy: str | None | UndefinedType = Undefined) -> None: """ InternetExit. @@ -17401,7 +15954,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da Internet-exit policy name associated with this virtual_topology. The policy must be defined under `cv_pathfinder_internet_exit_policies`. - _custom_data: _custom_data """ @@ -17414,7 +15966,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da "constraints": {"type": Constraints}, "path_groups": {"type": PathGroups}, "internet_exit": {"type": InternetExit}, - "_custom_data": {"type": dict}, } name: str | None """Optional name, if not set `-DEFAULT` is used.""" @@ -17441,7 +15992,6 @@ def __init__(self, *, policy: str | None | UndefinedType = Undefined, _custom_da """Subclass of AvdList with `PathGroupsItem` items.""" internet_exit: InternetExit """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17456,7 +16006,6 @@ def __init__( constraints: Constraints | UndefinedType = Undefined, path_groups: PathGroups | UndefinedType = Undefined, internet_exit: InternetExit | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultVirtualTopology. @@ -17475,7 +16024,6 @@ def __init__( constraints: Subclass of AvdModel. path_groups: Subclass of AvdList with `PathGroupsItem` items. internet_exit: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17483,7 +16031,6 @@ def __init__( "name": {"type": str}, "application_virtual_topologies": {"type": ApplicationVirtualTopologies}, "default_virtual_topology": {"type": DefaultVirtualTopology}, - "_custom_data": {"type": dict}, } name: str """Name of the AVT policy.""" @@ -17502,7 +16049,6 @@ def __init__( Otherwise, in CV Pathfinder mode, a default AVT profile will be configured with ID 1. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17512,7 +16058,6 @@ def __init__( name: str | UndefinedType = Undefined, application_virtual_topologies: ApplicationVirtualTopologies | UndefinedType = Undefined, default_virtual_topology: DefaultVirtualTopology | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PoliciesItem. @@ -17533,7 +16078,6 @@ def __init__( `true`. Otherwise, in CV Pathfinder mode, a default AVT profile will be configured with ID 1. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -17548,7 +16092,6 @@ class Policies(AvdIndexedList[str, PoliciesItem]): "vrfs": {"type": Vrfs}, "control_plane_virtual_topology": {"type": ControlPlaneVirtualTopology}, "policies": {"type": Policies}, - "_custom_data": {"type": dict}, } vrfs: Vrfs """ @@ -17611,7 +16154,6 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17621,7 +16163,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, control_plane_virtual_topology: ControlPlaneVirtualTopology | UndefinedType = Undefined, policies: Policies | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanVirtualTopologies. @@ -17685,7 +16226,6 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -17703,7 +16243,6 @@ class Primary(AvdModel): "region": {"type": str}, "latitude": {"type": str}, "longitude": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str datacenter: str @@ -17712,7 +16251,6 @@ class Primary(AvdModel): region: str latitude: str longitude: str - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17726,7 +16264,6 @@ def __init__( region: str | UndefinedType = Undefined, latitude: str | UndefinedType = Undefined, longitude: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Primary. @@ -17742,7 +16279,6 @@ def __init__( region: region latitude: latitude longitude: longitude - _custom_data: _custom_data """ @@ -17757,7 +16293,6 @@ class Secondary(AvdModel): "region": {"type": str}, "latitude": {"type": str}, "longitude": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str datacenter: str @@ -17766,7 +16301,6 @@ class Secondary(AvdModel): region: str latitude: str longitude: str - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17780,7 +16314,6 @@ def __init__( region: str | UndefinedType = Undefined, latitude: str | UndefinedType = Undefined, longitude: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Secondary. @@ -17796,7 +16329,6 @@ def __init__( region: region latitude: latitude longitude: longitude - _custom_data: _custom_data """ @@ -17811,7 +16343,6 @@ class Tertiary(AvdModel): "region": {"type": str}, "latitude": {"type": str}, "longitude": {"type": str}, - "_custom_data": {"type": dict}, } ip_address: str datacenter: str @@ -17820,7 +16351,6 @@ class Tertiary(AvdModel): region: str latitude: str longitude: str - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17834,7 +16364,6 @@ def __init__( region: str | UndefinedType = Undefined, latitude: str | UndefinedType = Undefined, longitude: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Tertiary. @@ -17850,27 +16379,19 @@ def __init__( region: region latitude: latitude longitude: longitude - _custom_data: _custom_data """ class DeviceLocation(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"city": {"type": str}, "country": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"city": {"type": str}, "country": {"type": str}} city: str country: str - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - city: str | UndefinedType = Undefined, - country: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, city: str | UndefinedType = Undefined, country: str | UndefinedType = Undefined) -> None: """ DeviceLocation. @@ -17880,7 +16401,6 @@ def __init__( Args: city: city country: country - _custom_data: _custom_data """ @@ -17890,7 +16410,6 @@ def __init__( "tertiary": {"type": Tertiary}, "cloud_name": {"type": str}, "device_location": {"type": DeviceLocation}, - "_custom_data": {"type": dict}, } primary: Primary """Subclass of AvdModel.""" @@ -17910,7 +16429,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -17922,7 +16440,6 @@ def __init__( tertiary: Tertiary | UndefinedType = Undefined, cloud_name: str | UndefinedType = Undefined, device_location: DeviceLocation | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ZscalerEndpoints. @@ -17942,7 +16459,6 @@ def __init__( since Zscaler only accepts their own variants of City and Country. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18016,7 +16532,6 @@ class Ptp(AvdModel): "enabled": {"type": bool, "default": False}, "endpoint_role": {"type": str, "default": "follower"}, "profile": {"type": str, "default": "aes67-r16-2016"}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -18041,7 +16556,6 @@ class Ptp(AvdModel): Default value: `"aes67-r16-2016"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18051,7 +16565,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, endpoint_role: Literal["follower", "dynamic", "bmca", "default"] | UndefinedType = Undefined, profile: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -18074,28 +16587,20 @@ def __init__( - "aes67" - "aes67-r16-2016" - "smpte2059-2" - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -18105,14 +16610,13 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ class LinkTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """ @@ -18122,17 +16626,10 @@ class LinkTracking(AvdModel): Optional if default link_tracking settings are configured on the node. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -18147,7 +16644,6 @@ def __init__( `link_tracking.groups[0].name` with default value being "LT_GROUP1". Optional if default link_tracking settings are configured on the node. - _custom_data: _custom_data """ @@ -18163,7 +16659,7 @@ class StormControl(AvdModel): class All(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -18172,16 +16668,11 @@ class All(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined ) -> None: """ All. @@ -18192,14 +16683,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Broadcast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -18208,16 +16698,11 @@ class Broadcast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined ) -> None: """ Broadcast. @@ -18228,14 +16713,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -18244,16 +16728,11 @@ class Multicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined ) -> None: """ Multicast. @@ -18264,14 +16743,13 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ class UnknownUnicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"level": {"type": str}, "unit": {"type": str, "default": "percent"}} level: str | None """Configure maximum storm-control level.""" unit: Literal["percent", "pps"] @@ -18280,16 +16758,11 @@ class UnknownUnicast(AvdModel): Default value: `"percent"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - level: str | None | UndefinedType = Undefined, - unit: Literal["percent", "pps"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, level: str | None | UndefinedType = Undefined, unit: Literal["percent", "pps"] | UndefinedType = Undefined ) -> None: """ UnknownUnicast. @@ -18300,7 +16773,6 @@ def __init__( Args: level: Configure maximum storm-control level. unit: Optional variable and is hardware dependent. - _custom_data: _custom_data """ @@ -18309,7 +16781,6 @@ def __init__( "broadcast": {"type": Broadcast}, "multicast": {"type": Multicast}, "unknown_unicast": {"type": UnknownUnicast}, - "_custom_data": {"type": dict}, } all: All """Subclass of AvdModel.""" @@ -18319,7 +16790,6 @@ def __init__( """Subclass of AvdModel.""" unknown_unicast: UnknownUnicast """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18330,7 +16800,6 @@ def __init__( broadcast: Broadcast | UndefinedType = Undefined, multicast: Multicast | UndefinedType = Undefined, unknown_unicast: UnknownUnicast | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StormControl. @@ -18343,7 +16812,6 @@ def __init__( broadcast: Subclass of AvdModel. multicast: Subclass of AvdModel. unknown_unicast: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18356,17 +16824,11 @@ class SourceSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "type": {"type": str}, - "name": {"type": str}, - "priority": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "priority": {"type": int}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" priority: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18376,7 +16838,6 @@ def __init__( type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, priority: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessGroup. @@ -18388,11 +16849,10 @@ def __init__( type: type name: ACL name. priority: priority - _custom_data: _custom_data """ - _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"direction": {"type": str}, "access_group": {"type": AccessGroup}} direction: Literal["rx", "tx", "both"] | None access_group: AccessGroup """ @@ -18400,7 +16860,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18409,7 +16868,6 @@ def __init__( *, direction: Literal["rx", "tx", "both"] | None | UndefinedType = Undefined, access_group: AccessGroup | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SourceSettings. @@ -18423,7 +16881,6 @@ def __init__( This can only be set when `session_settings.access_group` is not set. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18433,11 +16890,10 @@ class SessionSettings(AvdModel): class AccessGroup(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"type": {"type": str}, "name": {"type": str}} type: Literal["ip", "ipv6", "mac"] | None name: str | None """ACL name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18446,7 +16902,6 @@ def __init__( *, type: Literal["ip", "ipv6", "mac"] | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AccessGroup. @@ -18457,27 +16912,21 @@ def __init__( Args: type: type name: ACL name. - _custom_data: _custom_data """ class Truncate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "size": {"type": int}} enabled: bool | None size: int | None """Size in bytes.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - size: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, size: int | None | UndefinedType = Undefined ) -> None: """ Truncate. @@ -18488,7 +16937,6 @@ def __init__( Args: enabled: enabled size: Size in bytes. - _custom_data: _custom_data """ @@ -18500,7 +16948,6 @@ def __init__( "rate_limit_per_egress_chip": {"type": str}, "sample": {"type": int}, "truncate": {"type": Truncate}, - "_custom_data": {"type": dict}, } encapsulation_gre_metadata_tx: bool | None header_remove_size: int | None @@ -18526,7 +16973,6 @@ def __init__( sample: int | None truncate: Truncate """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18540,7 +16986,6 @@ def __init__( rate_limit_per_egress_chip: str | None | UndefinedType = Undefined, sample: int | None | UndefinedType = Undefined, truncate: Truncate | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SessionSettings. @@ -18566,7 +17011,6 @@ def __init__( "10 mbps" sample: sample truncate: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18575,7 +17019,6 @@ def __init__( "role": {"type": str}, "source_settings": {"type": SourceSettings}, "session_settings": {"type": SessionSettings}, - "_custom_data": {"type": dict}, } name: str """Session name.""" @@ -18591,7 +17034,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18602,7 +17044,6 @@ def __init__( role: Literal["source", "destination"] | None | UndefinedType = Undefined, source_settings: SourceSettings | UndefinedType = Undefined, session_settings: SessionSettings | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MonitorSessionsItem. @@ -18621,7 +17062,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18644,7 +17084,6 @@ class DesignatedForwarderPreferences(AvdList[int]): "designated_forwarder_algorithm": {"type": str}, "designated_forwarder_preferences": {"type": DesignatedForwarderPreferences}, "dont_preempt": {"type": bool}, - "_custom_data": {"type": dict}, } short_esi: str """ @@ -18684,7 +17123,6 @@ class DesignatedForwarderPreferences(AvdList[int]): """ dont_preempt: bool | None """Disable preemption for single-active forwarding when auto/manual DF preference is configured.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18696,7 +17134,6 @@ def __init__( designated_forwarder_algorithm: Literal["auto", "modulus", "preference"] | None | UndefinedType = Undefined, designated_forwarder_preferences: DesignatedForwarderPreferences | UndefinedType = Undefined, dont_preempt: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EthernetSegment. @@ -18734,7 +17171,6 @@ def __init__( Subclass of AvdList with `int` items. dont_preempt: Disable preemption for single-active forwarding when auto/manual DF preference is configured. - _custom_data: _custom_data """ @@ -18747,16 +17183,13 @@ class LacpFallback(AvdModel): class Individual(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None """Port-profile name to inherit configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ Individual. @@ -18765,16 +17198,10 @@ def __init__( Args: profile: Port-profile name to inherit configuration. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "mode": {"type": str}, - "individual": {"type": Individual}, - "timeout": {"type": int, "default": 90}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"mode": {"type": str}, "individual": {"type": Individual}, "timeout": {"type": int, "default": 90}} mode: Literal["static", "individual"] | None """ Either static or individual mode is supported. @@ -18794,7 +17221,6 @@ def __init__( Default value: `90` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18804,7 +17230,6 @@ def __init__( mode: Literal["static", "individual"] | None | UndefinedType = Undefined, individual: Individual | UndefinedType = Undefined, timeout: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpFallback. @@ -18823,19 +17248,17 @@ def __init__( Subclass of AvdModel. timeout: Timeout in seconds. - _custom_data: _custom_data """ class LacpTimer(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "multiplier": {"type": int}} mode: Literal["normal", "fast"] | None """LACP mode for interface members.""" multiplier: int | None """Number of LACP BPDUs lost before deeming the peer down. EOS default is 3.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18844,7 +17267,6 @@ def __init__( *, mode: Literal["normal", "fast"] | None | UndefinedType = Undefined, multiplier: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpTimer. @@ -18855,7 +17277,6 @@ def __init__( Args: mode: LACP mode for interface members. multiplier: Number of LACP BPDUs lost before deeming the peer down. EOS default is 3. - _custom_data: _custom_data """ @@ -18865,15 +17286,12 @@ class SubinterfacesItem(AvdModel): class EncapsulationVlan(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"client_dot1q": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"client_dot1q": {"type": int}} client_dot1q: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, client_dot1q: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, client_dot1q: int | None | UndefinedType = Undefined) -> None: """ EncapsulationVlan. @@ -18882,7 +17300,6 @@ def __init__( Args: client_dot1q: client_dot1q - _custom_data: _custom_data """ @@ -18891,7 +17308,6 @@ def __init__( "short_esi": {"type": str}, "vlan_id": {"type": int}, "encapsulation_vlan": {"type": EncapsulationVlan}, - "_custom_data": {"type": dict}, } number: int | None """Subinterface number.""" @@ -18913,7 +17329,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -18924,7 +17339,6 @@ def __init__( short_esi: str | None | UndefinedType = Undefined, vlan_id: int | None | UndefinedType = Undefined, encapsulation_vlan: EncapsulationVlan | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SubinterfacesItem. @@ -18946,7 +17360,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -18970,7 +17383,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "subinterfaces": {"type": Subinterfaces}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } mode: Literal["active", "passive", "on"] | None """Port-Channel Mode.""" @@ -19063,7 +17475,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19081,7 +17492,6 @@ def __init__( subinterfaces: Subinterfaces | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PortChannel. @@ -19157,7 +17567,6 @@ def __init__( eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19202,7 +17611,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "validate_lldp": {"type": bool}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } switch_ports: SwitchPorts """ @@ -19411,7 +17819,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19455,7 +17862,6 @@ def __init__( validate_lldp: bool | None | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdaptersItem. @@ -19613,7 +18019,6 @@ def __init__( structured_config: Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -19622,7 +18027,7 @@ class Adapters(AvdList[AdaptersItem]): Adapters._item_type = AdaptersItem - _fields: ClassVar[dict] = {"name": {"type": str}, "rack": {"type": str}, "adapters": {"type": Adapters}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "rack": {"type": str}, "adapters": {"type": Adapters}} name: str """Endpoint name will be used in the switchport description.""" rack: str | None @@ -19634,7 +18039,6 @@ class Adapters(AvdList[AdaptersItem]): Subclass of AvdList with `AdaptersItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19644,7 +18048,6 @@ def __init__( name: str | UndefinedType = Undefined, rack: str | None | UndefinedType = Undefined, adapters: Adapters | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ ConnectedEndpointsItem. @@ -19660,7 +18063,6 @@ def __init__( Subclass of AvdList with `AdaptersItem` items. - _custom_data: _custom_data """ @@ -19710,18 +18112,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19731,7 +18127,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -19743,7 +18138,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -19755,7 +18149,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -19771,17 +18164,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -19798,7 +18184,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -19809,7 +18194,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -19827,7 +18211,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -19837,7 +18220,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -19852,7 +18234,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -19877,14 +18258,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -19893,22 +18273,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -19917,7 +18293,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -19975,7 +18350,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -20033,7 +18407,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20046,7 +18419,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -20089,7 +18461,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -20099,12 +18470,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -20115,7 +18481,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20125,7 +18490,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -20140,7 +18504,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -20154,16 +18517,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -20172,33 +18532,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -20208,16 +18556,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -20242,7 +18584,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20252,7 +18593,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -20279,7 +18619,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20294,12 +18633,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -20311,7 +18645,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20321,7 +18654,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -20337,7 +18669,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -20357,7 +18688,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -20402,7 +18732,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20417,7 +18746,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -20442,7 +18770,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -20472,19 +18799,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -20495,7 +18817,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -20508,14 +18829,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20524,7 +18840,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -20535,7 +18850,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -20543,7 +18857,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -20551,7 +18864,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20561,7 +18873,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -20573,7 +18884,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20583,16 +18893,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20602,7 +18906,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -20614,7 +18917,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -20627,7 +18929,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -20639,7 +18940,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20651,7 +18951,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -20665,29 +18964,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -20698,7 +18987,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20706,7 +18994,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -20714,7 +19001,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20724,7 +19010,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -20736,7 +19021,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20758,7 +19042,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -20824,7 +19107,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -20848,7 +19130,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -20893,7 +19174,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -20908,21 +19188,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -20932,7 +19205,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -20946,7 +19218,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -21005,7 +19276,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21021,7 +19291,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -21063,7 +19332,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21073,12 +19341,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -21097,7 +19360,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21107,7 +19369,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -21128,23 +19389,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -21153,7 +19410,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -21168,7 +19424,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -21177,16 +19433,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -21200,7 +19451,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -21211,7 +19461,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -21219,13 +19469,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -21238,28 +19485,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -21269,7 +19508,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -21302,7 +19540,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -21446,7 +19683,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21478,7 +19714,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -21576,7 +19811,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21603,7 +19837,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -21635,7 +19868,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21648,7 +19880,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -21676,7 +19907,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -21690,12 +19920,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -21714,7 +19939,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -21724,7 +19948,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -21745,23 +19968,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -21770,7 +19989,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -21784,21 +20002,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -21808,7 +20019,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -21840,7 +20050,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -21988,7 +20197,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -22019,7 +20227,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -22120,7 +20327,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -22238,7 +20444,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } id: int | None """Unique identifier used for IP addressing and other algorithms.""" @@ -23041,7 +21246,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23154,7 +21358,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Defaults. @@ -23725,7 +21928,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -23743,11 +21945,7 @@ class DownlinkInterfaces(AvdList[str]): DownlinkInterfaces._item_type = str - _fields: ClassVar[dict] = { - "ipv4_pool": {"type": str}, - "downlink_interfaces": {"type": DownlinkInterfaces}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_pool": {"type": str}, "downlink_interfaces": {"type": DownlinkInterfaces}} ipv4_pool: str | None """ Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). @@ -23763,7 +21961,6 @@ class DownlinkInterfaces(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23772,7 +21969,6 @@ def __init__( *, ipv4_pool: str | None | UndefinedType = Undefined, downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DownlinkPoolsItem. @@ -23792,7 +21988,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -23807,18 +22002,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23828,7 +22017,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -23840,7 +22028,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -23852,7 +22039,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -23868,17 +22054,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -23895,7 +22074,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -23906,7 +22084,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -23924,7 +22101,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -23934,7 +22110,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -23949,7 +22124,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -23974,16 +22148,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -23992,22 +22163,18 @@ def __init__( Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -24016,7 +22183,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -24074,7 +22240,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -24132,7 +22297,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24145,7 +22309,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -24188,7 +22351,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -24198,12 +22360,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -24214,7 +22371,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24224,7 +22380,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -24239,7 +22394,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -24253,16 +22407,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -24271,33 +22422,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -24307,16 +22446,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -24341,7 +22474,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24351,7 +22483,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -24378,7 +22509,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24393,12 +22523,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -24410,7 +22535,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24420,7 +22544,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -24436,7 +22559,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -24456,7 +22578,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -24501,7 +22622,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24516,7 +22636,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -24541,7 +22660,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -24571,10 +22689,9 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24583,7 +22700,6 @@ def __init__( *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dscp. @@ -24594,7 +22710,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -24607,14 +22722,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24623,7 +22733,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -24634,7 +22743,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -24642,7 +22750,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -24650,7 +22757,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24660,7 +22766,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -24672,7 +22777,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24682,16 +22786,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24701,7 +22799,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -24713,7 +22810,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -24726,7 +22822,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -24738,7 +22833,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24750,7 +22844,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -24764,29 +22857,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -24797,7 +22880,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24805,7 +22887,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -24813,7 +22894,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24823,7 +22903,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -24835,7 +22914,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -24857,7 +22935,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -24923,7 +23000,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -24947,7 +23023,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -24992,7 +23067,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25007,20 +23081,15 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -25031,7 +23100,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -25045,7 +23113,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -25104,7 +23171,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25120,7 +23186,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -25162,7 +23227,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25176,7 +23240,6 @@ class Bgp(AvdModel): "peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } peer_as: str """ @@ -25196,7 +23259,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25206,7 +23268,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -25227,23 +23288,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -25252,7 +23309,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -25267,7 +23323,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -25276,16 +23332,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -25299,7 +23350,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -25310,7 +23360,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -25318,13 +23368,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -25337,27 +23384,21 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -25368,7 +23409,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -25401,7 +23441,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -25545,7 +23584,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25577,7 +23615,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -25675,7 +23712,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25702,7 +23738,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -25734,7 +23769,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25747,7 +23781,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -25775,7 +23808,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -25793,7 +23825,6 @@ class Bgp(AvdModel): "peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } peer_as: str """ @@ -25813,7 +23844,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -25823,7 +23853,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -25844,23 +23873,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -25869,7 +23894,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -25883,20 +23907,15 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -25907,7 +23926,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -25939,7 +23957,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -26087,7 +24104,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -26118,7 +24134,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -26219,7 +24234,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -26339,7 +24353,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } name: str """The Node Name is used as "hostname".""" @@ -27152,7 +25165,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27267,7 +25279,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -27845,7 +25856,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -27862,18 +25872,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27883,7 +25887,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -27895,7 +25898,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -27907,7 +25909,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -27923,17 +25924,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -27950,7 +25944,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -27961,7 +25954,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -27979,7 +25971,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -27989,7 +25980,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -28004,7 +25994,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -28029,14 +26018,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -28045,22 +26033,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -28069,7 +26053,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -28127,7 +26110,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -28185,7 +26167,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28198,7 +26179,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -28241,7 +26221,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -28251,12 +26230,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -28267,7 +26241,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28277,7 +26250,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -28292,7 +26264,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -28306,16 +26277,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -28324,33 +26292,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -28360,16 +26316,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -28394,7 +26344,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28404,7 +26353,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -28431,7 +26379,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28446,12 +26393,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -28463,7 +26405,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28473,7 +26414,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -28489,7 +26429,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -28509,7 +26448,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -28554,7 +26492,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28569,7 +26506,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -28594,7 +26530,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -28624,19 +26559,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -28647,7 +26577,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -28660,14 +26589,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28676,7 +26600,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -28687,7 +26610,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -28695,7 +26617,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -28703,7 +26624,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28713,7 +26633,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -28725,7 +26644,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28735,16 +26653,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28754,7 +26666,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -28766,7 +26677,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -28779,7 +26689,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -28791,7 +26700,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28803,7 +26711,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -28817,29 +26724,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -28850,7 +26747,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28858,7 +26754,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -28866,7 +26761,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -28876,7 +26770,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -28888,7 +26781,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -28910,7 +26802,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -28976,7 +26867,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29000,7 +26890,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -29045,7 +26934,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29060,21 +26948,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -29084,7 +26965,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -29098,7 +26978,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -29157,7 +27036,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29173,7 +27051,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -29215,7 +27092,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29225,12 +27101,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -29249,7 +27120,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29259,7 +27129,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -29280,23 +27149,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -29305,7 +27170,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -29320,7 +27184,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -29329,16 +27193,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -29352,7 +27211,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -29363,7 +27221,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -29371,13 +27229,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -29390,28 +27245,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -29421,7 +27268,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -29454,7 +27300,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -29598,7 +27443,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29630,7 +27474,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -29728,7 +27571,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29755,7 +27597,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -29787,7 +27628,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29800,7 +27640,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -29828,7 +27667,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -29842,12 +27680,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -29866,7 +27699,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -29876,7 +27708,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -29897,23 +27728,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -29922,7 +27749,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -29936,21 +27762,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -29960,7 +27779,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -29992,7 +27810,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -30140,7 +27957,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -30171,7 +27987,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -30272,7 +28087,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -30392,7 +28206,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } group: str """ @@ -31208,7 +29021,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -31323,7 +29135,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodeGroupsItem. @@ -31903,7 +29714,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -31925,11 +29735,7 @@ class DownlinkInterfaces(AvdList[str]): DownlinkInterfaces._item_type = str - _fields: ClassVar[dict] = { - "ipv4_pool": {"type": str}, - "downlink_interfaces": {"type": DownlinkInterfaces}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_pool": {"type": str}, "downlink_interfaces": {"type": DownlinkInterfaces}} ipv4_pool: str | None """ Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). @@ -31945,16 +29751,11 @@ class DownlinkInterfaces(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4_pool: str | None | UndefinedType = Undefined, - downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4_pool: str | None | UndefinedType = Undefined, downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined ) -> None: """ DownlinkPoolsItem. @@ -31974,7 +29775,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -31989,18 +29789,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32010,7 +29804,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -32022,7 +29815,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -32034,7 +29826,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -32050,17 +29841,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -32077,7 +29861,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -32088,7 +29871,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -32106,7 +29888,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32116,7 +29897,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -32131,7 +29911,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -32156,14 +29935,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -32172,22 +29950,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -32196,7 +29970,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -32254,7 +30027,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -32312,7 +30084,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32325,7 +30096,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -32368,7 +30138,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -32378,12 +30147,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -32394,7 +30158,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32404,7 +30167,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -32419,7 +30181,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -32433,16 +30194,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -32451,33 +30209,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -32487,16 +30233,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -32521,7 +30261,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32531,7 +30270,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -32558,7 +30296,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -32573,12 +30310,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -32590,7 +30322,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32600,7 +30331,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -32616,7 +30346,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -32636,7 +30365,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -32681,7 +30409,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32696,7 +30423,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -32721,7 +30447,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -32751,19 +30476,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -32774,7 +30494,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -32787,14 +30506,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32803,7 +30517,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -32814,7 +30527,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -32822,7 +30534,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -32830,7 +30541,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32840,7 +30550,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -32852,7 +30561,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -32862,16 +30570,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32881,7 +30583,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -32893,7 +30594,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -32906,7 +30606,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -32918,7 +30617,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -32930,7 +30628,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -32944,29 +30641,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -32977,7 +30664,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -32985,7 +30671,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -32993,7 +30678,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33003,7 +30687,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -33015,7 +30698,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33037,7 +30719,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -33103,7 +30784,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33127,7 +30807,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -33172,7 +30851,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33187,21 +30865,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -33211,7 +30882,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -33225,7 +30895,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -33284,7 +30953,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33300,7 +30968,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -33342,7 +31009,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33352,12 +31018,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -33376,7 +31037,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33386,7 +31046,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -33407,23 +31066,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -33432,7 +31087,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -33447,7 +31101,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -33456,16 +31110,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -33479,7 +31128,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -33490,7 +31138,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -33498,13 +31146,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -33517,28 +31162,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -33548,7 +31185,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -33581,7 +31217,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -33725,7 +31360,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33757,7 +31391,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -33855,7 +31488,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33882,7 +31514,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -33914,7 +31545,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -33927,7 +31557,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -33955,7 +31584,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -33969,12 +31597,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -33993,7 +31616,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34003,7 +31625,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -34024,23 +31645,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -34049,7 +31666,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -34063,21 +31679,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -34087,7 +31696,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -34119,7 +31727,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -34267,7 +31874,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -34298,7 +31904,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -34399,7 +32004,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -34519,7 +32123,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } name: str """The Node Name is used as "hostname".""" @@ -35332,7 +32935,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -35447,7 +33049,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -36025,7 +33626,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -36036,12 +33636,7 @@ class Nodes(AvdIndexedList[str, NodesItem]): Nodes._item_type = NodesItem - _fields: ClassVar[dict] = { - "defaults": {"type": Defaults}, - "node_groups": {"type": NodeGroups}, - "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"defaults": {"type": Defaults}, "node_groups": {"type": NodeGroups}, "nodes": {"type": Nodes}} defaults: Defaults """ Define variables for all nodes of this type. @@ -36062,7 +33657,6 @@ class Nodes(AvdIndexedList[str, NodesItem]): Subclass of AvdIndexedList with `NodesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36072,7 +33666,6 @@ def __init__( defaults: Defaults | UndefinedType = Undefined, node_groups: NodeGroups | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ CustomNodeTypes. @@ -36095,7 +33688,6 @@ def __init__( Subclass of AvdIndexedList with `NodesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -36156,7 +33748,6 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop "next_hop": {"type": NextHop}, "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } activate: bool | None route_map_in: str | None @@ -36181,7 +33772,6 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop """Inbound prefix-list name.""" prefix_list_out: str | None """Outbound prefix-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36197,7 +33787,6 @@ def __init__( next_hop: NextHop | UndefinedType = Undefined, prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4. @@ -36219,7 +33808,6 @@ def __init__( next_hop: Subclass of AvdModel. prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. - _custom_data: _custom_data """ @@ -36234,7 +33822,6 @@ class AddressFamilyIpv6(AvdModel): "rcf_out": {"type": str}, "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } activate: bool | None route_map_in: str | None @@ -36255,7 +33842,6 @@ class AddressFamilyIpv6(AvdModel): """Inbound prefix-list name.""" prefix_list_out: str | None """Outbound prefix-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36269,7 +33855,6 @@ def __init__( rcf_out: str | None | UndefinedType = Undefined, prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6. @@ -36289,23 +33874,17 @@ def __init__( Example: MyFunction(myarg). prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. - _custom_data: _custom_data """ class AsPath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "remote_as_replace_out": {"type": bool}, - "prepend_own_disabled": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} remote_as_replace_out: bool | None """Replace AS number with local AS number.""" prepend_own_disabled: bool | None """Disable prepending own AS number to AS path.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36314,7 +33893,6 @@ def __init__( *, remote_as_replace_out: bool | None | UndefinedType = Undefined, prepend_own_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AsPath. @@ -36325,23 +33903,16 @@ def __init__( Args: remote_as_replace_out: Replace AS number with local AS number. prepend_own_disabled: Disable prepending own AS number to AS path. - _custom_data: _custom_data """ class RemovePrivateAs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "all": {"type": bool}, - "replace_as": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None all: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36351,7 +33922,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemovePrivateAs. @@ -36363,26 +33933,20 @@ def __init__( enabled: enabled all: all replace_as: replace_as - _custom_data: _custom_data """ class RemovePrivateAsIngress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined ) -> None: """ RemovePrivateAsIngress. @@ -36393,25 +33957,18 @@ def __init__( Args: enabled: enabled replace_as: replace_as - _custom_data: _custom_data """ class BfdTimers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int """Interval in milliseconds.""" min_rx: int """Rate in milliseconds.""" multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36421,7 +33978,6 @@ def __init__( interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BfdTimers. @@ -36433,24 +33989,17 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "always": {"type": bool}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} enabled: bool | None always: bool | None route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36460,7 +34009,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultOriginate. @@ -36472,7 +34020,6 @@ def __init__( enabled: enabled always: always route_map: Route-map name. - _custom_data: _custom_data """ @@ -36487,7 +34034,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -36497,7 +34043,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36508,7 +34053,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -36521,7 +34065,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -36533,7 +34076,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -36543,7 +34085,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36554,7 +34095,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -36567,15 +34107,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "direction_in": {"type": DirectionIn}, - "direction_out": {"type": DirectionOut}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -36588,16 +34123,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -36614,28 +34144,20 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ class LinkBandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}} enabled: bool | None default: str | None """nn.nn(K|M|G) link speed in bits/second.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - default: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, default: str | None | UndefinedType = Undefined) -> None: """ LinkBandwidth. @@ -36645,28 +34167,20 @@ def __init__( Args: enabled: enabled default: nn.nn(K|M|G) link speed in bits/second. - _custom_data: _custom_data """ class AllowasIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}} enabled: bool | None times: int | None """Number of local ASNs allowed in a BGP update.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - times: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, times: int | None | UndefinedType = Undefined) -> None: """ AllowasIn. @@ -36676,27 +34190,19 @@ def __init__( Args: enabled: enabled times: Number of local ASNs allowed in a BGP update. - _custom_data: _custom_data """ class RibInPrePolicyRetain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}} enabled: bool | None all: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - all: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined) -> None: """ RibInPrePolicyRetain. @@ -36706,19 +34212,17 @@ def __init__( Args: enabled: enabled all: all - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}} profile: str """Name of profile defined under `management_security`.""" hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] """Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36727,7 +34231,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -36738,7 +34241,6 @@ def __init__( Args: profile: Name of profile defined under `management_security`. hash_algorithm: Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above. - _custom_data: _custom_data """ @@ -36780,7 +34282,6 @@ def __init__( "session_tracker": {"type": str}, "shared_secret": {"type": SharedSecret}, "ttl_maximum_hops": {"type": int}, - "_custom_data": {"type": dict}, } name: str """BGP peer group name.""" @@ -36884,7 +34385,6 @@ def __init__( """Subclass of AvdModel.""" ttl_maximum_hops: int | None """Maximum number of hops.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -36928,7 +34428,6 @@ def __init__( session_tracker: str | None | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, ttl_maximum_hops: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BgpPeerGroupsItem. @@ -37004,7 +34503,6 @@ def __init__( session_tracker: session_tracker shared_secret: Subclass of AvdModel. ttl_maximum_hops: Maximum number of hops. - _custom_data: _custom_data """ @@ -37024,7 +34522,6 @@ class EvpnL2Multicast(AvdModel): "underlay_l2_multicast_group_ipv4_pool_offset": {"type": int, "default": 0}, "fast_leave": {"type": bool}, "always_redistribute_igmp": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None underlay_l2_multicast_group_ipv4_pool: str | None @@ -37046,7 +34543,6 @@ class EvpnL2Multicast(AvdModel): This can be overridden per SVI. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37058,7 +34554,6 @@ def __init__( underlay_l2_multicast_group_ipv4_pool_offset: int | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, always_redistribute_igmp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnL2Multicast. @@ -37082,7 +34577,6 @@ def __init__( required to support forwarding of TTL=1 multicast traffic within the VLAN. This can be overridden per SVI. - _custom_data: _custom_data """ @@ -37097,7 +34591,7 @@ class Nodes(AvdList[str]): Nodes._item_type = str - _fields: ClassVar[dict] = {"nodes": {"type": Nodes}, "transit": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"nodes": {"type": Nodes}, "transit": {"type": bool}} nodes: Nodes """ A description will be applied to all nodes with RP addresses configured if not set. @@ -37107,17 +34601,10 @@ class Nodes(AvdList[str]): """ transit: bool | None """Enable EVPN PEG transit mode.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - nodes: Nodes | UndefinedType = Undefined, - transit: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, nodes: Nodes | UndefinedType = Undefined, transit: bool | None | UndefinedType = Undefined) -> None: """ EvpnPegItem. @@ -37131,7 +34618,6 @@ def __init__( Subclass of AvdList with `str` items. transit: Enable EVPN PEG transit mode. - _custom_data: _custom_data """ @@ -37145,7 +34631,6 @@ class EvpnPeg(AvdList[EvpnPegItem]): "evpn_underlay_l3_multicast_group_ipv4_pool": {"type": str}, "evpn_underlay_l3_multicast_group_ipv4_pool_offset": {"type": int, "default": 0}, "evpn_peg": {"type": EvpnPeg}, - "_custom_data": {"type": dict}, } enabled: bool | None evpn_underlay_l3_multicast_group_ipv4_pool: str @@ -37162,7 +34647,6 @@ class EvpnPeg(AvdList[EvpnPegItem]): Subclass of AvdList with `EvpnPegItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37173,7 +34657,6 @@ def __init__( evpn_underlay_l3_multicast_group_ipv4_pool: str | UndefinedType = Undefined, evpn_underlay_l3_multicast_group_ipv4_pool_offset: int | UndefinedType = Undefined, evpn_peg: EvpnPeg | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnL3Multicast. @@ -37193,7 +34676,6 @@ def __init__( Subclass of AvdList with `EvpnPegItem` items. - _custom_data: _custom_data """ @@ -37215,13 +34697,7 @@ class Groups(AvdList[str]): Groups._item_type = str - _fields: ClassVar[dict] = { - "rps": {"type": Rps}, - "nodes": {"type": Nodes}, - "groups": {"type": Groups}, - "access_list_name": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"rps": {"type": Rps}, "nodes": {"type": Nodes}, "groups": {"type": Groups}, "access_list_name": {"type": str}} rps: Rps """ List of Rendevouz Points. @@ -37244,7 +34720,6 @@ class Groups(AvdList[str]): Otherwise the groups are configured directly on the RP command. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37255,7 +34730,6 @@ def __init__( nodes: Nodes | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, access_list_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PimRpAddressesItem. @@ -37279,7 +34753,6 @@ def __init__( access-list will be configured matching these groups. Otherwise the groups are configured directly on the RP command. - _custom_data: _custom_data """ @@ -37291,19 +34764,13 @@ class PimRpAddresses(AvdList[PimRpAddressesItem]): class IgmpSnoopingQuerier(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "source_address": {"type": str}, - "version": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "source_address": {"type": str}, "version": {"type": int}} enabled: bool | None """Will be enabled automatically if "evpn_l2_multicast" is enabled.""" source_address: str | None """Default IP address of Loopback0.""" version: Literal[1, 2, 3] | None """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37313,7 +34780,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -37325,7 +34791,6 @@ def __init__( enabled: Will be enabled automatically if "evpn_l2_multicast" is enabled. source_address: Default IP address of Loopback0. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). - _custom_data: _custom_data """ @@ -37340,19 +34805,13 @@ class AddressFamilies(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ip_helper": {"type": str}, - "source_interface": {"type": str}, - "source_vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "source_vrf": {"type": str}} ip_helper: str """IPv4 DHCP server IP.""" source_interface: str | None """Interface name.""" source_vrf: str | None """VRF to originate DHCP relay packets to DHCP server. If not set, uses current VRF.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37362,7 +34821,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, source_vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -37374,7 +34832,6 @@ def __init__( ip_helper: IPv4 DHCP server IP. source_interface: Interface name. source_vrf: VRF to originate DHCP relay packets to DHCP server. If not set, uses current VRF. - _custom_data: _custom_data """ @@ -37391,19 +34848,13 @@ class VtepDiagnostic(AvdModel): class LoopbackIpPoolsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "pod": {"type": str}, - "ipv4_pool": {"type": str}, - "ipv6_pool": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"pod": {"type": str}, "ipv4_pool": {"type": str}, "ipv6_pool": {"type": str}} pod: str """POD name.""" ipv4_pool: str | None """Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address).""" ipv6_pool: str | None """Comma separated list of prefixes (IPv6 address/Mask) or ranges (IPv6_address-IPv6_address).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37413,7 +34864,6 @@ def __init__( pod: str | UndefinedType = Undefined, ipv4_pool: str | None | UndefinedType = Undefined, ipv6_pool: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LoopbackIpPoolsItem. @@ -37425,7 +34875,6 @@ def __init__( pod: POD name. ipv4_pool: Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). ipv6_pool: Comma separated list of prefixes (IPv6 address/Mask) or ranges (IPv6_address-IPv6_address). - _custom_data: _custom_data """ @@ -37442,7 +34891,6 @@ class LoopbackIpPools(AvdIndexedList[str, LoopbackIpPoolsItem]): "loopback_ip_range": {"type": str}, "loopback_ipv6_range": {"type": str}, "loopback_ip_pools": {"type": LoopbackIpPools}, - "_custom_data": {"type": dict}, } loopback: int | None """Loopback interface number, required when vtep_diagnotics defined.""" @@ -37489,7 +34937,6 @@ class LoopbackIpPools(AvdIndexedList[str, LoopbackIpPoolsItem]): Subclass of AvdIndexedList with `LoopbackIpPoolsItem` items. Primary key is `pod` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37501,7 +34948,6 @@ def __init__( loopback_ip_range: str | None | UndefinedType = Undefined, loopback_ipv6_range: str | None | UndefinedType = Undefined, loopback_ip_pools: LoopbackIpPools | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VtepDiagnostic. @@ -37546,7 +34992,6 @@ def __init__( Subclass of AvdIndexedList with `LoopbackIpPoolsItem` items. Primary key is `pod` (`str`). - _custom_data: _custom_data """ @@ -37556,22 +35001,15 @@ class Ospf(AvdModel): class RedistributeBgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": True}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": True}, "route_map": {"type": str}} enabled: bool """Default value: `True`""" route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ RedistributeBgp. @@ -37581,29 +35019,21 @@ def __init__( Args: enabled: enabled route_map: Route-map name. - _custom_data: _custom_data """ class RedistributeConnected(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "route_map": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "route_map": {"type": str}} enabled: bool """Default value: `False`""" route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined) -> None: """ RedistributeConnected. @@ -37613,7 +35043,6 @@ def __init__( Args: enabled: enabled route_map: Route-map name. - _custom_data: _custom_data """ @@ -37631,7 +35060,6 @@ class Nodes(AvdList[str]): "redistribute_bgp": {"type": RedistributeBgp}, "redistribute_connected": {"type": RedistributeConnected}, "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, } enabled: bool | None process_id: int | None @@ -37659,7 +35087,6 @@ class Nodes(AvdList[str]): """Subclass of AvdModel.""" nodes: Nodes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37674,7 +35101,6 @@ def __init__( redistribute_bgp: RedistributeBgp | UndefinedType = Undefined, redistribute_connected: RedistributeConnected | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -37700,7 +35126,6 @@ def __init__( redistribute_bgp: Subclass of AvdModel. redistribute_connected: Subclass of AvdModel. nodes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -37715,7 +35140,7 @@ class Nodes(AvdList[str]): Nodes._item_type = str - _fields: ClassVar[dict] = {"nodes": {"type": Nodes}, "transit": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"nodes": {"type": Nodes}, "transit": {"type": bool, "default": False}} nodes: Nodes """ Restrict configuration to specific nodes. @@ -37731,17 +35156,10 @@ class Nodes(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - nodes: Nodes | UndefinedType = Undefined, - transit: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, nodes: Nodes | UndefinedType = Undefined, transit: bool | UndefinedType = Undefined) -> None: """ EvpnPegItem. @@ -37757,7 +35175,6 @@ def __init__( Subclass of AvdList with `str` items. transit: Enable EVPN PEG transit mode. - _custom_data: _custom_data """ @@ -37766,12 +35183,7 @@ class EvpnPeg(AvdList[EvpnPegItem]): EvpnPeg._item_type = EvpnPegItem - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "evpn_underlay_l3_multicast_group": {"type": str}, - "evpn_peg": {"type": EvpnPeg}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "evpn_underlay_l3_multicast_group": {"type": str}, "evpn_peg": {"type": EvpnPeg}} enabled: bool | None evpn_underlay_l3_multicast_group: str | None """ @@ -37787,7 +35199,6 @@ class EvpnPeg(AvdList[EvpnPegItem]): Subclass of AvdList with `EvpnPegItem` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37797,7 +35208,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, evpn_underlay_l3_multicast_group: str | None | UndefinedType = Undefined, evpn_peg: EvpnPeg | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnL3Multicast. @@ -37817,7 +35227,6 @@ def __init__( Subclass of AvdList with `EvpnPegItem` items. - _custom_data: _custom_data """ @@ -37844,7 +35253,6 @@ class Groups(AvdList[str]): "nodes": {"type": Nodes}, "groups": {"type": Groups}, "access_list_name": {"type": str}, - "_custom_data": {"type": dict}, } rps: Rps """ @@ -37868,7 +35276,6 @@ class Groups(AvdList[str]): Otherwise the groups are configured directly on the RP command. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37879,7 +35286,6 @@ def __init__( nodes: Nodes | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined, access_list_name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PimRpAddressesItem. @@ -37903,7 +35309,6 @@ def __init__( standard access-list will be configured matching these groups. Otherwise the groups are configured directly on the RP command. - _custom_data: _custom_data """ @@ -37951,19 +35356,13 @@ class Ipv6VirtualRouterAddresses(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ip_helper": {"type": str}, - "source_interface": {"type": str}, - "source_vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "source_vrf": {"type": str}} ip_helper: str """IPv4 DHCP server IP.""" source_interface: str | None """Interface name to originate DHCP relay packets to DHCP server.""" source_vrf: str | None """VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -37973,7 +35372,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, source_vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -37985,7 +35383,6 @@ def __init__( ip_helper: IPv4 DHCP server IP. source_interface: Interface name to originate DHCP relay packets to DHCP server. source_vrf: VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI. - _custom_data: _custom_data """ @@ -38004,11 +35401,7 @@ class TrunkGroups(AvdList[str]): class EvpnL2Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "always_redistribute_igmp": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} enabled: bool | None always_redistribute_igmp: bool | None """ @@ -38022,7 +35415,6 @@ class EvpnL2Multicast(AvdModel): but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38031,7 +35423,6 @@ def __init__( *, enabled: bool | None | UndefinedType = Undefined, always_redistribute_igmp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnL2Multicast. @@ -38051,22 +35442,18 @@ def __init__( additional control-plane and data-plane resources, but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. - _custom_data: _custom_data """ class EvpnL3Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EvpnL3Multicast. @@ -38075,7 +35462,6 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ @@ -38087,7 +35473,6 @@ class IgmpSnoopingQuerier(AvdModel): "source_address": {"type": str}, "version": {"type": int}, "fast_leave": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -38100,7 +35485,6 @@ class IgmpSnoopingQuerier(AvdModel): """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" fast_leave: bool | None """Enable IGMP snooping fast-leave feature.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38111,7 +35495,6 @@ def __init__( source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -38126,7 +35509,6 @@ def __init__( If not set, IP address of "Loopback0" will be used. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). fast_leave: Enable IGMP snooping fast-leave feature. - _custom_data: _custom_data """ @@ -38136,18 +35518,12 @@ class Ospf(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int | None hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" key: str | None """Type 7 encrypted key.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38157,7 +35533,6 @@ def __init__( id: int | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -38169,7 +35544,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Type 7 encrypted key. - _custom_data: _custom_data """ @@ -38186,7 +35560,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): "authentication": {"type": str}, "simple_auth_key": {"type": str}, "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, } enabled: bool | None point_to_point: bool @@ -38204,7 +35577,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): """Password used with simple authentication.""" message_digest_keys: MessageDigestKeys """Subclass of AvdList with `MessageDigestKeysItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38218,7 +35590,6 @@ def __init__( authentication: Literal["simple", "message-digest"] | None | UndefinedType = Undefined, simple_auth_key: str | None | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -38234,7 +35605,6 @@ def __init__( authentication: authentication simple_auth_key: Password used with simple authentication. message_digest_keys: Subclass of AvdList with `MessageDigestKeysItem` items. - _custom_data: _custom_data """ @@ -38244,11 +35614,7 @@ class Bgp(AvdModel): class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "structured_config": {"type": StructuredConfig}, - "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} structured_config: StructuredConfig """ Structured configuration and EOS CLI commands rendered on router_bgp.vlans.[id=]. @@ -38260,7 +35626,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """ raw_eos_cli: str | None """EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38269,7 +35634,6 @@ def __init__( *, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -38286,7 +35650,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -38326,7 +35689,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, "evpn_l2_multi_domain": {"type": bool}, - "_custom_data": {"type": dict}, } node: str """Node inventory hostname.""" @@ -38518,7 +35880,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38557,7 +35918,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, evpn_l2_multi_domain: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -38700,7 +36060,6 @@ def __init__( Not supported in conjunction with EVPN vlan aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. - _custom_data: _custom_data """ @@ -38734,19 +36093,13 @@ class Ipv6VirtualRouterAddresses(AvdList[str]): class IpHelpersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "ip_helper": {"type": str}, - "source_interface": {"type": str}, - "source_vrf": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ip_helper": {"type": str}, "source_interface": {"type": str}, "source_vrf": {"type": str}} ip_helper: str """IPv4 DHCP server IP.""" source_interface: str | None """Interface name to originate DHCP relay packets to DHCP server.""" source_vrf: str | None """VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38756,7 +36109,6 @@ def __init__( ip_helper: str | UndefinedType = Undefined, source_interface: str | None | UndefinedType = Undefined, source_vrf: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpHelpersItem. @@ -38768,7 +36120,6 @@ def __init__( ip_helper: IPv4 DHCP server IP. source_interface: Interface name to originate DHCP relay packets to DHCP server. source_vrf: VRF to originate DHCP relay packets to DHCP server. If not set, EOS uses the VRF on the SVI. - _custom_data: _custom_data """ @@ -38787,7 +36138,7 @@ class TrunkGroups(AvdList[str]): class EvpnL2Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always_redistribute_igmp": {"type": bool}} enabled: bool | None always_redistribute_igmp: bool | None """ @@ -38801,16 +36152,11 @@ class EvpnL2Multicast(AvdModel): but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - always_redistribute_igmp: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, always_redistribute_igmp: bool | None | UndefinedType = Undefined ) -> None: """ EvpnL2Multicast. @@ -38830,22 +36176,18 @@ def __init__( additional control-plane and data-plane resources, but it is required to support forwarding of TTL=1 multicast traffic within the VLAN. - _custom_data: _custom_data """ class EvpnL3Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EvpnL3Multicast. @@ -38854,7 +36196,6 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ @@ -38866,7 +36207,6 @@ class IgmpSnoopingQuerier(AvdModel): "source_address": {"type": str}, "version": {"type": int}, "fast_leave": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -38879,7 +36219,6 @@ class IgmpSnoopingQuerier(AvdModel): """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" fast_leave: bool | None """Enable IGMP snooping fast-leave feature.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38890,7 +36229,6 @@ def __init__( source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -38905,7 +36243,6 @@ def __init__( If not set, IP address of "Loopback0" will be used. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). fast_leave: Enable IGMP snooping fast-leave feature. - _custom_data: _custom_data """ @@ -38915,18 +36252,12 @@ class Ospf(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int | None hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" key: str | None """Type 7 encrypted key.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38936,7 +36267,6 @@ def __init__( id: int | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -38948,7 +36278,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Type 7 encrypted key. - _custom_data: _custom_data """ @@ -38965,7 +36294,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): "authentication": {"type": str}, "simple_auth_key": {"type": str}, "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, } enabled: bool | None point_to_point: bool @@ -38983,7 +36311,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): """Password used with simple authentication.""" message_digest_keys: MessageDigestKeys """Subclass of AvdList with `MessageDigestKeysItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -38997,7 +36324,6 @@ def __init__( authentication: Literal["simple", "message-digest"] | None | UndefinedType = Undefined, simple_auth_key: str | None | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -39013,7 +36339,6 @@ def __init__( authentication: authentication simple_auth_key: Password used with simple authentication. message_digest_keys: Subclass of AvdList with `MessageDigestKeysItem` items. - _custom_data: _custom_data """ @@ -39023,11 +36348,7 @@ class Bgp(AvdModel): class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "structured_config": {"type": StructuredConfig}, - "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} structured_config: StructuredConfig """ Structured configuration and EOS CLI commands rendered on router_bgp.vlans.[id=]. @@ -39039,7 +36360,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """ raw_eos_cli: str | None """EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39048,7 +36368,6 @@ def __init__( *, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -39065,7 +36384,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Router BGP, VLAN definition in the final EOS configuration. - _custom_data: _custom_data """ @@ -39108,7 +36426,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, "evpn_l2_multi_domain": {"type": bool}, - "_custom_data": {"type": dict}, } id: int """SVI interface id and VLAN id.""" @@ -39324,7 +36641,6 @@ class StructuredConfig(EosCliConfigGen.VlanInterfacesItem): aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39366,7 +36682,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, evpn_l2_multi_domain: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SvisItem. @@ -39527,7 +36842,6 @@ def __init__( Not supported in conjunction with EVPN vlan aware bundles. i.e. `evpn_vlan_aware_bundles: true` or `[].evpn_vlan_bundle` or `[].vrfs[].svis[].evpn_vlan_bundle`. - _custom_data: _custom_data """ @@ -39570,18 +36884,12 @@ class Ospf(AvdModel): class MessageDigestKeysItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "id": {"type": int}, - "hash_algorithm": {"type": str, "default": "sha512"}, - "key": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"id": {"type": int}, "hash_algorithm": {"type": str, "default": "sha512"}, "key": {"type": str}} id: int | None hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] """Default value: `"sha512"`""" key: str | None """Key password.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39591,7 +36899,6 @@ def __init__( id: int | None | UndefinedType = Undefined, hash_algorithm: Literal["md5", "sha1", "sha256", "sha384", "sha512"] | UndefinedType = Undefined, key: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MessageDigestKeysItem. @@ -39603,7 +36910,6 @@ def __init__( id: id hash_algorithm: hash_algorithm key: Key password. - _custom_data: _custom_data """ @@ -39620,7 +36926,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): "authentication": {"type": str}, "simple_auth_key": {"type": str}, "message_digest_keys": {"type": MessageDigestKeys}, - "_custom_data": {"type": dict}, } enabled: bool | None point_to_point: bool @@ -39638,7 +36943,6 @@ class MessageDigestKeys(AvdList[MessageDigestKeysItem]): """Password used with simple authentication.""" message_digest_keys: MessageDigestKeys """Subclass of AvdList with `MessageDigestKeysItem` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39652,7 +36956,6 @@ def __init__( authentication: Literal["simple", "message-digest"] | None | UndefinedType = Undefined, simple_auth_key: str | None | UndefinedType = Undefined, message_digest_keys: MessageDigestKeys | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ospf. @@ -39668,22 +36971,18 @@ def __init__( authentication: authentication simple_auth_key: Password used with simple authentication. message_digest_keys: Subclass of AvdList with `MessageDigestKeysItem` items. - _custom_data: _custom_data """ class Pim(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ Pim. @@ -39692,28 +36991,20 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -39723,7 +37014,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -39746,7 +37036,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } interfaces: Interfaces """Subclass of AvdList with `str` items.""" @@ -39804,7 +37093,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): """ raw_eos_cli: str | None """EOS CLI rendered directly on the Ethernet interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39826,7 +37114,6 @@ def __init__( flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -39874,7 +37161,6 @@ def __init__( Custom structured config added under ethernet_interfaces.[name=] for eos_cli_config_gen. Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Ethernet interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -39889,11 +37175,7 @@ class LoopbacksItem(AvdModel): class Ospf(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "area": {"type": str, "default": "0.0.0.0"}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "area": {"type": str, "default": "0.0.0.0"}} enabled: bool """Default value: `False`""" area: str @@ -39902,17 +37184,10 @@ class Ospf(AvdModel): Default value: `"0.0.0.0"` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - area: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, area: str | UndefinedType = Undefined) -> None: """ Ospf. @@ -39922,7 +37197,6 @@ def __init__( Args: enabled: enabled area: OSPF area ID. - _custom_data: _custom_data """ @@ -39934,7 +37208,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "ospf": {"type": Ospf}, "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, } node: str loopback: int @@ -39950,7 +37223,6 @@ def __init__( """ raw_eos_cli: str | None """EOS CLI rendered directly on the Loopback interface in the final EOS configuration.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -39964,7 +37236,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, ospf: Ospf | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LoopbacksItem. @@ -39983,7 +37254,6 @@ def __init__( Subclass of AvdModel. raw_eos_cli: EOS CLI rendered directly on the Loopback interface in the final EOS configuration. - _custom_data: _custom_data """ @@ -40010,7 +37280,6 @@ class Nodes(AvdList[str]): "metric": {"type": int}, "interface": {"type": str}, "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, } destination_address_prefix: str | None """IPv4_address.""" @@ -40026,7 +37295,6 @@ class Nodes(AvdList[str]): interface: str | None nodes: Nodes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40042,7 +37310,6 @@ def __init__( metric: int | None | UndefinedType = Undefined, interface: str | None | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ StaticRoutesItem. @@ -40060,7 +37327,6 @@ def __init__( metric: metric interface: interface nodes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -40087,7 +37353,6 @@ class Nodes(AvdList[str]): "metric": {"type": int}, "interface": {"type": str}, "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, } destination_address_prefix: str | None """IPv6_address.""" @@ -40102,7 +37367,6 @@ class Nodes(AvdList[str]): interface: str | None nodes: Nodes """Subclass of AvdList with `str` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40118,7 +37382,6 @@ def __init__( metric: int | None | UndefinedType = Undefined, interface: str | None | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ipv6StaticRoutesItem. @@ -40136,7 +37399,6 @@ def __init__( metric: metric interface: interface nodes: Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -40151,15 +37413,12 @@ class BgpPeersItem(AvdModel): class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"always": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"always": {"type": bool}} always: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, always: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, always: bool | None | UndefinedType = Undefined) -> None: """ DefaultOriginate. @@ -40168,7 +37427,6 @@ def __init__( Args: always: always - _custom_data: _custom_data """ @@ -40202,7 +37460,6 @@ class Nodes(AvdList[str]): "weight": {"type": int}, "bfd": {"type": bool}, "shutdown": {"type": bool}, - "_custom_data": {"type": dict}, } ip_address: str """IPv4_address or IPv6_address.""" @@ -40276,7 +37533,6 @@ class Nodes(AvdList[str]): weight: int | None bfd: bool | None shutdown: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40307,7 +37563,6 @@ def __init__( weight: int | None | UndefinedType = Undefined, bfd: bool | None | UndefinedType = Undefined, shutdown: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BgpPeersItem. @@ -40364,7 +37619,6 @@ def __init__( weight: weight bfd: bfd shutdown: shutdown - _custom_data: _custom_data """ @@ -40384,7 +37638,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VrfsItem): "router_id": {"type": str, "default": "main_router_id"}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } enabled: bool | None """ @@ -40421,7 +37674,6 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VrfsItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40432,7 +37684,6 @@ def __init__( router_id: str | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -40467,7 +37718,6 @@ def __init__( Subclass of AvdModel. - _custom_data: _custom_data """ @@ -40498,7 +37748,6 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop "next_hop": {"type": NextHop}, "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } activate: bool | None route_map_in: str | None @@ -40523,7 +37772,6 @@ class NextHop(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem.NextHop """Inbound prefix-list name.""" prefix_list_out: str | None """Outbound prefix-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40539,7 +37787,6 @@ def __init__( next_hop: NextHop | UndefinedType = Undefined, prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv4. @@ -40561,7 +37808,6 @@ def __init__( next_hop: Subclass of AvdModel. prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. - _custom_data: _custom_data """ @@ -40576,7 +37822,6 @@ class AddressFamilyIpv6(AvdModel): "rcf_out": {"type": str}, "prefix_list_in": {"type": str}, "prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } activate: bool | None route_map_in: str | None @@ -40597,7 +37842,6 @@ class AddressFamilyIpv6(AvdModel): """Inbound prefix-list name.""" prefix_list_out: str | None """Outbound prefix-list name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40611,7 +37855,6 @@ def __init__( rcf_out: str | None | UndefinedType = Undefined, prefix_list_in: str | None | UndefinedType = Undefined, prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AddressFamilyIpv6. @@ -40631,23 +37874,17 @@ def __init__( Example: MyFunction(myarg). prefix_list_in: Inbound prefix-list name. prefix_list_out: Outbound prefix-list name. - _custom_data: _custom_data """ class AsPath(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "remote_as_replace_out": {"type": bool}, - "prepend_own_disabled": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_as_replace_out": {"type": bool}, "prepend_own_disabled": {"type": bool}} remote_as_replace_out: bool | None """Replace AS number with local AS number.""" prepend_own_disabled: bool | None """Disable prepending own AS number to AS path.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40656,7 +37893,6 @@ def __init__( *, remote_as_replace_out: bool | None | UndefinedType = Undefined, prepend_own_disabled: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AsPath. @@ -40667,23 +37903,16 @@ def __init__( Args: remote_as_replace_out: Replace AS number with local AS number. prepend_own_disabled: Disable prepending own AS number to AS path. - _custom_data: _custom_data """ class RemovePrivateAs(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "all": {"type": bool}, - "replace_as": {"type": bool}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None all: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40693,7 +37922,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemovePrivateAs. @@ -40705,26 +37933,20 @@ def __init__( enabled: enabled all: all replace_as: replace_as - _custom_data: _custom_data """ class RemovePrivateAsIngress(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "replace_as": {"type": bool}} enabled: bool | None replace_as: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - replace_as: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, replace_as: bool | None | UndefinedType = Undefined ) -> None: """ RemovePrivateAsIngress. @@ -40735,25 +37957,18 @@ def __init__( Args: enabled: enabled replace_as: replace_as - _custom_data: _custom_data """ class BfdTimers(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "interval": {"type": int}, - "min_rx": {"type": int}, - "multiplier": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"interval": {"type": int}, "min_rx": {"type": int}, "multiplier": {"type": int}} interval: int """Interval in milliseconds.""" min_rx: int """Rate in milliseconds.""" multiplier: int - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40763,7 +37978,6 @@ def __init__( interval: int | UndefinedType = Undefined, min_rx: int | UndefinedType = Undefined, multiplier: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BfdTimers. @@ -40775,24 +37989,17 @@ def __init__( interval: Interval in milliseconds. min_rx: Rate in milliseconds. multiplier: multiplier - _custom_data: _custom_data """ class DefaultOriginate(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool}, - "always": {"type": bool}, - "route_map": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "always": {"type": bool}, "route_map": {"type": str}} enabled: bool | None always: bool | None route_map: str | None """Route-map name.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40802,7 +38009,6 @@ def __init__( enabled: bool | None | UndefinedType = Undefined, always: bool | None | UndefinedType = Undefined, route_map: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DefaultOriginate. @@ -40814,7 +38020,6 @@ def __init__( enabled: enabled always: always route_map: Route-map name. - _custom_data: _custom_data """ @@ -40829,7 +38034,6 @@ class DirectionIn(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -40839,7 +38043,6 @@ class DirectionIn(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40850,7 +38053,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionIn. @@ -40863,7 +38065,6 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ @@ -40875,7 +38076,6 @@ class DirectionOut(AvdModel): "include_community_list": {"type": bool}, "include_prefix_list": {"type": bool}, "include_sub_route_map": {"type": bool}, - "_custom_data": {"type": dict}, } action: Literal["deny", "permit", "deny-in-out"] """Missing policy action.""" @@ -40885,7 +38085,6 @@ class DirectionOut(AvdModel): """Include prefix-list references in missing policy decision.""" include_sub_route_map: bool | None """Include sub-route-map references in missing policy decision.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -40896,7 +38095,6 @@ def __init__( include_community_list: bool | None | UndefinedType = Undefined, include_prefix_list: bool | None | UndefinedType = Undefined, include_sub_route_map: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DirectionOut. @@ -40909,15 +38107,10 @@ def __init__( include_community_list: Include community-list references in missing policy decision. include_prefix_list: Include prefix-list references in missing policy decision. include_sub_route_map: Include sub-route-map references in missing policy decision. - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "direction_in": {"type": DirectionIn}, - "direction_out": {"type": DirectionOut}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"direction_in": {"type": DirectionIn}, "direction_out": {"type": DirectionOut}} direction_in: DirectionIn """ Missing policy inbound direction. @@ -40930,16 +38123,11 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - direction_in: DirectionIn | UndefinedType = Undefined, - direction_out: DirectionOut | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, direction_in: DirectionIn | UndefinedType = Undefined, direction_out: DirectionOut | UndefinedType = Undefined ) -> None: """ MissingPolicy. @@ -40956,27 +38144,21 @@ def __init__( Missing policy outbound direction. Subclass of AvdModel. - _custom_data: _custom_data """ class LinkBandwidth(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "default": {"type": str}} enabled: bool | None default: str | None """nn.nn(K|M|G) link speed in bits/second.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - default: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, default: str | None | UndefinedType = Undefined ) -> None: """ LinkBandwidth. @@ -40987,28 +38169,20 @@ def __init__( Args: enabled: enabled default: nn.nn(K|M|G) link speed in bits/second. - _custom_data: _custom_data """ class AllowasIn(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "times": {"type": int}} enabled: bool | None times: int | None """Number of local ASNs allowed in a BGP update.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - times: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, times: int | None | UndefinedType = Undefined) -> None: """ AllowasIn. @@ -41018,27 +38192,19 @@ def __init__( Args: enabled: enabled times: Number of local ASNs allowed in a BGP update. - _custom_data: _custom_data """ class RibInPrePolicyRetain(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "all": {"type": bool}} enabled: bool | None all: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - all: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, all: bool | None | UndefinedType = Undefined) -> None: """ RibInPrePolicyRetain. @@ -41048,19 +38214,17 @@ def __init__( Args: enabled: enabled all: all - _custom_data: _custom_data """ class SharedSecret(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}, "hash_algorithm": {"type": str}} profile: str """Name of profile defined under `management_security`.""" hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] """Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41069,7 +38233,6 @@ def __init__( *, profile: str | UndefinedType = Undefined, hash_algorithm: Literal["aes-128-cmac-96", "hmac-sha-256", "hmac-sha1-96"] | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SharedSecret. @@ -41080,7 +38243,6 @@ def __init__( Args: profile: Name of profile defined under `management_security`. hash_algorithm: Note: Algorithm hmac-sha-256 requires EOS version 4.31.1F and above. - _custom_data: _custom_data """ @@ -41122,9 +38284,8 @@ def __init__( "session_tracker": {"type": str}, "shared_secret": {"type": SharedSecret}, "ttl_maximum_hops": {"type": int}, - "_custom_data": {"type": dict}, } - name: str | None + name: str """BGP peer group name.""" nodes: Nodes """ @@ -41226,14 +38387,13 @@ def __init__( """Subclass of AvdModel.""" ttl_maximum_hops: int | None """Maximum number of hops.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( self, *, - name: str | None | UndefinedType = Undefined, + name: str | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, address_family_ipv4: AddressFamilyIpv4 | UndefinedType = Undefined, address_family_ipv6: AddressFamilyIpv6 | UndefinedType = Undefined, @@ -41270,7 +38430,6 @@ def __init__( session_tracker: str | None | UndefinedType = Undefined, shared_secret: SharedSecret | UndefinedType = Undefined, ttl_maximum_hops: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ BgpPeerGroupsItem. @@ -41346,12 +38505,13 @@ def __init__( session_tracker: session_tracker shared_secret: Subclass of AvdModel. ttl_maximum_hops: Maximum number of hops. - _custom_data: _custom_data """ - class BgpPeerGroups(AvdList[BgpPeerGroupsItem]): - """Subclass of AvdList with `BgpPeerGroupsItem` items.""" + class BgpPeerGroups(AvdIndexedList[str, BgpPeerGroupsItem]): + """Subclass of AvdIndexedList with `BgpPeerGroupsItem` items. Primary key is `name` (`str`).""" + + _primary_key: ClassVar[str] = "name" BgpPeerGroups._item_type = BgpPeerGroupsItem @@ -41368,7 +38528,6 @@ class Nodes(AvdList[str]): "address_family": {"type": str}, "route_target": {"type": str}, "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, } type: Literal["import", "export"] | None address_family: str | None @@ -41378,7 +38537,6 @@ class Nodes(AvdList[str]): Nodes is required to restrict configuration of BGP neighbors to certain nodes in the network. Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41389,7 +38547,6 @@ def __init__( address_family: str | None | UndefinedType = Undefined, route_target: str | None | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ AdditionalRouteTargetsItem. @@ -41404,7 +38561,6 @@ def __init__( nodes: Nodes is required to restrict configuration of BGP neighbors to certain nodes in the network. Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -41448,7 +38604,6 @@ class StructuredConfig(EosCliConfigGen): "additional_route_targets": {"type": AdditionalRouteTargets}, "raw_eos_cli": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str address_families: AddressFamilies @@ -41672,8 +38827,8 @@ class StructuredConfig(EosCliConfigGen): peer_group names should not overlap between VRFs. - Subclass of AvdList - with `BgpPeerGroupsItem` items. + Subclass of + AvdIndexedList with `BgpPeerGroupsItem` items. Primary key is `name` (`str`). """ additional_route_targets: AdditionalRouteTargets """ @@ -41690,7 +38845,6 @@ class StructuredConfig(EosCliConfigGen): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41728,7 +38882,6 @@ def __init__( additional_route_targets: AdditionalRouteTargets | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ VrfsItem. @@ -41902,8 +39055,8 @@ def __init__( peer_group names should not overlap between VRFs. - Subclass of AvdList - with `BgpPeerGroupsItem` items. + Subclass of + AvdIndexedList with `BgpPeerGroupsItem` items. Primary key is `name` (`str`). additional_route_targets: Configuration of extra route-targets for this VRF. Useful for route-leaking or gateway between address families. @@ -41914,7 +39067,6 @@ def __init__( Custom structured config for eos_cli_config_gen. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -41941,15 +39093,12 @@ class TrunkGroups(AvdList[str]): class EvpnL2Multicast(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}} enabled: bool | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined) -> None: """ EvpnL2Multicast. @@ -41958,7 +39107,6 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ @@ -41970,7 +39118,6 @@ class IgmpSnoopingQuerier(AvdModel): "source_address": {"type": str}, "version": {"type": int}, "fast_leave": {"type": bool}, - "_custom_data": {"type": dict}, } enabled: bool | None """Will be enabled automatically if evpn_l2_multicast is enabled.""" @@ -41983,7 +39130,6 @@ class IgmpSnoopingQuerier(AvdModel): """IGMP Version (By default EOS uses IGMP version 2 for IGMP querier).""" fast_leave: bool | None """Enable IGMP snooping fast-leave feature.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -41994,7 +39140,6 @@ def __init__( source_address: str | None | UndefinedType = Undefined, version: Literal[1, 2, 3] | None | UndefinedType = Undefined, fast_leave: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IgmpSnoopingQuerier. @@ -42009,7 +39154,6 @@ def __init__( If not set, IP address of "Loopback0" will be used. version: IGMP Version (By default EOS uses IGMP version 2 for IGMP querier). fast_leave: Enable IGMP snooping fast-leave feature. - _custom_data: _custom_data """ @@ -42019,11 +39163,7 @@ class Bgp(AvdModel): class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "structured_config": {"type": StructuredConfig}, - "raw_eos_cli": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"structured_config": {"type": StructuredConfig}, "raw_eos_cli": {"type": str}} structured_config: StructuredConfig """ Custom structured config added under router_bgp.vlans.[id=] for eos_cli_config_gen. @@ -42039,16 +39179,11 @@ class StructuredConfig(EosCliConfigGen.RouterBgp.VlansItem): This configuration will not be applied to vlan aware bundles. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - structured_config: StructuredConfig | UndefinedType = Undefined, - raw_eos_cli: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, structured_config: StructuredConfig | UndefinedType = Undefined, raw_eos_cli: str | None | UndefinedType = Undefined ) -> None: """ Bgp. @@ -42068,7 +39203,6 @@ def __init__( EOS cli commands rendered on router_bgp.vlans. This configuration will not be applied to vlan aware bundles. - _custom_data: _custom_data """ @@ -42088,7 +39222,6 @@ def __init__( "igmp_snooping_enabled": {"type": bool}, "igmp_snooping_querier": {"type": IgmpSnoopingQuerier}, "bgp": {"type": Bgp}, - "_custom_data": {"type": dict}, } id: int """VLAN ID.""" @@ -42190,7 +39323,6 @@ def __init__( """ bgp: Bgp """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42212,7 +39344,6 @@ def __init__( igmp_snooping_enabled: bool | None | UndefinedType = Undefined, igmp_snooping_querier: IgmpSnoopingQuerier | UndefinedType = Undefined, bgp: Bgp | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L2vlansItem. @@ -42291,7 +39422,6 @@ def __init__( Subclass of AvdModel. bgp: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42306,14 +39436,13 @@ class PointToPointServicesItem(AvdModel): class SubinterfacesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"number": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"number": {"type": int}} number: int """Subinterface number.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, number: int | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, number: int | UndefinedType = Undefined) -> None: """ SubinterfacesItem. @@ -42322,7 +39451,6 @@ def __init__(self, *, number: int | UndefinedType = Undefined, _custom_data: dic Args: number: Subinterface number. - _custom_data: _custom_data """ @@ -42349,19 +39477,14 @@ class Interfaces(AvdList[str]): class PortChannel(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"mode": {"type": str}, "short_esi": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"mode": {"type": str}, "short_esi": {"type": str}} mode: Literal["active", "on"] | None short_esi: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - mode: Literal["active", "on"] | None | UndefinedType = Undefined, - short_esi: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, mode: Literal["active", "on"] | None | UndefinedType = Undefined, short_esi: str | None | UndefinedType = Undefined ) -> None: """ PortChannel. @@ -42372,7 +39495,6 @@ def __init__( Args: mode: mode short_esi: short_esi - _custom_data: _custom_data """ @@ -42381,7 +39503,6 @@ def __init__( "nodes": {"type": Nodes}, "interfaces": {"type": Interfaces}, "port_channel": {"type": PortChannel}, - "_custom_data": {"type": dict}, } id: int """Pseudowire ID on this endpoint.""" @@ -42403,7 +39524,6 @@ def __init__( """ port_channel: PortChannel """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42414,7 +39534,6 @@ def __init__( nodes: Nodes | UndefinedType = Undefined, interfaces: Interfaces | UndefinedType = Undefined, port_channel: PortChannel | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EndpointsItem. @@ -42437,7 +39556,6 @@ def __init__( Subclass of AvdList with `str` items. port_channel: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -42452,7 +39570,6 @@ class Endpoints(AvdList[EndpointsItem]): "subinterfaces": {"type": Subinterfaces}, "endpoints": {"type": Endpoints}, "lldp_disable": {"type": bool}, - "_custom_data": {"type": dict}, } name: str """Pseudowire name.""" @@ -42475,7 +39592,6 @@ class Endpoints(AvdList[EndpointsItem]): """ lldp_disable: bool | None """Disable LLDP RX/TX on port mode pseudowire services.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42487,7 +39603,6 @@ def __init__( subinterfaces: Subinterfaces | UndefinedType = Undefined, endpoints: Endpoints | UndefinedType = Undefined, lldp_disable: bool | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ PointToPointServicesItem. @@ -42510,7 +39625,6 @@ def __init__( Subclass of AvdList with `EndpointsItem` items. lldp_disable: Disable LLDP RX/TX on port mode pseudowire services. - _custom_data: _custom_data """ @@ -42539,7 +39653,6 @@ class PointToPointServices(AvdIndexedList[str, PointToPointServicesItem]): "vrfs": {"type": Vrfs}, "l2vlans": {"type": L2vlans}, "point_to_point_services": {"type": PointToPointServices}, - "_custom_data": {"type": dict}, } name: str """ @@ -42736,7 +39849,6 @@ class PointToPointServices(AvdIndexedList[str, PointToPointServicesItem]): Subclass of AvdIndexedList with `PointToPointServicesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42760,7 +39872,6 @@ def __init__( vrfs: Vrfs | UndefinedType = Undefined, l2vlans: L2vlans | UndefinedType = Undefined, point_to_point_services: PointToPointServices | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NetworkServicesItem. @@ -42921,7 +40032,6 @@ def __init__( Subclass of AvdIndexedList with `PointToPointServicesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -42971,18 +40081,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -42992,7 +40096,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -43004,7 +40107,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -43016,7 +40118,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -43032,17 +40133,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -43059,7 +40153,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -43070,7 +40163,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -43088,7 +40180,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43098,7 +40189,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -43113,7 +40203,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -43138,14 +40227,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -43154,22 +40242,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -43178,7 +40262,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -43236,7 +40319,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -43294,7 +40376,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43307,7 +40388,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -43350,7 +40430,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -43360,12 +40439,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -43376,7 +40450,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43386,7 +40459,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -43401,7 +40473,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -43415,16 +40486,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -43433,33 +40501,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -43469,16 +40525,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -43503,7 +40553,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43513,7 +40562,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -43540,7 +40588,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -43555,12 +40602,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -43572,7 +40614,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43582,7 +40623,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -43598,7 +40638,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -43618,7 +40657,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -43663,7 +40701,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43678,7 +40715,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -43703,7 +40739,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -43733,19 +40768,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -43756,7 +40786,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -43769,14 +40798,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43785,7 +40809,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -43796,7 +40819,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -43804,7 +40826,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -43812,7 +40833,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43822,7 +40842,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -43834,7 +40853,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -43844,16 +40862,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43863,7 +40875,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -43875,7 +40886,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -43888,7 +40898,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -43900,7 +40909,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43912,7 +40920,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -43926,29 +40933,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -43959,7 +40956,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -43967,7 +40963,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -43975,7 +40970,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -43985,7 +40979,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -43997,7 +40990,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44019,7 +41011,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -44085,7 +41076,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44109,7 +41099,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -44154,7 +41143,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44169,21 +41157,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -44193,7 +41174,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -44207,7 +41187,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -44266,7 +41245,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44282,7 +41260,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -44324,7 +41301,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44334,12 +41310,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -44358,7 +41329,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44368,7 +41338,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -44389,23 +41358,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -44414,7 +41379,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -44429,7 +41393,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -44438,16 +41402,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -44461,7 +41420,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -44472,7 +41430,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -44480,13 +41438,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -44499,28 +41454,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -44530,7 +41477,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -44563,7 +41509,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -44707,7 +41652,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44739,7 +41683,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -44837,7 +41780,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44864,7 +41806,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -44896,7 +41837,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44909,7 +41849,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -44937,7 +41876,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -44951,12 +41889,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -44975,7 +41908,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -44985,7 +41917,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -45006,23 +41937,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -45031,7 +41958,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -45045,21 +41971,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -45069,7 +41988,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -45101,7 +42019,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -45249,7 +42166,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -45280,7 +42196,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -45381,7 +42296,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -45499,7 +42413,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } id: int | None """Unique identifier used for IP addressing and other algorithms.""" @@ -46302,7 +43215,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -46415,7 +43327,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Defaults. @@ -46986,7 +43897,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -47004,11 +43914,7 @@ class DownlinkInterfaces(AvdList[str]): DownlinkInterfaces._item_type = str - _fields: ClassVar[dict] = { - "ipv4_pool": {"type": str}, - "downlink_interfaces": {"type": DownlinkInterfaces}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_pool": {"type": str}, "downlink_interfaces": {"type": DownlinkInterfaces}} ipv4_pool: str | None """ Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). @@ -47024,7 +43930,6 @@ class DownlinkInterfaces(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47033,7 +43938,6 @@ def __init__( *, ipv4_pool: str | None | UndefinedType = Undefined, downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ DownlinkPoolsItem. @@ -47053,7 +43957,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -47068,18 +43971,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47089,7 +43986,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -47101,7 +43997,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -47113,7 +44008,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -47129,17 +44023,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -47156,7 +44043,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -47167,7 +44053,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -47185,7 +44070,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47195,7 +44079,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -47210,7 +44093,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -47235,16 +44117,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -47253,22 +44132,18 @@ def __init__( Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -47277,7 +44152,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -47335,7 +44209,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -47393,7 +44266,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47406,7 +44278,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -47449,7 +44320,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -47459,12 +44329,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -47475,7 +44340,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47485,7 +44349,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -47500,7 +44363,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -47514,16 +44376,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -47532,33 +44391,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -47568,16 +44415,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -47602,7 +44443,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47612,7 +44452,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -47639,7 +44478,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47654,12 +44492,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -47671,7 +44504,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47681,7 +44513,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -47697,7 +44528,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -47717,7 +44547,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -47762,7 +44591,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47777,7 +44605,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -47802,7 +44629,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -47832,10 +44658,9 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47844,7 +44669,6 @@ def __init__( *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Dscp. @@ -47855,7 +44679,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -47868,14 +44691,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47884,7 +44702,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -47895,7 +44712,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -47903,7 +44719,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -47911,7 +44726,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47921,7 +44735,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -47933,7 +44746,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -47943,16 +44755,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -47962,7 +44768,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -47974,7 +44779,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -47987,7 +44791,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -47999,7 +44802,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48011,7 +44813,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -48025,29 +44826,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -48058,7 +44849,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48066,7 +44856,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -48074,7 +44863,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48084,7 +44872,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -48096,7 +44883,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48118,7 +44904,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -48184,7 +44969,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48208,7 +44992,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -48253,7 +45036,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48268,20 +45050,15 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -48292,7 +45069,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -48306,7 +45082,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -48365,7 +45140,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48381,7 +45155,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -48423,7 +45196,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48437,7 +45209,6 @@ class Bgp(AvdModel): "peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } peer_as: str """ @@ -48457,7 +45228,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48467,7 +45237,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -48488,23 +45257,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -48513,7 +45278,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -48528,7 +45292,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -48537,16 +45301,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -48560,7 +45319,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -48571,7 +45329,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -48579,13 +45337,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -48598,27 +45353,21 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -48629,7 +45378,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -48662,7 +45410,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -48806,7 +45553,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -48838,7 +45584,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -48936,7 +45681,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -48963,7 +45707,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -48995,7 +45738,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49008,7 +45750,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -49036,7 +45777,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49054,7 +45794,6 @@ class Bgp(AvdModel): "peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, } peer_as: str """ @@ -49074,7 +45813,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49084,7 +45822,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -49105,23 +45842,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -49130,7 +45863,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -49144,20 +45876,15 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined ) -> None: """ FlowTracking. @@ -49168,7 +45895,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -49200,7 +45926,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -49348,7 +46073,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -49379,7 +46103,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -49480,7 +46203,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -49600,7 +46322,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } name: str """The Node Name is used as "hostname".""" @@ -50413,7 +47134,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -50528,7 +47248,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -51106,7 +47825,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -51123,18 +47841,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51144,7 +47856,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -51156,7 +47867,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -51168,7 +47878,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -51184,17 +47893,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -51211,7 +47913,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -51222,7 +47923,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -51240,7 +47940,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51250,7 +47949,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -51265,7 +47963,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -51290,14 +47987,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -51306,22 +48002,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -51330,7 +48022,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -51388,7 +48079,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -51446,7 +48136,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51459,7 +48148,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -51502,7 +48190,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -51512,12 +48199,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -51528,7 +48210,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51538,7 +48219,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -51553,7 +48233,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -51567,16 +48246,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -51585,33 +48261,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -51621,16 +48285,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -51655,7 +48313,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51665,7 +48322,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -51692,7 +48348,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -51707,12 +48362,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -51724,7 +48374,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51734,7 +48383,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -51750,7 +48398,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -51770,7 +48417,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -51815,7 +48461,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51830,7 +48475,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -51855,7 +48499,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -51885,19 +48528,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -51908,7 +48546,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -51921,14 +48558,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51937,7 +48569,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -51948,7 +48579,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -51956,7 +48586,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -51964,7 +48593,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -51974,7 +48602,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -51986,7 +48613,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -51996,16 +48622,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52015,7 +48635,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -52027,7 +48646,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -52040,7 +48658,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -52052,7 +48669,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52064,7 +48680,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -52078,29 +48693,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -52111,7 +48716,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52119,7 +48723,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -52127,7 +48730,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52137,7 +48739,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -52149,7 +48750,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52171,7 +48771,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -52237,7 +48836,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52261,7 +48859,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -52306,7 +48903,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52321,21 +48917,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -52345,7 +48934,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -52359,7 +48947,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -52418,7 +49005,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52434,7 +49020,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -52476,7 +49061,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -52486,12 +49070,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -52510,7 +49089,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52520,7 +49098,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -52541,23 +49118,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -52566,7 +49139,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -52581,7 +49153,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -52590,16 +49162,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -52613,7 +49180,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -52624,7 +49190,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -52632,13 +49198,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -52651,28 +49214,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -52682,7 +49237,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -52715,7 +49269,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -52859,7 +49412,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -52891,7 +49443,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -52989,7 +49540,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -53016,7 +49566,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -53048,7 +49597,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53061,7 +49609,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -53089,7 +49636,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -53103,12 +49649,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -53127,7 +49668,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53137,7 +49677,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -53158,23 +49697,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -53183,7 +49718,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -53197,21 +49731,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -53221,7 +49748,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -53253,7 +49779,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -53401,7 +49926,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -53432,7 +49956,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -53533,7 +50056,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -53653,7 +50175,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } group: str """ @@ -54469,7 +50990,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -54584,7 +51104,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodeGroupsItem. @@ -55164,7 +51683,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -55186,11 +51704,7 @@ class DownlinkInterfaces(AvdList[str]): DownlinkInterfaces._item_type = str - _fields: ClassVar[dict] = { - "ipv4_pool": {"type": str}, - "downlink_interfaces": {"type": DownlinkInterfaces}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"ipv4_pool": {"type": str}, "downlink_interfaces": {"type": DownlinkInterfaces}} ipv4_pool: str | None """ Comma separated list of prefixes (IPv4 address/Mask) or ranges (IPv4_address-IPv4_address). @@ -55206,16 +51720,11 @@ class DownlinkInterfaces(AvdList[str]): Subclass of AvdList with `str` items. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - ipv4_pool: str | None | UndefinedType = Undefined, - downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, ipv4_pool: str | None | UndefinedType = Undefined, downlink_interfaces: DownlinkInterfaces | UndefinedType = Undefined ) -> None: """ DownlinkPoolsItem. @@ -55235,7 +51744,6 @@ def __init__( Subclass of AvdList with `str` items. - _custom_data: _custom_data """ @@ -55250,18 +51758,12 @@ class LinkTracking(AvdModel): class GroupsItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "name": {"type": str}, - "recovery_delay": {"type": int}, - "links_minimum": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"name": {"type": str}, "recovery_delay": {"type": int}, "links_minimum": {"type": int}} name: str | None """Tracking group name.""" recovery_delay: int | None """default -> platform_settings_mlag_reload_delay -> 300.""" links_minimum: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55271,7 +51773,6 @@ def __init__( name: str | None | UndefinedType = Undefined, recovery_delay: int | None | UndefinedType = Undefined, links_minimum: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ GroupsItem. @@ -55283,7 +51784,6 @@ def __init__( name: Tracking group name. recovery_delay: default -> platform_settings_mlag_reload_delay -> 300. links_minimum: links_minimum - _custom_data: _custom_data """ @@ -55295,7 +51795,6 @@ class Groups(AvdList[GroupsItem]): _fields: ClassVar[dict] = { "enabled": {"type": bool, "default": False}, "groups": {"type": Groups, "default": lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -55311,17 +51810,10 @@ class Groups(AvdList[GroupsItem]): Default value: `lambda cls: coerce_type([{"name": "LT_GROUP1"}], target_type=cls)` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - groups: Groups | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, groups: Groups | UndefinedType = Undefined) -> None: """ LinkTracking. @@ -55338,7 +51830,6 @@ def __init__( Subclass of AvdList with `GroupsItem` items. - _custom_data: _custom_data """ @@ -55349,7 +51840,6 @@ class LacpPortIdRange(AvdModel): "enabled": {"type": bool, "default": False}, "size": {"type": int, "default": 128}, "offset": {"type": int, "default": 0}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `False`""" @@ -55367,7 +51857,6 @@ class LacpPortIdRange(AvdModel): Default value: `0` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55377,7 +51866,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, size: int | UndefinedType = Undefined, offset: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ LacpPortIdRange. @@ -55392,7 +51880,6 @@ def __init__( Offset is used to avoid overlapping port-id ranges of different switches. Useful when a "connected- endpoint" is connected to switches in different "node_groups". - _custom_data: _custom_data """ @@ -55417,14 +51904,13 @@ class UplinkSwitches(AvdList[str]): class UplinkPtp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enable": {"type": bool, "default": False}} enable: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, enable: bool | UndefinedType = Undefined) -> None: """ UplinkPtp. @@ -55433,22 +51919,18 @@ def __init__(self, *, enable: bool | UndefinedType = Undefined, _custom_data: di Args: enable: enable - _custom_data: _custom_data """ class UplinkMacsec(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"profile": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"profile": {"type": str}} profile: str | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, profile: str | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, profile: str | None | UndefinedType = Undefined) -> None: """ UplinkMacsec. @@ -55457,7 +51939,6 @@ def __init__( Args: profile: profile - _custom_data: _custom_data """ @@ -55515,7 +51996,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): "deny_vrfs": {"type": DenyVrfs, "default": lambda cls: coerce_type(["all"], target_type=cls)}, "always_include_vrfs_in_tenants": {"type": AlwaysIncludeVrfsInTenants}, "only_vlans_in_use": {"type": bool, "default": False}, - "_custom_data": {"type": dict}, } tenants: Tenants """ @@ -55573,7 +52053,6 @@ class AlwaysIncludeVrfsInTenants(AvdList[str]): Default value: `False` """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55586,7 +52065,6 @@ def __init__( deny_vrfs: DenyVrfs | UndefinedType = Undefined, always_include_vrfs_in_tenants: AlwaysIncludeVrfsInTenants | UndefinedType = Undefined, only_vlans_in_use: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Filter. @@ -55629,7 +52107,6 @@ def __init__( feature only considers configuration managed by eos_designs. This excludes structured_config, custom_structured_configuration_, raw_eos_cli, eos_cli, custom templates, configlets etc. - _custom_data: _custom_data """ @@ -55639,12 +52116,7 @@ class EvpnGateway(AvdModel): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote EVPN GW server.""" ip_address: str | None @@ -55655,7 +52127,6 @@ class RemotePeersItem(AvdModel): For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55665,7 +52136,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | None | UndefinedType = Undefined, bgp_as: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -55680,7 +52150,6 @@ def __init__( Remote Route Server's BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -55694,16 +52163,13 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): class EvpnL2(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}} enabled: bool """Default value: `False`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, enabled: bool | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined) -> None: """ EvpnL2. @@ -55712,33 +52178,21 @@ def __init__( Args: enabled: enabled - _custom_data: _custom_data """ class EvpnL3(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "enabled": {"type": bool, "default": False}, - "inter_domain": {"type": bool, "default": True}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"enabled": {"type": bool, "default": False}, "inter_domain": {"type": bool, "default": True}} enabled: bool """Default value: `False`""" inter_domain: bool """Default value: `True`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | UndefinedType = Undefined, - inter_domain: bool | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | UndefinedType = Undefined, inter_domain: bool | UndefinedType = Undefined) -> None: """ EvpnL3. @@ -55748,16 +52202,10 @@ def __init__( Args: enabled: enabled inter_domain: inter_domain - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "remote_peers": {"type": RemotePeers}, - "evpn_l2": {"type": EvpnL2}, - "evpn_l3": {"type": EvpnL3}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"remote_peers": {"type": RemotePeers}, "evpn_l2": {"type": EvpnL2}, "evpn_l3": {"type": EvpnL3}} remote_peers: RemotePeers """ Define remote peers of the EVPN VXLAN Gateway. @@ -55782,7 +52230,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55792,7 +52239,6 @@ def __init__( remote_peers: RemotePeers | UndefinedType = Undefined, evpn_l2: EvpnL2 | UndefinedType = Undefined, evpn_l3: EvpnL3 | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ EvpnGateway. @@ -55819,7 +52265,6 @@ def __init__( Enable EVPN Gateway functionality for route-type 5 (IP-PREFIX). Subclass of AvdModel. - _custom_data: _custom_data """ @@ -55834,12 +52279,7 @@ class AddressFamilies(AvdList[str]): class RemotePeersItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "hostname": {"type": str}, - "ip_address": {"type": str}, - "bgp_as": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"hostname": {"type": str}, "ip_address": {"type": str}, "bgp_as": {"type": str}} hostname: str """Hostname of remote IPVPN Peer.""" ip_address: str @@ -55851,7 +52291,6 @@ class RemotePeersItem(AvdModel): asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55861,7 +52300,6 @@ def __init__( hostname: str | UndefinedType = Undefined, ip_address: str | UndefinedType = Undefined, bgp_as: str | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ RemotePeersItem. @@ -55877,7 +52315,6 @@ def __init__( For asdot notation in YAML inputs, the value must be put in quotes, to prevent it from being interpreted as a float number. - _custom_data: _custom_data """ @@ -55897,7 +52334,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): "local_as": {"type": str}, "address_families": {"type": AddressFamilies, "default": lambda cls: coerce_type(["vpn-ipv4"], target_type=cls)}, "remote_peers": {"type": RemotePeers}, - "_custom_data": {"type": dict}, } enabled: bool evpn_domain_id: str @@ -55942,7 +52378,6 @@ class RemotePeers(AvdIndexedList[str, RemotePeersItem]): """ remote_peers: RemotePeers """Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`).""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -55957,7 +52392,6 @@ def __init__( local_as: str | None | UndefinedType = Undefined, address_families: AddressFamilies | UndefinedType = Undefined, remote_peers: RemotePeers | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ IpvpnGateway. @@ -55982,7 +52416,6 @@ def __init__( Subclass of AvdList with `str` items. remote_peers: Subclass of AvdIndexedList with `RemotePeersItem` items. Primary key is `hostname` (`str`). - _custom_data: _custom_data """ @@ -56012,19 +52445,14 @@ class Uplinks(AvdList[str]): class Dscp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"general_messages": {"type": int}, "event_messages": {"type": int}} general_messages: int | None event_messages: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - general_messages: int | None | UndefinedType = Undefined, - event_messages: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, general_messages: int | None | UndefinedType = Undefined, event_messages: int | None | UndefinedType = Undefined ) -> None: """ Dscp. @@ -56035,7 +52463,6 @@ def __init__( Args: general_messages: general_messages event_messages: event_messages - _custom_data: _custom_data """ @@ -56048,14 +52475,9 @@ class Threshold(AvdModel): class Drop(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "offset_from_master": {"type": int}, - "mean_path_delay": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"offset_from_master": {"type": int}, "mean_path_delay": {"type": int}} offset_from_master: int | None mean_path_delay: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56064,7 +52486,6 @@ def __init__( *, offset_from_master: int | None | UndefinedType = Undefined, mean_path_delay: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Drop. @@ -56075,7 +52496,6 @@ def __init__( Args: offset_from_master: offset_from_master mean_path_delay: mean_path_delay - _custom_data: _custom_data """ @@ -56083,7 +52503,6 @@ def __init__( "offset_from_master": {"type": int, "default": 250}, "mean_path_delay": {"type": int, "default": 1500}, "drop": {"type": Drop}, - "_custom_data": {"type": dict}, } offset_from_master: int """Default value: `250`""" @@ -56091,7 +52510,6 @@ def __init__( """Default value: `1500`""" drop: Drop """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56101,7 +52519,6 @@ def __init__( offset_from_master: int | UndefinedType = Undefined, mean_path_delay: int | UndefinedType = Undefined, drop: Drop | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Threshold. @@ -56113,7 +52530,6 @@ def __init__( offset_from_master: offset_from_master mean_path_delay: mean_path_delay drop: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56123,16 +52539,10 @@ class MissingMessage(AvdModel): class Intervals(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "announce": {"type": int}, - "follow_up": {"type": int}, - "sync": {"type": int}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"announce": {"type": int}, "follow_up": {"type": int}, "sync": {"type": int}} announce: int | None follow_up: int | None sync: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56142,7 +52552,6 @@ def __init__( announce: int | None | UndefinedType = Undefined, follow_up: int | None | UndefinedType = Undefined, sync: int | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Intervals. @@ -56154,7 +52563,6 @@ def __init__( announce: announce follow_up: follow_up sync: sync - _custom_data: _custom_data """ @@ -56167,7 +52575,6 @@ class SequenceIds(AvdModel): "delay_resp": {"type": int, "default": 3}, "follow_up": {"type": int, "default": 3}, "sync": {"type": int, "default": 3}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -56179,7 +52586,6 @@ class SequenceIds(AvdModel): """Default value: `3`""" sync: int """Default value: `3`""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56191,7 +52597,6 @@ def __init__( delay_resp: int | UndefinedType = Undefined, follow_up: int | UndefinedType = Undefined, sync: int | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ SequenceIds. @@ -56205,29 +52610,19 @@ def __init__( delay_resp: delay_resp follow_up: follow_up sync: sync - _custom_data: _custom_data """ - _fields: ClassVar[dict] = { - "intervals": {"type": Intervals}, - "sequence_ids": {"type": SequenceIds}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"intervals": {"type": Intervals}, "sequence_ids": {"type": SequenceIds}} intervals: Intervals """Subclass of AvdModel.""" sequence_ids: SequenceIds """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - intervals: Intervals | UndefinedType = Undefined, - sequence_ids: SequenceIds | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, intervals: Intervals | UndefinedType = Undefined, sequence_ids: SequenceIds | UndefinedType = Undefined ) -> None: """ MissingMessage. @@ -56238,7 +52633,6 @@ def __init__( Args: intervals: Subclass of AvdModel. sequence_ids: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56246,7 +52640,6 @@ def __init__( "enabled": {"type": bool, "default": True}, "threshold": {"type": Threshold}, "missing_message": {"type": MissingMessage}, - "_custom_data": {"type": dict}, } enabled: bool """Default value: `True`""" @@ -56254,7 +52647,6 @@ def __init__( """Subclass of AvdModel.""" missing_message: MissingMessage """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56264,7 +52656,6 @@ def __init__( enabled: bool | UndefinedType = Undefined, threshold: Threshold | UndefinedType = Undefined, missing_message: MissingMessage | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Monitor. @@ -56276,7 +52667,6 @@ def __init__( enabled: enabled threshold: Subclass of AvdModel. missing_message: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56298,7 +52688,6 @@ def __init__( "forward_unicast": {"type": bool, "default": False}, "dscp": {"type": Dscp}, "monitor": {"type": Monitor}, - "_custom_data": {"type": dict}, } enabled: bool | None profile: str | None @@ -56364,7 +52753,6 @@ def __init__( """Subclass of AvdModel.""" monitor: Monitor """Subclass of AvdModel.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56388,7 +52776,6 @@ def __init__( forward_unicast: bool | UndefinedType = Undefined, dscp: Dscp | UndefinedType = Undefined, monitor: Monitor | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Ptp. @@ -56433,7 +52820,6 @@ def __init__( forward_unicast: Enable PTP unicast forwarding. dscp: Subclass of AvdModel. monitor: Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56448,21 +52834,14 @@ class HaInterfaces(AvdList[str]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -56472,7 +52851,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -56486,7 +52864,6 @@ def __init__( "port_channel_id": {"type": int}, "use_port_channel_for_direct_ha": {"type": bool, "default": True}, "flow_tracking": {"type": FlowTracking}, - "_custom_data": {"type": dict}, } enabled: bool | None """Enable / Disable auto CV-Pathfinder HA, when two nodes are defined in the same node_group.""" @@ -56545,7 +52922,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56561,7 +52937,6 @@ def __init__( port_channel_id: int | None | UndefinedType = Undefined, use_port_channel_for_direct_ha: bool | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ WanHa. @@ -56603,7 +52978,6 @@ def __init__( setting. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -56613,12 +52987,7 @@ class L3InterfacesItem(AvdModel): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -56637,7 +53006,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -56647,7 +53015,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -56668,23 +53035,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -56693,7 +53056,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -56708,7 +53070,7 @@ class CvPathfinderInternetExit(AvdModel): class PoliciesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "tunnel_interface_numbers": {"type": str}} name: str """Internet-exit policy name.""" tunnel_interface_numbers: str | None @@ -56717,16 +53079,11 @@ class PoliciesItem(AvdModel): interface. Examples: '1-3' or '100,200,300' """ - _custom_data: dict[str, Any] if TYPE_CHECKING: def __init__( - self, - *, - name: str | UndefinedType = Undefined, - tunnel_interface_numbers: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, + self, *, name: str | UndefinedType = Undefined, tunnel_interface_numbers: str | None | UndefinedType = Undefined ) -> None: """ PoliciesItem. @@ -56740,7 +53097,6 @@ def __init__( Number range to use for Tunnel interfaces to an internet-exit service provider using this local interface. Examples: '1-3' or '100,200,300' - _custom_data: _custom_data """ @@ -56751,7 +53107,7 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Policies._item_type = PoliciesItem - _fields: ClassVar[dict] = {"policies": {"type": Policies}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"policies": {"type": Policies}} policies: Policies """ List of Internet-exit policies using this interface as exit. @@ -56759,13 +53115,10 @@ class Policies(AvdIndexedList[str, PoliciesItem]): Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, policies: Policies | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, policies: Policies | UndefinedType = Undefined) -> None: """ CvPathfinderInternetExit. @@ -56778,28 +53131,20 @@ def __init__( Subclass of AvdIndexedList with `PoliciesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -56809,7 +53154,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -56842,7 +53186,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } profile: str | None """L3 interface profile name. Profile defined under `l3_interface_profiles`.""" @@ -56986,7 +53329,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57018,7 +53360,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3InterfacesItem. @@ -57116,7 +53457,6 @@ def __init__( Custom structured config for the Ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57143,7 +53483,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): "peer_interface": {"type": str}, "speed": {"type": str}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -57175,7 +53514,6 @@ class StructuredConfig(EosCliConfigGen.EthernetInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57188,7 +53526,6 @@ def __init__( peer_interface: str | None | UndefinedType = Undefined, speed: str | None | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ MemberInterfacesItem. @@ -57216,7 +53553,6 @@ def __init__( Custom structured config for the member ethernet interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57230,12 +53566,7 @@ class MemberInterfaces(AvdIndexedList[str, MemberInterfacesItem]): class Bgp(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = { - "peer_as": {"type": str}, - "ipv4_prefix_list_in": {"type": str}, - "ipv4_prefix_list_out": {"type": str}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"peer_as": {"type": str}, "ipv4_prefix_list_in": {"type": str}, "ipv4_prefix_list_out": {"type": str}} peer_as: str """ BGP AS <1-4294967295> or AS number in asdot notation "<1-65535>.<0-65535>". @@ -57254,7 +53585,6 @@ class Bgp(AvdModel): If not specified, nothing would be advertised. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57264,7 +53594,6 @@ def __init__( peer_as: str | UndefinedType = Undefined, ipv4_prefix_list_in: str | None | UndefinedType = Undefined, ipv4_prefix_list_out: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ Bgp. @@ -57285,23 +53614,19 @@ def __init__( Prefix List Name. Advertise routes for only these prefixes. If not specified, nothing would be advertised. - _custom_data: _custom_data """ class StaticRoutesItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"prefix": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"prefix": {"type": str}} prefix: str """IPv4_network/Mask.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, *, prefix: str | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined - ) -> None: + def __init__(self, *, prefix: str | UndefinedType = Undefined) -> None: """ StaticRoutesItem. @@ -57310,7 +53635,6 @@ def __init__( Args: prefix: IPv4_network/Mask. - _custom_data: _custom_data """ @@ -57324,21 +53648,14 @@ class StaticRoutes(AvdIndexedList[str, StaticRoutesItem]): class FlowTracking(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"enabled": {"type": bool}, "name": {"type": str}} enabled: bool | None name: str | None """Flow tracker name as defined in flow_tracking_settings.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__( - self, - *, - enabled: bool | None | UndefinedType = Undefined, - name: str | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, - ) -> None: + def __init__(self, *, enabled: bool | None | UndefinedType = Undefined, name: str | None | UndefinedType = Undefined) -> None: """ FlowTracking. @@ -57348,7 +53665,6 @@ def __init__( Args: enabled: enabled name: Flow tracker name as defined in flow_tracking_settings. - _custom_data: _custom_data """ @@ -57380,7 +53696,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): "raw_eos_cli": {"type": str}, "flow_tracking": {"type": FlowTracking}, "structured_config": {"type": StructuredConfig}, - "_custom_data": {"type": dict}, } name: str """ @@ -57528,7 +53843,6 @@ class StructuredConfig(EosCliConfigGen.PortChannelInterfacesItem): Subclass of AvdModel. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -57559,7 +53873,6 @@ def __init__( raw_eos_cli: str | None | UndefinedType = Undefined, flow_tracking: FlowTracking | UndefinedType = Undefined, structured_config: StructuredConfig | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ L3PortChannelsItem. @@ -57660,7 +53973,6 @@ def __init__( Custom structured config for the Port-Channel interface. Subclass of AvdModel. - _custom_data: _custom_data """ @@ -57780,7 +54092,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): "l3_port_channels": {"type": L3PortChannels}, "data_plane_cpu_allocation_max": {"type": int}, "flow_tracker_type": {"type": str}, - "_custom_data": {"type": dict}, } name: str """The Node Name is used as "hostname".""" @@ -58593,7 +54904,6 @@ class L3PortChannels(AvdIndexedList[str, L3PortChannelsItem]): level. `default_flow_tracker_type` default value is `sampled`. """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -58708,7 +55018,6 @@ def __init__( l3_port_channels: L3PortChannels | UndefinedType = Undefined, data_plane_cpu_allocation_max: int | None | UndefinedType = Undefined, flow_tracker_type: Literal["sampled", "hardware"] | None | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodesItem. @@ -59286,7 +55595,6 @@ def __init__( Override the `default_flow_tracker_type`` set at the `node_type_key` level. `default_flow_tracker_type` default value is `sampled`. - _custom_data: _custom_data """ @@ -59297,12 +55605,7 @@ class Nodes(AvdIndexedList[str, NodesItem]): Nodes._item_type = NodesItem - _fields: ClassVar[dict] = { - "defaults": {"type": Defaults}, - "node_groups": {"type": NodeGroups}, - "nodes": {"type": Nodes}, - "_custom_data": {"type": dict}, - } + _fields: ClassVar[dict] = {"defaults": {"type": Defaults}, "node_groups": {"type": NodeGroups}, "nodes": {"type": Nodes}} defaults: Defaults """ Define variables for all nodes of this type. @@ -59323,7 +55626,6 @@ class Nodes(AvdIndexedList[str, NodesItem]): Subclass of AvdIndexedList with `NodesItem` items. Primary key is `name` (`str`). """ - _custom_data: dict[str, Any] if TYPE_CHECKING: @@ -59333,7 +55635,6 @@ def __init__( defaults: Defaults | UndefinedType = Undefined, node_groups: NodeGroups | UndefinedType = Undefined, nodes: Nodes | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, ) -> None: """ NodeTypes. @@ -59356,7 +55657,6 @@ def __init__( Subclass of AvdIndexedList with `NodesItem` items. Primary key is `name` (`str`). - _custom_data: _custom_data """ @@ -59785,7 +56085,6 @@ def __init__( "wan_stun_dtls_profile_name": {"type": str, "default": "STUN-DTLS"}, "wan_virtual_topologies": {"type": WanVirtualTopologies}, "zscaler_endpoints": {"type": ZscalerEndpoints}, - "_custom_data": {"type": dict}, "_custom_structured_configurations": {"type": _CustomStructuredConfigurations}, "_dynamic_keys": {"type": _DynamicKeys}, } @@ -61562,7 +57861,6 @@ def __init__( Subclass of AvdModel. """ - _custom_data: dict[str, Any] _custom_structured_configurations: _CustomStructuredConfigurations _dynamic_keys: _DynamicKeys """Dynamic keys""" @@ -61762,7 +58060,6 @@ def __init__( wan_stun_dtls_profile_name: str | UndefinedType = Undefined, wan_virtual_topologies: WanVirtualTopologies | UndefinedType = Undefined, zscaler_endpoints: ZscalerEndpoints | UndefinedType = Undefined, - _custom_data: dict[str, Any] | UndefinedType = Undefined, _custom_structured_configurations: _CustomStructuredConfigurations | UndefinedType = Undefined, _dynamic_keys: _DynamicKeys | UndefinedType = Undefined, ) -> None: @@ -63031,7 +59328,6 @@ def __init__( configured for Zscaler integration. Subclass of AvdModel. - _custom_data: _custom_data _custom_structured_configurations: _custom_structured_configurations _dynamic_keys: Dynamic keys diff --git a/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml b/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml index b77ab51aa7b..6776a817846 100644 --- a/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml +++ b/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml @@ -7337,6 +7337,7 @@ $defs: documentation_options: table: network-services-vrfs-bgp-settings type: list + primary_key: name description: 'List of BGP peer groups definitions. This will configure BGP peer groups to be used inside the tenant diff --git a/python-avd/pyavd/_eos_designs/schema/schema_fragments/avd_eos_designs_structured_config.schema copy.yml b/python-avd/pyavd/_eos_designs/schema/schema_fragments/avd_eos_designs_enforce_duplication_checks_across_all_models.schema.yml similarity index 100% rename from python-avd/pyavd/_eos_designs/schema/schema_fragments/avd_eos_designs_structured_config.schema copy.yml rename to python-avd/pyavd/_eos_designs/schema/schema_fragments/avd_eos_designs_enforce_duplication_checks_across_all_models.schema.yml diff --git a/python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_network_services.schema.yml b/python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_network_services.schema.yml index f84b29d407b..80f4a4ed82b 100644 --- a/python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_network_services.schema.yml +++ b/python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_network_services.schema.yml @@ -1113,6 +1113,7 @@ $defs: documentation_options: table: network-services-vrfs-bgp-settings type: list + primary_key: name description: | List of BGP peer groups definitions. This will configure BGP peer groups to be used inside the tenant VRF for peering with external devices. diff --git a/python-avd/pyavd/_eos_designs/shared_utils/filtered_tenants.py b/python-avd/pyavd/_eos_designs/shared_utils/filtered_tenants.py index 34e2f5a33f5..7561712ecde 100644 --- a/python-avd/pyavd/_eos_designs/shared_utils/filtered_tenants.py +++ b/python-avd/pyavd/_eos_designs/shared_utils/filtered_tenants.py @@ -92,9 +92,6 @@ def filtered_l2vlans( filtered_l2vlans = tenant.l2vlans._filtered( lambda l2vlan: self.is_accepted_vlan(l2vlan) and bool("all" in self.filter_tags or set(l2vlan.tags).intersection(self.filter_tags)) ) - # Set tenant on all l2vlans TODO: avoid this. - for l2vlan in filtered_l2vlans: - l2vlan._tenant = tenant.name if tenant.evpn_vlan_bundle: for l2vlan in filtered_l2vlans: @@ -199,9 +196,6 @@ def filtered_vrfs( if not self.is_accepted_vrf(vrf): continue - # Copying original_vrf - vrf._tenant = tenant.name - vrf.bgp_peers = vrf.bgp_peers._filtered(lambda bgp_peer: self.hostname in bgp_peer.nodes)._natural_sorted(sort_key="ip_address") vrf.static_routes = vrf.static_routes._filtered(lambda route: not route.nodes or self.hostname in route.nodes) vrf.ipv6_static_routes = vrf.ipv6_static_routes._filtered(lambda route: not route.nodes or self.hostname in route.nodes) @@ -215,8 +209,8 @@ def filtered_vrfs( evpn_l3_multicast_enabled = default(vrf.evpn_l3_multicast.enabled, tenant.evpn_l3_multicast.enabled) # TODO: Consider if all this should be moved out of filtered_vrfs. if self.evpn_multicast: - vrf._evpn_l3_multicast_enabled = evpn_l3_multicast_enabled - vrf._evpn_l3_multicast_group_ip = vrf.evpn_l3_multicast.evpn_underlay_l3_multicast_group + vrf._internal_data.evpn_l3_multicast_enabled = evpn_l3_multicast_enabled + vrf._internal_data.evpn_l3_multicast_group_ip = vrf.evpn_l3_multicast.evpn_underlay_l3_multicast_group rps = [] for rp_entry in vrf.pim_rp_addresses or tenant.pim_rp_addresses: @@ -236,11 +230,11 @@ def filtered_vrfs( rps.append(rp_address) if rps: - vrf._pim_rp_addresses = rps + vrf._internal_data.pim_rp_addresses = rps for evpn_peg in vrf.evpn_l3_multicast.evpn_peg or tenant.evpn_l3_multicast.evpn_peg: if not evpn_peg.nodes or self.hostname in evpn_peg.nodes: - vrf._evpn_l3_multicast_evpn_peg_transit = evpn_peg.transit + vrf._internal_data.evpn_l3_multicast_evpn_peg_transit = evpn_peg.transit break vrf.additional_route_targets = vrf.additional_route_targets._filtered( @@ -322,10 +316,6 @@ def filtered_svis( # Perform filtering on tags after merge of profiles, to support tags being set inside profiles. svis = svis._filtered(lambda svi: "all" in self.filter_tags or bool(set(svi.tags).intersection(self.filter_tags))) - # Set tenant key on all SVIs - for svi in svis: - svi._tenant = vrf._tenant - return svis._natural_sorted(sort_key="id") @cached_property diff --git a/python-avd/pyavd/_eos_designs/shared_utils/utils.py b/python-avd/pyavd/_eos_designs/shared_utils/utils.py index b247482e018..267413e0b3e 100644 --- a/python-avd/pyavd/_eos_designs/shared_utils/utils.py +++ b/python-avd/pyavd/_eos_designs/shared_utils/utils.py @@ -85,7 +85,6 @@ def get_merged_adapter_settings(self: SharedUtilsProtocol, adapter_or_network_po Args: adapter_or_network_port_settings: can either be an adapter of a connected endpoint or one item under network_ports. - context: a context string for error messages. """ # Deepcopy to avoid modifying the original. adapter_or_network_port_settings = adapter_or_network_port_settings._deepcopy() @@ -94,7 +93,7 @@ def get_merged_adapter_settings(self: SharedUtilsProtocol, adapter_or_network_po # No profile to apply return adapter_or_network_port_settings - adapter_profile = self.get_merged_port_profile(profile_name, adapter_or_network_port_settings._context) + adapter_profile = self.get_merged_port_profile(profile_name, adapter_or_network_port_settings._internal_data.context) profile_as_adapter_or_network_port_settings = adapter_profile._cast_as(type(adapter_or_network_port_settings)) adapter_or_network_port_settings._deepinherit(profile_as_adapter_or_network_port_settings) return adapter_or_network_port_settings diff --git a/python-avd/pyavd/_eos_designs/shared_utils/wan.py b/python-avd/pyavd/_eos_designs/shared_utils/wan.py index 9aab848c918..4a4ab8385f7 100644 --- a/python-avd/pyavd/_eos_designs/shared_utils/wan.py +++ b/python-avd/pyavd/_eos_designs/shared_utils/wan.py @@ -194,9 +194,9 @@ def wan_local_path_groups(self: SharedUtilsProtocol) -> EosDesigns.WanPathGroups raise AristaAvdInvalidInputsError(msg) local_path_groups[path_group_name] = self.inputs.wan_path_groups[path_group_name]._deepcopy() - local_path_groups[path_group_name]._interfaces = [] + local_path_groups[path_group_name]._internal_data.interfaces = [] - local_path_groups[path_group_name]._interfaces.extend(carrier["interfaces"]) + local_path_groups[path_group_name]._internal_data.interfaces.extend(carrier["interfaces"]) return local_path_groups @@ -424,7 +424,8 @@ def should_connect_to_wan_rs(self: SharedUtilsProtocol, path_group_names: list[s `connected_to_pathfinder` is not False. """ return any( - local_path_group.name in path_group_names and any(wan_interface["connected_to_pathfinder"] for wan_interface in local_path_group._interfaces) + local_path_group.name in path_group_names + and any(wan_interface["connected_to_pathfinder"] for wan_interface in local_path_group._internal_data.interfaces) for local_path_group in self.wan_local_path_groups ) diff --git a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/ethernet_interfaces.py b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/ethernet_interfaces.py index 0341806d5e8..d90fc72c703 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/ethernet_interfaces.py +++ b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/ethernet_interfaces.py @@ -48,11 +48,11 @@ def ethernet_interfaces(self: AvdStructuredConfigConnectedEndpointsProtocol) -> network_ports_ethernet_interfaces = EosCliConfigGen.EthernetInterfaces() for network_port in self._filtered_network_ports: connected_endpoint = EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem(name=network_port.endpoint or Undefined) - connected_endpoint._type = "network_port" + connected_endpoint._internal_data.type = "network_port" network_port_as_adapter = network_port._cast_as( EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem.AdaptersItem, ignore_extra_keys=True ) - network_port_as_adapter._context = network_port._context + network_port_as_adapter._internal_data.context = network_port._internal_data.context for ethernet_interface_name in range_expand(network_port.switch_ports): # Skip the interface if it was already created by some other feature like connected endpoints or uplinks etc. if ethernet_interface_name in self.structured_config.ethernet_interfaces: @@ -163,7 +163,7 @@ def _get_ethernet_interface_cfg( name=adapter.switch_ports[node_index], peer=peer, peer_interface=peer_interface, - peer_type=connected_endpoint._type, + peer_type=connected_endpoint._internal_data.type, port_profile=adapter.profile, description=self.shared_utils.interface_descriptions.connected_endpoints_ethernet_interface( InterfaceDescriptionData( @@ -171,7 +171,7 @@ def _get_ethernet_interface_cfg( interface=adapter.switch_ports[node_index], peer=peer, peer_interface=peer_interface, - peer_type=connected_endpoint._type, + peer_type=connected_endpoint._internal_data.type, description=interface_description, port_channel_id=channel_group_id if port_channel_mode is not None else None, ), @@ -208,10 +208,9 @@ def _get_ethernet_interface_cfg( ) raise AristaAvdInvalidInputsError(msg) - profile = self.shared_utils.get_merged_port_profile(profile_name, context=f"{adapter._context}.port_channel.lacp_fallback.individual")._cast_as( - EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem.AdaptersItem - ) - profile._context = adapter._context + profile = self.shared_utils.get_merged_port_profile( + profile_name, context=f"{adapter._internal_data.context}.port_channel.lacp_fallback.individual" + )._cast_as(EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem.AdaptersItem) self._update_ethernet_interface_cfg(profile, ethernet_interface, connected_endpoint) if adapter.port_channel.mode != "on" and adapter.port_channel.lacp_timer.mode is not None: diff --git a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/monitor_sessions.py b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/monitor_sessions.py index 681d8570717..35c8a11890f 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/monitor_sessions.py +++ b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/monitor_sessions.py @@ -44,19 +44,19 @@ def monitor_sessions(self: AvdStructuredConfigConnectedEndpointsProtocol) -> lis if session.source_settings.access_group: msg = ( f"Cannot set an ACL for both `session_settings` and `source_settings`" - f" under the monitor session '{session.name}' for {session._context}." + f" under the monitor session '{session.name}' for {session._internal_data.context}." ) raise AristaAvdInvalidInputsError(msg) monitor_session = { "name": session_name, "sources": [], - "destinations": [session._interface for session in session_configs_list if session.role == "destination"], + "destinations": [session._internal_data.interface for session in session_configs_list if session.role == "destination"], } source_sessions = [session for session in session_configs_list if session.role == "source"] for session in source_sessions: source = { - "name": session._interface, + "name": session._internal_data.interface, "direction": session.source_settings.direction, } if session.source_settings.access_group.name is not None: @@ -102,8 +102,8 @@ def _monitor_session_configs( port_channel_interface_name = f"Port-Channel{channel_group_id}" for monitor_session in adapter.monitor_sessions: per_interface_monitor_session = monitor_session._deepcopy() - per_interface_monitor_session._interface = port_channel_interface_name - per_interface_monitor_session._context = adapter._context + per_interface_monitor_session._internal_data.interface = port_channel_interface_name + per_interface_monitor_session._internal_data.context = adapter._internal_data.context monitor_session_configs.append(per_interface_monitor_session) continue @@ -115,8 +115,8 @@ def _monitor_session_configs( ethernet_interface_name = adapter.switch_ports[node_index] for monitor_session in adapter.monitor_sessions: per_interface_monitor_session = monitor_session._deepcopy() - per_interface_monitor_session._interface = ethernet_interface_name - per_interface_monitor_session._context = adapter._context + per_interface_monitor_session._internal_data.interface = ethernet_interface_name + per_interface_monitor_session._internal_data.context = adapter._internal_data.context monitor_session_configs.append(per_interface_monitor_session) for network_port in self._filtered_network_ports: @@ -132,16 +132,16 @@ def _monitor_session_configs( port_channel_interface_name = f"Port-Channel{channel_group_id}" for monitor_session in network_port.monitor_sessions: per_interface_monitor_session = monitor_session._deepcopy() - per_interface_monitor_session._interface = port_channel_interface_name - per_interface_monitor_session._context = network_port._context + per_interface_monitor_session._internal_data.interface = port_channel_interface_name + per_interface_monitor_session._internal_data.context = network_port._internal_data.context monitor_session_configs.append(per_interface_monitor_session) continue # Monitor session on Ethernet interface for monitor_session in network_port.monitor_sessions: per_interface_monitor_session = monitor_session._deepcopy() - per_interface_monitor_session._interface = ethernet_interface_name - per_interface_monitor_session._context = network_port._context + per_interface_monitor_session._internal_data.interface = ethernet_interface_name + per_interface_monitor_session._internal_data.context = network_port._internal_data.context monitor_session_configs.append(per_interface_monitor_session) return monitor_session_configs diff --git a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/port_channel_interfaces.py b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/port_channel_interfaces.py index 0f0281f02fd..b9cdc5422a3 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/port_channel_interfaces.py +++ b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/port_channel_interfaces.py @@ -69,7 +69,7 @@ def port_channel_interfaces(self: AvdStructuredConfigConnectedEndpointsProtocol) continue connected_endpoint = EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem(name=network_port.endpoint or Undefined) - connected_endpoint._type = "network_port" + connected_endpoint._internal_data.type = "network_port" network_port_as_adapter = network_port._cast_as( EosDesigns._DynamicKeys.DynamicConnectedEndpointsItem.ConnectedEndpointsItem.AdaptersItem, ignore_extra_keys=True ) @@ -127,7 +127,7 @@ def _get_port_channel_interface_cfg( interface=port_channel_interface_name, peer=peer, peer_interface=peer_interface, - peer_type=connected_endpoint._type, + peer_type=connected_endpoint._internal_data.type, description=adapter_description, port_channel_id=channel_group_id, port_channel_description=port_channel_description, diff --git a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/utils.py b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/utils.py index 0332ab38f79..b1ebf4d7db6 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/utils.py +++ b/python-avd/pyavd/_eos_designs/structured_config/connected_endpoints/utils.py @@ -56,7 +56,7 @@ def _filtered_connected_endpoints( for connected_endpoint in connected_endpoints_key.value: filtered_adapters = [] for adapter_index, adapter in enumerate(connected_endpoint.adapters): - adapter._context = f"{connected_endpoints_key.key}[name={connected_endpoint.name}].adapters[{adapter_index}]" + adapter._internal_data.context = f"{connected_endpoints_key.key}[name={connected_endpoint.name}].adapters[{adapter_index}]" adapter_settings = self.shared_utils.get_merged_adapter_settings(adapter) if not adapter_settings.switches or self.shared_utils.hostname not in adapter_settings.switches: continue @@ -78,7 +78,7 @@ def _filtered_connected_endpoints( if filtered_adapters: # The object was deepcopied inside "get_merged_adapter_settings" so we can modify it here. connected_endpoint.adapters = filtered_adapters - connected_endpoint._type = self.inputs.connected_endpoints_keys[connected_endpoints_key.key].type + connected_endpoint._internal_data.type = self.inputs.connected_endpoints_keys[connected_endpoints_key.key].type filtered_connected_endpoints.append(connected_endpoint) return filtered_connected_endpoints @@ -88,7 +88,7 @@ def _filtered_network_ports(self: AvdStructuredConfigConnectedEndpointsProtocol) """Return list of endpoints defined under "network_ports" which are connected to this switch.""" filtered_network_ports = [] for index, network_port in enumerate(self.inputs.network_ports): - network_port._context = f"network_ports[{index}]" + network_port._internal_data.context = f"network_ports[{index}]" network_port_settings = self.shared_utils.get_merged_adapter_settings(network_port) if not network_port_settings.switches and not network_port_settings.platforms: @@ -164,7 +164,7 @@ def _get_adapter_storm_control( output_type: type[T_StormControl], ) -> T_StormControl | UndefinedType: """Return storm_control for one adapter.""" - if self.shared_utils.platform_settings.feature_support.interface_storm_control: + if self.shared_utils.platform_settings.feature_support.interface_storm_control and adapter.storm_control: return adapter.storm_control._cast_as(output_type) return Undefined @@ -243,7 +243,7 @@ def _get_adapter_ptp( # Apply PTP profile config if (ptp_profile_name := adapter.ptp.profile or self.shared_utils.ptp_profile_name) is not None: if ptp_profile_name not in self.inputs.ptp_profiles: - msg = f"PTP Profile '{ptp_profile_name}' referenced under {adapter._context} does not exist in `ptp_profiles`." + msg = f"PTP Profile '{ptp_profile_name}' referenced under {adapter._internal_data.context} does not exist in `ptp_profiles`." raise AristaAvdInvalidInputsError(msg) # Create a copy and removes the .profile attribute since the target model has a .profile key with a different schema. diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/ethernet_interfaces.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/ethernet_interfaces.py index 0752708c1ac..6136401c47e 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/ethernet_interfaces.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/ethernet_interfaces.py @@ -132,7 +132,7 @@ def ethernet_interfaces(self: AvdStructuredConfigNetworkServicesProtocol) -> lis interface["ospf_message_digest_keys"] = ospf_keys if l3_interface.pim.enabled: - if not getattr(vrf, "_evpn_l3_multicast_enabled", False): + if not getattr(vrf._internal_data, "evpn_l3_multicast_enabled", False): # Possibly the key was not set because `evpn_multicast` is not set to `true`. if not self.shared_utils.evpn_multicast: msg = ( @@ -146,7 +146,7 @@ def ethernet_interfaces(self: AvdStructuredConfigNetworkServicesProtocol) -> lis ) raise AristaAvdError(msg) - if not getattr(vrf, "_pim_rp_addresses", None): + if not getattr(vrf._internal_data, "pim_rp_addresses", None): msg = ( f"'pim: enabled' set on l3_interface '{interface_name}' on '{self.shared_utils.hostname}' requires at least one RP" f" defined in pim_rp_addresses under VRF '{vrf.name}' or Tenant '{tenant.name}'" diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/loopback_interfaces.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/loopback_interfaces.py index 25bd39f2ee4..7e95ddb7c40 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/loopback_interfaces.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/loopback_interfaces.py @@ -35,7 +35,7 @@ def loopback_interfaces(self: AvdStructuredConfigNetworkServicesProtocol) -> lis loopback_interfaces = [] for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: - if (loopback_interface := self._get_vtep_diagnostic_loopback_for_vrf(vrf)) is not None: + if (loopback_interface := self._get_vtep_diagnostic_loopback_for_vrf(vrf, tenant)) is not None: append_if_not_duplicate( list_of_dicts=loopback_interfaces, primary_key="name", @@ -78,7 +78,9 @@ def loopback_interfaces(self: AvdStructuredConfigNetworkServicesProtocol) -> lis return None def _get_vtep_diagnostic_loopback_for_vrf( - self: AvdStructuredConfigNetworkServicesProtocol, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem + self: AvdStructuredConfigNetworkServicesProtocol, + vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, ) -> dict | None: if (loopback := vrf.vtep_diagnostic.loopback) is None: return None @@ -99,7 +101,7 @@ def _get_vtep_diagnostic_loopback_for_vrf( return strip_empties_from_dict( { "name": interface_name, - "description": AvdStringFormatter().format(description_template, interface=interface_name, vrf=vrf.name, tenant=vrf._tenant), + "description": AvdStringFormatter().format(description_template, interface=interface_name, vrf=vrf.name, tenant=tenant.name), "shutdown": False, "vrf": vrf.name, "ip_address": f"{self.shared_utils.ip_addressing.vrf_loopback_ip(loopback_ipv4_pool)}/32" if loopback_ipv4_pool else None, diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py index 8b0e1f3a6f6..b4bfb3a0500 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/route_maps.py @@ -68,7 +68,9 @@ def route_maps(self: AvdStructuredConfigNetworkServicesProtocol) -> list | None: if (route_maps_vrf_default := self._route_maps_vrf_default) is not None: route_maps.extend(route_maps_vrf_default) - if self._configure_bgp_mlag_peer_group and self.shared_utils.node_config.mlag_ibgp_origin_incomplete: + # Note we check the 'flag need_mlag_peer_group' here which is being set by router_bgp logic. So this must run after. + # TODO: Move this logic to a single place instead. + if self.need_mlag_peer_group and self.shared_utils.node_config.mlag_ibgp_origin_incomplete: route_maps.append(self._bgp_mlag_peer_group_route_map()) if self._mlag_ibgp_peering_subnets_without_redistribution: diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py index 72f4804ece4..02222b05f57 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_bgp.py @@ -4,13 +4,14 @@ from __future__ import annotations import ipaddress -from functools import cached_property from itertools import groupby as itertools_groupby -from typing import TYPE_CHECKING, Protocol +from typing import TYPE_CHECKING, Protocol, cast +from pyavd._eos_cli_config_gen.schema import EosCliConfigGen from pyavd._eos_designs.schema import EosDesigns +from pyavd._eos_designs.structured_config.structured_config_generator import structured_config_contributor from pyavd._errors import AristaAvdInvalidInputsError -from pyavd._utils import AvdStringFormatter, append_if_not_duplicate, default, get_item, merge, strip_empties_from_dict +from pyavd._utils import AvdStringFormatter, default, get_item, strip_empties_from_dict from pyavd.j2filters import list_compress if TYPE_CHECKING: @@ -24,54 +25,54 @@ class RouterBgpMixin(Protocol): Class should only be used as Mixin to a AvdStructuredConfig class. """ - @cached_property - def router_bgp(self: AvdStructuredConfigNetworkServicesProtocol) -> dict | None: + need_mlag_peer_group: bool = False + """Flag set during configuration of BGP VRFs if they have MLAG enabled. Used later to decide if we need to configure the MLAG peer group or not.""" + + @structured_config_contributor + def router_bgp(self: AvdStructuredConfigNetworkServicesProtocol) -> None: """ - Return the structured config for router_bgp. + Set the structured config for router_bgp. + + The main function calls some individual functions which updates structured configuration directly. Changing legacy behavior is to only render this on vtep or mpls_ler by instead skipping vlans/bundles if not vtep or mpls_ler TODO: Fix so this also works for L2LS with VRFs """ if not self.shared_utils.bgp: - return None + return tenant_svis_l2vlans_dict = self._router_bgp_sorted_vlans_and_svis_lists() - router_bgp = {} - merge( - router_bgp, - self._router_bgp_peer_groups(), - self._router_bgp_vrfs, - # stripping empties here to avoid overwriting keys with None values. - strip_empties_from_dict( - { - "vlans": self._router_bgp_vlans(tenant_svis_l2vlans_dict), - "vlan_aware_bundles": self._router_bgp_vlan_aware_bundles(tenant_svis_l2vlans_dict), - "redistribute": self._router_bgp_redistribute_routes, - "vpws": self._router_bgp_vpws, - } - ), - ) - # Configure MLAG iBGP peer-group if needed - if self._configure_bgp_mlag_peer_group: - merge(router_bgp, self.shared_utils.get_router_bgp_with_mlag_peer_group(self.custom_structured_configs)._as_dict()) + # These functions update structured config directly. + self._router_bgp_peer_groups() + self._router_bgp_vrfs() - # Strip None values from vlan before returning - return {key: value for key, value in router_bgp.items() if value is not None} + self._router_bgp_vlans(tenant_svis_l2vlans_dict) + self._router_bgp_vlan_aware_bundles(tenant_svis_l2vlans_dict) + self._router_bgp_redistribute_routes() + self._router_bgp_vpws() - def _router_bgp_peer_groups(self: AvdStructuredConfigNetworkServicesProtocol) -> dict: + # Configure MLAG iBGP peer-group if needed. The function updates structured config directly. + # Catches cases where underlay is not BGP but we still need MLAG iBGP peering. + if not self.shared_utils.underlay_bgp and self.need_mlag_peer_group: + self.structured_config.router_bgp._deepmerge(self.shared_utils.get_router_bgp_with_mlag_peer_group(self.custom_structured_configs)) + + def _router_bgp_peer_groups(self: AvdStructuredConfigNetworkServicesProtocol) -> None: """ - Return the structured config for router_bgp.peer_groups. + Set partial structured config for router_bgp.peer_groups. Covers two areas: - bgp_peer_groups defined under the vrf including ipv4/ipv6 address_families. - adding route-map to the underlay peer-group in case of services in vrf default """ if not self.shared_utils.network_services_l3: - return {} + return - peer_groups: list[EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.BgpPeerGroupsItem] = [] + peer_groups: list[ + EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.BgpPeerGroupsItem + | EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.BgpPeerGroupsItem + ] = [] peer_peergroups = set() for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: @@ -93,54 +94,38 @@ def _router_bgp_peer_groups(self: AvdStructuredConfigNetworkServicesProtocol) -> [peer_group for peer_group in tenant.bgp_peer_groups if self.shared_utils.hostname in peer_group.nodes or peer_group.name in peer_peergroups], ) - router_bgp = {"peer_groups": []} for peer_group in peer_groups: - peer_group_dict = peer_group._as_dict() - peer_group_dict.pop("nodes", None) - for af in ["address_family_ipv4", "address_family_ipv6"]: - if not (af_peer_group := peer_group_dict.pop(af, None)): - continue - af_peer_groups = router_bgp.setdefault(af, {"peer_groups": []})["peer_groups"] - append_if_not_duplicate( - primary_key="name", - list_of_dicts=af_peer_groups, - new_dict={"name": peer_group_dict["name"], **af_peer_group}, - context=f"BGP Peer Groups for '{af}' defined under network services", - context_keys=["name"], - ) - append_if_not_duplicate( - list_of_dicts=router_bgp["peer_groups"], - primary_key="name", - new_dict=peer_group_dict, - context="BGP Peer Groups defined under network services", - context_keys=["name"], - ) + self.structured_config.router_bgp.peer_groups.append(peer_group._cast_as(EosCliConfigGen.RouterBgp.PeerGroupsItem, ignore_extra_keys=True)) + if peer_group.address_family_ipv4: + af_peer_group = peer_group.address_family_ipv4._cast_as(EosCliConfigGen.RouterBgp.AddressFamilyIpv4.PeerGroupsItem, ignore_extra_keys=True) + af_peer_group.name = peer_group.name + self.structured_config.router_bgp.address_family_ipv4.peer_groups.append(af_peer_group) + if peer_group.address_family_ipv6: + af_peer_group = peer_group.address_family_ipv6._cast_as(EosCliConfigGen.RouterBgp.AddressFamilyIpv6.PeerGroupsItem, ignore_extra_keys=True) + af_peer_group.name = peer_group.name + self.structured_config.router_bgp.address_family_ipv6.peer_groups.append(af_peer_group) # router bgp default vrf configuration for evpn if self._vrf_default_evpn and (self._vrf_default_ipv4_subnets or self._vrf_default_ipv4_static_routes["static_routes"]): - router_bgp["peer_groups"].append( - { - "name": self.inputs.bgp_peer_groups.ipv4_underlay_peers.name, - "type": "ipv4", - "route_map_out": "RM-BGP-UNDERLAY-PEERS-OUT", - }, + self.structured_config.router_bgp.peer_groups.append_new( + name=self.inputs.bgp_peer_groups.ipv4_underlay_peers.name, + type="ipv4", + route_map_out="RM-BGP-UNDERLAY-PEERS-OUT", ) - return strip_empties_from_dict(router_bgp) - - @cached_property - def _router_bgp_vrfs(self: AvdStructuredConfigNetworkServicesProtocol) -> dict: + def _router_bgp_vrfs(self: AvdStructuredConfigNetworkServicesProtocol) -> None: """ - Return partial structured config for router_bgp. + Set partial structured config for router_bgp. Covers these areas: - vrfs for all VRFs. - neighbors and address_family_ipv4/6 for VRF default. """ if not self.shared_utils.network_services_l3: - return {} + return - router_bgp = {"vrfs": []} + # For VRF default the bgp_vrf variable will be set to the global router_bgp for some settings. + bgp_vrf: EosCliConfigGen.RouterBgp.VrfsItem | EosCliConfigGen.RouterBgp for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: @@ -148,11 +133,9 @@ def _router_bgp_vrfs(self: AvdStructuredConfigNetworkServicesProtocol) -> dict: continue vrf_name = vrf.name - bgp_vrf = strip_empties_from_dict( - { - "eos_cli": vrf.bgp.raw_eos_cli, - } - ) + bgp_vrf = EosCliConfigGen.RouterBgp.VrfsItem() + if vrf.bgp.raw_eos_cli: + bgp_vrf.eos_cli = vrf.bgp.raw_eos_cli if vrf.bgp.structured_config: self.custom_structured_configs.nested.router_bgp.vrfs.obtain(vrf_name)._deepmerge( @@ -164,124 +147,89 @@ def _router_bgp_vrfs(self: AvdStructuredConfigNetworkServicesProtocol) -> dict: self._update_router_bgp_vrf_evpn_or_mpls_cfg(bgp_vrf, vrf, vrf_address_families) if vrf_name != "default": - bgp_vrf["router_id"] = self.get_vrf_router_id(vrf, vrf.bgp.router_id, tenant.name) + bgp_vrf.router_id = self.get_vrf_router_id(vrf, tenant, vrf.bgp.router_id) if vrf.redistribute_connected: - bgp_vrf["redistribute"] = {"connected": {"enabled": True}} + bgp_vrf.redistribute.connected.enabled = True # Redistribution of static routes for VRF default are handled elsewhere # since there is a choice between redistributing to underlay or overlay. if vrf.redistribute_static or (vrf.static_routes and vrf.redistribute_static is None): - bgp_vrf["redistribute"].update({"static": {"enabled": True}}) + bgp_vrf.redistribute.static.enabled = True if self.shared_utils.inband_mgmt_vrf == vrf_name and self.shared_utils.inband_management_parent_vlans: - bgp_vrf["redistribute"].update({"attached_host": {"enabled": True}}) + bgp_vrf.redistribute.attached_host.enabled = True else: # VRF default + + # RD/RT and/or eos_cli/struct_cfg which should go under the vrf default context. + # Any peers added later will be put directly under router_bgp if bgp_vrf: - # RD/RT and/or eos_cli/struct_cfg which should go under the vrf default context. - # Any peers added later will be put directly under router_bgp - append_if_not_duplicate( - list_of_dicts=router_bgp["vrfs"], - primary_key="name", - new_dict={"name": vrf_name, **bgp_vrf}, - context="BGP VRFs defined under network services", - context_keys=["name"], - ) - # Resetting bgp_vrf so we only add global keys if there are any neighbors for VRF default - bgp_vrf = {} + bgp_vrf.name = vrf_name + self.structured_config.router_bgp.vrfs.append(bgp_vrf) + + # Resetting bgp_vrf so we only add global keys if there are any neighbors for VRF default + bgp_vrf = self.structured_config.router_bgp if self.shared_utils.underlay_routing_protocol == "none": # We need to add redistribute connected for the default VRF when underlay_routing_protocol is "none" - bgp_vrf["redistribute"] = {"connected": {"enabled": True}} + bgp_vrf.redistribute.connected.enabled = True # MLAG IBGP Peering VLANs per VRF # Will only be configured for VRF default if underlay_routing_protocol == "none". if (vlan_id := self._mlag_ibgp_peering_vlan_vrf(vrf, tenant)) is not None: self._update_router_bgp_vrf_mlag_neighbor_cfg(bgp_vrf, vrf, tenant, vlan_id) + self.need_mlag_peer_group = True for bgp_peer in vrf.bgp_peers: - # Below we pop various keys that are not supported by the eos_cli_config_gen schema. - # The rest of the keys are relayed directly to eos_cli_config_gen. - # 'ip_address' is popped even though it is supported. It will be added again later - # to ensure it comes first in the generated dict. - bgp_peer_dict = bgp_peer._as_dict() - peer_ip = bgp_peer_dict.pop("ip_address") - address_family = f"address_family_ipv{ipaddress.ip_address(peer_ip).version}" - neighbor = strip_empties_from_dict( - { - "ip_address": peer_ip, - "activate": True, - "prefix_list_in": bgp_peer_dict.pop("prefix_list_in", None), - "prefix_list_out": bgp_peer_dict.pop("prefix_list_out", None), - }, + peer_ip = bgp_peer.ip_address + address_family = bgp_vrf.address_family_ipv6 if ipaddress.ip_address(peer_ip).version == 6 else bgp_vrf.address_family_ipv4 + address_family.neighbors.append_new( + ip_address=peer_ip, + activate=True, + prefix_list_in=bgp_peer.prefix_list_in, + prefix_list_out=bgp_peer.prefix_list_out, ) - append_if_not_duplicate( - list_of_dicts=bgp_vrf.setdefault(address_family, {}).setdefault("neighbors", []), - primary_key="ip_address", - new_dict=neighbor, - context="BGP peer defined under VRFs", - context_keys=["ip_address"], - ) + # Below we recast directly to eos_cli_config_gen. Losing incompatible keys, but relaying everything else. + bgp_peer_config = bgp_peer._cast_as(bgp_vrf.NeighborsItem, ignore_extra_keys=True) if bgp_peer.set_ipv4_next_hop or bgp_peer.set_ipv6_next_hop: route_map = f"RM-{vrf_name}-{peer_ip}-SET-NEXT-HOP-OUT" - bgp_peer_dict["route_map_out"] = route_map - if bgp_peer_dict.get("default_originate") is not None: - bgp_peer_dict["default_originate"].setdefault("route_map", route_map) + bgp_peer_config.route_map_out = route_map + if bgp_peer_config.default_originate and not bgp_peer_config.default_originate.route_map: + bgp_peer_config.default_originate.route_map = route_map - bgp_peer_dict.pop("set_ipv4_next_hop", None) - bgp_peer_dict.pop("set_ipv6_next_hop", None) - - bgp_peer_dict.pop("nodes", None) - - append_if_not_duplicate( - list_of_dicts=bgp_vrf.setdefault("neighbors", []), - primary_key="ip_address", - new_dict={"ip_address": peer_ip, **bgp_peer_dict}, - context="BGP peer defined under VRFs", - context_keys=["ip_address"], - ) + # TODO: Figure out how to fix type checking. It looses track of the bgp_peer_config even though it was derived from bgp_vrf.NeighborsItem. + bgp_vrf.neighbors.append(bgp_peer_config) if vrf.ospf.enabled and vrf.redistribute_ospf and (not vrf.ospf.nodes or self.shared_utils.hostname in vrf.ospf.nodes): - bgp_vrf.setdefault("redistribute", {}).update({"ospf": {"enabled": True}}) - - if ( - bgp_vrf.get("neighbors") - and self.inputs.bgp_update_wait_install - and self.shared_utils.platform_settings.feature_support.bgp_update_wait_install - ): - bgp_vrf.setdefault("updates", {})["wait_install"] = True + bgp_vrf.redistribute.ospf.enabled = True - bgp_vrf = strip_empties_from_dict(bgp_vrf) + if bgp_vrf.neighbors and self.inputs.bgp_update_wait_install and self.shared_utils.platform_settings.feature_support.bgp_update_wait_install: + bgp_vrf.updates.wait_install = True # Skip adding the VRF if we have no config. if not bgp_vrf: continue - - if vrf_name == "default": + if vrf.name == "default": # VRF default is added directly under router_bgp - router_bgp.update(bgp_vrf) + bgp_vrf = cast(EosCliConfigGen.RouterBgp, bgp_vrf) + self.structured_config.router_bgp._deepmerge(bgp_vrf) else: - append_if_not_duplicate( - list_of_dicts=router_bgp["vrfs"], - primary_key="name", - new_dict={"name": vrf_name, **bgp_vrf}, - context="BGP VRFs defined under network services", - context_keys=["name"], - ) - return strip_empties_from_dict(router_bgp) + bgp_vrf = cast(EosCliConfigGen.RouterBgp.VrfsItem, bgp_vrf) + bgp_vrf.name = vrf_name + self.structured_config.router_bgp.vrfs.append(bgp_vrf) def _update_router_bgp_vrf_evpn_or_mpls_cfg( self: AvdStructuredConfigNetworkServicesProtocol, - bgp_vrf: dict, + bgp_vrf: EosCliConfigGen.RouterBgp.VrfsItem, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, vrf_address_families: list[str], ) -> None: """In-place update EVPN/MPLS part of structured config for *one* VRF under router_bgp.vrfs.""" vrf_name = vrf.name - bgp_vrf["rd"] = self.get_vrf_rd(vrf) + bgp_vrf.rd = self.get_vrf_rd(vrf) vrf_rt = self.get_vrf_rt(vrf) route_targets = {"import": [], "export": []} @@ -312,43 +260,41 @@ def _update_router_bgp_vrf_evpn_or_mpls_cfg( else: target.setdefault("route_targets", []).append("route-map RM-EVPN-EXPORT-VRF-DEFAULT") - bgp_vrf["route_targets"] = route_targets + bgp_vrf.route_targets = EosCliConfigGen.RouterBgp.VrfsItem.RouteTargets._from_dict(route_targets) # VRF default if vrf_name == "default": return # Not VRF default - bgp_vrf["evpn_multicast"] = getattr(vrf, "_evpn_l3_multicast_enabled", None) - if evpn_multicast_transit_mode := getattr(vrf, "_evpn_l3_multicast_evpn_peg_transit", False): - bgp_vrf["evpn_multicast_address_family"] = {"ipv4": {"transit": evpn_multicast_transit_mode}} + bgp_vrf.evpn_multicast = getattr(vrf._internal_data, "evpn_l3_multicast_enabled", None) + if evpn_multicast_transit_mode := getattr(vrf._internal_data, "evpn_l3_multicast_evpn_peg_transit", False): + bgp_vrf.evpn_multicast_address_family.ipv4.transit = evpn_multicast_transit_mode def _update_router_bgp_vrf_mlag_neighbor_cfg( self: AvdStructuredConfigNetworkServicesProtocol, - bgp_vrf: dict, + bgp_vrf: EosCliConfigGen.RouterBgp.VrfsItem | EosCliConfigGen.RouterBgp, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, vlan_id: int, ) -> None: """In-place update MLAG neighbor part of structured config for *one* VRF under router_bgp.vrfs.""" if self._exclude_mlag_ibgp_peering_from_redistribute(vrf, tenant): - bgp_vrf["redistribute"]["connected"] = {"enabled": True, "route_map": "RM-CONN-2-BGP-VRFS"} + bgp_vrf.redistribute.connected._update(enabled=True, route_map="RM-CONN-2-BGP-VRFS") interface_name = f"Vlan{vlan_id}" if self.inputs.underlay_rfc5549 and self.inputs.overlay_mlag_rfc5549: - bgp_vrf.setdefault("neighbor_interfaces", []).append( - { - "name": interface_name, - "peer_group": self.shared_utils.mlag_vrfs_peer_group_name, - "remote_as": self.shared_utils.bgp_as, - "description": AvdStringFormatter().format( - self.inputs.mlag_bgp_peer_description, - mlag_peer=self.shared_utils.mlag_peer, - interface=interface_name, - peer_interface=interface_name, - ), - }, + bgp_vrf.neighbor_interfaces.append_new( + name=interface_name, + peer_group=self.shared_utils.mlag_vrfs_peer_group_name, + remote_as=self.shared_utils.bgp_as, + description=AvdStringFormatter().format( + self.inputs.mlag_bgp_peer_description, + mlag_peer=self.shared_utils.mlag_peer, + interface=interface_name, + peer_interface=interface_name, + ), ) else: if not vrf.mlag_ibgp_peering_ipv4_pool: @@ -358,29 +304,21 @@ def _update_router_bgp_vrf_mlag_neighbor_cfg( else: ip_address = self.shared_utils.ip_addressing.mlag_ibgp_peering_ip_primary(vrf.mlag_ibgp_peering_ipv4_pool) - bgp_vrf.setdefault("neighbors", []).append( - { - "ip_address": ip_address, - "peer_group": self.shared_utils.mlag_vrfs_peer_group_name, - "description": AvdStringFormatter().format( - self.inputs.mlag_bgp_peer_description, - **strip_empties_from_dict( - {"mlag_peer": self.shared_utils.mlag_peer, "interface": interface_name, "peer_interface": interface_name, "vrf": vrf.name} - ), + bgp_vrf.neighbors.append_new( + ip_address=ip_address, + peer_group=self.shared_utils.mlag_vrfs_peer_group_name, + description=AvdStringFormatter().format( + self.inputs.mlag_bgp_peer_description, + **strip_empties_from_dict( + {"mlag_peer": self.shared_utils.mlag_peer, "interface": interface_name, "peer_interface": interface_name, "vrf": vrf.name} ), - }, + ), ) # In case of only underlay_rfc5549 but not overlay_mlag_rfc5549, we need to remove the ipv6 next-hop per neighbor/vrf # This is only needed when we use the same MLAG peer-group for both underlay and overlay. if self.inputs.underlay_rfc5549 and not self.shared_utils.use_separate_peer_group_for_mlag_vrfs: - bgp_vrf.setdefault("address_family_ipv4", {}).setdefault("neighbors", []).append( - { - "ip_address": ip_address, - "next_hop": { - "address_family_ipv6": {"enabled": False}, - }, - }, - ) + af_neighbor = bgp_vrf.address_family_ipv4.neighbors.obtain(ip_address) + af_neighbor.next_hop.address_family_ipv6.enabled = False def _router_bgp_sorted_vlans_and_svis_lists(self: AvdStructuredConfigNetworkServicesProtocol) -> dict: tenant_svis_l2vlans_dict = {} @@ -429,7 +367,7 @@ def _router_bgp_sorted_vlans_and_svis_lists(self: AvdStructuredConfigNetworkServ return tenant_svis_l2vlans_dict - def _router_bgp_vlans(self: AvdStructuredConfigNetworkServicesProtocol, tenant_svis_l2vlans_dict: dict) -> list | None: + def _router_bgp_vlans(self: AvdStructuredConfigNetworkServicesProtocol, tenant_svis_l2vlans_dict: dict) -> None: """Return structured config for router_bgp.vlans.""" if not ( self.shared_utils.network_services_l2 @@ -438,21 +376,13 @@ def _router_bgp_vlans(self: AvdStructuredConfigNetworkServicesProtocol, tenant_s and (self.shared_utils.overlay_vtep or self.shared_utils.overlay_ler) and (self.shared_utils.overlay_evpn) ): - return None + return - vlans = [] for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: for svi in tenant_svis_l2vlans_dict[tenant.name]["svi_non_bundle"][vrf.name]: if (vlan := self._router_bgp_vlans_vlan(svi, tenant, vrf)) is not None: - append_if_not_duplicate( - list_of_dicts=vlans, - primary_key="id", - new_dict=vlan, - context="BGP VLANs defined under network services", - context_keys=["id", "tenant"], - ignore_keys={"tenant"}, - ) + self.structured_config.router_bgp.vlans.append(vlan, ignore_fields=("tenant",)) # L2 Vlans per Tenant for l2vlans in tenant_svis_l2vlans_dict[tenant.name]["l2vlan_non_bundle"].values(): @@ -462,15 +392,7 @@ def _router_bgp_vlans(self: AvdStructuredConfigNetworkServicesProtocol, tenant_s l2vlan, tenant, vrf=EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem() ) ) is not None: - append_if_not_duplicate( - list_of_dicts=vlans, - primary_key="id", - new_dict=vlan, - context="BGP VLANs defined under network services", - context_keys=["id", "tenant"], - ignore_keys={"tenant"}, - ) - return vlans or None + self.structured_config.router_bgp.vlans.append(vlan, ignore_fields=("tenant",)) def _router_bgp_vlans_vlan( self: AvdStructuredConfigNetworkServicesProtocol, @@ -478,7 +400,7 @@ def _router_bgp_vlans_vlan( | EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem, tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, - ) -> dict | None: + ) -> EosCliConfigGen.RouterBgp.VlansItem | None: """Return structured config for one given vlan under router_bgp.vlans.""" if not vlan.vxlan: return None @@ -486,14 +408,16 @@ def _router_bgp_vlans_vlan( vlan_rd = self.get_vlan_rd(vlan, tenant) vlan_rt = self.get_vlan_rt(vlan, tenant) - bgp_vlan = { - "id": vlan.id, - "tenant": tenant.name, - "rd": vlan_rd, - "route_targets": {"both": [vlan_rt]}, - "redistribute_routes": ["learned"], - "eos_cli": vlan.bgp.raw_eos_cli, - } + bgp_vlan = EosCliConfigGen.RouterBgp.VlansItem( + id=vlan.id, + tenant=tenant.name, + rd=vlan_rd, + ) + bgp_vlan.route_targets.both.append(vlan_rt) + bgp_vlan.redistribute_routes.append("learned") + + if vlan.bgp.raw_eos_cli: + bgp_vlan.eos_cli = vlan.bgp.raw_eos_cli if vlan.bgp.structured_config: self.custom_structured_configs.nested.router_bgp.vlans.obtain(vlan.id)._deepmerge( @@ -503,21 +427,22 @@ def _router_bgp_vlans_vlan( if self.shared_utils.node_config.evpn_gateway.evpn_l2.enabled and default( vlan.evpn_l2_multi_domain, vrf.evpn_l2_multi_domain, tenant.evpn_l2_multi_domain ): - bgp_vlan["rd_evpn_domain"] = {"domain": "remote", "rd": vlan_rd} - bgp_vlan["route_targets"]["import_export_evpn_domains"] = [{"domain": "remote", "route_target": vlan_rt}] + bgp_vlan.rd_evpn_domain._update(domain="remote", rd=vlan_rd) + bgp_vlan.route_targets.import_export_evpn_domains.append_new(domain="remote", route_target=vlan_rt) vlan_evpn_l2_multicast_enabled = default(vlan.evpn_l2_multicast.enabled, tenant.evpn_l2_multicast.enabled) and self.shared_utils.evpn_multicast is True - if vlan_evpn_l2_multicast_enabled: - if isinstance(vlan, EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem): - # l2vlans will always redistribute IGMP - bgp_vlan["redistribute_routes"].append("igmp") - elif not getattr(vrf, "_evpn_l3_multicast_enabled", False) or bool( - default(vlan.evpn_l2_multicast.always_redistribute_igmp, tenant.evpn_l2_multicast.always_redistribute_igmp) - ): - bgp_vlan["redistribute_routes"].append("igmp") - - # Strip None values from vlan before returning - return {key: value for key, value in bgp_vlan.items() if value is not None} + # if vlan_evpn_l2_multicast_enabled we redistribute igmp if: + # - This is an L2 vlan + # - L3 multicast is disabled or not configured + # - evpn_l2_multicast.always_redistribute_igmp is set on the vlan or tenant. + if vlan_evpn_l2_multicast_enabled and ( + isinstance(vlan, EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem) + or not getattr(vrf._internal_data, "evpn_l3_multicast_enabled", False) + or bool(default(vlan.evpn_l2_multicast.always_redistribute_igmp, tenant.evpn_l2_multicast.always_redistribute_igmp)) + ): + bgp_vlan.redistribute_routes.append("igmp") + + return bgp_vlan def _get_vlan_aware_bundle_name_tuple_for_l2vlans( self: AvdStructuredConfigNetworkServicesProtocol, vlan: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem @@ -544,13 +469,14 @@ def _get_evpn_vlan_bundle( self: AvdStructuredConfigNetworkServicesProtocol, vlan: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.SvisItem | EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, bundle_name: str, ) -> EosDesigns.EvpnVlanBundlesItem: """Return an evpn_vlan_bundle dict if it exists, else raise an exception.""" if bundle_name not in self.inputs.evpn_vlan_bundles: msg = ( "The 'evpn_vlan_bundle' of the svis/l2vlans must be defined in the common 'evpn_vlan_bundles' setting. First occurrence seen for svi/l2vlan" - f" {vlan.id} in Tenant '{vlan._tenant}' and evpn_vlan_bundle '{vlan.evpn_vlan_bundle}'." + f" {vlan.id} in Tenant '{tenant.name}' and evpn_vlan_bundle '{vlan.evpn_vlan_bundle}'." ) raise AristaAvdInvalidInputsError(msg) return self.inputs.evpn_vlan_bundles[bundle_name] @@ -560,7 +486,7 @@ def _get_svi_l2vlan_bundle( evpn_vlan_bundle: EosDesigns.EvpnVlanBundlesItem, tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, vlans: list, - ) -> dict | None: + ) -> EosCliConfigGen.RouterBgp.VlanAwareBundlesItem | None: """Return an bundle config for a svi or l2vlan.""" bundle = self._router_bgp_vlan_aware_bundle( name=evpn_vlan_bundle.name, @@ -579,17 +505,16 @@ def _get_svi_l2vlan_bundle( if bundle is not None: if (eos_cli := evpn_vlan_bundle.bgp.raw_eos_cli) is not None: - bundle["eos_cli"] = eos_cli + bundle.eos_cli = eos_cli return bundle return None - def _router_bgp_vlan_aware_bundles(self: AvdStructuredConfigNetworkServicesProtocol, tenant_svis_l2vlans_dict: dict) -> list | None: - """Return structured config for router_bgp.vlan_aware_bundles.""" + def _router_bgp_vlan_aware_bundles(self: AvdStructuredConfigNetworkServicesProtocol, tenant_svis_l2vlans_dict: dict) -> None: + """Set structured config for router_bgp.vlan_aware_bundles.""" if not self.shared_utils.network_services_l2 or not self.shared_utils.overlay_evpn: - return None + return - bundles = [] for tenant in self.shared_utils.filtered_tenants: l2vlan_svi_vlan_aware_bundles = {} for vrf in tenant.vrfs: @@ -599,20 +524,14 @@ def _router_bgp_vlan_aware_bundles(self: AvdStructuredConfigNetworkServicesProto l2vlan_svi_vlan_aware_bundles[bundle_name]["l2vlan_svis"].extend(svis) else: # check if the referred name exists in the global evpn_vlan_bundles - evpn_vlan_bundle = self._get_evpn_vlan_bundle(svis[0], bundle_name) + evpn_vlan_bundle = self._get_evpn_vlan_bundle(svis[0], tenant, bundle_name) l2vlan_svi_vlan_aware_bundles[bundle_name] = {"evpn_vlan_bundle": evpn_vlan_bundle, "l2vlan_svis": svis} if self.inputs.evpn_vlan_aware_bundles: svis = tenant_svis_l2vlans_dict[tenant.name]["svi_non_bundle"][vrf.name] # SVIs which don't have an evpn_vlan_bundle defined are included in the VRF vlan-aware-bundle if (bundle := self._router_bgp_vlan_aware_bundles_vrf(vrf, tenant, svis)) is not None: - append_if_not_duplicate( - list_of_dicts=bundles, - primary_key="name", - new_dict=bundle, - context="BGP VLAN-Aware Bundles defined under network services", - context_keys=["name"], - ) + self.structured_config.router_bgp.vlan_aware_bundles.append(bundle) # L2 Vlans per Tenant # If multiple L2 Vlans share the same evpn_vlan_bundle name, they will be part of the same vlan-aware-bundle else they use the vlan name as bundle @@ -621,34 +540,25 @@ def _router_bgp_vlan_aware_bundles(self: AvdStructuredConfigNetworkServicesProto l2vlan_svi_vlan_aware_bundles[bundle_name]["l2vlan_svis"].extend(l2vlans) else: # check if the referred name exists in the global evpn_vlan_bundles - evpn_vlan_bundle = self._get_evpn_vlan_bundle(l2vlans[0], bundle_name) + evpn_vlan_bundle = self._get_evpn_vlan_bundle(l2vlans[0], tenant, bundle_name) l2vlan_svi_vlan_aware_bundles[bundle_name] = {"evpn_vlan_bundle": evpn_vlan_bundle, "l2vlan_svis": l2vlans} if self.inputs.evpn_vlan_aware_bundles: for bundle_name, l2vlans in tenant_svis_l2vlans_dict[tenant.name]["l2vlan_non_bundle"].items(): # Without "evpn_vlan_bundle" we fall back to per-vlan behavior if ( - bundle := self._router_bgp_vlans_vlan( + bgp_vlan := self._router_bgp_vlans_vlan( l2vlans[0], tenant, vrf=EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem() ) ) is None: # Skip bundle since no vlans were enabled for vxlan. continue - # We are reusing the regular bgp vlan function so need to add vlan info and remove the vlan id. - bundle.pop("id") - bundle["vlan"] = list_compress([l2vlan.id for l2vlan in l2vlans]) - bundle = {"name": bundle_name, **bundle} - append_if_not_duplicate( - list_of_dicts=bundles, - primary_key="name", - new_dict=bundle, - context=( - "BGP VLAN-Aware Bundles defined under network services. A common reason is that an 'l2vlan' name overlaps with an" - " 'evpn_vlan_bundle' name" - ), - context_keys=["name"], - ) + # We are reusing the regular bgp vlan function so need to cast as bundle removing the incompatible keys. (Historic behavior) + bundle = bgp_vlan._cast_as(EosCliConfigGen.RouterBgp.VlanAwareBundlesItem, ignore_extra_keys=True) + bundle.name = bundle_name + bundle.vlan = list_compress([l2vlan.id for l2vlan in l2vlans]) + self.structured_config.router_bgp.vlan_aware_bundles.append(bundle) # L2VLANs and SVIs which have an evpn_vlan_bundle defined for bundle_dict in l2vlan_svi_vlan_aware_bundles.values(): @@ -659,25 +569,14 @@ def _router_bgp_vlan_aware_bundles(self: AvdStructuredConfigNetworkServicesProto # Skip bundle since no vlans were enabled for vxlan. continue - append_if_not_duplicate( - list_of_dicts=bundles, - primary_key="name", - new_dict=bundle, - context=( - "BGP VLAN-Aware Bundles defined under network services. A common reason is that an 'l2vlan' or 'svi' name overlaps with an" - " 'evpn_vlan_bundle' name" - ), - context_keys=["name"], - ) - - return bundles or None + self.structured_config.router_bgp.vlan_aware_bundles.append(bundle) def _router_bgp_vlan_aware_bundles_vrf( self: AvdStructuredConfigNetworkServicesProtocol, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, svis: list[EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.SvisItem], - ) -> dict | None: + ) -> EosCliConfigGen.RouterBgp.VlanAwareBundlesItem | None: """Return structured config for one vrf under router_bgp.vlan_aware_bundles.""" return self._router_bgp_vlan_aware_bundle( name=vrf.name, @@ -697,9 +596,9 @@ def _router_bgp_vlan_aware_bundle( rt: str, evpn_l2_multi_domain: bool, tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, - ) -> dict | None: + ) -> EosCliConfigGen.RouterBgp.VlanAwareBundlesItem | None: """ - Return structured config for one vlan-aware-bundle. + Set structured config for one vlan-aware-bundle. Used for VRFs and bundles defined under "evpn_vlan_bundles" referred by l2vlans and SVIs. """ @@ -707,28 +606,27 @@ def _router_bgp_vlan_aware_bundle( if not vlans: return None - bundle = { - "name": name, - "rd": rd, - "route_targets": { - "both": [rt], - }, - "redistribute_routes": ["learned"], - "vlan": list_compress([vlan.id for vlan in vlans]), - } + bundle = EosCliConfigGen.RouterBgp.VlanAwareBundlesItem( + name=name, + rd=rd, + route_targets=EosCliConfigGen.RouterBgp.VlanAwareBundlesItem.RouteTargets( + both=EosCliConfigGen.RouterBgp.VlanAwareBundlesItem.RouteTargets.Both([rt]) + ), + redistribute_routes=EosCliConfigGen.RouterBgp.VlanAwareBundlesItem.RedistributeRoutes(["learned"]), + vlan=list_compress([vlan.id for vlan in vlans]), + ) if self.shared_utils.node_config.evpn_gateway.evpn_l2.enabled and evpn_l2_multi_domain: - bundle["rd_evpn_domain"] = {"domain": "remote", "rd": rd} - bundle["route_targets"]["import_export_evpn_domains"] = [{"domain": "remote", "route_target": rt}] + bundle.rd_evpn_domain._update(domain="remote", rd=rd) + bundle.route_targets.import_export_evpn_domains.append_new(domain="remote", route_target=rt) if any(default(vlan.evpn_l2_multicast.enabled, tenant.evpn_l2_multicast.enabled) for vlan in vlans): - bundle["redistribute_routes"].append("igmp") + bundle.redistribute_routes.append("igmp") return bundle - @cached_property - def _router_bgp_redistribute_routes(self: AvdStructuredConfigNetworkServicesProtocol) -> dict | None: + def _router_bgp_redistribute_routes(self: AvdStructuredConfigNetworkServicesProtocol) -> None: """ - Return structured config for router_bgp.redistribute. + Set structured config for router_bgp.redistribute. Add redistribute static to default if either "redistribute_in_overlay" is set or "redistribute_in_underlay" and underlay protocol is BGP. @@ -737,28 +635,26 @@ def _router_bgp_redistribute_routes(self: AvdStructuredConfigNetworkServicesProt self._vrf_default_ipv4_static_routes["redistribute_in_overlay"] or (self._vrf_default_ipv4_static_routes["redistribute_in_underlay"] and self.shared_utils.underlay_bgp) ): - return None + return if self.shared_utils.wan_role: # For WAN routers we only wish to redistribute static routes defined under the tenants to BGP. if self._vrf_default_ipv4_static_routes["redistribute_in_overlay"]: - return {"static": {"enabled": True, "route_map": "RM-STATIC-2-BGP"}} - return None + self.structured_config.router_bgp.redistribute.static._update(enabled=True, route_map="RM-STATIC-2-BGP") + return - return {"static": {"enabled": True}} + self.structured_config.router_bgp.redistribute.static.enabled = True - @cached_property - def _router_bgp_vpws(self: AvdStructuredConfigNetworkServicesProtocol) -> list[dict] | None: - """Return structured config for router_bgp.vpws.""" + def _router_bgp_vpws(self: AvdStructuredConfigNetworkServicesProtocol) -> None: + """Set structured config for router_bgp.vpws.""" if not (self.shared_utils.network_services_l1 and self.shared_utils.overlay_ler and self.shared_utils.overlay_evpn_mpls): - return None + return - vpws = [] for tenant in self.shared_utils.filtered_tenants: if not tenant.point_to_point_services or tenant.pseudowire_rt_base is None: continue - pseudowires = [] + pseudowires = EosCliConfigGen.RouterBgp.VpwsItem.Pseudowires() for point_to_point_service in tenant.point_to_point_services._natural_sorted(): endpoints = point_to_point_service.endpoints for local_index, endpoint in enumerate(endpoints): @@ -770,37 +666,25 @@ def _router_bgp_vpws(self: AvdStructuredConfigNetworkServicesProtocol) -> list[d remote_endpoint = endpoints[(local_index + 1) % 2] if point_to_point_service.subinterfaces: - pseudowires.extend( - { - "name": f"{point_to_point_service.name}_{subif.number}", - "id_local": endpoint.id + subif.number, - "id_remote": remote_endpoint.id + subif.number, - } - for subif in point_to_point_service.subinterfaces - ) - + for subif in point_to_point_service.subinterfaces: + pseudowires.append_new( + name=f"{point_to_point_service.name}_{subif.number}", + id_local=endpoint.id + subif.number, + id_remote=remote_endpoint.id + subif.number, + ) else: - pseudowires.append( - { - "name": point_to_point_service.name, - "id_local": endpoint.id, - "id_remote": remote_endpoint.id, - }, + pseudowires.append_new( + name=point_to_point_service.name, + id_local=endpoint.id, + id_remote=remote_endpoint.id, ) if pseudowires: rd = f"{self.shared_utils.overlay_rd_type_admin_subfield}:{tenant.pseudowire_rt_base}" rt = f"{self._rt_admin_subfield or tenant.pseudowire_rt_base}:{tenant.pseudowire_rt_base}" - vpws.append( - { - "name": tenant.name, - "rd": rd, - "route_targets": {"import_export": rt}, - "pseudowires": pseudowires, - }, + self.structured_config.router_bgp.vpws.append_new( + name=tenant.name, + rd=rd, + route_targets=EosCliConfigGen.RouterBgp.VpwsItem.RouteTargets(import_export=rt), + pseudowires=pseudowires, ) - - if vpws: - return vpws - - return None diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_multicast.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_multicast.py index e9a4b43f9af..f6bbd3b7f46 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_multicast.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_multicast.py @@ -31,5 +31,5 @@ def router_multicast(self: AvdStructuredConfigNetworkServicesProtocol) -> None: for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: - if getattr(vrf, "_evpn_l3_multicast_enabled", False): + if getattr(vrf._internal_data, "evpn_l3_multicast_enabled", False): self.structured_config.router_multicast.vrfs.append_new(name=vrf.name, ipv4=EosCliConfigGen.RouterMulticast.VrfsItem.Ipv4(routing=True)) diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_ospf.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_ospf.py index 5aa8133baaf..8bf6728a13d 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_ospf.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_ospf.py @@ -63,7 +63,7 @@ def router_ospf(self: AvdStructuredConfigNetworkServicesProtocol) -> dict | None "id": process_id, "vrf": vrf.name if vrf.name != "default" else None, "passive_interface_default": True, - "router_id": self.get_vrf_router_id(vrf, vrf.ospf.router_id, tenant.name), + "router_id": self.get_vrf_router_id(vrf, tenant, vrf.ospf.router_id), "no_passive_interfaces": ospf_interfaces, "bfd_enable": vrf.ospf.bfd or None, # Historic behavior is to only output if True. "max_lsa": vrf.ospf.max_lsa, diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_pim_sparse_mode.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_pim_sparse_mode.py index 05a98f8b710..5b3dbb8b22f 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/router_pim_sparse_mode.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/router_pim_sparse_mode.py @@ -32,7 +32,7 @@ def router_pim_sparse_mode(self: AvdStructuredConfigNetworkServicesProtocol) -> for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: - if vrf_rps := getattr(vrf, "_pim_rp_addresses", None): + if vrf_rps := getattr(vrf._internal_data, "pim_rp_addresses", None): ipv4_config = EosCliConfigGen.RouterPimSparseMode.VrfsItem.Ipv4() for rps in vrf_rps: rpaddress = EosCliConfigGen.RouterPimSparseMode.VrfsItem.Ipv4.RpAddressesItem() diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/utils.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/utils.py index bcab817ad81..fa068e60482 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/utils.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/utils.py @@ -173,31 +173,6 @@ def _exclude_mlag_ibgp_peering_from_redistribute( return False - @cached_property - def _configure_bgp_mlag_peer_group(self: AvdStructuredConfigNetworkServicesProtocol) -> bool: - """ - Flag set during creating of BGP VRFs if an MLAG peering is needed. - - Decides if MLAG BGP peer-group should be configured. - Catches cases where underlay is not BGP but we still need MLAG iBGP peering. - """ - if self.shared_utils.underlay_bgp: - return False - - # Checking neighbors directly under BGP to cover VRF default case. - for neighbor_settings in get(self._router_bgp_vrfs, "neighbors", default=[]): - if neighbor_settings.get("peer_group") == self.inputs.bgp_peer_groups.mlag_ipv4_underlay_peer.name: - return True - - for bgp_vrf in get(self._router_bgp_vrfs, "vrfs", default=[]): - if "neighbors" not in bgp_vrf: - continue - for neighbor_settings in bgp_vrf["neighbors"]: - if neighbor_settings.get("peer_group") == self.inputs.bgp_peer_groups.mlag_ipv4_underlay_peer.name: - return True - - return False - @cached_property def _rt_admin_subfield(self: AvdStructuredConfigNetworkServicesProtocol) -> str | None: """ @@ -228,7 +203,7 @@ def get_vlan_mac_vrf_id( if mac_vrf_id_base is None: msg = ( "'rt_override' or 'vni_override' or 'mac_vrf_id_base' or 'mac_vrf_vni_base' must be set. " - f"Unable to set EVPN RD/RT for vlan {vlan.id} in Tenant '{vlan._tenant}'" + f"Unable to set EVPN RD/RT for vlan {vlan.id} in Tenant '{tenant.name}'" ) raise AristaAvdInvalidInputsError(msg) return mac_vrf_id_base + vlan.id @@ -243,7 +218,7 @@ def get_vlan_mac_vrf_vni( if mac_vrf_vni_base is None: msg = ( "'rt_override' or 'vni_override' or 'mac_vrf_id_base' or 'mac_vrf_vni_base' must be set. " - f"Unable to set EVPN RD/RT for vlan {vlan.id} in Tenant '{vlan._tenant}'" + f"Unable to set EVPN RD/RT for vlan {vlan.id} in Tenant '{tenant.name}'" ) raise AristaAvdInvalidInputsError(msg) return mac_vrf_vni_base + vlan.id @@ -407,16 +382,16 @@ def get_vlan_aware_bundle_rt( def get_vrf_router_id( self: AvdStructuredConfigNetworkServicesProtocol, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, router_id: str, - tenant_name: str, ) -> str | None: """ Determine the router ID for a given VRF based on its configuration. Args: vrf: The VRF object containing OSPF/BGP and vtep_diagnostic details. + tenant: The Tenant to which the VRF belongs. router_id: The router ID type specified for the VRF (e.g., "vtep_diagnostic", "main_router_id", "none", or an IPv4 address). - tenant_name: The name of the tenant to which the VRF belongs. Returns: The resolved router ID as a string, or None if the router ID is not applicable. @@ -427,9 +402,9 @@ def get_vrf_router_id( # Handle "vtep_diagnostic" router ID case if router_id == "diagnostic_loopback": # Validate required configuration - if (interface_data := self._get_vtep_diagnostic_loopback_for_vrf(vrf)) is None: + if (interface_data := self._get_vtep_diagnostic_loopback_for_vrf(vrf, tenant)) is None: msg = ( - f"Invalid configuration on VRF '{vrf.name}' in Tenant '{tenant_name}'. " + f"Invalid configuration on VRF '{vrf.name}' in Tenant '{tenant.name}'. " "'vtep_diagnostic.loopback' along with either 'vtep_diagnostic.loopback_ip_pools' or 'vtep_diagnostic.loopback_ip_range' must be defined " "when 'router_id' is set to 'diagnostic_loopback' on the VRF." ) diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/utils_wan.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/utils_wan.py index 4a1443dfdba..0667773c856 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/utils_wan.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/utils_wan.py @@ -415,7 +415,7 @@ def _local_path_groups_connected_to_pathfinder(self: AvdStructuredConfigNetworkS return [ path_group.name for path_group in self.shared_utils.wan_local_path_groups - if any(wan_interface["connected_to_pathfinder"] for wan_interface in path_group._interfaces) + if any(wan_interface["connected_to_pathfinder"] for wan_interface in path_group._internal_data.interfaces) ] @cached_property diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/vlan_interfaces.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/vlan_interfaces.py index e593fa4aa70..e48471a2848 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/vlan_interfaces.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/vlan_interfaces.py @@ -8,7 +8,7 @@ from pyavd._eos_cli_config_gen.schema import EosCliConfigGen from pyavd._eos_designs.structured_config.structured_config_generator import structured_config_contributor from pyavd._errors import AristaAvdInvalidInputsError -from pyavd._utils import Undefined, default, get +from pyavd._utils import default, get from pyavd.api.interface_descriptions import InterfaceDescriptionData if TYPE_CHECKING: @@ -37,41 +37,33 @@ def vlan_interfaces(self: AvdStructuredConfigNetworkServicesProtocol) -> None: for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: for svi in vrf.svis: - self.structured_config.vlan_interfaces.append(self._get_vlan_interface_config_for_svi(svi, vrf), ignore_fields=("tenant",)) + self.structured_config.vlan_interfaces.append(self._get_vlan_interface_config_for_svi(svi, vrf, tenant), ignore_fields=("tenant",)) # MLAG IBGP Peering VLANs per VRF # Continue to next VRF if mlag vlan_id is not set if (vlan_id := self._mlag_ibgp_peering_vlan_vrf(vrf, tenant)) is None: continue - self.structured_config.vlan_interfaces.append(self._get_vlan_interface_config_for_mlag_peering(vrf, vlan_id), ignore_fields=("tenant",)) + self.structured_config.vlan_interfaces.append(self._get_vlan_interface_config_for_mlag_peering(vrf, tenant, vlan_id), ignore_fields=("tenant",)) - def _check_virtual_router_mac_address( - self: AvdStructuredConfigNetworkServicesProtocol, vlan_interface_config: EosCliConfigGen.VlanInterfacesItem, variables: tuple[str, ...] - ) -> None: - """ - Error if virtual router mac address is required but missing. - - Check if any variable in the list of variables is not None in vlan_interface_config - and if it is the case, raise an Exception if virtual_router_mac_address is None. - - NOTE: SVI settings are also used for subinterfaces for uplink_type: 'lan'. - So any changes here may also be needed in underlay.utils.UtilsMixin._get_l2_as_subint(). - """ - if any(vlan_interface_config._get(var) for var in variables) and self.shared_utils.node_config.virtual_router_mac_address is None: - quoted_vars = [f"'{var}'" for var in variables] - msg = f"'virtual_router_mac_address' must be set for node '{self.shared_utils.hostname}' when using {' or '.join(quoted_vars)} under 'svi'" + def _check_virtual_router_mac_address(self: AvdStructuredConfigNetworkServicesProtocol, variable: str) -> None: + """Raise if virtual router mac address is required but missing, otherwise return None.""" + if self.shared_utils.node_config.virtual_router_mac_address is None: + msg = f"'virtual_router_mac_address' must be set for node '{self.shared_utils.hostname}' when using '{variable}' under 'svi'" raise AristaAvdInvalidInputsError(msg) def _get_vlan_interface_config_for_svi( self: AvdStructuredConfigNetworkServicesProtocol, svi: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.SvisItem, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, ) -> EosCliConfigGen.VlanInterfacesItem: + pim_source_interface_needed = False + interface_name = f"Vlan{svi.id}" vlan_interface_config = EosCliConfigGen.VlanInterfacesItem( name=interface_name, - tenant=svi._tenant, + tenant=tenant.name, tags=EosCliConfigGen.VlanInterfacesItem.Tags(svi._get("tags", [])), # Historic behavior is to not output the default ["all"] description=default(svi.description, svi.name), shutdown=not default(svi.enabled, False), # noqa: FBT003 @@ -90,48 +82,52 @@ def _get_vlan_interface_config_for_svi( ) # Only set VARP if ip_address is set - if vlan_interface_config.ip_address: + if vlan_interface_config.ip_address and svi.ip_virtual_router_addresses: vlan_interface_config.ip_virtual_router_addresses.extend(svi.ip_virtual_router_addresses) - self._check_virtual_router_mac_address(vlan_interface_config, ("ip_virtual_router_addresses",)) + self._check_virtual_router_mac_address("ip_virtual_router_addresses") # Only set Anycast GW if VARP is not set - if not vlan_interface_config.ip_virtual_router_addresses: - vlan_interface_config.ip_address_virtual = svi.ip_address_virtual - vlan_interface_config.ip_address_virtual_secondaries.extend(svi.ip_address_virtual_secondaries) - self._check_virtual_router_mac_address(vlan_interface_config, ("ip_address_virtual", "ip_address_virtual_secondaries")) - - if default(svi.evpn_l3_multicast.enabled, getattr(vrf, "_evpn_l3_multicast_enabled", False)) is True: + else: + # TODO: Move pim_source_interface_needed under the if svi.ip_address_virtual. + # Historically we checked for presence of ip_address_virtual even if None. + # Fixing this will be breaking. + pim_source_interface_needed = True + if svi.ip_address_virtual: + vlan_interface_config.ip_address_virtual = svi.ip_address_virtual + self._check_virtual_router_mac_address("ip_address_virtual") + + # TODO: Move this under svi.ip_address_virtual so we only add secondaries when we have a primary. + if svi.ip_address_virtual_secondaries: + vlan_interface_config.ip_address_virtual_secondaries.extend(svi.ip_address_virtual_secondaries) + self._check_virtual_router_mac_address("ip_address_virtual_secondaries") + + if default(svi.evpn_l3_multicast.enabled, getattr(vrf._internal_data, "evpn_l3_multicast_enabled", False)) is True: if self.shared_utils.mlag: vlan_interface_config.pim.ipv4.sparse_mode = True else: vlan_interface_config.ip_igmp = True - if ( - vlan_interface_config._get_defined_attr("ip_address_virtual") is not Undefined - ): # Historic behavior of checking for mere presence of the key. TODO: Fix this but it is breaking. + if pim_source_interface_needed: if (vrf_diagnostic_loopback := vrf.vtep_diagnostic.loopback) is None: msg = ( - f"No vtep_diagnostic loopback defined on VRF '{vrf.name}' in Tenant '{svi._tenant}'." + f"No vtep_diagnostic loopback defined on VRF '{vrf.name}' in Tenant '{tenant.name}'." "This is required when 'l3_multicast' is enabled on the VRF and ip_address_virtual is used on an SVI in that VRF." ) raise AristaAvdInvalidInputsError(msg) vlan_interface_config.pim.ipv4.local_interface = f"Loopback{vrf_diagnostic_loopback}" # Only set VARPv6 if ipv6_address is set or ipv6_enable is set to true - if vlan_interface_config.ipv6_address or vlan_interface_config.ipv6_enable: + if (vlan_interface_config.ipv6_address or vlan_interface_config.ipv6_enable) and svi.ipv6_virtual_router_addresses: vlan_interface_config.ipv6_virtual_router_addresses.extend(svi.ipv6_virtual_router_addresses) - self._check_virtual_router_mac_address(vlan_interface_config, ("ipv6_virtual_router_addresses",)) + self._check_virtual_router_mac_address("ipv6_virtual_router_addresses") # Only set Anycast v6 GW if VARPv6 is not set - if not vlan_interface_config.ipv6_virtual_router_addresses: - if svi.ipv6_address_virtuals: - vlan_interface_config.ipv6_address_virtuals.extend(svi.ipv6_address_virtuals) - - self._check_virtual_router_mac_address(vlan_interface_config, ("ipv6_address_virtuals",)) + elif svi.ipv6_address_virtuals: + vlan_interface_config.ipv6_address_virtuals.extend(svi.ipv6_address_virtuals) + self._check_virtual_router_mac_address("ipv6_address_virtuals") - if vlan_interface_config.ipv6_address_virtuals: - # If any anycast IPs are set, we also enable link-local IPv6 per best practice, unless specifically disabled with 'ipv6_enable: false' - vlan_interface_config.ipv6_enable = default(vlan_interface_config.ipv6_enable, True) # noqa: FBT003 + # If any anycast IPs are set, we also enable link-local IPv6 per best practice, unless specifically disabled with 'ipv6_enable: false' + vlan_interface_config.ipv6_enable = default(vlan_interface_config.ipv6_enable, True) # noqa: FBT003 if vrf.name != "default": vlan_interface_config.vrf = vrf.name @@ -142,12 +138,15 @@ def _get_vlan_interface_config_for_svi( return vlan_interface_config def _get_vlan_interface_config_for_mlag_peering( - self: AvdStructuredConfigNetworkServicesProtocol, vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, vlan_id: int + self: AvdStructuredConfigNetworkServicesProtocol, + vrf: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, + vlan_id: int, ) -> EosCliConfigGen.VlanInterfacesItem: """Build full config for MLAG peering SVI for the given VRF.""" vlan_interface_config = EosCliConfigGen.VlanInterfacesItem( name=f"Vlan{vlan_id}", - tenant=vrf._tenant, + tenant=tenant.name, type="underlay_peering", shutdown=False, description=self.shared_utils.interface_descriptions.mlag_peer_l3_vrf_svi( diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/vlans.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/vlans.py index bb41da568c2..277704f32c9 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/vlans.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/vlans.py @@ -39,7 +39,7 @@ def vlans(self: AvdStructuredConfigNetworkServicesProtocol) -> None: for tenant in self.shared_utils.filtered_tenants: for vrf in tenant.vrfs: for svi in vrf.svis: - self.structured_config.vlans.append(self._get_vlan_config(svi), ignore_fields=("tenant",)) + self.structured_config.vlans.append(self._get_vlan_config(svi, tenant), ignore_fields=("tenant",)) # MLAG IBGP Peering VLANs per VRF # Continue to next VRF if mlag vlan_id is not set @@ -56,12 +56,13 @@ def vlans(self: AvdStructuredConfigNetworkServicesProtocol) -> None: # L2 Vlans per Tenant for l2vlan in tenant.l2vlans: - self.structured_config.vlans.append(self._get_vlan_config(l2vlan), ignore_fields=("tenant",)) + self.structured_config.vlans.append(self._get_vlan_config(l2vlan, tenant), ignore_fields=("tenant",)) def _get_vlan_config( self: AvdStructuredConfigNetworkServicesProtocol, vlan: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.VrfsItem.SvisItem | EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem.L2vlansItem, + tenant: EosDesigns._DynamicKeys.DynamicNetworkServicesItem.NetworkServicesItem, ) -> EosCliConfigGen.VlansItem: """ Return structured config for one given vlan. @@ -71,7 +72,7 @@ def _get_vlan_config( vlans_vlan = EosCliConfigGen.VlansItem( id=vlan.id, name=vlan.name, - tenant=vlan._tenant, + tenant=tenant.name, ) if self.inputs.enable_trunk_groups: trunk_groups = vlan.trunk_groups diff --git a/python-avd/pyavd/_eos_designs/structured_config/network_services/vxlan_interface.py b/python-avd/pyavd/_eos_designs/structured_config/network_services/vxlan_interface.py index 58de4867917..b4e10fb244f 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/network_services/vxlan_interface.py +++ b/python-avd/pyavd/_eos_designs/structured_config/network_services/vxlan_interface.py @@ -146,8 +146,8 @@ def _set_vxlan_interface_config_for_vrf( vxlan_vrf = EosCliConfigGen.VxlanInterface.Vxlan1.Vxlan.VrfsItem(name=vrf.name, vni=vni) - if getattr(vrf, "_evpn_l3_multicast_enabled", False): - if vrf_multicast_group := getattr(vrf, "_evpn_l3_multicast_group_ip", None): + if getattr(vrf._internal_data, "evpn_l3_multicast_enabled", False): + if vrf_multicast_group := getattr(vrf._internal_data, "evpn_l3_multicast_group_ip", None): vxlan_vrf.multicast_group = vrf_multicast_group else: if not tenant.evpn_l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool: diff --git a/python-avd/pyavd/_eos_designs/structured_config/overlay/router_path_selection.py b/python-avd/pyavd/_eos_designs/structured_config/overlay/router_path_selection.py index 71373ea1204..16ca690aece 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/overlay/router_path_selection.py +++ b/python-avd/pyavd/_eos_designs/structured_config/overlay/router_path_selection.py @@ -159,7 +159,7 @@ def _get_local_interfaces_for_path_group(self: AvdStructuredConfigOverlayProtoco if path_group_name not in self.shared_utils.wan_local_path_groups: return local_interfaces - for interface in self.shared_utils.wan_local_path_groups[path_group_name]._interfaces: + for interface in self.shared_utils.wan_local_path_groups[path_group_name]._internal_data.interfaces: local_interface = {"name": get(interface, "name", required=True)} if self.shared_utils.is_wan_client and self.shared_utils.should_connect_to_wan_rs([path_group_name]): diff --git a/python-avd/pyavd/_schema/models/avd_base.py b/python-avd/pyavd/_schema/models/avd_base.py index 20559fc2fd6..e3ca6ea59ec 100644 --- a/python-avd/pyavd/_schema/models/avd_base.py +++ b/python-avd/pyavd/_schema/models/avd_base.py @@ -15,10 +15,34 @@ from .type_vars import T_AvdBase +class InternalData: + __slots__ = ( + "context", + "evpn_l3_multicast_enabled", + "evpn_l3_multicast_evpn_peg_transit", + "evpn_l3_multicast_group_ip", + "interface", + "interfaces", + "pim_rp_addresses", + "type", + ) + + context: str + evpn_l3_multicast_enabled: bool | None + evpn_l3_multicast_evpn_peg_transit: bool | None + evpn_l3_multicast_group_ip: str | None + interface: str + interfaces: list + pim_rp_addresses: list[dict] + type: str | None + + class AvdBase(ABC): """Base class used for schema-based data classes holding data loaded from AVD inputs.""" - _created_from_null: bool = False + __slots__ = ("_block_inheritance", "_created_from_null", "_internal_data_instance") + + _created_from_null: bool """ Flag to say if this data was loaded from a ': null' value in YAML. @@ -31,13 +55,31 @@ class AvdBase(ABC): Only exception is on _cast_as, where the flag is carried over. """ - _block_inheritance: bool = False + _block_inheritance: bool """Flag to block inheriting further if we at some point inherited from a class with _created_from_null set.""" + _internal_data_instance: InternalData + """Placeholder for Internal data used for storing internal context on data objects, without affecting other logic.""" + + def __init__(self) -> None: + """Setting default values since these are slots.""" + self._created_from_null = False + self._block_inheritance = False + def _deepcopy(self) -> Self: """Return a copy including all nested models.""" return deepcopy(self) + @property + def _internal_data(self) -> InternalData: + """Internal data used for storing internal context on data objects, without affecting other logic.""" + # Creating the instance on first access to avoid creating unused instances of this class. + try: + return self._internal_data_instance + except AttributeError: + self._internal_data_instance = InternalData() + return self._internal_data_instance + @classmethod @abstractmethod def _load(cls, data: Sequence | Mapping) -> Self: @@ -82,6 +124,10 @@ def _deepmerge(self, other: Self, list_merge: Literal["append_unique", "append", (For AvdIndexedList this works the same as prepend_unique) """ + @abstractmethod + def _compare(self, other: Self) -> bool: + """Compare two instances. Optionally ignoring fields for the outermost AvdModel.""" + def _deepmerged( self, other: Self, list_merge: Literal["append_unique", "append", "replace", "keep", "prepend", "prepend_unique"] = "append_unique" ) -> Self: diff --git a/python-avd/pyavd/_schema/models/avd_indexed_list.py b/python-avd/pyavd/_schema/models/avd_indexed_list.py index 9cf4271057c..6d40ac98d93 100644 --- a/python-avd/pyavd/_schema/models/avd_indexed_list.py +++ b/python-avd/pyavd/_schema/models/avd_indexed_list.py @@ -32,9 +32,11 @@ class AvdIndexedList(Sequence[T_AvdModel], Generic[T_PrimaryKey, T_AvdModel], Av Other lists are *not* using this model. """ - _item_type: ClassVar[type[AvdModel]] + __slots__ = ("_items",) + + _item_type: ClassVar[type[AvdModel]] # pylint: disable=declare-non-slot # pylint bug #9950 """Type of items. This is used instead of inspecting the type-hints to improve performance significantly.""" - _primary_key: ClassVar[str] + _primary_key: ClassVar[str] # pylint: disable=declare-non-slot # pylint bug #9950 """The name of the primary key to be used in the items.""" _items: dict[T_PrimaryKey, T_AvdModel] """ @@ -57,17 +59,16 @@ def _from_list(cls, data: Sequence) -> Self: cls_items = cast(Iterable[T_AvdModel], (coerce_type(item, cls._item_type) for item in data)) return cls(cls_items) - def __init__(self, items: Iterable[T_AvdModel] | UndefinedType = Undefined) -> None: + def __init__(self, items: Iterable[T_AvdModel] = ()) -> None: """ AvdIndexedList subclass. Args: items: Iterable holding items of the correct type to be loaded into the indexed list. """ - if isinstance(items, UndefinedType): - self._items = {} - else: - self._items = {getattr(item, self._primary_key): item for item in items} + self._items = {getattr(item, self._primary_key): item for item in items} + + super().__init__() def __repr__(self) -> str: """Returns a repr with all the items including any nested models.""" @@ -75,10 +76,6 @@ def __repr__(self) -> str: attrs = [f"{item!r}" for item in (self._items.values())] 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 len(self._items) @@ -94,6 +91,9 @@ def __getitem__(self, key: T_PrimaryKey) -> T_AvdModel: def __setitem__(self, key: T_PrimaryKey, value: T_AvdModel) -> None: self._items[key] = value + def __eq__(self, other: object) -> bool: + return self._compare(other) + def get(self, key: T_PrimaryKey, default: T | UndefinedType = Undefined) -> T_AvdModel | T | UndefinedType: return self._items.get(key, default) @@ -282,3 +282,15 @@ def _cast_as(self, new_type: type[T_AvdIndexedList], ignore_extra_keys: bool = F new_instance._block_inheritance = self._block_inheritance return new_instance + + def _compare(self, other: object) -> bool: + if not isinstance(other, type(self)): + return False + + if set(self.keys()) != set(other.keys()): + return False + + if self._created_from_null != other._created_from_null: + return False + + return all(item._compare(other[key]) for key, item in self.items()) diff --git a/python-avd/pyavd/_schema/models/avd_list.py b/python-avd/pyavd/_schema/models/avd_list.py index cf9288f779f..0482bd33ca9 100644 --- a/python-avd/pyavd/_schema/models/avd_list.py +++ b/python-avd/pyavd/_schema/models/avd_list.py @@ -27,7 +27,9 @@ class AvdList(Sequence[T_ItemType], Generic[T_ItemType], AvdBase): Other lists are *not* using this model. """ - _item_type: ClassVar[type] + __slots__ = ("_items",) + + _item_type: ClassVar[type] # pylint: disable=declare-non-slot # pylint bug #9950 """Type of items. This is used instead of inspecting the type-hints to improve performance significantly.""" _items: list[T_ItemType] """ @@ -54,17 +56,16 @@ def _from_list(cls, data: Sequence) -> Self: cls_items = [coerce_type(item, item_type) for item in data] return cls(cls_items) - def __init__(self, items: Iterable[T_ItemType] | UndefinedType = Undefined) -> None: + def __init__(self, items: Iterable[T_ItemType] = ()) -> None: """ AvdList subclass. Args: items: Iterable holding items of the correct type to be loaded into the list. """ - if isinstance(items, UndefinedType): - self._items = [] - else: - self._items = list(items) + self._items = list(items) + + super().__init__() def __repr__(self) -> str: """Returns a repr with all the items including any nested models.""" @@ -72,10 +73,6 @@ def __repr__(self) -> str: items = [f"{item!r}" for item in (self._items)] return f"<{cls_name}([{', '.join(items)}])>" - 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 len(self._items) @@ -91,6 +88,9 @@ def __getitem__(self, index: int) -> T_ItemType: def __setitem__(self, index: int, value: T_ItemType) -> None: self._items[index] = value + def __eq__(self, other: object) -> bool: + return self._compare(other) + def get(self, index: int, default: T | UndefinedType = Undefined) -> T_ItemType | T | UndefinedType: return self._items[index] if index < len(self._items) else default @@ -236,3 +236,17 @@ def _cast_as(self, new_type: type[T_AvdList], ignore_extra_keys: bool = False) - new_instance._created_from_null = self._created_from_null return new_instance + + def _compare(self, other: object) -> bool: + if not isinstance(other, type(self)): + return False + + if len(self) != len(other): + return False + + if self._created_from_null != other._created_from_null: + return False + + items = cast(list[AvdBase], self._items) + other_items = cast(list[AvdBase], other._items) + return all(item == other_items[index] for index, item in enumerate(items)) diff --git a/python-avd/pyavd/_schema/models/avd_model.py b/python-avd/pyavd/_schema/models/avd_model.py index 345cc1a921e..0e99afa1b44 100644 --- a/python-avd/pyavd/_schema/models/avd_model.py +++ b/python-avd/pyavd/_schema/models/avd_model.py @@ -15,6 +15,8 @@ from .avd_indexed_list import AvdIndexedList if TYPE_CHECKING: + from collections.abc import ItemsView + from typing_extensions import Self from .type_vars import T_AvdModel @@ -25,9 +27,11 @@ class AvdModel(AvdBase): """Base class used for schema-based data classes holding dictionaries loaded from AVD inputs.""" + __slots__ = ("_custom_data",) + _allow_other_keys: ClassVar[bool] = False """Attribute telling if this class should fail or ignore unknown keys found during loading in _from_dict().""" - _fields: ClassVar[dict[str, dict]] + _fields: ClassVar[dict[str, dict]] # pylint: disable=declare-non-slot # pylint bug #9950 """ Metadata serving as a shortcut for knowing the expected type of each field and default value. This is used instead of inspecting the type-hints to improve performance significantly. @@ -37,6 +41,12 @@ class AvdModel(AvdBase): _key_to_field_map: ClassVar[dict[str, str]] = {} """Map of dict key to field name. Used when the key is names with a reserved keyword or mixed case. E.g. `Vxlan1` or `as`.""" + _custom_data: dict[str, Any] + """ + Dictionary holding extra keys given in _from_dict. + These keys are either keys starting with underscore or any non-schema key if _from_dict was called with 'keep_extra_keys'. + """ + @classmethod def _load(cls, data: Mapping) -> Self: """Returns a new instance loaded with the data from the given dict.""" @@ -53,13 +63,13 @@ def _from_dict(cls: type[T_AvdModel], data: Mapping, keep_extra_keys: bool = Fal 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 = {} + custom_data = {} for key in data: if not (field := cls._get_field_name(key)): - if keep_extra_keys or (has_custom_data and str(key).startswith("_")): - cls_args.setdefault("_custom_data", {})[key] = data[key] + if keep_extra_keys or str(key).startswith("_"): + custom_data[key] = data[key] continue if cls._allow_other_keys: @@ -71,6 +81,9 @@ def _from_dict(cls: type[T_AvdModel], data: Mapping, keep_extra_keys: bool = Fal cls_args[field] = coerce_type(data[key], cls._fields[field]["type"]) + if custom_data: + cls_args["_custom_data"] = custom_data + return cls(**cls_args) @classmethod @@ -94,10 +107,12 @@ def _get_field_default_value(cls, name: str) -> Any: - For AvdModel subclasses we return a new empty instance of the class. - For other types we return None. """ - if name not in cls._fields: + try: + field_info = cls._fields[name] + except KeyError as e: msg = f"'{cls.__name__}' object has no attribute '{name}'" - raise AttributeError(msg) - field_info = cls._fields[name] + raise AttributeError(msg) from e + field_type: type = field_info["type"] if issubclass(field_type, AvdBase) or field_type is dict: @@ -111,20 +126,19 @@ def __init__(self, **kwargs: Any) -> None: Only walking the given kwargs improves performance compared to having named kwargs. - This method is typically overridden when TYPE_HINTING is True, to provider proper suggestions and type hints for the arguments. + This method is typically overridden when TYPE_CHECKING is True, to provide proper suggestions and type hints for the arguments. """ + self._custom_data = {} [setattr(self, arg, arg_value) for arg, arg_value in kwargs.items() if arg_value is not Undefined] + super().__init__() + def __getattr__(self, name: str) -> Any: """ Resolves the default value for a field, set the default value on the attribute and return the value. We only get here if the attribute is not set already, and next call will skip this since the attribute is set. """ - if name not in self._fields: - msg = f"'{type(self).__name__}' object has no attribute '{name}'" - raise AttributeError(msg) - default_value = self._get_field_default_value(name) setattr(self, name, default_value) return default_value @@ -135,18 +149,14 @@ def _get_defined_attr(self, name: str) -> Any | UndefinedType: Avoids the overridden __getattr__ to avoid default values. """ - if name not in self._fields: - msg = f"'{type(self).__name__}' object has no attribute '{name}'" - raise AttributeError(msg) - try: - return self.__getattribute__(name) - except AttributeError: - return Undefined + return self.__dict__.get(name, Undefined) def __repr__(self) -> str: """Returns a repr with all the fields that are set including any nested models.""" cls_name = self.__class__.__name__ - attrs = [f"{key}={getattr(self, key)!r}" for key in self._fields if self._get_defined_attr(key) is not Undefined] + attrs = [f"{key}={value}" for key, value in self.items()] + if self._custom_data: + attrs.append(f"_custom_data={self._custom_data}") return f"<{cls_name}({', '.join(attrs)})>" def __bool__(self) -> bool: @@ -157,31 +167,32 @@ def __bool__(self) -> bool: The check ignores the default values and is performed recursively on any nested models. """ - return any( - # False if item is Undefined - (value := self._get_defined_attr(field)) is not Undefined - and - # False if it is AVD class with a falsy value - # True otherwise - not (isinstance(value, AvdBase) and not value) - for field in self._fields - ) + return bool(self.__dict__) or bool(self._custom_data) + + def __eq__(self, other: object) -> bool: + return self._compare(other) + + def items(self) -> ItemsView: + return self.__dict__.items() def _strip_empties(self) -> None: - """In-place update the instance to remove data matching the given strip_values.""" - for field, field_info in self._fields.items(): - if (value := self._get_defined_attr(field)) is Undefined or field == "_custom_data": - continue + """In-place update the instance to remove None values and empty models recursively.""" + to_be_deleted = set() + for field, value in self.items(): + field_info = self._fields[field] if issubclass(field_info["type"], AvdBase): value = cast(AvdBase, value) value._strip_empties() if not value: - delattr(self, field) + to_be_deleted.add(field) continue if value is None: - delattr(self, field) + to_be_deleted.add(field) + + for field in to_be_deleted: + delattr(self, field) def _as_dict(self, include_default_values: bool = False) -> dict: """ @@ -190,30 +201,41 @@ def _as_dict(self, include_default_values: bool = False) -> dict: Filtered for nested None, {} and [] values. """ as_dict = {} - for field, field_info in self._fields.items(): - value = self._get_defined_attr(field) - - if field == "_custom_data": - if value: - value = cast(dict[str, Any], value) - as_dict.update(value) - continue - - if value is Undefined: - if not include_default_values: - continue - - value = self._get_field_default_value(field) + ordered_field_names = list(self._fields.keys()) + for field in sorted(self.__dict__, key=ordered_field_names.index): + value = self.__dict__[field] # Removing field_ prefix if needed. key = self._field_to_key_map.get(field, field) - if issubclass(field_info["type"], AvdBase): + if issubclass(self._fields[field]["type"], AvdBase): value = cast(AvdBase, value) value = None if value._created_from_null else value._dump(include_default_values=include_default_values) as_dict[key] = value + # This will insert default values after the set values, so the order will not be consistent. + # TODO: Figure out if this is a problem or not. We only use include_default_values internally + # so probably we can remove the include_default_values at some point. + if include_default_values: + for field in ordered_field_names: + if field in self.__dict__: + continue + + default_value = self._get_field_default_value(field) + + if issubclass(self._fields[field]["type"], AvdBase): + default_value = cast(AvdBase, default_value) + default_value = default_value._dump(include_default_values=include_default_values) + + # Removing field_ prefix if needed. + key = self._field_to_key_map.get(field, field) + + as_dict[key] = default_value + + if self._custom_data: + as_dict.update(self._custom_data) + return as_dict def _dump(self, include_default_values: bool = False) -> dict: @@ -225,17 +247,15 @@ def _get(self, name: str, default: Any = None) -> Any: If the field value is not set, this will not insert a default schema values but will instead return the given 'default' value (or None). """ - if (value := self._get_defined_attr(name)) is Undefined: - return default - return value + return self.__dict__.get(name, default) if TYPE_CHECKING: _update: type[Self] else: - def _update(self, *args: Any, **kwargs: Any) -> Self: - """Update instance with the given kwargs. Reuses __init__.""" - self.__init__(*args, **kwargs) + def _update(self, **kwargs: Any) -> Self: + """Update instance with the given kwargs.""" + [setattr(self, arg, arg_value) for arg, arg_value in kwargs.items() if arg_value is not Undefined] return self def _deepmerge(self, other: Self, list_merge: Literal["append_unique", "append", "replace", "keep", "prepend", "prepend_unique"] = "append_unique") -> None: @@ -262,14 +282,14 @@ def _deepmerge(self, other: Self, list_merge: Literal["append_unique", "append", msg = f"Unable to merge type '{type(other)}' into '{cls}'" raise TypeError(msg) - for field, field_info in cls._fields.items(): - if other._created_from_null and self._get_defined_attr(field) is not Undefined: - # Force the field back to unset if other is a "null" class. - delattr(self, field) + if other._created_from_null: + # Force all fields on this instance back to unset if other is a "null" class. + self.__dict__ = {} + self._custom_data = {} - if (new_value := other._get_defined_attr(field)) is Undefined: - continue + for field, new_value in other.items(): old_value = self._get_defined_attr(field) + if old_value == new_value: continue @@ -279,7 +299,7 @@ def _deepmerge(self, other: Self, list_merge: Literal["append_unique", "append", continue # Merge new value - field_type = field_info["type"] + field_type = self._fields[field]["type"] if issubclass(field_type, AvdBase): # Merge in to the existing object old_value = cast(AvdBase, old_value) @@ -303,6 +323,10 @@ def _deepmerge(self, other: Self, list_merge: Literal["append_unique", "append", # We merged into a "null" class, but since we now have proper data, we clear the flag. self._created_from_null = False + if other._custom_data: + legacy_list_merge = list_merge.replace("_unique", "_rp") + merge(self._custom_data, deepcopy(other._custom_data), list_merge=legacy_list_merge) + def _deepinherit(self, other: Self) -> None: """Update instance by recursively inheriting unset fields from other instance. Lists are not merged.""" cls = type(self) @@ -319,9 +343,7 @@ def _deepinherit(self, other: Self) -> None: self._block_inheritance = True return - for field, field_info in cls._fields.items(): - if (new_value := other._get_defined_attr(field)) is Undefined: - continue + for field, new_value in other.items(): old_value = self._get_defined_attr(field) if old_value == new_value: continue @@ -332,7 +354,7 @@ def _deepinherit(self, other: Self) -> None: continue # Merge new value if it is a class with inheritance support. - field_type = field_info["type"] + field_type = self._fields[field]["type"] if issubclass(field_type, AvdModel): # Inherit into the existing object. old_value = cast(AvdModel, old_value) @@ -348,7 +370,10 @@ def _deepinherit(self, other: Self) -> None: if field_type is dict: # In-place deepmerge in to the existing dict without schema. - merge(old_value, deepcopy(new_value), list_merge="replace") + merge(old_value, deepcopy(new_value), same_key_strategy="use_existing", list_merge="keep") + + if other._custom_data: + merge(self._custom_data, deepcopy(other._custom_data), same_key_strategy="use_existing", list_merge="keep") def _deepinherited(self, other: Self) -> Self: """Return new instance with the result of recursively inheriting unset fields from other instance. Lists are not merged.""" @@ -371,14 +396,14 @@ def _cast_as(self, new_type: type[T_AvdModel], ignore_extra_keys: bool = False) raise TypeError(msg) new_args = {} - for field, field_info in cls._fields.items(): - if (value := self._get_defined_attr(field)) is Undefined: - continue + for field, value in self.items(): if field not in new_type._fields: if ignore_extra_keys: continue msg = f"Unable to cast '{cls}' as type '{new_type}' since the field '{field}' is missing from the new class. " raise TypeError(msg) + + field_info = self._fields[field] if field_info != new_type._fields[field]: if issubclass(field_info["type"], AvdBase): # TODO: Consider using the TypeError we raise below to ensure we know the outer type. @@ -398,36 +423,37 @@ def _cast_as(self, new_type: type[T_AvdModel], ignore_extra_keys: bool = False) new_instance._created_from_null = self._created_from_null new_instance._block_inheritance = self._block_inheritance + if self._custom_data: + new_instance._custom_data = self._custom_data + return new_instance - def _compare(self, other: Self, ignore_fields: tuple[str, ...] = ()) -> bool: - cls = type(self) - if not isinstance(other, cls): - msg = f"Unable to compare '{cls}' with a '{type(other)}' class." - raise TypeError(msg) + def _compare(self, other: object, ignore_fields: tuple[str, ...] = ()) -> bool: + """ + Compare two instances of this class. - for field, field_info in self._fields.items(): - if field in ignore_fields: - continue + First we check if they have the same values set. + Next we check every set field using regular __eq__ check. - if (value := self._get_defined_attr(field)) == (other_value := other._get_defined_attr(field)) or ( - value in (Undefined, None) and other_value in (Undefined, None) - ): - continue + Args: + other: Other instance to compare with. + ignore_fields: Fields to ignore during comparison. Note this is not respected when comparing any nested models. - field_type = field_info["type"] + Returns: + boolean telling if the two instances are equal. - if issubclass(field_type, AvdBase) and not value and not other_value: - # Ignore empty lists or classes since they could have been initialized in the code but they would be trimmed from the output. - continue + Raises: + TypeError if 'other' is of a different type. + """ + if not isinstance(other, type(self)): + return False - # TODO: Handle deep comparison for lists and indexed lists as well. - if not issubclass(field_type, AvdModel) or not isinstance(other_value, field_type): - # Difference and not a nested model. - return False + different_keys = set(self.__dict__).symmetric_difference(other.__dict__) + if different_keys.difference(ignore_fields): + return False - value = cast(AvdModel, value) - if not value._compare(other_value): - return False + if self._created_from_null != other._created_from_null: + return False - return True + # Use regular __eq__ check on all nested models, since we do not carry over ignore_fields. + return all(value == other.__dict__[field] for field, value in self.items() if field not in ignore_fields) diff --git a/python-avd/pyavd/_schema/models/eos_cli_config_gen_root_model.py b/python-avd/pyavd/_schema/models/eos_cli_config_gen_root_model.py index 40aab0a3fc0..ee455d2881b 100644 --- a/python-avd/pyavd/_schema/models/eos_cli_config_gen_root_model.py +++ b/python-avd/pyavd/_schema/models/eos_cli_config_gen_root_model.py @@ -21,7 +21,7 @@ def _from_dict(cls, data: Mapping, keep_extra_keys: bool = True) -> Self: Args: data: A mapping containing the EosDesigns input data to be loaded. - keep_extra_keys: Store all unknown keys in the _custom_data dict and include it again in the output of _to_dict(). + keep_extra_keys: Store all unknown keys in the self._custom_data dict and include it again in the output of _to_dict(). By default _all_ keys will be stored. Setting this to False will only store keys starting with _. TODO: AVD6.0.0 remove the keep_extra_keys option so we no longer support custom keys without _ in structured config diff --git a/python-avd/pyavd/_schema/models/eos_designs_root_model.py b/python-avd/pyavd/_schema/models/eos_designs_root_model.py index 20fe0a8332a..6499f2e25d8 100644 --- a/python-avd/pyavd/_schema/models/eos_designs_root_model.py +++ b/python-avd/pyavd/_schema/models/eos_designs_root_model.py @@ -38,8 +38,8 @@ def _from_dict(cls: type[T], data: Mapping, keep_extra_keys: bool = False, load_ Args: data: A mapping containing the EosDesigns input data to be loaded. - keep_extra_keys: Store all unknown keys in the _custom_data dict and include it again in the output of _to_dict(). - By default only keys starting with _ will be stored in _custom_data. This will change the behavior to store _all_ keys. + keep_extra_keys: Store all unknown keys in the self._custom_data dict and include it again in the output of _to_dict(). + By default only keys starting with _ will be stored. This will change the behavior to store _all_ keys. load_custom_structured_config: Some custom structured config contains inline Jinja templates relying on variables produced by EosDesignsFacts. To avoid such templates breaking the type checks, we can skip loading custom_structured_configuration during the facts phase by setting this to False. 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 a28e9aad730..0f58ea05f7f 100644 --- a/python-avd/schema_tools/generate_classes/class_src_gen.py +++ b/python-avd/schema_tools/generate_classes/class_src_gen.py @@ -193,6 +193,7 @@ def get_class(self) -> ListSrc: base_class=f"AvdList[{item_class_name}]", item_type=item_class_name, description=f"Subclass of AvdList with `{item_class_name}` items.", + imports=self.get_imports(), ) # Indexed list (list with unique primary_key) @@ -210,6 +211,7 @@ def get_class(self) -> ListSrc: f"Subclass of AvdIndexedList with `{item_class_name}` items. Primary key is `{self.get_primary_key_field_name()}` (`{primary_key_type}`)." ), class_vars=[ClassVarSrc("_primary_key", FieldTypeHintSrc("str"), f'"{self.get_primary_key_field_name()}"')], + imports=self.get_imports(), ) def get_item_classes(self) -> list[ModelSrc | ListSrc] | None: @@ -254,6 +256,14 @@ def get_description(self) -> str: descriptions = [super().get_description(), self.get_class().description] return "\n\n".join(description for description in descriptions if description is not None) + def get_imports(self) -> set[str]: + """Return a set of strings with Python imports that are needed for this class.""" + imports = set() + if self.schema.items is None: + imports.add("from typing import Any") + + return imports + class SrcGenDict(SrcGenBase): """Provides the method "generate_class_src" used to build source code for Python classes representing the schema.""" @@ -295,7 +305,6 @@ def get_base_classes(self) -> list[str]: def get_imports(self) -> set[str]: """Return a set of strings with Python imports that are needed for this class.""" imports = set() - imports.add("from typing import Any") if self.schema.field_ref: schema_name = self.schema.field_ref.split("#", maxsplit=1)[0] imports.add(f"from pyavd._{schema_name}.schema import {generate_class_name(schema_name)}") @@ -318,15 +327,6 @@ def get_children_classes_and_fields(self) -> tuple[list[ModelSrc | ListSrc], lis if fieldsrc.cls: classes.append(fieldsrc.cls) - fields.append( - FieldSrc( - name="_custom_data", - field_type="dict", - optional=False, - type_hints=[FieldTypeHintSrc(field_type="dict[str, Any]")], - ) - ) - return classes, fields def get_default(self) -> str | None: diff --git a/python-avd/tests/pyavd/molecule_scenarios/test_eos_designs_class.py b/python-avd/tests/pyavd/molecule_scenarios/test_eos_designs_class.py index 5ec6a95a84f..b10a0075f3c 100644 --- a/python-avd/tests/pyavd/molecule_scenarios/test_eos_designs_class.py +++ b/python-avd/tests/pyavd/molecule_scenarios/test_eos_designs_class.py @@ -82,7 +82,7 @@ def test_eos_designs_initialize_kwargs_with_valid_data(molecule_host: MoleculeHo """Test EosDesigns model with valid data.""" inputs = deepcopy(molecule_host.hostvars) - # The class will not accept _custom_keys to be given directly. They must be given as `_custom_data: `. + # The class will not accept _custom_keys to be given directly. They must be extracted by from_dict(). # This is normally handled by the loader, but since we here test loading with kwargs, we need to remove any # custom keys from the test data. inputs = {k: v for k, v in inputs.items() if not str(k).startswith("_")} diff --git a/python-avd/tests/pyavd/schema/data_merging_schema_class.py b/python-avd/tests/pyavd/schema/data_merging_schema_class.py index 78674071cd9..35106ac9fbe 100644 --- a/python-avd/tests/pyavd/schema/data_merging_schema_class.py +++ b/python-avd/tests/pyavd/schema/data_merging_schema_class.py @@ -3,9 +3,9 @@ # that can be found in the LICENSE file. from __future__ import annotations -from pyavd._schema.models.eos_cli_config_gen_root_model import EosCliConfigGenRootModel from typing import ClassVar from typing import Any +from pyavd._schema.models.eos_cli_config_gen_root_model import EosCliConfigGenRootModel from typing import TYPE_CHECKING from pyavd._schema.models.avd_indexed_list import AvdIndexedList @@ -20,14 +20,13 @@ class DataMergingTestSchema(EosCliConfigGenRootModel): """Subclass of AvdModel.""" class SomeIndexedListItem(AvdModel): """Subclass of AvdModel.""" - _fields: ClassVar[dict] = {"name": {"type": str}, "some_int": {"type": int}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"name": {"type": str}, "some_int": {"type": int}} name: str some_int: int | None - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, name: str | UndefinedType = Undefined, some_int: int | None | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, name: str | UndefinedType = Undefined, some_int: int | None | UndefinedType = Undefined) -> None: """ SomeIndexedListItem. @@ -37,7 +36,6 @@ def __init__(self, *, name: str | UndefinedType = Undefined, some_int: int | Non Args: name: name some_int: some_int - _custom_data: _custom_data """ @@ -53,17 +51,16 @@ class SomeList(AvdList[int]): SomeList._item_type = int - _fields: ClassVar[dict] = {"some_indexed_list": {"type": SomeIndexedList}, "some_list": {"type": SomeList}, "_custom_data": {"type": dict}} + _fields: ClassVar[dict] = {"some_indexed_list": {"type": SomeIndexedList}, "some_list": {"type": SomeList}} _allow_other_keys: ClassVar[bool] = True some_indexed_list: SomeIndexedList """Subclass of AvdIndexedList with `SomeIndexedListItem` items. Primary key is `name` (`str`).""" some_list: SomeList """Subclass of AvdList with `int` items.""" - _custom_data: dict[str, Any] if TYPE_CHECKING: - def __init__(self, *, some_indexed_list: SomeIndexedList | UndefinedType = Undefined, some_list: SomeList | UndefinedType = Undefined, _custom_data: dict[str, Any] | UndefinedType = Undefined) -> None: + def __init__(self, *, some_indexed_list: SomeIndexedList | UndefinedType = Undefined, some_list: SomeList | UndefinedType = Undefined) -> None: """ DataMergingTestSchema. @@ -73,6 +70,5 @@ def __init__(self, *, some_indexed_list: SomeIndexedList | UndefinedType = Undef Args: some_indexed_list: Subclass of AvdIndexedList with `SomeIndexedListItem` items. Primary key is `name` (`str`). some_list: Subclass of AvdList with `int` items. - _custom_data: _custom_data """