mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 09:00:55 +00:00

Introduce frr-ripd.yang, which defines a model for managing the FRR ripd daemon. Also add frr-route-types.yang which defines typedefs for FRR route types. Update the 'frr_yang_module_info' array of ripd with the new 'frr-ripd' module. Add two new files (rip_cli.[ch]) which should contain all ripd commands converted to the new northbound model. Centralizing all commands in a single place will facilitate the process of moving the CLI to a separate program in the future. Add automatically generated stub callbacks in rip_northbound.c. These callbacks will be implemented gradually in the following commits. Add example JSON/XML ripd configurations in yang/examples/. Add the confd.frr-ripd.yang YANG module with annotations specific to the ConfD daemon. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
#
|
|
# ripd
|
|
#
|
|
|
|
if RIPD
|
|
noinst_LIBRARIES += ripd/librip.a
|
|
sbin_PROGRAMS += ripd/ripd
|
|
dist_examples_DATA += ripd/ripd.conf.sample
|
|
vtysh_scan += \
|
|
$(top_srcdir)/ripd/rip_cli.c \
|
|
$(top_srcdir)/ripd/rip_debug.c \
|
|
$(top_srcdir)/ripd/rip_interface.c \
|
|
$(top_srcdir)/ripd/rip_offset.c \
|
|
$(top_srcdir)/ripd/rip_zebra.c \
|
|
$(top_srcdir)/ripd/ripd.c \
|
|
# end
|
|
|
|
if SNMP
|
|
module_LTLIBRARIES += ripd/ripd_snmp.la
|
|
endif
|
|
man8 += $(MANBUILD)/ripd.8
|
|
endif
|
|
|
|
ripd_librip_a_SOURCES = \
|
|
ripd/rip_cli.c \
|
|
ripd/rip_debug.c \
|
|
ripd/rip_errors.c \
|
|
ripd/rip_interface.c \
|
|
ripd/rip_memory.c \
|
|
ripd/rip_offset.c \
|
|
ripd/rip_northbound.c \
|
|
ripd/rip_peer.c \
|
|
ripd/rip_routemap.c \
|
|
ripd/rip_zebra.c \
|
|
ripd/ripd.c \
|
|
# end
|
|
|
|
ripd/rip_cli_clippy.c: $(CLIPPY_DEPS)
|
|
ripd/rip_cli.$(OBJEXT): ripd/rip_cli_clippy.c
|
|
|
|
noinst_HEADERS += \
|
|
ripd/rip_cli.h \
|
|
ripd/rip_debug.h \
|
|
ripd/rip_errors.h \
|
|
ripd/rip_interface.h \
|
|
ripd/rip_memory.h \
|
|
ripd/ripd.h \
|
|
# end
|
|
|
|
ripd_ripd_LDADD = ripd/librip.a lib/libfrr.la @LIBCAP@
|
|
ripd_ripd_SOURCES = \
|
|
ripd/rip_main.c \
|
|
# end
|
|
|
|
ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
|
|
ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
|
|
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
|
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la
|
|
|
|
EXTRA_DIST += ripd/RIPv2-MIB.txt
|