[systemd-devel] [PATCH] rules: name Dell iDRAC virtual usb nic

Tom Gundersen teg at jklm.no
Wed Feb 19 14:40:39 PST 2014

On Sat, Feb 15, 2014 at 7:59 PM, Kay Sievers <kay at vrfy.org> wrote:
> On Thu, Feb 13, 2014 at 12:56 AM,  <Charles_Rose at dell.com> wrote:
>> On 02/12/2014 09:21 AM, Kay Sievers wrote:
>>> On Wed, Feb 12, 2014 at 2:12 PM,  <Charles_Rose at dell.com> wrote:
>>>  > From: Charles Rose <charles_rose at dell.com>
>>>  >
>>>  > Dell servers contain a virtual usb nic for systems management.
>>>  > Name the device 'idrac' to easily identify it.
>>> The 75-net-description.rules is doe describe interfaces, not to carry
>>> out any policy.
>>> Product specific matches do not really belong into default udev rules
>>> shipped by systemd, we should not add more of them.
>>> They might have a place in the hardware database files. I'm not
>>> exactly sure though, how to apply policy from the hwdb to renaming
>>> network devices, there is no user like that at the moment.
>>> What tool is supposed to find that named interface? Can't it just ship
>>> that rule in its own file?
>> The interface is generic in nature and would be used by multiple utilities/applications to access
>> the iDRAC.
>> The web browser, openwsman, ssh might be some of them for now. This can also be used by customers
>> with custom scripts (python/shell) to fetch/set systems management information.
> Tom,
> any opinion about adding hardware/device-specific network interface
> names to the hwdb, and apply them by default if nothing else specifies
> a name?

Hi Kay and Charles,

I now added this to the hwdb and hooked up the .link logic to respect
it by default: <http://cgit.freedesktop.org/systemd/systemd/commit/?id=e51660ae56bb747ece2cab8fe6eec37f4d06a438>.

I don't have the hardware, so please let me know if it works for you.



More information about the systemd-devel mailing list