[systemd-devel] [PATCH 2/2] networkd: integrate LLDP

Tom Gundersen teg at jklm.no
Sun Nov 23 05:20:13 PST 2014


On Sun, Nov 23, 2014 at 1:31 PM, Mantas Mikulėnas <grawity at gmail.com> wrote:
> On Sun, Nov 23, 2014 at 1:01 PM, Tomasz Torcz <tomek at pipebreaker.pl> wrote:
>>
>> On Sun, Nov 23, 2014 at 10:15:10AM +0530, Susant Sahani wrote:
>> > This patch integrates LLDP with networkd.
>>
>>   In Fedora, we already have LLDP receiver/broadcaster – ladvd.
>> It has this neat feature of abusing ifAlias by putting endpoint
>> name there.  This gives port information right at "ip l" output:
>>
>> 3: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
>> UP mode DEFAULT group default qlen 1000
>>     link/ether 10:78:d2:cc:7e:b0 brd ff:ff:ff:ff:ff:ff
>>     alias connected to Core2-3b-24p (Fa0/7)
>>
>>   Would it be possible to implement this in networkd?
>
>
> lldpd has the same feature... In fact, I'm curious what advantages will
> networkd's implementation have over the existing lldpd and ladvd?

Well, the point here really is to make the LLDP information available
to networkd/networkctl in a light-weight fashion (I mean we are just
listening for broadcasts and saving whatever info we find, no need to
run a whole own daemon just for that).

Cheers,

Tom


More information about the systemd-devel mailing list