-
Notifications
You must be signed in to change notification settings - Fork 231
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): Additional interface TE options #4823
base: devel
Are you sure you want to change the base?
Feat(eos_cli_config_gen): Additional interface TE options #4823
Conversation
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-4823
# Activate the virtual environment
source test-avd-pr-4823/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/emilarista/ansible-avd.git@feat/eos_cli_config_gen/interface-additional-te-knobs#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/interface-additional-te-knobs --force
# Optional: Install AVD examples
cd test-avd-pr-4823
ansible-playbook arista.avd.install_examples |
ip address 100.64.127.4/31 | ||
traffic-engineering bandwidth 100 mbps | ||
traffic-engineering administrative-group 4,7-100,testgrp | ||
traffic-engineering srlg 16 | ||
traffic-engineering metric 2 | ||
traffic-engineering min-delay static 2 milliseconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This interface has no traffic-engineering
command. Is that possible/valid? Is there a difference in EOS behavior having or not having that command? (If it is possible to not have it, I would expect it to be the "enabler" for the whole feature, and if so, we should keep the enabled flag in the doc table and set it properly depending on this.
We should also add a TODO for AVD 6.0.0 to set the enabled
key as required in the schema.
unit: | ||
type: str | ||
valid_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unit: | |
type: str | |
valid_values: | |
unit: | |
type: str | |
required: true | |
valid_values: |
type: int | ||
convert_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: int | |
convert_types: | |
type: int | |
required: true | |
convert_types: |
type: int | ||
convert_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: int | |
convert_types: | |
type: int | |
required: true | |
convert_types: |
type: str | ||
valid_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: str | |
valid_values: | |
type: str | |
required: true | |
valid_values: |
type: int | ||
convert_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: int | |
convert_types: | |
type: int | |
required: true | |
convert_types: |
type: str | ||
valid_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: str | |
valid_values: | |
type: str | |
required: true | |
valid_values: |
type: int | ||
convert_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: int | |
convert_types: | |
type: int | |
required: true | |
convert_types: |
type: str | ||
valid_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: str | |
valid_values: | |
type: str | |
required: true | |
valid_values: |
Change Summary
Implements additional interface TE options.
Also removes unnecessary doc template column added in #4754 for traffic_engineering.enabled which is already implied by the interface being added to the table (single criteria for appending to the list of interfaces is traffic_engineering.enabled == true). This would just be a column of all True values.
Related Issue(s)
Fixes part of #https://github.com/aristanetworks/avd-internal/issues/149
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
How to test
Tested with molecule and on device.
Checklist
Repository Checklist