ipv6-radvd - resolve mtu from provisioning network

Currently the advertized MTU is hardcoded to 1450.
1450 is to high in case of geneve tunnels on a net
with mtu of 1500 in the underlay.

Automatically get the mtu from the network via the
port on the provisioning network.

Change-Id: I0725b6357bda6219ca49127184f6121167f4f319
This commit is contained in:
Harald Jensås 2020-05-05 19:04:16 +02:00
parent 23c0c73e5f
commit 7000097d2e
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ resources:
};
params:
$provision_cidr: {get_attr: [radvd_port_provision, subnets, 0, cidr]}
$MTU: 1450
$MTU: {get_attr: [radvd_port_provision, network, mtu]}
$AdvManagedFlag:
if:
- dhcpv6-statefull