Skip to content
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

Fixing MacVlan interface provisioning #1635

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Conversation

steiler
Copy link
Collaborator

@steiler steiler commented Oct 10, 2023

MacVlan interfaces are dependent on an existing parent Interface.
This parent interface defines the MTU of the derived MacVlan interface.

This PR now avoids setting the MTU for MacVlan interfaces but instead queries the parent interface in the resolve phase and adjusts the internal MTU value of the MacVlan interface accordingly, such that on configuration generation, this value can be propagated to the nodes config.

Fixing #1633

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #1635 (6589caf) into main (a003efe) will increase coverage by 0.63%.
Report is 3 commits behind head on main.
The diff coverage is 47.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1635      +/-   ##
==========================================
+ Coverage   50.29%   50.93%   +0.63%     
==========================================
  Files         135      135              
  Lines       13090    13091       +1     
==========================================
+ Hits         6584     6668      +84     
+ Misses       5781     5694      -87     
- Partials      725      729       +4     
Files Coverage Δ
runtime/docker/auth.go 72.28% <ø> (ø)
links/link_macvlan.go 54.10% <47.50%> (+44.52%) ⬆️

... and 6 files with indirect coverage changes

@hellt hellt merged commit 3876044 into srl-labs:main Oct 12, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants