Skip to content

Commit dc7e5f0

Browse files
committed
Natsyncd changes in sonic-swss submodule to support NAT feature. (sonic-net#1126)
1 parent 86aceac commit dc7e5f0

12 files changed

+1348
-93
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ cfgmgr/vxlanmgrd
5757
cfgmgr/natmgrd
5858
neighsyncd/neighsyncd
5959
portsyncd/portsyncd
60+
natsyncd/natsyncd
6061
orchagent/orchagent
6162
orchagent/routeresync
6263
orchagent/orchagent_restart_check

Makefile.am

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

33
if HAVE_LIBTEAM
44
SUBDIRS += teamsyncd

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ AC_CONFIG_FILES([
7979
orchagent/Makefile
8080
fpmsyncd/Makefile
8181
neighsyncd/Makefile
82+
natsyncd/Makefile
8283
portsyncd/Makefile
8384
teamsyncd/Makefile
8485
swssconfig/Makefile

natsyncd/Makefile.am

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/warmrestart
2+
3+
bin_PROGRAMS = natsyncd
4+
5+
if DEBUG
6+
DBGFLAGS = -ggdb -DDEBUG
7+
else
8+
DBGFLAGS = -g
9+
endif
10+
11+
natsyncd_SOURCES = natsyncd.cpp natsync.cpp $(top_srcdir)/warmrestart/warmRestartAssist.cpp
12+
13+
natsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON)
14+
natsyncd_CPPFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON)
15+
natsyncd_LDADD = -lnl-3 -lnl-route-3 -lnl-nf-3 -lswsscommon
16+

0 commit comments

Comments
 (0)