Skip to content

Commit

Permalink
[FDBSYNCD] Added support for FDBSYNCD as described in the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorekunal01 committed Nov 14, 2020
1 parent b7c6a32 commit b90c15e
Show file tree
Hide file tree
Showing 7 changed files with 847 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
17 changes: 17 additions & 0 deletions fdbsyncd/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/warmrestart -I ../nlapi/include -I ../cfgmgr
NLAPI_LIBS = ../nlapi/libnlapi.a

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 $(NLAPI_LIBS) $(COV_LDFLAGS)

Loading

0 comments on commit b90c15e

Please sign in to comment.