summaryrefslogtreecommitdiffstats
path: root/zebra/subdir.am
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-12 10:41:04 +0100
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-14 07:47:32 +0100
commit67fa73f29a2a059fb01d8fc7009161f21e1b05da (patch)
treec2fb737745e0b7e487160e2e3a510866a5e33a28 /zebra/subdir.am
parentlib,mlag : Defining MLAG Proto file (diff)
downloadfrr-67fa73f29a2a059fb01d8fc7009161f21e1b05da.tar.xz
frr-67fa73f29a2a059fb01d8fc7009161f21e1b05da.zip
Zebra: ADD Protobuf Encoding & Decoding for MLAG Messages
1. add the Mlag ProtoBuf Lib to Zebra Compilation 2. Encode the messages with protobuf before writing to MLAG 3. Decode the MLAG Messages using protobuf and write to clients based on their subscrption. Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'zebra/subdir.am')
-rw-r--r--zebra/subdir.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/subdir.am b/zebra/subdir.am
index 78d374b7b..d0f32d6a1 100644
--- a/zebra/subdir.am
+++ b/zebra/subdir.am
@@ -38,6 +38,9 @@ man8 += $(MANBUILD)/zebra.8
endif
zebra_zebra_LDADD = lib/libfrr.la $(LIBCAP)
+if HAVE_PROTOBUF
+zebra_zebra_LDADD += mlag/libmlag_pb.la $(PROTOBUF_C_LIBS)
+endif
zebra_zebra_SOURCES = \
zebra/connected.c \
zebra/debug.c \
@@ -131,6 +134,7 @@ noinst_HEADERS += \
zebra/rtadv.h \
zebra/rule_netlink.h \
zebra/zebra_mlag.h \
+ zebra/zebra_mlag_private.h \
zebra/zebra_fpm_private.h \
zebra/zebra_l2.h \
zebra/zebra_dplane.h \