-
Notifications
You must be signed in to change notification settings - Fork 242
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
Fix(eos_cli_config_gen): Fix the exit of name-server group between vrf host and root in monitor connectivity #5134
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-5134
# Activate the virtual environment
source test-avd-pr-5134/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/laxmikantchintakindi/avd.git@fix-ip-names-server-group#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/laxmikantchintakindi/avd.git#/ansible_collections/arista/avd/,fix-ip-names-server-group --force
# Optional: Install AVD examples
cd test-avd-pr-5134
ansible-playbook arista.avd.install_examples |
0cff982
to
1a79b81
Compare
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/monitor-connectivity.j2
Show resolved
Hide resolved
python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/monitor-connectivity.j2
Show resolved
Hide resolved
…f host and root in monitor connectivity
…onnectivity.j2 Co-authored-by: Claus Holbech <[email protected]>
…onnectivity.j2 Co-authored-by: Claus Holbech <[email protected]>
fa5b8fd
to
70491f0
Compare
|
@@ -54,8 +54,14 @@ monitor connectivity | |||
url {{ host.url }} | |||
{% endif %} | |||
{% endif %} | |||
! |
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.
Why we need exclamation mark? exit should fix the issue
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.
Please test it by deploy via cvp/eapi. Also we need to test it with reboot
Change Summary
Fix the exit of name-server group between vrf host and root in monitor connectivity
Related Issue(s)
Fixes #5133
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
When pushed below configuration to eos, it generates wrong configs.
Intended configs -
Show running config:
How to test
Checklist
User Checklist
Repository Checklist