summaryrefslogtreecommitdiffstats
path: root/ripd/subdir.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* doc: rename man pages to frr-*David Lamparter2020-01-151-1/+1
| | | | | | | | The vrrpd one conflicts with the standalone vrrpd package; also we're installing daemons to /usr/lib/frr on some systems so they're not on PATH. Signed-off-by: David Lamparter <equinox@diac24.net>
* ripd: split northbound callbacks into multiple filesRenato Westphal2019-10-301-2/+6
| | | | | | | | | | | | | | | | | | Rearrange the ripd northbound callbacks as following: * rip_nb.h: prototypes of all northbound callbacks. * rip_nb.c: definition of all northbound callbacks and their associated YANG data paths. * rip_nb_config.c: implementation of YANG configuration nodes. * rip_nb_state.c: implementation of YANG state nodes. * rip_nb_rpcs.c: implementation of YANG RPCs. * rip_nb_notifications.c: implementation of YANG notifications. This should help to keep to code more organized and easier to maintain. No behavior changes intended. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ripd: use MTYPE_STATICDavid Lamparter2019-06-211-2/+0
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: fix a whole bunch of *FLAGSDavid Lamparter2019-01-301-1/+1
| | | | | | | | | - some target_CFLAGS that needed to include AM_CFLAGS didn't do so - libyang/sysrepo/sqlite3/confd CFLAGS + LIBS weren't used at all - consistently use $(FOO_CFLAGS) instead of @FOO_CFLAGS@ - 2 dependencies were missing for clippy Signed-off-by: David Lamparter <equinox@diac24.net>
* *: remove all MIBs for DFSG complianceDavid Lamparter2018-12-141-2/+0
| | | | | | | | | cf. https://wiki.debian.org/NonFreeIETFDocuments These MIBs were in our git purely for documentation purposes, they are not installed and not needed for building SNMP support. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: update vtysh scan list for ripd and ripngdRenato Westphal2018-12-031-3/+0
| | | | | | | | A few files don't have any CLI commands anymore as they were moved to either rip_cli.c or ripng_cli.c. Update the ripd/ripngd vtysh_scan variable to account for this. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* yang: embed models into binariesDavid Lamparter2018-11-191-0/+3
| | | | | | | | | | | | | | This bakes our YANG models straight into the library/daemons, so they don't need to be loaded from /usr/share/yang. This makes the installation quite a bit more robust, as well as gets us halfway to running uninstalled. (The other half is baking in the extension type module.) The /usr/share/yang directory is still searched as a fallback, as well as for the experimental YANG model translator. This is likely to stay as is for the time being. Signed-off-by: David Lamparter <equinox@diac24.net>
* yang, ripd: add 'frr-ripd.yang' and associated stub callbacksRenato Westphal2018-10-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* build: fix not building docs w/o sphinxDavid Lamparter2018-09-091-1/+1
| | | | | | Can't build manpages without sphinx-build, oops... Signed-off-by: David Lamparter <equinox@diac24.net>
* build: move vtysh & manpage listings to subdir.amDavid Lamparter2018-09-081-0/+9
| | | | | | | Since we're now building through one large Makefile, we can easily put things with their daemons and crossreference nicely. Signed-off-by: David Lamparter <equinox@diac24.net>
* ripd: Add RIP_ERR_XXX to move from zlog_err to zlog_ferrDonald Sharp2018-08-141-0/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* build: append -std=gnu99 after SNMP_CFLAGSRenato Westphal2018-06-031-1/+1
| | | | | | | | | | | | | | | | | | Programs that link to libnetsnmp must be compiled using a special set of flags as specified by the "net-snmp-config --base-cflags" command (whose output is stored in the SNMP_CFLAGS variable). The problem is that "net-snmp-config --base-cflags" can output -std=c99 in addition to other compiler flags in some platforms, and this breaks the build since FRR souce code makes use of some GNU compiler extensions (e.g. allow trailing commas in function parameter lists). In order to solve this problem, append -std=gnu99 after SNMP_CFLAGS in all makefiles where this variable is used. This way the -std=c99 flag will be overwritten when it's present. Source files that don't link to libnetsnmp will be compiled using either -std=gnu99 or -std=gnu11 depending on the compiler availability. Fixes #1617. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* build: non-recursive ripd & ripngdDavid Lamparter2017-08-041-0/+42
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>