Skip to content

Commit b90c15e

Browse files
[FDBSYNCD] Added support for FDBSYNCD as described in the PR
sonic-net/SONiC#437
1 parent b7c6a32 commit b90c15e

File tree

7 files changed

+847
-1
lines changed

7 files changed

+847
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ gearsyncd/gearsyncd
5656
mclagsyncd/mclagsyncd
5757
natsyncd/natsyncd
5858
neighsyncd/neighsyncd
59+
fdbsyncd/fdbsyncd
5960
orchagent/orchagent
6061
orchagent/orchagent_restart_check
6162
orchagent/routeresync

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = fpmsyncd neighsyncd portsyncd mclagsyncd natsyncd orchagent swssconfig cfgmgr tests gearsyncd
1+
SUBDIRS = fpmsyncd neighsyncd fdbsyncd portsyncd mclagsyncd natsyncd orchagent swssconfig cfgmgr tests gearsyncd
22

33
if HAVE_LIBTEAM
44
SUBDIRS += teamsyncd tlm_teamd

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ AC_CONFIG_FILES([
9292
fpmsyncd/Makefile
9393
neighsyncd/Makefile
9494
gearsyncd/Makefile
95+
fdbsyncd/Makefile
9596
natsyncd/Makefile
9697
portsyncd/Makefile
9798
teamsyncd/Makefile

fdbsyncd/Makefile.am

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/warmrestart -I ../nlapi/include -I ../cfgmgr
2+
NLAPI_LIBS = ../nlapi/libnlapi.a
3+
4+
bin_PROGRAMS = fdbsyncd
5+
6+
if DEBUG
7+
DBGFLAGS = -ggdb -DDEBUG
8+
else
9+
DBGFLAGS = -g
10+
endif
11+
12+
fdbsyncd_SOURCES = fdbsyncd.cpp fdbsync.cpp $(top_srcdir)/warmrestart/warmRestartAssist.cpp
13+
14+
fdbsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(COV_CFLAGS)
15+
fdbsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(COV_CFLAGS)
16+
fdbsyncd_LDADD = -lnl-3 -lnl-route-3 -lswsscommon $(NLAPI_LIBS) $(COV_LDFLAGS)
17+

0 commit comments

Comments
 (0)