[systemd-devel] NetDev Vlan device copy parent mac

O Neill, David M david.m.oneill at intel.com
Fri Sep 11 04:26:33 PDT 2015


Hi,

 

I have a working patch to copy the mac address from parent link to the
netdev vlan device.

Currently today when using the IP command this is the behavior seen and for
our projects it is the behavior we would like to see for systemd-networkd
also.

In the systemd-networkd solution a mac address is generated using
netdev_get_mac.

 

I have implemented a patch the mimic this behavior, but as far as the
matching goes, which solution would be best accepted for the device
comparison?

By providing the below key options, users can opt for this functionality or
not.  

A key in the below format? Is the CopyParentMac option superfluous?

 

[NetDev] 
Name=enp0s20f0.4094 
Kind=vlan

CopyParentMac=True

Parent=enp0s20f0

 

[VLAN] 
Id=4094

 

Thanks

Dave.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150911/75fb8ebb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7580 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150911/75fb8ebb/attachment-0001.bin>
-------------- next part --------------
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.



More information about the systemd-devel mailing list