Skip to content
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a466231
Feat(anta_runner): Vxlan1 being down is failing VerifyInterfacesStatu…
vitthalmagadum Oct 13, 2025
774e72b
fixing pre-commit failure
vitthalmagadum Oct 13, 2025
1a2fd77
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 16, 2025
530b326
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 17, 2025
03a310d
addressed review comments: updated the input factories
vitthalmagadum Oct 17, 2025
0a8796e
addressed review comments: updated unit tests
vitthalmagadum Oct 17, 2025
ba49a71
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 17, 2025
1478f78
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 20, 2025
b381c5c
fixing the pre-commit failures
vitthalmagadum Oct 20, 2025
b80f442
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 23, 2025
32b9ba0
fixing the pyright issues
vitthalmagadum Oct 23, 2025
1215c4c
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 23, 2025
d234139
fixed the pipeline failures
vitthalmagadum Oct 23, 2025
dd2d6ff
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 24, 2025
fa24846
addressed review comments: updated the models.py
vitthalmagadum Oct 24, 2025
ca384ca
updated docstring
vitthalmagadum Oct 24, 2025
f8294be
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 27, 2025
cd3d6e4
updated the code covergae
vitthalmagadum Oct 27, 2025
884be89
ignoring pyrigh warning
vitthalmagadum Oct 27, 2025
a4f146e
Merge branch 'devel' into anta_runner/vxlan
vitthalmagadum Oct 27, 2025
0bea7ad
removed unnecessary data class
vitthalmagadum Oct 27, 2025
386545a
removed pyright ignores
vitthalmagadum Oct 29, 2025
4d42eee
Merge branch 'devel' into anta_runner/vxlan
gmuloc Oct 29, 2025
7e0310a
Merge branch 'devel' into anta_runner/vxlan
gmuloc Oct 29, 2025
9d6537e
addressed review comments: updated the moldels.py util to InputFactory
vitthalmagadum Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
},
{
"name": "Vxlan1",
"status": "up"
"status": "down"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@
"name": "Ethernet5",
"status": "up"
},
{
"name": "Loopback0",
"status": "adminDown"
},
{
"name": "Port-Channel1",
"status": "up"
Expand Down Expand Up @@ -399,5 +403,19 @@
]
}
}
],
"anta.tests.vxlan": [
{
"VerifyVxlanConfigSanity": {
"result_overwrite": {
"custom_field": "Generated by AVD"
},
"filters": {
"tags": [
"dc1-leaf1c"
]
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@
{
"name": "Vlan4094",
"status": "up"
},
{
"name": "Vxlan1",
"status": "up"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@
{
"name": "Vlan4094",
"status": "up"
},
{
"name": "Vxlan1",
"status": "up"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
},
{
"name": "Vxlan1",
"status": "up"
"status": "down"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@
"name": "Ethernet5",
"status": "up"
},
{
"name": "Loopback0",
"status": "adminDown"
},
{
"name": "Port-Channel1",
"status": "up"
Expand Down Expand Up @@ -399,5 +403,19 @@
]
}
}
],
"anta.tests.vxlan": [
{
"VerifyVxlanConfigSanity": {
"result_overwrite": {
"custom_field": "Generated by AVD"
},
"filters": {
"tags": [
"dc1-leaf1c"
]
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@
{
"name": "Vlan4094",
"status": "up"
},
{
"name": "Vxlan1",
"status": "up"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@
{
"name": "Vlan4094",
"status": "up"
},
{
"name": "Vxlan1",
"status": "up"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
},
{
"name": "Vxlan1",
"status": "up"
"status": "down"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@
"name": "Ethernet5",
"status": "up"
},
{
"name": "Loopback0",
"status": "adminDown"
},
{
"name": "Port-Channel1",
"status": "up"
Expand Down Expand Up @@ -387,5 +391,19 @@
]
}
}
],
"anta.tests.vxlan": [
{
"VerifyVxlanConfigSanity": {
"result_overwrite": {
"custom_field": "Generated by AVD"
},
"filters": {
"tags": [
"dc1-leaf1c"
]
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ dc1-leaf1c,VerifyMaintenance,unset,,Verifies that the device is not currently un
dc1-leaf1c,VerifyMemoryUtilization,unset,,Verifies whether the memory utilization is below 75%.,System
dc1-leaf1c,VerifyNTP,unset,,Verifies if NTP is synchronised.,System
dc1-leaf1c,VerifyReloadCause,unset,,Verifies the last reload cause of the device.,System
dc1-leaf1c,VerifyVxlanConfigSanity,unset,,Verifies there are no VXLAN config-sanity inconsistencies.,VXLAN
dc1-leaf2a,VerifyBGPPeerSession,unset,,Verifies the session state of BGP peers.,BGP
dc1-leaf2a,VerifyRunningConfigDiffs,unset,,Verifies there is no difference between the running-config and the startup-config.,Configuration
dc1-leaf2a,VerifyZeroTouch,unset,,Verifies ZeroTouch is disabled.,Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,17 @@
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf1c",
"test": "VerifyVxlanConfigSanity",
"categories": [
"vxlan"
],
"description": "Verifies there are no VXLAN config-sanity inconsistencies.",
"result": "unset",
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf2a",
"test": "VerifyBGPPeerSession",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

| Total Tests | Total Tests Success | Total Tests Skipped | Total Tests Failure | Total Tests Error |
| ----------- | ------------------- | ------------------- | ------------------- | ------------------|
| 759 | 0 | 0 | 0 | 0 |
| 760 | 0 | 0 | 0 | 0 |

### Summary Totals Device Under Test

| Device Under Test | Total Tests | Tests Success | Tests Skipped | Tests Failure | Tests Error | Categories Skipped | Categories Failed |
| ------------------| ----------- | ------------- | ------------- | ------------- | ----------- | -------------------| ------------------|
| dc1-leaf1a | 38 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1b | 38 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 31 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 32 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2a | 43 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2c | 31 | 0 | 0 | 0 | 0 | - | - |
| dc1-spine1 | 32 | 0 | 0 | 0 | 0 | - | - |
Expand Down Expand Up @@ -61,7 +61,7 @@
| Software | 63 | 0 | 0 | 0 | 0 |
| STP | 21 | 0 | 0 | 0 | 0 |
| System | 147 | 0 | 0 | 0 | 0 |
| VXLAN | 28 | 0 | 0 | 0 | 0 |
| VXLAN | 29 | 0 | 0 | 0 | 0 |

## Test Results

Expand Down Expand Up @@ -174,6 +174,7 @@
| dc1-leaf1c | System | VerifyMemoryUtilization | Verifies whether the memory utilization is below 75%. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyNTP | Verifies if NTP is synchronised. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyReloadCause | Verifies the last reload cause of the device. | Generated by AVD | unset | - |
| dc1-leaf1c | VXLAN | VerifyVxlanConfigSanity | Verifies there are no VXLAN config-sanity inconsistencies. | Generated by AVD | unset | - |
| dc1-leaf2a | BGP | VerifyBGPPeerSession | Verifies the session state of BGP peers. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyRunningConfigDiffs | Verifies there is no difference between the running-config and the startup-config. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyZeroTouch | Verifies ZeroTouch is disabled. | Generated by AVD | unset | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ dc1-leaf1c,VerifyMaintenance,unset,,Verifies that the device is not currently un
dc1-leaf1c,VerifyMemoryUtilization,unset,,Verifies whether the memory utilization is below 75%.,System
dc1-leaf1c,VerifyNTP,unset,,Verifies if NTP is synchronised.,System
dc1-leaf1c,VerifyReloadCause,unset,,Verifies the last reload cause of the device.,System
dc1-leaf1c,VerifyVxlanConfigSanity,unset,,Verifies there are no VXLAN config-sanity inconsistencies.,VXLAN
dc1-leaf2a,VerifyBGPPeerSession,unset,,Verifies the session state of BGP peers.,BGP
dc1-leaf2a,VerifyRunningConfigDiffs,unset,,Verifies there is no difference between the running-config and the startup-config.,Configuration
dc1-leaf2a,VerifyZeroTouch,unset,,Verifies ZeroTouch is disabled.,Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,17 @@
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf1c",
"test": "VerifyVxlanConfigSanity",
"categories": [
"vxlan"
],
"description": "Verifies there are no VXLAN config-sanity inconsistencies.",
"result": "unset",
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf2a",
"test": "VerifyBGPPeerSession",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

| Total Tests | Total Tests Success | Total Tests Skipped | Total Tests Failure | Total Tests Error |
| ----------- | ------------------- | ------------------- | ------------------- | ------------------|
| 759 | 0 | 0 | 0 | 0 |
| 760 | 0 | 0 | 0 | 0 |

### Summary Totals Device Under Test

| Device Under Test | Total Tests | Tests Success | Tests Skipped | Tests Failure | Tests Error | Categories Skipped | Categories Failed |
| ------------------| ----------- | ------------- | ------------- | ------------- | ----------- | -------------------| ------------------|
| dc1-leaf1a | 38 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1b | 38 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 31 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 32 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2a | 43 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2c | 31 | 0 | 0 | 0 | 0 | - | - |
| dc1-spine1 | 32 | 0 | 0 | 0 | 0 | - | - |
Expand Down Expand Up @@ -61,7 +61,7 @@
| Software | 63 | 0 | 0 | 0 | 0 |
| STP | 21 | 0 | 0 | 0 | 0 |
| System | 147 | 0 | 0 | 0 | 0 |
| VXLAN | 28 | 0 | 0 | 0 | 0 |
| VXLAN | 29 | 0 | 0 | 0 | 0 |

## Test Results

Expand Down Expand Up @@ -174,6 +174,7 @@
| dc1-leaf1c | System | VerifyMemoryUtilization | Verifies whether the memory utilization is below 75%. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyNTP | Verifies if NTP is synchronised. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyReloadCause | Verifies the last reload cause of the device. | Generated by AVD | unset | - |
| dc1-leaf1c | VXLAN | VerifyVxlanConfigSanity | Verifies there are no VXLAN config-sanity inconsistencies. | Generated by AVD | unset | - |
| dc1-leaf2a | BGP | VerifyBGPPeerSession | Verifies the session state of BGP peers. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyRunningConfigDiffs | Verifies there is no difference between the running-config and the startup-config. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyZeroTouch | Verifies ZeroTouch is disabled. | Generated by AVD | unset | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ dc1-leaf1c,VerifyFileSystemUtilization,unset,,Verifies that no partition is util
dc1-leaf1c,VerifyMaintenance,unset,,Verifies that the device is not currently under or entering maintenance.,System
dc1-leaf1c,VerifyMemoryUtilization,unset,,Verifies whether the memory utilization is below 75%.,System
dc1-leaf1c,VerifyReloadCause,unset,,Verifies the last reload cause of the device.,System
dc1-leaf1c,VerifyVxlanConfigSanity,unset,,Verifies there are no VXLAN config-sanity inconsistencies.,VXLAN
dc1-leaf2a,VerifyBGPPeerSession,unset,,Verifies the session state of BGP peers.,BGP
dc1-leaf2a,VerifyRunningConfigDiffs,unset,,Verifies there is no difference between the running-config and the startup-config.,Configuration
dc1-leaf2a,VerifyZeroTouch,unset,,Verifies ZeroTouch is disabled.,Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,17 @@
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf1c",
"test": "VerifyVxlanConfigSanity",
"categories": [
"vxlan"
],
"description": "Verifies there are no VXLAN config-sanity inconsistencies.",
"result": "unset",
"messages": [],
"custom_field": "Generated by AVD"
},
{
"name": "dc1-leaf2a",
"test": "VerifyBGPPeerSession",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

| Total Tests | Total Tests Success | Total Tests Skipped | Total Tests Failure | Total Tests Error |
| ----------- | ------------------- | ------------------- | ------------------- | ------------------|
| 674 | 0 | 0 | 0 | 0 |
| 675 | 0 | 0 | 0 | 0 |

### Summary Totals Device Under Test

| Device Under Test | Total Tests | Tests Success | Tests Skipped | Tests Failure | Tests Error | Categories Skipped | Categories Failed |
| ------------------| ----------- | ------------- | ------------- | ------------- | ----------- | -------------------| ------------------|
| dc1-leaf1a | 37 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1b | 37 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 30 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf1c | 31 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2a | 42 | 0 | 0 | 0 | 0 | - | - |
| dc1-leaf2c | 30 | 0 | 0 | 0 | 0 | - | - |
| dc1-spine1 | 31 | 0 | 0 | 0 | 0 | - | - |
Expand Down Expand Up @@ -61,7 +61,7 @@
| Software | 63 | 0 | 0 | 0 | 0 |
| STP | 19 | 0 | 0 | 0 | 0 |
| System | 116 | 0 | 0 | 0 | 0 |
| VXLAN | 26 | 0 | 0 | 0 | 0 |
| VXLAN | 27 | 0 | 0 | 0 | 0 |

## Test Results

Expand Down Expand Up @@ -171,6 +171,7 @@
| dc1-leaf1c | System | VerifyMaintenance | Verifies that the device is not currently under or entering maintenance. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyMemoryUtilization | Verifies whether the memory utilization is below 75%. | Generated by AVD | unset | - |
| dc1-leaf1c | System | VerifyReloadCause | Verifies the last reload cause of the device. | Generated by AVD | unset | - |
| dc1-leaf1c | VXLAN | VerifyVxlanConfigSanity | Verifies there are no VXLAN config-sanity inconsistencies. | Generated by AVD | unset | - |
| dc1-leaf2a | BGP | VerifyBGPPeerSession | Verifies the session state of BGP peers. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyRunningConfigDiffs | Verifies there is no difference between the running-config and the startup-config. | Generated by AVD | unset | - |
| dc1-leaf2a | Configuration | VerifyZeroTouch | Verifies ZeroTouch is disabled. | Generated by AVD | unset | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ vxlan_interface:
description: dc1-leaf1a_VTEP
vxlan:
source_interface: Loopback1
shutdown: true
udp_port: 4789
virtual_router_encapsulation_mac_address: mlag-system-id
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ local_users:
privilege: 15
role: network-admin
sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920
loopback_interfaces:
- name: Loopback0
description: ROUTER_ID
shutdown: true
ip_address: 10.255.0.3/32
management_api_http:
enable_https: true
https_ssl_profile: eAPI_SSL_Profile
Expand Down Expand Up @@ -121,3 +126,15 @@ vlans:
vrfs:
- name: MGMT
ip_routing: false
vxlan_interface:
vxlan1:
description: dc1-leaf1c_VTEP
vxlan:
source_interface: Loopback0
udp_port: 4789
vlans:
- id: 11
vni: 10011
vrfs:
- name: VRF10
vni: 10
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ custom_structured_configuration_router_path_selection:
custom_structured_configuration_router_adaptive_virtual_topology:
topology_role: edge

# Custom vxlan structured_config to test
custom_structured_configuration_vxlan_interface:
vxlan1:
vxlan:
shutdown: true

# Custom inputs for the hardware tests
accepted_xcvr_manufacturers:
- "Arastra, Inc."
Expand Down
Loading