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 a new attribute SAI_BFD_SESSION_ATTR_NEXT_HOP_ID to saibfd.h #2127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
22 changes: 21 additions & 1 deletion inc/saibfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ typedef enum _sai_bfd_session_attr_t
* @type sai_object_id_t
* @flags MANDATORY_ON_CREATE | CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_VIRTUAL_ROUTER
* @condition SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID == true
* @condition SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID == true and SAI_BFD_SESSION_ATTR_USE_NEXT_HOP == false
*/
SAI_BFD_SESSION_ATTR_VIRTUAL_ROUTER,

Expand Down Expand Up @@ -523,6 +523,26 @@ typedef enum _sai_bfd_session_attr_t
*/
SAI_BFD_SESSION_ATTR_SELECTIVE_COUNTER_LIST,

/**
* @brief Use next hop
*
* @type bool
* @flags CREATE_ONLY
* @default false
*/
SAI_BFD_SESSION_ATTR_USE_NEXT_HOP,

/**
* @brief Next Hop ID for single hop BFD session
*
* @type sai_object_id_t
* @flags MANDATORY_ON_CREATE | CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_NEXT_HOP
* @allownull true
* @condition SAI_BFD_SESSION_ATTR_USE_NEXT_HOP == true
*/
SAI_BFD_SESSION_ATTR_NEXT_HOP_ID,

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