From 1f80540e8e412e5a246e78b9a2d6d0802182b213 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Thu, 16 Nov 2017 12:56:19 +0100 Subject: HC2VPP-258: add support for MPLS label push Translates impose-and-forward operation of /hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpl:mpls/ hc2vpp-ietf-mpls-static:static-lsps/static-lsp to ip_add_del_route call. For single outgoing-label, use simple-path out-segment. For multiple outgoing labels, use path-list out-segment with single path (multiple path support is not implemented yet). See postman collection for examples. TODOs: - only IPv4 prefixes and next-hops are supported (HC2VPP-264). Change-Id: I318e722edbc1f7ffd3eff2f308fc73c2062283c0 Signed-off-by: Marek Gradzki --- mpls/impl/asciidoc/Readme.adoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'mpls/impl/asciidoc') diff --git a/mpls/impl/asciidoc/Readme.adoc b/mpls/impl/asciidoc/Readme.adoc index 22b60cb7e..064dd1522 100644 --- a/mpls/impl/asciidoc/Readme.adoc +++ b/mpls/impl/asciidoc/Readme.adoc @@ -1,8 +1,24 @@ = mpls-impl +== MPLS interface management + +Allows to enable/disable MPLS on given interface. + Translates /ietf-routing:routing/ietf-mpls:mpls/interface to -sw_interface_set_mpls_enable. \ No newline at end of file +sw_interface_set_mpls_enable. + +== Pushing MPLS labels + +Translates impose-and-forward operation of +/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpl:mpls/ +hc2vpp-ietf-mpls-static:static-lsps/static-lsp + +to ip_add_del_route call. + +For single outgoing-label, use simple-path out-segment. +For multiple outgoing labels, use path-list out-segment +with single path (multiple path support is not implemented yet). \ No newline at end of file -- cgit 1.2.3-korg