-
Notifications
You must be signed in to change notification settings - Fork 239
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_designs): Add metric bandwidth support for l3_interfaces #5017
base: devel
Are you sure you want to change the base?
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-5017
# Activate the virtual environment
source test-avd-pr-5017/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ayushmittal-arista/ayush-avd.git@rxtx1#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/ayushmittal-arista/ayush-avd.git#/ansible_collections/arista/avd/,rxtx1 --force
# Optional: Install AVD examples
cd test-avd-pr-5017
ansible-playbook arista.avd.install_examples |
for more information, see https://pre-commit.ci
receive_bandwidth: | ||
type: int | ||
description: Maximum allowed receive bandwidth (download) in Mbps for this interface. | ||
min: 1 | ||
max: 4294967295 | ||
convert_types: | ||
- str | ||
transmit_bandwidth: | ||
type: int | ||
description: Maximum allowed transmit bandwidth (upload) in Mbps for this interface. | ||
min: 1 | ||
max: 4294967295 | ||
convert_types: | ||
- str |
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.
we may need to limit to physical interfaces only (waiting on engineering answer).
if so we should add a restriction in the code and add a negative unit test
It would be good to add to WAN how-to as well
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.
added to how-to, please check.
For physical interface check, still wait for the EOS reply.
python-avd/pyavd/_eos_designs/structured_config/overlay/router_path_selection.py
Outdated
Show resolved
Hide resolved
|
Change Summary
Add receive_bandwidth, transmit_bandwidth fields under l3_interfaces, these will be set under router path selection if these interfaces are configured in the path groups.
Related Issue(s)
Fixes #
Component(s) name
arista.avd.eos_designs
Proposed changes
Add receive_bandwidth, transmit_bandwidth fields under l3_interfaces,
How to test
molecule
Checklist
User Checklist
Repository Checklist