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

Use full type detection when building device cache #645

Merged
merged 4 commits into from
Nov 28, 2017

Conversation

mchf
Copy link
Member

@mchf mchf commented Nov 24, 2017

Replaces #527

The fix replaces ifcfg only type detection by full type detection when building device config cache. type detection based on ifcfg can differ from the reality mainly in situations when the config file contains some unexpected option. E.g. when user leaves ETHERDEVICE=eth0 in eth device's config file then ifcfg based type detection can report type vlan but correct one is eth.

Read used type detection based on ifcfg content before. The user
 can easily get confused when having e.g. bridge over wlan in
such case. Bcs the device is cached as wlan when type is detected
according ifcfg but full detection reports that as bridge.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 50.288% when pulling 08e9007 on mchf:bnc956755-type-detection into a42c114 on yast:SLE-12-SP2.

@mchf
Copy link
Member Author

mchf commented Nov 28, 2017

thanks for the review

@mchf mchf merged commit 0e8b13e into yast:SLE-12-SP2 Nov 28, 2017
@teclator teclator mentioned this pull request Dec 4, 2017
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.

3 participants