-
Notifications
You must be signed in to change notification settings - Fork 212
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
Feat(eos_cli_config_gen,eos_designs): Add support for 'l2 mru' #3164
Conversation
@m-rhode thank you for this contribution, I converted it back to draft as you also need to include molecule unit tests for eos_designs and eos_cli_config_gen. |
Also, you need to generate documentation. This is done by running pre-commit locally. Install pre-commit and then run: |
Hello @carlbuchmann, thanks for the zoom offer, much appreciated! Is there anything to do in "ansible_collections/arista/avd/roles/eos_designs"... as l2_mru` is not part of a design I suppose not?
thanks for pointing this out... |
Hello @m-rhode Answering some of the questions here as @carlbuchmann is in another timezone So in general we try to avoid introducing some new knobs in Make sure to install the
|
eos-1(config-if-Et1)#mtu ? <68-65535> Maximum transmission unit in bytes eos-1(config-if-Et1)#l2 mtu ? <64-65535> L2 MTU (bytes) eos-1(config-if-Et1)#l2 mru ? <68-65535> L2 MRU (bytes)
Dear @carlbuchmann and @gmuloc , |
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. |
@carlbuchmann @m-rhode I have adjusted the schema a bit for min/max. For l2_mtu the min is 68 on all the device types I could find. This was set to 64, so please let me know if you have a platform saying 64. |
@ClausHolbechArista thanks for working on this. Min 68 is fine for us. |
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
Change Summary
add support for setting the "l2 mru" on interfaces and port-channels
Related Issue(s)
none
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
I duplicated all "l2_mtu" assets and replaced "mtu" with mru"
How to test
did a config generation and deployment with the branch:
ansible run:
Checklist
User Checklist
then eyeballed if every l2_mtu has a l2_mru equivalent (actually good that I did :) )
Repository Checklist