summaryrefslogtreecommitdiff
path: root/lib/mpls.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2017-02-02 12:58:33 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 10:29:19 -0400
commita64448baa6150a7431d55e0e65d0b51d62c4b5be (patch)
treeadb195d3f8e26c4ae893f85fb1020e1d55d73241 /lib/mpls.h
parentcceb79ac9b05c2f5d3e4a74b9cd11e908ea634ec (diff)
zebra: labeled unicast handling
Support install of labeled-unicast routes by a client. This would be BGP, in order to install routes corresponding to AFI/SAFI 1/4 (IPv4) or 2/4 (IPv6). Convert labeled-unicast routes into label forwarding entries (i.e., transit LSPs) when there is a static label binding. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/mpls.h')
-rw-r--r--lib/mpls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index 13a46e1012..5a91883753 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -85,7 +85,8 @@ enum lsp_types_t
{
ZEBRA_LSP_NONE = 0, /* No LSP. */
ZEBRA_LSP_STATIC = 1, /* Static LSP. */
- ZEBRA_LSP_LDP = 2 /* LDP LSP. */
+ ZEBRA_LSP_LDP = 2, /* LDP LSP. */
+ ZEBRA_LSP_BGP = 3 /* BGP LSP. */
};
/* Functions for basic label operations. */