From aa606a78f4533c38e3119ba58a883152fd348612 Mon Sep 17 00:00:00 2001 From: Baorong Liu <96146196+baorliu@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:07:35 -0800 Subject: [PATCH] support portchannel for SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID == false the metadata sanity check fails when the interface is a portchannel. need to support SAI_OBJECT_TYPE_LAG Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com> --- inc/saibfd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/saibfd.h b/inc/saibfd.h index 2fd4a1442..fc2ca93e1 100644 --- a/inc/saibfd.h +++ b/inc/saibfd.h @@ -173,7 +173,7 @@ typedef enum _sai_bfd_session_attr_t * * @type sai_object_id_t * @flags MANDATORY_ON_CREATE | CREATE_AND_SET - * @objects SAI_OBJECT_TYPE_PORT + * @objects SAI_OBJECT_TYPE_PORT, SAI_OBJECT_TYPE_LAG * @condition SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID == false */ SAI_BFD_SESSION_ATTR_PORT,