VXLAN
ANTA catalog for VXLAN tests¶
Test functions related to VXLAN
VerifyVxlan1Interface ¶
Bases: AntaTest
This test verifies if the Vxlan1 interface is configured and ‘up/up’.
Warning
The name of this test has been updated from ‘VerifyVxlan’ for better representation.
Expected Results
- success: The test will pass if the Vxlan1 interface is configured with line protocol status and interface status ‘up’.
- failure: The test will fail if the Vxlan1 interface line protocol status or interface status are not ‘up’.
- skipped: The test will be skipped if the Vxlan1 interface is not configured.
Source code in anta/tests/vxlan.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
test ¶
test() -> None
Run VerifyVxlan1Interface validation
Source code in anta/tests/vxlan.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
VerifyVxlanConfigSanity ¶
Bases: AntaTest
This test verifies that no issues are detected with the VXLAN configuration.
Expected Results
- success: The test will pass if no issues are detected with the VXLAN configuration.
- failure: The test will fail if issues are detected with the VXLAN configuration.
- skipped: The test will be skipped if VXLAN is not configured on the device.
Source code in anta/tests/vxlan.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
|
test ¶
test() -> None
Run VerifyVxlanConfigSanity validation
Source code in anta/tests/vxlan.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
|
Last update:
July 24, 2023