Skip to content

Commit

Permalink
Fixed inbound routing table action name to match with the latest P4 code
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Agrawal <[email protected]>
  • Loading branch information
Ashutosh Agrawal committed Apr 9, 2024
1 parent ade30b9 commit 15f6d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/test_inbound_routing_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_inbound_routing_entry_create(self, dpu):
},
{'name': 'inbound_routing_entry_1', 'op': 'create', 'type': 'SAI_OBJECT_TYPE_INBOUND_ROUTING_ENTRY',
'attributes': [
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION","SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE",
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION","SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP_PA_VALIDATE",
"SAI_INBOUND_ROUTING_ENTRY_ATTR_SRC_VNET_ID","$vnet"
],
'key': {'switch_id': '$SWITCH_ID', 'eni_id': "33", 'vni': '2000', 'sip': '1.1.1.1', 'sip_mask': '32', 'priority': '0'}
Expand All @@ -49,7 +49,7 @@ def test_sai_inbound_routing_entry_attr_action_set(self, dpu):
"op": "set",
"attributes": [
"SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION",
'SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP'
'SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP'
],
}
]
Expand Down

0 comments on commit 15f6d97

Please sign in to comment.