]> git.proxmox.com Git - mirror_frr.git/commit
zebra: add pseudowire manager
authorßingen <bingen@voltanet.io>
Mon, 15 May 2017 15:09:28 +0000 (17:09 +0200)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 25 Jul 2017 03:53:23 +0000 (00:53 -0300)
commit6da80de983d313b6343e5a3e0a3b6a2bffbffbef
treec6bef66af54194caf7a88544a696f3b3e605bc02
parentb557e0b6df1d076b51de7d357746388a5c969803
zebra: add pseudowire manager

Base framework for supporting MPLS pseudowires in FRR.

A consistent zserv interface is provided so that any client daemon
(e.g. ldpd, bgpd) can install/uninstall pseudowires in a standard
way. Static pseudowires can also be implemented by using the same
interface.

When zebra receives a request to install a pseudowire and the installation
in the kernel or hardware fails, a notification is sent back to the
client daemon and a new install attempt is made every 60 seconds (until
it succeeds).

Support for external dataplanes is provided by the use of hooks to
install/uninstall pseudowires.

Signed-off-by: ßingen <bingen@voltanet.io>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
17 files changed:
ldpd/ldp.h
ldpd/ldpd.h
lib/Makefile.am
lib/log.c
lib/pw.h [new file with mode: 0644]
lib/zclient.c
lib/zclient.h
zebra/Makefile.am
zebra/debug.c
zebra/debug.h
zebra/zebra_pw.c [new file with mode: 0644]
zebra/zebra_pw.h [new file with mode: 0644]
zebra/zebra_pw_null.c [new file with mode: 0644]
zebra/zebra_vrf.c
zebra/zebra_vrf.h
zebra/zserv.c
zebra/zserv.h