summaryrefslogtreecommitdiffstats
path: root/mpls/impl/src/main/java/io/fd/hc2vpp/mpls/StaticLspCustomizer.java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04HC2VPP-404: Update package names for JVPPMichal Cmarada1-1/+1
Fix package names for JVPP so it no longer contains vpp since it has been migrated outside of VPP project. Change-Id: I1e7a3fe4713beaaf7a1a0b41e7180d03bb7b74e5 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-14HC2VPP-300: Unify namespaces of MPLS modelTibor Král1-4/+3
Change-Id: I5ad6027a261cbd8b7c1afefcecaaba16f486a456 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada1-1/+1
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-11HC2VPP-297 - MPLS model updatesMichal Cmarada1-9/+10
This patch updates MPLS models to: - hc2vpp-ietf-mpls-static@2017-07-02.yang (draft at: https://tools.ietf.org/html/draft-ietf-mpls-static-yang-05) Due to odl bugs these models were changed, see HC2VPP-307 for more details. see mpls_postman_collection.json for examples and usage Summary of changes: - leaf operation in static-lsp->config was replaced with mpls-operations-type - paths were refactored and moved to static-lsp - outgoing-labels container was introduced in static-lsp->paths - MPLS docker demo was updated to reflect model changes Change-Id: I725ec5e4b3a1acea2aeabec41185949fc498ff26 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-01-31Add direct update support for static lspMarek Gradzki1-0/+11
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)
2017-11-23HC2VPP-259: add support for mpls swap-and-forwardMarek Gradzki1-0/+5
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>
2017-11-23HC2VPP-259: add support for ipv4 lookupMarek Gradzki1-1/+5
Change-Id: Ic6a2da08a8839bb42366b124737bb5243671815b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-23HC2VPP-259: add support for mpls lookupMarek Gradzki1-104/+32
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>
2017-11-20HC2VPP-258: add support for MPLS label pushMarek Gradzki1-0/+169
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>