Skip to content

Commit f1d8967

Browse files
Support for ADMIN state for BFD session
1 parent 715c159 commit f1d8967

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

inc/saibfd.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,18 @@ typedef enum _sai_bfd_session_attr_t
552552
*/
553553
SAI_BFD_SESSION_ATTR_NEXT_HOP_ID,
554554

555+
/**
556+
* @brief Admin state
557+
*
558+
* Allows user to administratively disable a BFD session without deleting it; setting this
559+
* attribute to false disables the session.
560+
*
561+
* @type bool
562+
* @flags CREATE_AND_SET
563+
* @default true
564+
*/
565+
SAI_BFD_SESSION_ATTR_ADMIN_STATE,
566+
555567
/**
556568
* @brief End of attributes
557569
*/

0 commit comments

Comments
 (0)