Open
Description
Add a option (list of vlans) to strip any tagged vlans on output. This enables using vlans to control output distribution based on input ACLs using VLAN tags, but not to have the vlan tag exposed externally.
interfaces:
1:
tagged_vlans: [ 100, 200 ]
2:
tagged_vlans: [ 100, 200 ]
strip_tagged_vlans: [ 200 ]
would do something like this:
t=8 p=9008,in_port=1,dl_vlan=100 actions=output:1,output:2,strip_vlan
t=8 p=9008,in_port=1,dl_vlan=200 actions=output:1.strip_vlan,output:2
So that vlan 200 strips the vlan tag before output:2, but vlan 100 does not. This can then be used in combination with ACL in rules that push a vlan tag to create internal send broadcast domains.