mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-05 22:35:10 +00:00
![]() This patch uses kernel bridge vlan attribute IFLA_BRIDGE_VLAN_TUNNEL_INFO to set/delete/show per vlan tunnel info. $bridge vlan add dev vxlan0 vid 2000 tunnel_info id 2000 $bridge vlan add dev vxlan0 vid 1000-1001 tunnel_info id 2000-2001 $bridge vlan tunnelshow port vlan ids tunnel id vxlan0 1000-1001 1000-1001 2000 2000 $bridge -j vlan tunnelshow { "dummy0": [], "dummy1": [], "bridge": [], "vxlan0": [{ "vlan": 1000, "vlanEnd": 1001, "tunid": 1000, "tunidEnd": 1001 },{ "vlan": 2000, "tunid": 2000 } ] } This patch also fixes a json termination bug in print_vlan when filter vlan is provided by the user. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> |
||
---|---|---|
.. | ||
.gitignore | ||
br_common.h | ||
bridge.c | ||
fdb.c | ||
link.c | ||
Makefile | ||
mdb.c | ||
monitor.c | ||
vlan.c |