-
Notifications
You must be signed in to change notification settings - Fork 80
lag module: Model peerlink as regular lag link #2084
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
Draft
jbemmel
wants to merge
48
commits into
ipspace:dev
Choose a base branch
from
jbemmel:lag_peer_vlan
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
ce0d7b8
LAG: Refactor peerlinks to simply be another instance of a port-channel
jbemmel 45ff46d
Working Cumulus
jbemmel 1c888ee
Add custom mlag pool to enable ipv6 lla
jbemmel 91f4942
Disable ipv6 configs on peerlink, still not quite working
jbemmel 2cecb92
Working now
jbemmel a7ef831
Update test results, enable ospf v4
jbemmel 4a09d45
Dell: Ignore 'peerlink' interfaces (not the most elegant solution)
jbemmel 6b94b8c
Add peer vlan in 'irb' modei with prefix, downgrade to 'route' at nod…
jbemmel a6bfab8
Use existing untagged vlan if available
jbemmel 84b22d1
Fixes
jbemmel 2dba324
Fix STP disable
jbemmel 375ab3d
Update test results
jbemmel 5caadaa
Undo vlan change
jbemmel c56450f
Allow peer vlan to be configured on Dell OS10 too
jbemmel 8e811a2
Allow peering vlan to be disabled (by setting to None / 0)
jbemmel 8678709
Update docs
jbemmel 5a7dd66
Filter peerlink, update tests
jbemmel 7d29d7a
Determine assigned peer IP, don't generate one
jbemmel e27e856
Clarify error message
jbemmel 2979d71
* Define custom pool in YAML
jbemmel 0cc7ccf
Need to allow all vlans on the peerlink
jbemmel 4eb1789
Newline
jbemmel fd1e273
Cannot use the default p2p pool because it does not specify 'p2p' all…
jbemmel ba163be
Updated test results
jbemmel 4d5b6ad
Define mlag feature for 'none' device
jbemmel aeff546
Support unnumbered ipv4 too
jbemmel 210a062
Prefer 'linklocal' if ipv6 is True
jbemmel 95f3391
Use global p2p address pool instead of defining a special instance
jbemmel cf761bb
Updated test results
jbemmel 070a3fa
Update error test result
jbemmel 8c2d703
Add '_allow_all' flag for VLAN trunks
jbemmel 46ec345
Add flag to VLAN attributes
jbemmel c686fbe
Update tests with new VLAN flag
jbemmel 0f061f5
Undo p2p pool changes, make trunk configurable, add examples
jbemmel f20bb51
Undo error test changes
jbemmel cd5c658
Use 'all'
jbemmel 4123ad4
Fix bug #2090
jbemmel 182c423
Updated test results after fixing VLAN prefix allocation bug
jbemmel abb7134
Remove internal flag
jbemmel f86b71c
Don't configure 'p2p' pool on peerlink VLAN
jbemmel 3d6a106
Update test results
jbemmel 0f1c4f6
Update docs
jbemmel d1070f3
Use _allow_all flag
jbemmel 860ba56
Fix Dell OS10 VLAN script
jbemmel 05b8000
Let '_all_vlans' apply to native VLAN too, avoid creating L3 VLAN whe…
jbemmel ac70f89
Skip creation of default vlan
jbemmel ff96be8
Fix check for all vlans
jbemmel 1b3e7e8
Guard against access_id not being set
jbemmel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This left me a bit confused. I think it would be nice to have two short examples, one of them documenting how the peer link can be used as pure routed link (although we know there are other things going on in the background), another one describing how to use VLANs on the peer link (example use case: VRF Lite)
It's also worth mentioning that you chose that netlab configures "allow all VLANs" on the peer link. That is not always the case in real-life deployments.