Input Types
anta.custom_types ¶
Module that provides predefined types for AntaTest.Input instances
Afi
module-attribute
¶
Afi = Literal['ipv4', 'ipv6', 'vpn-ipv4', 'vpn-ipv6', 'evpn', 'rt-membership']
Interface
module-attribute
¶
Interface = Annotated[str, Field(pattern='^(Ethernet|Fabric|Loopback|Management|Port-Channel|Tunnel|Vlan|Vxlan)[0-9]+(\\/[0-9]+)*(\\.[0-9]+)?$')]
TestStatus
module-attribute
¶
TestStatus = Literal['unset', 'success', 'failure', 'error', 'skipped']
aaa_group_prefix ¶
aaa_group_prefix(v: str) -> str
Prefix the AAA method with ‘group’ if it is known
Source code in anta/custom_types.py
14 15 16 17 |
|
Last update:
September 7, 2023