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

Add a writer for NetworkManager #1140

Merged
merged 4 commits into from Jan 14, 2021
Merged

Add a writer for NetworkManager #1140

merged 4 commits into from Jan 14, 2021

Conversation

imobachgs
Copy link
Contributor

This PR is the first step toward being able to write the network configuration at installation time even if you are using NetworkManager (default option for openSUSE). It implements these changes:

  • Add an incomplete configuration writer for NetworkManager.
  • Move the common bits to Y2Network::ConfigWriter, including collaborators like Y2Network::Sysconfig::{DNSWriter,HostnameWriter,InterfacesWriter} which live know under Y2Network::ConfigWriters`. Maybe we should improve the naming.
  • Classes to handle files (InterfaceFile and RoutesFile) live now in the CFA module.

Trello: https://trello.com/c/EdjoT1NN/2256-8-write-networkmanager-configuration-during-installation

@coveralls
Copy link

coveralls commented Jan 14, 2021

Coverage Status

Coverage increased (+0.09%) to 77.763% when pulling 62fac51 on write-nm-configuration into eccad29 on master.

@imobachgs imobachgs marked this pull request as ready for review January 14, 2021 14:14
Copy link
Contributor

@teclator teclator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imobachgs imobachgs merged commit dddfeb2 into master Jan 14, 2021
@imobachgs imobachgs deleted the write-nm-configuration branch January 14, 2021 14:47
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #199 successfully finished

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #117 successfully finished

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

4 participants