From 908e1a75246360e79e5bf273e3b5ef5a973f2d5c 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 64d2edbed1..799390273d 100644 --- a/src/sonic-bgpcfgd/bgpcfgd/main.py +++ b/src/sonic-bgpcfgd/bgpcfgd/main.py @@ -43,6 +43,7 @@ def do_work(): InterfaceMgr(common_objs, "CONFIG_DB", swsscommon.CFG_LOOPBACK_INTERFACE_TABLE_NAME), 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_VLAN_SUB_INTF_TABLE_NAME), # State DB managers ZebraSetSrc(common_objs, "STATE_DB", swsscommon.STATE_INTERFACE_TABLE_NAME), # Peer Managers