vxlan: VXLAN setting ends up in wrong section
Bug #2000713 reported by
Dr. Jens Harbott
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Medium
|
Danilo Egea Gondolfo |
Bug Description
If a vxlan is linked to a bridge that has additional data like static routes, the "VXLAN=" tag ends up at the end of the .network file in the "[Route]" section instead of the "[Network]" section where it belongs. The code generating it https:/
Changed in netplan: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in netplan: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Hi, thank you for your bug report.
I will investigate this further.
Reproducer:
network:
renderer: networkd
ethernets:
eth0:
routes:
- to: 10.20.30.40/32
via: 10.20.30.1
tunnels:
vxlan1:
mode: vxlan
id: 1
link: eth0
Result:
[Match]
Name=eth0
[Network] sing=ipv6
LinkLocalAddres
[Route] 10.20.30. 40/32
Destination=
Gateway=10.20.30.1
VXLAN=vxlan1
Result without the route:
[Match]
Name=eth0
[Network] sing=ipv6
LinkLocalAddres
VXLAN=vxlan1