Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Add Router-TE Flexalgo Support #5021

Open
wants to merge 8 commits into
base: devel
Choose a base branch
from

Conversation

emilarista
Copy link
Contributor

Change Summary

Adds support for rotuter traffic-engineering flex-algo configuration.

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Adds the following data model for router_traffic_engineering.flex_algos:

router_traffic_engineering:
  ...
  flex_algos:
    - number: <int>
      name: <str>
      administrative_group:
        include_all: <list>
        include_any: <list>
        exclude: <list>
      color: <int>
      metric: <str>
      srlg_excludes: <list>
      priority: <int>

How to test

Tested with device and molecule and with advice from SP WG.

Checklist

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)

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-5021
# Activate the virtual environment
source test-avd-pr-5021/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/emilarista/ansible-avd.git@feat/eos_cli_config_gen/flexalgo#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/emilarista/ansible-avd.git#/ansible_collections/arista/avd/,feat/eos_cli_config_gen/flexalgo --force
# Optional: Install AVD examples
cd test-avd-pr-5021
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Feb 12, 2025
@emilarista emilarista marked this pull request as ready for review February 12, 2025 14:56
@emilarista emilarista requested review from a team as code owners February 12, 2025 14:56
@github-actions github-actions bot added the state: conflict PR with conflict label Feb 14, 2025
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@emilarista emilarista force-pushed the feat/eos_cli_config_gen/flexalgo branch from 1e8e339 to 803e636 Compare February 14, 2025 12:39
@github-actions github-actions bot removed the state: conflict PR with conflict label Feb 14, 2025
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot added the state: conflict PR with conflict label Feb 18, 2025
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@emilarista emilarista force-pushed the feat/eos_cli_config_gen/flexalgo branch from 4d45b27 to bb5c8d8 Compare February 18, 2025 10:20
@github-actions github-actions bot removed the state: conflict PR with conflict label Feb 18, 2025
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot added the state: conflict PR with conflict label Feb 21, 2025
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@emilarista emilarista force-pushed the feat/eos_cli_config_gen/flexalgo branch from 9994459 to c17e8d0 Compare February 21, 2025 12:34
@github-actions github-actions bot removed the state: conflict PR with conflict label Feb 21, 2025
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@ClausHolbechArista ClausHolbechArista added the one approval This PR has one approval and is only missing one more. label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one approval This PR has one approval and is only missing one more. role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants