Skip to content

Commit

Permalink
fix(pipelined): backport-1.5 (#8974): fix vlan match (#8976)
Browse files Browse the repository at this point in the history
RYU expects mask even when vlan match is not wildcarded match.

Signed-off-by: Pravin B Shelar <pbshelar@fb.com>
  • Loading branch information
pshelar committed Sep 7, 2021
1 parent 8997df0 commit 93f5d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lte/gateway/python/magma/pipelined/app/inout.py
Expand Up @@ -256,7 +256,7 @@ def _get_default_egress_flow_msgs(self, dp, mac_addr: str = "", vlan: str = ""):
if vlan.isdigit():
vid = 0x1000 | int(vlan)
uplink_match = MagmaMatch(direction=Direction.OUT,
vlan_vid=(vid))
vlan_vid=(vid, 0x1fff))
else:
uplink_match = MagmaMatch(direction=Direction.OUT)

Expand Down

0 comments on commit 93f5d78

Please sign in to comment.