Skip to content

Conversation

@carl-baillargeon
Copy link
Contributor

Change Summary

Add VerifyRoutingTableEntry test to anta_runner.

Related Issue(s)

Fixes #5980

Component(s) name

arista.avd.anta_runner

Proposed changes

On VTEP devices (excluding WAN routers), generates inputs to verify IPv4 routing table entries of other fabric device Loopback0 and VTEP IPs in the underlay. Only IPv4 (not IPv6) underlays are supported.

Test is skipped if vtep_fabric_reachability is disabled, which is the default behavior since this test could generate a LOT of inputs.

How to test

TBD

Checklist

User Checklist

  • Add the Ansible part

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@carl-baillargeon carl-baillargeon requested review from a team as code owners October 22, 2025 21:17
@carl-baillargeon carl-baillargeon marked this pull request as draft October 22, 2025 21:17
@github-actions
Copy link

Review docs on Read the Docs

To test this pull request:

# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-6043
# Activate the virtual environment
source test-avd-pr-6043/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/carl-baillargeon/avd.git@anta/add_routing_tests#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/carl-baillargeon/avd.git#/ansible_collections/arista/avd/,anta/add_routing_tests --force
# Optional: Install AVD examples
cd test-avd-pr-6043
ansible-playbook arista.avd.install_examples

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
50.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat(anta_runner): Add routing table tests

1 participant