-
Notifications
You must be signed in to change notification settings - Fork 219
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
Refactor(eos_cli_config_gen): Rearrange the eos-cli output to match eos order part-3 #4462
Refactor(eos_cli_config_gen): Rearrange the eos-cli output to match eos order part-3 #4462
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-4462
# Activate the virtual environment
source test-avd-pr-4462/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@config-order#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,config-order --force
# Optional: Install AVD examples
cd test-avd-pr-4462
ansible-playbook arista.avd.install_examples |
ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/snmp.cfg
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
...ollections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-path-selection.cfg
Show resolved
Hide resolved
Conflicts have been resolved. A maintainer will review the pull request shortly. |
...ollections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-path-selection.cfg
Show resolved
Hide resolved
...llections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-pim-sparse-mode.cfg
Show resolved
Hide resolved
ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/snmp.cfg
Show resolved
Hide resolved
ansible_collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/snmp.cfg
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.
LGTM!
...lections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/cv-pathfinder-edge1.cfg
Outdated
Show resolved
Hide resolved
...collections/arista/avd/molecule/eos_cli_config_gen/intended/configs/router-internet-exit.cfg
Outdated
Show resolved
Hide resolved
...vd/molecule/eos_designs_unit_tests/intended/configs/OVERLAY_ROUTING_PROTOCOL_HER_L3LEAF1.cfg
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
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.
LGTM!. Verified that all config is still there (just reordered and fixed indentation). Thanks!
Change Summary
Rearrange the eos-cli output to match eos order for below modules.
router-internet-exit.j2
router-msdp.j2
router-path-selection.j2
router-pim-sparse-mode.j2
sflow.j2
snmp-server.j2
spanning-tree.j2
tacacs-servers.j2
terminal.j2
vxlan-interface.j2
Related Issue(s)
Fixes #
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
Update the config order as per EOS
How to test
Run molecule
Checklist
User Checklist
Repository Checklist