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

Persist MAC generator ID used by a given app #3665

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

milan-zededa
Copy link
Contributor

Persisting MAC address generator ID avoids changing MAC addresses for
already deployed apps, even when the option network.local.legacy.mac.address
is changed by the user. Only newly deployed apps will apply the latest config
change and use the most recently selected MAC generator.

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 78 lines in your changes are missing coverage. Please review.

Comparison is base (6514271) 19.65% compared to head (26b57b5) 19.61%.

❗ Current head 26b57b5 differs from pull request most recent head 2d41acc. Consider uploading reports for the commit 2d41acc to get more accurate results

Files Patch % Lines
pkg/pillar/cmd/zedrouter/pubsubhandlers.go 0.00% 28 Missing ⚠️
pkg/pillar/types/zedroutertypes.go 0.00% 24 Missing ⚠️
pkg/pillar/cmd/zedrouter/ipam.go 0.00% 18 Missing ⚠️
pkg/pillar/cmd/zedrouter/numallocators.go 0.00% 7 Missing ⚠️
pkg/pillar/cmd/zedrouter/appnetwork.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3665      +/-   ##
==========================================
- Coverage   19.65%   19.61%   -0.04%     
==========================================
  Files         232      232              
  Lines       50680    50742      +62     
==========================================
- Hits         9959     9951       -8     
- Misses      39998    40068      +70     
  Partials      723      723              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Persisting MAC address generator ID avoids changing MAC addresses for
already deployed apps, even when the option network.local.legacy.mac.address
is changed by the user. Only newly deployed apps will apply the latest config
change and use the most recently selected MAC generator.

Signed-off-by: Milan Lenco <milan@zededa.com>
@eriknordmark eriknordmark merged commit 7c742f2 into lf-edge:master Dec 13, 2023
12 of 15 checks passed
@rouming rouming added the stable Should be backported to stable release(s) label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stable Should be backported to stable release(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants