-
Notifications
You must be signed in to change notification settings - Fork 908
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
Netops refactor #5117
Netops refactor #5117
Conversation
@cjp256 I think that you originally requested the iproute2 refactor to be multi-line for easier reading? Would you mind reviewing this commit which contains that change? |
343f2b8
to
dbe1243
Compare
dbe1243
to
b32fdcc
Compare
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.
LGTM, nice change - thanks!
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.
LGTM. Nice refactoring!
As the Merge Type is set to rebase & merge
, would you like to merge your last commit into the previous ones?
Various different activators, datasources, and networking code implementations make use of manual iproute2 calls, which has led to much code duplication in the codebase. This is a small step towards replacing distro assumptions at call sites with common interfaces, which will simplify future refactors for more distro-agnostic code. These same abstractions will also enable simpler testing.
9195ba9
to
4d91563
Compare
Done, thanks for the review @aciba90! |
Additional Context
This is a small step towards making cloud-init use reusable networking interfaces for better cross-distro abstractions and easier maintenance.
Merge type