Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the inbound routing header to use a new tunnel decapsulation action name. #1963

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions experimental/saiexperimentaldashinboundrouting.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
*/
typedef enum _sai_inbound_routing_entry_action_t
{
SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP,
SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the old attributes are already used by swss, we cannot simply change them.


SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE,
SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP_PA_VALIDATE,

} sai_inbound_routing_entry_action_t;

Expand Down Expand Up @@ -100,19 +100,19 @@ typedef enum _sai_inbound_routing_entry_attr_t
*
* @type sai_inbound_routing_entry_action_t
* @flags CREATE_AND_SET
* @default SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP
* @default SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP
*/
SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION = SAI_INBOUND_ROUTING_ENTRY_ATTR_START,

/**
* @brief Action vxlan_decap_pa_validate parameter SRC_VNET_ID
* @brief Action tunnel_decap_pa_validate parameter SRC_VNET_ID
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_VNET
* @allownull true
* @default SAI_NULL_OBJECT_ID
* @validonly SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION == SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE
* @validonly SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION == SAI_INBOUND_ROUTING_ENTRY_ACTION_TUNNEL_DECAP_PA_VALIDATE
*/
SAI_INBOUND_ROUTING_ENTRY_ATTR_SRC_VNET_ID,

Expand Down
1 change: 1 addition & 0 deletions inc/saiobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <saisrv6.h>

/* new experimental object type includes */
#include <saiexperimentaldashmeter.h>
#include <saiexperimentaldashvip.h>
#include <saiexperimentaldashpavalidation.h>
#include <saiexperimentaldashvnet.h>
Expand Down
Loading