-
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_designs): Single uplink to mlag pair, mlag_on_orphan_port_channel_downlink #3495
Feat(eos_designs): Single uplink to mlag pair, mlag_on_orphan_port_channel_downlink #3495
Conversation
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.
Reviewed configs and they seem correct. The change to an existing test case is also correct, but that shows that existing deployments may be impacted by this. I have tested in lab, and single connected port-channels with mlag configured still function. The mlag command will not do anything and can be removed without impact. But since this is changing existing config - causing concern, I think we need to put this behavior behind a knob single_uplink_switch_mlag: <bool; default=True>
which we can then flip to default False in AVD 5.0
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
31634e9
to
795bc8c
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
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
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
2f387d4
to
8c9064d
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
..._collections/arista/avd/roles/eos_designs/python_modules/underlay/port_channel_interfaces.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_designs/docs/tables/fabric-settings.md
Outdated
Show resolved
Hide resolved
|
||
type: leaf | ||
|
||
mlag_on_orphan_port_channel_downlink: false |
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.
is the behavior withtrue
being tested anywhere? (I mean explicitly tested to check the difference between true and false)
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.
I don't think so
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.
True is the default and before adding this we saw a change on another device, where our changes here removed mlag. After adding this knob, we no longer change that other leaf. So effectively yes, we are testing it there. I need to check commit history to figure out where it was.
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.
...arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/SINGLE_LINK_TO_MLAG_PAIR.yml
Show resolved
Hide resolved
459e1e7
to
e3bd548
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
353fc3b
to
34978d3
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
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. |
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.
Tested with double and single uplink to same parent and, LGTM!
Approved. I will resolve the conflict once we have merged #3584 |
d8300c4
to
42af2a6
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Change Summary
Fixes an existing bug in designs where there is a standalone switch with just a single link to just one switch of an mlag pair where AVD will unnecessarily make the port-channel created on the mlag pair towards the standalone switch an MLAG port-channel which prevents LACP on the link between the standalone switch and the single switch of the mlag pair from forming.
Related Issue(s)
Fixes #3459
Component(s) name
arista.avd.eos_designs
Proposed changes
Add the logic to make a fabric port-channel an MLAG port-channel only if the switch where we are configuring the port-channel or its mlag peer connect to a single logical switch.
How to test
Added a molecule test with a topology that triggers this condition
Checklist
User Checklist
Repository Checklist