diff options
author | vivek <vivek@cumulusnetworks.com> | 2016-04-15 19:51:56 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 15:30:54 +0200 |
commit | 7758e3f31396019344d495946ba2bdd22e2544e9 (patch) | |
tree | d920ba8b03f3652b54cd280054bdecb125806836 /zebra/debug.h | |
parent | Quagga: Definitions for static LSPs (diff) | |
download | frr-7758e3f31396019344d495946ba2bdd22e2544e9.tar.xz frr-7758e3f31396019344d495946ba2bdd22e2544e9.zip |
Quagga: Static LSP configuration
Add support for statically configuring MPLS transit LSPs. This allows the
configuration of ILM to one or more NHLFE, as defined in RFC 3031. The
currently supported nexthop types are IPv4 or IPv6.
The two label operations supported are swap and PHP; the latter is configured
by specifying the out-label as "implicit-null". Note that the operation is
against the label, so it should be the same for all NHLFEs.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-4804, ...
Reviewed By: CCR-3085
Testing Done: In combination with other patches
Diffstat (limited to 'zebra/debug.h')
-rw-r--r-- | zebra/debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h index 4416068bf..f8ebf3d61 100644 --- a/zebra/debug.h +++ b/zebra/debug.h @@ -41,6 +41,8 @@ #define ZEBRA_DEBUG_FPM 0x01 #define ZEBRA_DEBUG_NHT 0x01 +#define ZEBRA_DEBUG_MPLS 0x01 + /* Debug related macro. */ #define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT) @@ -61,6 +63,7 @@ #define IS_ZEBRA_DEBUG_FPM (zebra_debug_fpm & ZEBRA_DEBUG_FPM) #define IS_ZEBRA_DEBUG_NHT (zebra_debug_nht & ZEBRA_DEBUG_NHT) +#define IS_ZEBRA_DEBUG_MPLS (zebra_debug_mpls & ZEBRA_DEBUG_MPLS) extern unsigned long zebra_debug_event; extern unsigned long zebra_debug_packet; @@ -68,6 +71,7 @@ extern unsigned long zebra_debug_kernel; extern unsigned long zebra_debug_rib; extern unsigned long zebra_debug_fpm; extern unsigned long zebra_debug_nht; +extern unsigned long zebra_debug_mpls; extern void zebra_debug_init (void); |