From a9f6413eb5d553acbd1f24d16a0403f61273d3f4 Mon Sep 17 00:00:00 2001 From: Neetha John Date: Thu, 20 May 2021 05:51:05 -0700 Subject: [PATCH] [bgpcfgd] Enable BGP sessions over subinterfaces (#7654) Signed-off-by: Neetha John nejo@microsoft.com Fixes #7531 Why I did it To enable bgp sessions to be established over subinterfaces How I did it Listen to VLAN_SUB_INTERFACE table in config db How to verify it Bgp sessions were established successfully over subinterface --- src/sonic-bgpcfgd/bgpcfgd/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sonic-bgpcfgd/bgpcfgd/main.py b/src/sonic-bgpcfgd/bgpcfgd/main.py index 8b0fe0fb3b..6442e02992 100644 --- a/src/sonic-bgpcfgd/bgpcfgd/main.py +++ b/src/sonic-bgpcfgd/bgpcfgd/main.py @@ -44,6 +44,7 @@ def do_work(): InterfaceMgr(common_objs, "CONFIG_DB", swsscommon.CFG_VLAN_INTF_TABLE_NAME), InterfaceMgr(common_objs, "CONFIG_DB", swsscommon.CFG_LAG_INTF_TABLE_NAME), InterfaceMgr(common_objs, "CONFIG_DB", swsscommon.CFG_VOQ_INBAND_INTERFACE_TABLE_NAME), + InterfaceMgr(common_objs, "CONFIG_DB", swsscommon.CFG_VLAN_SUB_INTF_TABLE_NAME), # State DB managers ZebraSetSrc(common_objs, "STATE_DB", swsscommon.STATE_INTERFACE_TABLE_NAME), # Peer Managers