summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorßingen <bingen@voltanet.io>2017-05-15 17:09:28 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:35:15 +0200
commit6833ae01bc8cb0c15579d7098f2d525a6e36c8bb (patch)
treef9495c40c9edc6fb7f68bf91a07e56eab003db6e /lib/log.c
parent2f9c59f031a76db29235cf17dc6b1e62c39370ac (diff)
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>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/log.c b/lib/log.c
index 5adb06d28c..63afbf5137 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -916,6 +916,11 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_MACIP_DEL),
DESC_ENTRY(ZEBRA_REMOTE_MACIP_ADD),
DESC_ENTRY(ZEBRA_REMOTE_MACIP_DEL),
+ DESC_ENTRY(ZEBRA_PW_ADD),
+ DESC_ENTRY(ZEBRA_PW_DELETE),
+ DESC_ENTRY(ZEBRA_PW_SET),
+ DESC_ENTRY(ZEBRA_PW_UNSET),
+ DESC_ENTRY(ZEBRA_PW_STATUS_UPDATE),
};
#undef DESC_ENTRY