Bug 514592

Summary: generalize storage/udev.py for networking too
Product: [Fedora] Fedora Reporter: Chris Lumens <clumens>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-04 14:41:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 473302    

Description Chris Lumens 2009-07-29 19:05:40 UTC
NM no longer exposes information via HAL.  It uses udev instead.  The udev code we have in storage/udev.py is useful for extracting this information, but it's not entirely correct.  Also, it's storage-specific.

We need to break some of this code out of the storage module into a generic udev layer that we can then easily use for both storage and networking devices.  See the requireName= parameter to udev_get_block_device and the MODEL/VENDOR splitting in udev_parse_block_entry for examples of how this is less than ideal.