Skip to content

Commit

Permalink
[FDBSYNCD] Added support for EVPN as described in the PR sonic-net/SO…
Browse files Browse the repository at this point in the history
…NiC#437 (#1276)

* [FPMSYNCD] EVPN Type5 prefix handling in FPMSYNCD.

This Change set is to support EVPN MAC/IMET routes from Kernel to DB and DB to Kernel:

New demon is added to sync MAC from Kernel to DB and vise versa.
Add remote IMET route learned via EVPN to EVPN_REMOTE_VNI_TABLE in APP_DB.
Add remote MAC route learned via EVPN to VXLAN_FDB_TABLE.
Add State DB FDB_TABLE for local learned MAC to Kernel

Signed-off-by: Kishore Kunal kishore.kunal@broadcom.com
  • Loading branch information
kishorekunal01 authored Dec 11, 2020
1 parent b7e4410 commit 14d8c5f
Show file tree
Hide file tree
Showing 7 changed files with 946 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ gearsyncd/gearsyncd
mclagsyncd/mclagsyncd
natsyncd/natsyncd
neighsyncd/neighsyncd
fdbsyncd/fdbsyncd
orchagent/orchagent
orchagent/orchagent_restart_check
orchagent/routeresync
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd orchagent swssconfig cfgmgr tests gearsyncd
SUBDIRS = fpmsyncd neighsyncd fdbsyncd portsyncd mclagsyncd natsyncd orchagent swssconfig cfgmgr tests gearsyncd

if HAVE_LIBTEAM
SUBDIRS += teamsyncd tlm_teamd
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ AC_CONFIG_FILES([
fpmsyncd/Makefile
neighsyncd/Makefile
gearsyncd/Makefile
fdbsyncd/Makefile
natsyncd/Makefile
portsyncd/Makefile
teamsyncd/Makefile
Expand Down
16 changes: 16 additions & 0 deletions fdbsyncd/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/warmrestart

bin_PROGRAMS = fdbsyncd

if DEBUG
DBGFLAGS = -ggdb -DDEBUG
else
DBGFLAGS = -g
endif

fdbsyncd_SOURCES = fdbsyncd.cpp fdbsync.cpp $(top_srcdir)/warmrestart/warmRestartAssist.cpp

fdbsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(COV_CFLAGS)
fdbsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(COV_CFLAGS)
fdbsyncd_LDADD = -lnl-3 -lnl-route-3 -lswsscommon $(COV_LDFLAGS)

Loading

0 comments on commit 14d8c5f

Please sign in to comment.