This hiera config:
netplan::tunnels:
bgp-vxlan1:
mode: vxlan
id: 602
remote: 10.10.10.1
local: 10.10.10.2
mac_learning: true
port: 4789
Generates netplan config with two port fields:
network:
version: 2
renderer: networkd
tunnels:
bgp-vxlan1:
mode: vxlan
local: 10.10.10.2
remote: 10.10.10.1
port: 4789
id: 602
mac-learning: true
port: 4789
This hiera config:
Generates netplan config with two
portfields: