History log of /hc2vpp/mpls/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5543345d 27-May-2019 Michal Cmarada <mcmarada@cisco.com>

HC2VPP-411: remove deprecated interface-state

- new ietf-interfaces obsoletes interfaces-state container,
only interfaces container should be used from now on.

Change-Id: Ifb24611a3dca987bdf6b029d32e01d9b1f479fe8
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

83206cb1 09-May-2019 Michal Cmarada <mcmarada@cisco.com>

HC2VPP-411: Bump ietf-interfaces, ietf-ip, iana-if-types models

Change-Id: Ic042d96c9671729fd4f11efcd59c618a657d5bef
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

229cb761 18-Apr-2019 Michal Cmarada <mcmarada@cisco.com>

Bump hc2vpp version to 1.19.08-SNAPSHOT

- removed 2000 offset from package name, doesn't affect download
of latest version anymore.

Change-Id: I82efba1a605331b9b23ac54b753f3721a0958431
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

53f7c0c6 28-Feb-2019 Michal Cmarada <mcmarada@cisco.com>

HC2VPP-404: Update package names for JVPP

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>

2f3b290f 24-Jan-2019 Michal Cmarada <mcmarada@cisco.com>

Bump hc2vpp version to 1.19.04-SNAPSHOT

Change-Id: I5f2c8635eab44f5d7b74514f3a2f7b4218b3369c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

859df9ec 13-Jan-2019 Tibor Král <tibor.kral@pantheon.tech>

HC2VPP-300: Unify namespaces of MPLS model

Change-Id: I5ad6027a261cbd8b7c1afefcecaaba16f486a456
Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>

6935cb14 22-Oct-2018 Michal Cmarada <mcmarada@cisco.com>

Bump hc2vpp version to 1.19.01-SNAPSHOT


Change-Id: Iedb7935735cc9836fb1cb11856d38ec1d090e6ba
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>

5bbd9feb 25-Sep-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)


Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>

430b7117 27-Jul-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-341: remove v1.0/v2.0 postman collections

Hc2vpp examples are using now v2.1 format.

Change-Id: I945c03f8b80a4a74cf7064c566205ae5dc334d89
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

5a2a4703 20-Jul-2018 Marek Gradzki <mgradzki@cisco.com>

Bump hc2vpp version to 1.18.10-SNAPSHOT

Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

35799fa6 17-Jul-2018 Marek Gradzki <mgradzki@cisco.com>

Remove workarounds from ietf-routing-types related to MDSAL-269

Change-Id: Iadd17a3a44a20711e58c272934fb15dfe89bf2be
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

db71be30 17-Jul-2018 Marek Gradzki <mgradzki@cisco.com>

Remove workarounds from routing and mpls models related to YANGTOOLS-841

YANGTOOLS-841 was fixed in Oxygen SR1 used by HC since 18.07.

Change-Id: Ifa2627e284574a0bab84763dc2b6252a4b6be4a3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

fe9af79a 01-Jun-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-339: convert postman collections to v2.1.0 format

Mantaining postman collections in v1 format is difficult
due to UID strings.

Postman collection v2 fixes the issue and many others, see
http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/

Collections in v1 format, were converted
using postman-collection-transformer.
Output was transformed using JSON.stringify with space='\t',
to be compliant with Postman application which does not support
spaces for indentation.

Coverted collections were tested using Postman v6.1.3.

Previous version of postman collections were renamed
to *_v1.0.0.json or *_v2.0.0.json.
Removal is planned in 18.10 (HC2VPP-338).

Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

149d172a 10-May-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

HC2VPP-297 - MPLS model updates

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>

8f9fe3ca 04-May-2018 Michal Cmarada <michal.cmarada@pantheon.tech>

HC2VPP-253 - Bump routing models

This patch updates (for support of SRv6 and MPLS) routing models to:
- hc2vpp-ietf-routing@2018-03-13.yang
(RFC 8349, https://tools.ietf.org/html/rfc8349)
- hc2vpp-ietf-ipv4-unicast-routing@2018-03-13.yang (RFC 8349)
- hc2vpp-ietf-ipv6-unicast-routing@2018-03-13.yang (RFC 8349)
- hc2vpp-ietf-ipv6-router-advertisements@2018-03-13 (RFC 8349)
- hc2vpp-ietf-routing-types@2017-12-04
(RFC 8294 ,https://tools.ietf.org/html/rfc8294)
Due to odl bugs these models were changed,
see HC2VPP-298 for more details.

Significant changes in updated models:
- Routing instance was removed, we used vpp-routing-instance
as single instance before, which is no longer needed.
- Routing-protocol and Routing-protocols were refactored to
Control-plane-protocol/s. Control-protocol now uses type and name as key
- Route Key was changed from id to ipPrefix
- Next-hop and Next-Hop-list were refactored
See attached routing_postman_collection.json for updated data structures
and examples for both IPv4 and IPv6 routes.
For router advertisements see routing_advertisments_postman_collection.json

Another fixes in this patch:
- fixes in MPLS module due to Routing model updates
- fixes doc module due to changes in Routing model

Change-Id: I33704a50061aef97dfbd73a7701ff6fe5274d6f0
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>

8135d15a 09-Apr-2018 Marek Gradzki <mgradzki@cisco.com>

Bump Hc2vpp version to 1.18.07-SNAPSHOT

Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

3b694eb7 09-Apr-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-283: cleanup honeycomb dependency versions

Introduces honeycomb.version property in hc2vpp-parent
and adds various honeycomb artifacts to impl-parent
to reduce work when bumping honeycomb version.

Change-Id: I2f31f255aa5234c6890073b93b11f93e5cd444f7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

9b6da0fd 03-Apr-2018 Marek Gradzki <mgradzki@cisco.com>

api: update copyright to match revision information

Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

bcd09ec3 22-Mar-2018 Marek Gradzki <mgradzki@cisco.com>

mpls: update yang model metadata

Change-Id: Iba95103cceb31176ef6e0550ad0f7d2873bb569a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

30dd5a48 12-Mar-2018 Marek Gradzki <mgradzki@cisco.com>

Adapt mpls plugin to recent VPP API changes

MPLS API changes were introduced by:
https://gerrit.fd.io/r/#/c/10781/

Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

3cb34504 01-Mar-2018 Marek Gradzki <mgradzki@cisco.com>

Move ietf-routing-types to routing-api

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>

140fe3d1 31-Jan-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-280: make next-hop optional for impose-and-forward

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)

12f5de88 31-Jan-2018 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27

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)

51941632 17-Jan-2018 Marek Gradzki <mgradzki@cisco.com>

Add direct update support for static lsp

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)

0651fbe5 10-Jan-2018 Marek Gradzki <mgradzki@cisco.com>

Bump hc2vpp version to 1.18.04-SNAPSHOT

Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

9c1e9313 02-Jan-2018 Marek Gradzki <mgradzki@cisco.com>

mpls-api: add missing yang dependencies

Change-Id: I8b93211bcee0b7373fb8370f15e130ce8aa05fbf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

1308cf3f 22-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-255: update MPLS confguration examples

Change-Id: I1eccee43fb34ebe31559f01c4eacbcf45897685a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

82d2da48 22-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-259: add support for mpls swap-and-forward

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>

1715b924 22-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-259: add support for ipv4 lookup

Change-Id: Ic6a2da08a8839bb42366b124737bb5243671815b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>

69a47bd6 21-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-259: add support for mpls lookup

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>

547d7183 20-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-259: augment pop-and-lookup operation with vpp-label-lookup-attributes

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>

87e37b4f 20-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-255: postman collection with MPLS config examples

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>

1f80540e 15-Nov-2017 Marek Gradzki <mgradzki@cisco.com>

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>

baee9a73 26-Oct-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-257: MPLS interface management

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>

cacb9573 25-Oct-2017 Marek Gradzki <mgradzki@cisco.com>

HC2VPP-256: MPLS API

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>