summaryrefslogtreecommitdiffstats
path: root/mpls/impl/asciidoc/Readme.adoc
blob: a88807b2dc55058419f35dd6cce02d3eba670fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
= 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.

== 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).

== Label pop

Translates pop-and-lookup operation of
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpl:mpls/
hc2vpp-ietf-mpls-static:static-lsps/static-lsp

to mpls_route_add_del call.

Configuring VPP specific lookup options
defined in vpp-mpls yang module is required.