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): Added outlier elimination feature support for AVT profile #4762

Draft
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

MaheshGSLAB
Copy link
Contributor

Change Summary

Added outlier elimination feature support for AVT profile.

Related Issue(s)

Fixes #4240

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Added outlier elimination feature support for AVT profile.

How to test

Run the molecule and tox to check the coverage.

Checklist

User Checklist

  • N/A

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)

@MaheshGSLAB MaheshGSLAB self-assigned this Nov 26, 2024
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-4762
# Activate the virtual environment
source test-avd-pr-4762/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@issue-4240#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,issue-4240 --force
# Optional: Install AVD examples
cd test-avd-pr-4762
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 Nov 26, 2024
type: dict
keys:
enabled:
description: Set true for enable the AVT path outlier elimination and False to disable the same.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Set true for enable the AVT path outlier elimination and False to disable the same.
description: Set true to enable the AVT path outlier elimination and false to disable the same.

{% endif %}
{% if profile.outlier_elimination.threshold.latency is arista.avd.defined or
profile.outlier_elimination.threshold.jitter is arista.avd.defined or
profile.outlier_elimination.threshold.loss_rate is arista.avd.defined or
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can eliminate these checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Add CLI to support pathfinder outlier elimination feature for AVT in pathfinder based deployment.
2 participants