-
Notifications
You must be signed in to change notification settings - Fork 223
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): Adding support to disable make_before_break for PIM sparse-mode #4745
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-4745
# Activate the virtual environment
source test-avd-pr-4745/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/davidhayes9/avd.git@issue4743#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/davidhayes9/avd.git#/ansible_collections/arista/avd/,issue4743 --force
# Optional: Install AVD examples
cd test-avd-pr-4745
ansible-playbook arista.avd.install_examples |
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/router-pim-sparse-mode.j2
Outdated
Show resolved
Hide resolved
.../arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/host1/router-pim-sparse-mode.yml
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-pim-sparse-mode.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-pim-sparse-mode.j2
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-pim-sparse-mode.j2
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-pim-sparse-mode.j2
Show resolved
Hide resolved
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.
a make-before-break: true in router_pim_sparse_mode.ipv4 can be added in host2 to improve document coverage.
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.
@ClausHolbechArista I have made changes so want another maintainer to take a look
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/router-pim-sparse-mode.j2
Outdated
Show resolved
Hide resolved
…/router-pim-sparse-mode.j2
ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md
Outdated
Show resolved
Hide resolved
…umentation/devices/host1.md
ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host2.md
Outdated
Show resolved
Hide resolved
… for PIM sparse-mode (aristanetworks#4745)
Change Summary
Adding support to disable make_before_break for PIM sparse-mode
Related Issue(s)
Fixes #4743
Component(s) name
arista.avd. eos_cli_config_gen
Proposed changes
Added support to disable make_before_break for PIM sparse-mode in default and non-default VRF
How to test
Tested on molecule with keys added in both default and non-VRF
Checklist
User Checklist
Repository Checklist