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

Add DF Mode, nexthopgroup id and splithorizon list assignment #1965

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
12 changes: 12 additions & 0 deletions inc/saifdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@ typedef enum _sai_fdb_entry_attr_t
*/
SAI_FDB_ENTRY_ATTR_ENDPOINT_IP,

/**
* @brief NextHop Group with members as Nexthops as Tunnel Nexthops
*
* Valid only for Ethernet Segment Ports - EVPN Multihoming feature
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @default SAI_NULL_OBJECT_ID
* @objects SAI_OBJECT_TYPE_NEXT_HOP_GROUP
*/
SAI_FDB_ENTRY_ATTR_NEXT_HOP_GROUP_ID,

Choose a reason for hiding this comment

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

Does it need any changes in nexthopgroup types..


/**
* @brief Attach a counter
*
Expand Down
36 changes: 36 additions & 0 deletions inc/saivlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ typedef enum _sai_vlan_tagging_mode_t

} sai_vlan_tagging_mode_t;

/**
* @brief Attribute data for df_mode parameter
*/
typedef enum _sai_vlan_df_mode_t
{
SAI_VLAN_DF_MODE_IGNORE,

SAI_VLAN_DF_MODE_BLOCKED,

Choose a reason for hiding this comment

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

can you plesae add more details on what exactly these modes are..


SAI_VLAN_DF_MODE_UNBLOCKED

} sai_vlan_df_mode_t;


/**
* @brief Attribute data for multicast_lookup_key_type parameter
*/
Expand Down Expand Up @@ -452,6 +466,28 @@ typedef enum _sai_vlan_member_attr_t
*/
SAI_VLAN_MEMBER_ATTR_VLAN_TAGGING_MODE,

/**
* @brief Designator Forwarding Mode
*
* Valid only for Ethernet Segment Ports - EVPN Multihoming feature
*
* @type sai_vlan_df_mode_t
* @flags CREATE_AND_SET
* @default SAI_VLAN_DF_MODE_IGNORE
*/
SAI_VLAN_MEMBER_ATTR_DF_MODE,

/**
* @brief Split Horizon List ID
*
* Valid only for Ethernet Segment Ports - EVPN Multihoming feature

Choose a reason for hiding this comment

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

what is the PORT attribute to define whether the port is Ethernet segment PORT or not...?

*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_SPLIT_HORIZON_LIST
*/
SAI_VLAN_MEMBER_ATTR_SPLIT_HORIZON_LIST_ID,

/**
* @brief End of attributes
*/
Expand Down
Loading