Skip to content
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_designs)!: WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added p2p_uplinks_mtu support in platform settings #4415

Merged
merged 17 commits into from
Sep 12, 2024

Conversation

MaheshGSLAB
Copy link
Contributor

@MaheshGSLAB MaheshGSLAB commented Aug 30, 2024

Change Summary

WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added p2p_uplinks_mtu support in platform settings.
The internal max IP MTU for CloudEOS is 9194 to give a max frame size of 9216 for DPDK.
Using higher MTU will lead to performance penalty because of fragmentation.

Related Issue(s)

Fixes #4338

Component(s) name

arista.avd.eos_designs

Proposed changes

WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added p2p_uplinks_mtu support in platform settings

How to test

Run molecule

Checklist

User Checklist

  • N/A

Repository Checklist

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

@MaheshGSLAB MaheshGSLAB self-assigned this Aug 30, 2024
Copy link

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-4415
# Activate the virtual environment
source test-avd-pr-4415/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@issue-4338#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/,issue-4338 --force
# Optional: Install AVD examples
cd test-avd-pr-4415
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Aug 30, 2024
@MaheshGSLAB MaheshGSLAB changed the title Refactor(eos_designs)!: Default mtu set to 9194 for Dps, LAN uplink interfaces and LAN HA interfaces Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps, LAN uplink interfaces and LAN HA interfaces Aug 30, 2024
Copy link
Contributor

@Shivani-gslab Shivani-gslab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the porting-guide and release notes

@MaheshGSLAB MaheshGSLAB changed the title Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps, LAN uplink interfaces and LAN HA interfaces Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added support in platform settings Sep 3, 2024
@github-actions github-actions bot added the type: documentation Improvements or additions to documentation label Sep 3, 2024
@MaheshGSLAB MaheshGSLAB changed the title Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added support in platform settings Refactor(eos_designs)!: WAN default MTU set to 9194 for Dps and WAN HA interfaces and for LAN uplink interfaces added p2p_uplinks_mtu support in platform settings Sep 3, 2024
@Vibhu-gslab Vibhu-gslab marked this pull request as ready for review September 3, 2024 09:47
@Vibhu-gslab Vibhu-gslab requested review from a team as code owners September 3, 2024 09:47
@github-actions github-actions bot added the state: conflict PR with conflict label Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

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

@github-actions github-actions bot removed the state: conflict PR with conflict label Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

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

@ClausHolbechArista ClausHolbechArista added this to the v5.0.0 milestone Sep 5, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

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

@github-actions github-actions bot removed the state: conflict PR with conflict label Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

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

Copy link
Contributor

@Shivani-gslab Shivani-gslab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

sonarcloud bot commented Sep 12, 2024

@ClausHolbechArista ClausHolbechArista merged commit 0f2131f into aristanetworks:devel Sep 12, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Refactor(eos_designs)! role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eos_designs: WAN default mtu should be set to 9194
6 participants