Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iba95103cceb31176ef6e0550ad0f7d2873bb569a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
MPLS API changes were introduced by:
https://gerrit.fd.io/r/#/c/10781/
Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Current routing implementation does not use it,
but other features planned for 18.04 (e.g. SRv6) will do.
Change-Id: I0124ea27b5d24c1ac2e5ad196dc05df3a970d1c7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Next hop address is not mandatory in VPP CLI, e.g.
ip route add 192.0.2.11/32 via loop0 out-labels 3
Also hc2vpp-ietf-routing-types@2017-02-27.yang defines it as optional.
Change-Id: I6bd63a3ac75d40b14ae553e128b7ebe43dee5118
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 710a7932be189a6bfc342b471efa1044f8a9798a)
|
|
The orginal ietf-routing-types model supports them, but it was patched
due to ODL BUG (MDSAL-269).
Change-Id: I70745a1bcd49b7eda21085c0c092af5a0f6bfaa0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 9f215a89a3d600c79ec44862abcbaede1f94a857)
|
|
This is workaround for HONEYCOMB-421
(subtree writers + default update does not work well currently).
Fixes HC2VPP-277 (at least basic scenarios).
Change-Id: I7659436d6c376bdc63eaa36291d5c08792faad94
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit fc06ca33bc587ba2acff16e59645b3d386aa498d)
|
|
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I8b93211bcee0b7373fb8370f15e130ce8aa05fbf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I1eccee43fb34ebe31559f01c4eacbcf45897685a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Limitations:
- only IPv4 next hop address
- swap is supported only for the last label in the stack
- only single outgoing label is supported.
Change-Id: I9479e3d322561ed94683bd206e7e7852250d788c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic6a2da08a8839bb42366b124737bb5243671815b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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 mpls lookup-type,
as defined in vpp-mpls yang module,
is required.
Other lookup types (ipv4/ipv6) are not supported yet.
Change-Id: If0580c6db69ee6c5f22a32bde031dbb6f852420f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Introduces vpp-mpls@2017-11-03.yang, which adds possibility to specify
VPP specific label lookup options:
- mpls-lookup-in-table
- ip4-lookup-in-table
- ip6-lookup-in-table
Equivalent of CLI command: mpls local-label XXX-lookup-in-table N
Change-Id: I32c474ae3759922f2bc5487603baf7d9871edb7e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Examples of requests showing how to enable/disable
MPLS on given interface and how to push labels.
Change-Id: If6f6f708a9af53131ef57fede07a77fc0943c9ee
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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>
|
|
Translates
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface
to
sw_interface_set_mpls_enable
which is equivalent to:
set interface mpls [...] enable
MPLS table is created before configuring MPLS
using mpls_table_add_del (required since VPP 17.10).
Reading MPLS configuration state is not supported
(VPP API is missing).
Change-Id: I3f1b987c3669b0836a27649a711e75d0dc37a779
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds following models:
- hc2vpp-ietf-mpls
- hc2vpp-ietf-mpls-static
- hc2vpp-ietf-routing-types
Models were modified due to YANGTOOLS/MDSAL issues
and some problems with the models itself.
More information can be found in the YANG files.
Original YANG files were downloaded from
https://github.com/ietf-mpls-yang/te/
Change-Id: I3d04a3bf8be026fbe74a6f5833d38e980490e737
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|