openSUSE / wicked

Framework for network configuration
https://en.opensuse.org/Portal:Wicked
GNU General Public License v2.0
98 stars 49 forks source link

TODO: Add biosdevname support #30

Open olafhering opened 10 years ago

olafhering commented 10 years ago

From TODO file:

olafhering commented 10 years ago

should probably be left to udev rules to not add yet another layer of matching.

okirch commented 10 years ago

On Tuesday 05 November 2013 17:13:43 olafhering wrote:

should probably be left to udev rules to not add yet another layer of matching.

Well, the point of this TODO item was that the udev "persistent device naming" stuff has never been too stable, to say the least. A more robust way would be to support alternative interface naming modes in the XML config file; like we already do with the persistent mac address or the PCI bus/bridge identifier:

00:1C:C4:83:3F:CE ...

The biosdevname stuff is even worse than normal because it introduces rather surprising (ie completely weird) interface names.

So what this proposal is about is to be able to write config files that have

onboard .. or similar attributes. You could still _have_ udev rules messing with your interface names if you really need them, but wicked would simply stop caring about this stuff. Similar issues seem to exist with device naming on System z, as far as I can tell - I don't remember all the details, but I think the system z network devices have a hell of a udev rules zoo. Defining a namespace with a set of decent attributes would help those as well. ## Olaf ## Neo didn't bring down the Matrix. SOA did. (soafacts.com) Olaf Kirch - Director SUSE Linux Enterprise; R&D (okir@suse.com) SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)