Refactor(eos_designs): Inserting the dhcp accept default route when mgmt_ip is dhcp#6627
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-6627
# Activate the virtual environment
source test-avd-pr-6627/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/avd.git@issue-6534#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
python -m ansible.cli.galaxy collection install git+https://github.com/MaheshGSLAB/avd.git#/ansible_collections/arista/avd/,issue-6534 --force
cd test-avd-pr-6627
# Run your playbook using `python -m ansible.cli.playbook path/to/playbook.yml ...`You can also test this PR using AVD playground:
|
for more information, see https://pre-commit.ci
|
LGTM. Added minor comment. |
Co-authored-by: laxmikantchintakindi <159624484+laxmikantchintakindi@users.noreply.github.com>
for more information, see https://pre-commit.ci
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## devel #6627 +/- ##
==========================================
+ Coverage 87.20% 87.21% +0.01%
==========================================
Files 350 350
Lines 19152 19176 +24
Branches 3585 3593 +8
==========================================
+ Hits 16701 16725 +24
Misses 1887 1887
Partials 564 564
🚀 New features to boost your workflow:
|
|
|
@MaheshGSLAB Just wanted to give you a heads up that this may create a breaking change in SNMP engine_id if you are already using snmp_settings.compute_local_engineid_source: rfc3411_type5 in AVD 6.1.0 with DHCP for management. Would it be worth allowing a loopback or router_id to be used as a standard option for snmp_settings.local_engineid_ip? |



Change Summary
Related Issue(s)
Fixes #6534
Component(s) name
arista.avd.eos_designsProposed changes
If mgmt_ip is dhcp then add the dhcp accept default route and avoid to add static route for mgmt_gateway
How to test
Run molecule
Checklist
User Checklist
Repository Checklist