Skip to content

Commit

Permalink
Add PortChannelInterface Manager in BGPCFGD
Browse files Browse the repository at this point in the history
Signed-off-by: zegan <zegan@microsoft.com>
  • Loading branch information
Pterosaur committed Mar 25, 2020
1 parent ba84889 commit 4c8a4c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dockers/docker-fpm-frr/bgpcfgd
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,15 @@ class VlanInterfaceMgr(InterfaceMgr):
)


class PortChannelInterfaceMgr(InterfaceMgr):
def __init__(self, daemon, directory):
super(PortChannelInterfaceMgr, self).__init__(
daemon,
directory,
swsscommon.CFG_LAG_INTF_TABLE_NAME
)


def wait_for_bgpd():
# wait for 20 seconds
stop_time = datetime.datetime.now() + datetime.timedelta(seconds=20)
Expand All @@ -498,6 +507,7 @@ def main():
InterfaceMgr,
LoopbackInterfaceMgr,
VlanInterfaceMgr,
PortChannelInterfaceMgr,
]
wait_for_bgpd()
daemon = Daemon()
Expand Down

0 comments on commit 4c8a4c6

Please sign in to comment.