Skip to content

Commit 4c8a4c6

Browse files
committed
Add PortChannelInterface Manager in BGPCFGD
Signed-off-by: zegan <zegan@microsoft.com>
1 parent ba84889 commit 4c8a4c6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

dockers/docker-fpm-frr/bgpcfgd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,15 @@ class VlanInterfaceMgr(InterfaceMgr):
477477
)
478478

479479

480+
class PortChannelInterfaceMgr(InterfaceMgr):
481+
def __init__(self, daemon, directory):
482+
super(PortChannelInterfaceMgr, self).__init__(
483+
daemon,
484+
directory,
485+
swsscommon.CFG_LAG_INTF_TABLE_NAME
486+
)
487+
488+
480489
def wait_for_bgpd():
481490
# wait for 20 seconds
482491
stop_time = datetime.datetime.now() + datetime.timedelta(seconds=20)
@@ -498,6 +507,7 @@ def main():
498507
InterfaceMgr,
499508
LoopbackInterfaceMgr,
500509
VlanInterfaceMgr,
510+
PortChannelInterfaceMgr,
501511
]
502512
wait_for_bgpd()
503513
daemon = Daemon()

0 commit comments

Comments
 (0)