network: allow LLDP packets to cross non-customer bridges for container network interfaces

This changes the default .network files we ship for nspawn containers to set
EmitLLDP=customer-bridge in order to allow propagation of the LLDP packets
across bridges. This is useful so that "networkctl status" shows all peers
connected to a virtual container network, collecting this data via LLDP. This
is safe since the default configuration for these interfaces does not bridge
these links to external interfaces, but relies on IP routing for this.
This commit is contained in:
Lennart Poettering 2016-05-06 22:44:13 +02:00
parent 7272b25e16
commit bbc0c09448
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ Name=host0
DHCP=yes DHCP=yes
LinkLocalAddressing=yes LinkLocalAddressing=yes
LLDP=yes LLDP=yes
EmitLLDP=yes EmitLLDP=customer-bridge
[DHCP] [DHCP]
UseTimezone=yes UseTimezone=yes

View file

@ -20,4 +20,4 @@ LinkLocalAddressing=yes
DHCPServer=yes DHCPServer=yes
IPMasquerade=yes IPMasquerade=yes
LLDP=yes LLDP=yes
EmitLLDP=yes EmitLLDP=customer-bridge

View file

@ -19,4 +19,4 @@ LinkLocalAddressing=yes
DHCPServer=yes DHCPServer=yes
IPMasquerade=yes IPMasquerade=yes
LLDP=yes LLDP=yes
EmitLLDP=yes EmitLLDP=customer-bridge