-
Notifications
You must be signed in to change notification settings - Fork 71
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
lag: Remove 'lag' link type, cleanup virtual links #1646
Open
jbemmel
wants to merge
28
commits into
ipspace:dev
Choose a base branch
from
jbemmel:remove-lag-link-type
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.
Conversation
This file contains 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
ipspace
requested changes
Dec 13, 2024
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.
The "type" interface attribute should not be defined, otherwise it looks reasonable.
Also, what happened to "I will submit a PR when I'm done programming"? Got three notifications about this PR. |
jbemmel
force-pushed
the
remove-lag-link-type
branch
from
December 14, 2024 17:30
4702a67
to
c812b6c
Compare
jbemmel
force-pushed
the
remove-lag-link-type
branch
4 times, most recently
from
December 15, 2024 17:55
2228959
to
43d736c
Compare
* Modify lag member lag._parentindex to match lag.ifindex, not linkindex
…on intf.linkindex, not intf.lag.ifindex
…g interfaces get created * Fix the moment lag interfaces get created: After interface attribute validation, but before vlan pre link transformation callbacks Some issue remains with IP addresses being allocated to lag interfaces instead of vlan SVI
TODO: Validate all VLAN cases with/without lag
…er lag interfaces are created
* vlan-link-error: Now correctly identifying 'irb' as an invalid value, but hiding the mismatch in vlan.access name * vlan-trunk-attribute-error: Instead of identifying 'bgp' as being not enabled, 'bgp.as' is determined to be an invalid irb interface attribute
* Fix interface attribute inheritance
* Expand L3 test case to include gateway and custom IP settings
jbemmel
force-pushed
the
remove-lag-link-type
branch
from
December 15, 2024 18:21
43d736c
to
3fd9f11
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Conceptually a 'lag' link type does not make a whole lot of sense; the
lag
module temporarily uses a link object as a grouping construct until the node lag interfaces are created, but there is no reason to keep this around once that is doneThis PR cleans things up a little:
lag.ifindex
, notlinkindex
(which is now removed from the lag interface)Includes various bug fixes: