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): Compact MLAG allocations #2903 #2946
Feat(eos_designs): Compact MLAG allocations #2903 #2946
Conversation
How can we document that all mlag node_types for a given address pool need to be configured consistently with Can we add a molecule test to cover this code? |
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.
Please add a test case to eos_designs_unit_tests
using the new ID method.
...ble_collections/arista/avd/roles/eos_designs/python_modules/ip_addressing/avdipaddressing.py
Outdated
Show resolved
Hide resolved
...ble_collections/arista/avd/roles/eos_designs/python_modules/ip_addressing/avdipaddressing.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_designs/schemas/eos_designs.schema.yml
Outdated
Show resolved
Hide resolved
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.
A few comments and then please look into adding a molecule test under the eos_designs_unit_tests
scenario.
...ble_collections/arista/avd/roles/eos_designs/python_modules/ip_addressing/avdipaddressing.py
Outdated
Show resolved
Hide resolved
...ble_collections/arista/avd/roles/eos_designs/python_modules/ip_addressing/avdipaddressing.py
Outdated
Show resolved
Hide resolved
...ble_collections/arista/avd/roles/eos_designs/python_modules/ip_addressing/avdipaddressing.py
Outdated
Show resolved
Hide resolved
...e_collections/arista/avd/roles/eos_designs/schemas/schema_fragments/ip_addressing.schema.yml
Outdated
Show resolved
Hide resolved
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.
A few comments and then please look into adding a molecule test under the eos_designs_unit_tests
scenario.
...e_collections/arista/avd/roles/eos_designs/schemas/schema_fragments/ip_addressing.schema.yml
Outdated
Show resolved
Hide resolved
…s/ip_addressing/avdipaddressing.py Co-authored-by: Claus Holbech <holbech@arista.com>
…s/ip_addressing/avdipaddressing.py Co-authored-by: Claus Holbech <holbech@arista.com>
…s/ip_addressing/avdipaddressing.py Co-authored-by: Claus Holbech <holbech@arista.com>
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. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_shared_utils/mlag.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_designs/docs/Input Variables.md
Outdated
Show resolved
Hide resolved
..._collections/arista/avd/roles/eos_designs/schemas/schema_fragments/defs_node_type.schema.yml
Outdated
Show resolved
Hide resolved
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 and reviewed, LGTM!
Change Summary
Add a compact MLAG boolean flag for nodes which forces MLAG pairs to have an odd and even ID allowing more for compact numbering. Currently the only generation algorithm will skip every other /31 causing extra space to be wasted.
Related Issue(s)
Fixes #2903
Component(s) name
arista.avd.eos-designs
Proposed changes
mlag_compact_addressing
to the eos-designsmlag_compact_addressing
is set toTrue
thenHow to test
Add molecule tests, currently waiting for Carl to finish 4.0.0 molecule migration
Repository Checklist