Skip to content

Commit

Permalink
Natsyncd changes in sonic-swss submodule to support NAT feature. (son…
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan committed Jan 30, 2020
1 parent 86aceac commit dc7e5f0
Show file tree
Hide file tree
Showing 12 changed files with 1,348 additions and 93 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ cfgmgr/vxlanmgrd
cfgmgr/natmgrd
neighsyncd/neighsyncd
portsyncd/portsyncd
natsyncd/natsyncd
orchagent/orchagent
orchagent/routeresync
orchagent/orchagent_restart_check
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 orchagent swssconfig cfgmgr tests
SUBDIRS = fpmsyncd neighsyncd portsyncd natsyncd orchagent swssconfig cfgmgr tests

if HAVE_LIBTEAM
SUBDIRS += teamsyncd
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ AC_CONFIG_FILES([
orchagent/Makefile
fpmsyncd/Makefile
neighsyncd/Makefile
natsyncd/Makefile
portsyncd/Makefile
teamsyncd/Makefile
swssconfig/Makefile
Expand Down
16 changes: 16 additions & 0 deletions natsyncd/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 = natsyncd

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

natsyncd_SOURCES = natsyncd.cpp natsync.cpp $(top_srcdir)/warmrestart/warmRestartAssist.cpp

natsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON)
natsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON)
natsyncd_LDADD = -lnl-3 -lnl-route-3 -lnl-nf-3 -lswsscommon

Loading

0 comments on commit dc7e5f0

Please sign in to comment.