[systemd-devel] [PATCH 2/2] networkd: integrate LLDP
Tom Gundersen
teg at jklm.no
Sun Nov 23 05:17:18 PST 2014
On Sun, Nov 23, 2014 at 12: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?
Definitely possible. However, any suggestions on how to avoid stepping
on the toes of other abusers of ifAlias, or is ladvd simply ignoring
this?
We definitely want this information easily accessible through
networkctl, so maybe we won't need to touch ifAlias (though I'm
absolutely not opposed to the idea as long as we don't gratuitously
break other users).
Cheers,
Tom
More information about the systemd-devel
mailing list