Skip to content

Commit 15f6d97

Browse files
author
Ashutosh Agrawal
committed
Fixed inbound routing table action name to match with the latest P4 code
Signed-off-by: Ashutosh Agrawal <[email protected]>
1 parent ade30b9 commit 15f6d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/test_inbound_routing_entry.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_inbound_routing_entry_create(self, dpu):
2727
},
2828
{'name': 'inbound_routing_entry_1', 'op': 'create', 'type': 'SAI_OBJECT_TYPE_INBOUND_ROUTING_ENTRY',
2929
'attributes': [
30-
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION","SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE",
30+
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION","SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP_PA_VALIDATE",
3131
"SAI_INBOUND_ROUTING_ENTRY_ATTR_SRC_VNET_ID","$vnet"
3232
],
3333
'key': {'switch_id': '$SWITCH_ID', 'eni_id': "33", 'vni': '2000', 'sip': '1.1.1.1', 'sip_mask': '32', 'priority': '0'}
@@ -49,7 +49,7 @@ def test_sai_inbound_routing_entry_attr_action_set(self, dpu):
4949
"op": "set",
5050
"attributes": [
5151
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION",
52-
'SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP'
52+
'SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP'
5353
],
5454
}
5555
]

0 commit comments

Comments
 (0)