Support VLAN tunnel mapping of VLAN aware bridges
- https://legacy.netdevconf.info/2.2/slides/prabhu-linuxbridge-tutorial.pdf
- https://patchwork.ozlabs.org/project/netdev/patch/1509045367-42793-3-git-send-email-roopa@cumulusnetworks.com/
- https://patchwork.ozlabs.org/project/netdev/patch/1509045367-42793-2-git-send-email-roopa@cumulusnetworks.com/
This feature needs to start the external control and then add the FDB database
It is directly controlled by the forwarding database, so it must have the external flag to make the vxlan tunnel work in the metadata collection mode
This may be an exciting attempt, which means that we no longer need to create an independent tunnel for each VNI, and can complete the direct conversion from VNI to VLAN to make the VLAN aware bridge work better
example:
set interfaces vxlan vxlan0 external set interfaces vxlan vxlan0 source-address <source> set interfaces vxlan vxlan0 mtu 1500 commit set interfaces bridge br1 enable-vlan set interfaces bridge br1 vif 20 set interfaces bridge br1 member interface vxlan0 vlan-tunnel 2000 vlan 20 set interfaces bridge br1 member interface vxlan0 vlan-tunnel 2000 remote <remote> commit