]> git.proxmox.com Git - mirror_frr.git/commit - doc/user/installation.rst
lib: add a new northbound plugin for Sysrepo
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 23 May 2018 23:12:29 +0000 (20:12 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 27 Oct 2018 18:16:12 +0000 (16:16 -0200)
commita7ca2199b709e268196878554e01c9e78bc1c60f
tree571dc3748ee20405f21b3973525f7d6d039e33f5
parent5bce33b3c1dd9860dd5671935f6b399d4986b55a
lib: add a new northbound plugin for Sysrepo

This plugin leverages the northbound API to integrate FRR with Sysrepo,
a YANG-based configuration and operational state data store.

The plugin is linked to the libsysrepo library and communicates with
the sysrepod daemon using GPB (Google Protocol Buffers) over AF_UNIX
sockets. The integration consists mostly of glue code that calls the
appropriate FRR northbound callbacks in response to events triggered
by the sysrepod daemon (e.g. request to change the configuration or to
fetch operational data).

To build the sysrepo plugin, provide the --enable-sysrepo option to the
configure script while building FRR (the libsysrepo library needs to be
installed in the system).

When installed, the sysrepo plugin will be available for all FRR daemons
and can be loaded using the -M (or --module) command line option.

Example: bgpd -M sysrepo.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
configure.ac
doc/user/installation.rst
lib/northbound.c
lib/northbound.h
lib/northbound_sysrepo.c [new file with mode: 0644]
lib/subdir.am