avd icon indicating copy to clipboard operation
avd copied to clipboard

Feat(eos_designs)!: Update the default platform settings for R3-series to have TCAM profile "vxlan-routing"

Open ClausHolbechArista opened this issue 1 year ago • 5 comments

Change Summary

Update the default platform settings for R3-series to have TCAM profile "vxlan-routing"

Related Issue(s)

Replacing #3901

Component(s) name

arista.avd.eos_designs

Proposed changes

The default platform settings for R3-series now have the TCAM profile "vxlan-routing"

Starting AVD 5.0.0, the default platform settings for 7280R3, 7500R3 and 7800R3 platforms now contain tcam_profile: vxlan-routing This change is based on a new Arista best practice for VXLAN deployments with the R3-series. Not using this TCAM profile can lead to incorrect handling of VXLAN IPv6 NS packets.

!!! warning Since applying a TCAM profile will cause reprogramming of the forwarding processor, it can lead to disturbances to the network services.

Please work with your Arista account team to decide if the new default is the right choice for your network, and how to apply it.

To retain the old configuration with no TCAM profile the default platform settings can be overridden with the new custom_platform_settings key:

+custom_platform_settings:
+  - platforms:
+      - 7280R3
+    reload_delay:
+      mlag: 900
+      non_mlag: 1020
+  - platforms:
+      - 7500R3
+      - 7800R3
+    management_interface: Management0
+    reload_delay:
+      mlag: 900
+      non_mlag: 1020

How to test

  • Existing molecule tests expose the change of defaults.
  • Updated one of them to test the suggested roll-back from porting guide.

Checklist

User Checklist

  • N/A

Repository Checklist

  • [x] My code has been rebased from devel before I start
  • [x] I have read the CONTRIBUTING document.
  • [x] My change requires a change to the documentation and documentation have been updated accordingly.
  • [x] I have updated molecule CI testing accordingly. (check the box if not applicable)

ClausHolbechArista avatar Aug 22 '24 08:08 ClausHolbechArista

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-4387
# Activate the virtual environment
source test-avd-pr-4387/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@feat/eos_designs/platform-settings-r3-vxlan-routing#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/ClausHolbechArista/avd.git#/ansible_collections/arista/avd/,feat/eos_designs/platform-settings-r3-vxlan-routing --force
# Optional: Install AVD examples
cd test-avd-pr-4387
ansible-playbook arista.avd.install_examples

github-actions[bot] avatar Aug 22 '24 08:08 github-actions[bot]

@fhibler please take a look. Especially at the porting-guide section since we need to guide existing users. https://ansible-avd--4387.org.readthedocs.build/en/4387/docs/porting-guides/5.x.x.html#the-default-platform-settings-for-r3-series-now-have-the-tcam-profile-vxlan-routing

ClausHolbechArista avatar Aug 22 '24 08:08 ClausHolbechArista

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 27 '24 13:08 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Aug 28 '24 05:08 github-actions[bot]

The tech-library is recommending to use the vxlan-v6-underlay TCAM profile now. Should we review this?

pmprado avatar Oct 31 '24 10:10 pmprado