summaryrefslogtreecommitdiffstats
path: root/mpls/impl/asciidoc
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-11-16 12:56:19 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-11-20 10:45:07 +0100
commit1f80540e8e412e5a246e78b9a2d6d0802182b213 (patch)
tree9558f4bd6f0150555fb93d43536494bb2c406af4 /mpls/impl/asciidoc
parent2ab7e143739a403110bd95b977f5c24d76f4d7af (diff)
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 <mgradzki@cisco.com>
Diffstat (limited to 'mpls/impl/asciidoc')
-rw-r--r--mpls/impl/asciidoc/Readme.adoc18
1 files changed, 17 insertions, 1 deletions
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