From 863ecfc78538657e51f1ec67441aec32261aa405 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 20 Nov 2018 17:38:19 +0100 Subject: The MRT protocol The new MRT protocol is responsible for periodic RIB table dumps in the MRT format (RFC 6396). Also the existing code for BGP4MP MRT dumps is refactored and splitted between BGP to MRT protocols, will be more integrated into MRT in the future. Example: protocol mrt { table "*"; filename "%N_%F_%T.mrt"; period 60; } It is partially based on the old MRT code from Pavel Tvrdik. --- nest/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nest/protocol.h') diff --git a/nest/protocol.h b/nest/protocol.h index 343ce523..61160c0a 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -46,6 +46,7 @@ enum protocol_class { PROTOCOL_DIRECT, PROTOCOL_KERNEL, PROTOCOL_OSPF, + PROTOCOL_MRT, PROTOCOL_PIPE, PROTOCOL_RADV, PROTOCOL_RIP, @@ -98,7 +99,7 @@ void protos_dump_all(void); */ extern struct protocol - proto_device, proto_radv, proto_rip, proto_static, + proto_device, proto_radv, proto_rip, proto_static, proto_mrt, proto_ospf, proto_pipe, proto_bgp, proto_bfd, proto_babel, proto_rpki; /* -- cgit v1.2.3