-
Notifications
You must be signed in to change notification settings - Fork 228
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 support for IPv4 BGP Labeled-Unicast (BGP-LU) #4412
Feat(eos_cli_config_gen): Add support for IPv4 BGP Labeled-Unicast (BGP-LU) #4412
Conversation
Initial CLI render - peer-groups not done yet Documentation not done yet Molecule tests not done
Add inital testing
Added tests Updated generated markdown
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-4412
# Activate the virtual environment
source test-avd-pr-4412/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/colinmacgiolla/ansible-avd.git@bgp-labeled-unicast#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/colinmacgiolla/ansible-avd.git#/ansible_collections/arista/avd/,bgp-labeled-unicast --force
# Optional: Install AVD examples
cd test-avd-pr-4412
ansible-playbook arista.avd.install_examples |
for more information, see https://pre-commit.ci
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.
Have not tried on a device so just a couple of early comments
python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/router_bgp.schema.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/router_bgp.schema.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/router_bgp.schema.yml
Show resolved
Hide resolved
.../arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-ipv4-labeled-unicast.cfg
Outdated
Show resolved
Hide resolved
.../arista/avd/molecule/eos_cli_config_gen/intended/configs/router-bgp-ipv4-labeled-unicast.cfg
Outdated
Show resolved
Hide resolved
a45b173
to
c44bf4b
Compare
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/schema/schema_fragments/router_bgp.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2
Outdated
Show resolved
Hide resolved
converting to draft since we need to confirm some data model choices. Thanks! |
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/router-bgp.j2
Outdated
Show resolved
Hide resolved
...sta/avd/molecule/eos_cli_config_gen/documentation/devices/router-bgp-ipv4-labeled-unicast.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Mahesh Kumar <[email protected]>
Quality Gate passedIssues Measures |
Change Summary
This PR is based on the other IPv4 Address-Families and adds support for BGP-LU
Related Issue(s)
Fixes #4380
Component(s) name
arista.avd.python-avd
Proposed changes
Many - the datamodel is based on pre-existing ones. All changes live under
router_bgp.address_family_ipv4_labeled_unicast
How to test
molecule tests added
Checklist
User Checklist
Repository Checklist