Skip to content

[ACL] Populate SAI tunnel terminated attribute correctly#45

Closed
vivekrnv wants to merge 1 commit into
masterfrom
tunnel_term_bugfix
Closed

[ACL] Populate SAI tunnel terminated attribute correctly#45
vivekrnv wants to merge 1 commit into
masterfrom
tunnel_term_bugfix

Conversation

@vivekrnv

@vivekrnv vivekrnv commented Oct 9, 2025

Copy link
Copy Markdown
Owner

What I did

Fix the MATCH_TUNNEL_TERM attribute parsing in AclOrch

Why I did it

TUNNEL_TERM is always populated as false now

How I verified it

UT &

2025-10-09.03:59:46.505331|ACL_RULE_TABLE:ENI:Vnet100_F4939FEFC57F_TERM|SET|PRIORITY:9997|DST_IP:10.1.0.5/32|INNER_DST_MAC:f4:93:9f:ef:c5:7f|REDIRECT_ACTION:18.0.202.1|TUNNEL_TERM:true
2025-10-09.03:59:46.507464|c|SAI_OBJECT_TYPE_ACL_ENTRY:oid:0x80000000024ed|SAI_ACL_ENTRY_ATTR_TABLE_ID=oid:0x7000000000a92|SAI_ACL_ENTRY_ATTR_PRIORITY=9997|SAI_ACL_ENTRY_ATTR_ADMIN_STATE=true|SAI_ACL_ENTRY_ATTR_ACTION_COUNTER=oid:0x90000000024ec|SAI_ACL_ENTRY_ATTR_FIELD_DST_IP=10.1.0.5&mask:255.255.255.255|SAI_ACL_ENTRY_ATTR_FIELD_INNER_DST_MAC=F4:93:9F:EF:C5:7F&mask:FF:FF:FF:FF:FF:FF|SAI_ACL_ENTRY_ATTR_FIELD_TUNNEL_TERMINATED=true|SAI_ACL_ENTRY_ATTR_ACTION_REDIRECT=oid:0x4000000000abf

Details if related

@vivekrnv vivekrnv changed the title [ACL] Populate SAI tunnel term correctly [ACL] Populate SAI tunnel terminated attribute correctly Oct 9, 2025
@vivekrnv vivekrnv force-pushed the tunnel_term_bugfix branch from b1c27f4 to 06b9dee Compare October 9, 2025 01:45
@vivekrnv vivekrnv closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants