summaryrefslogtreecommitdiffstats
path: root/routing/routing-api
AgeCommit message (Collapse)AuthorFilesLines
2018-10-29Hc2vpp 1.18.10 releasev1.18.10Michal Cmarada1-2/+2
Change-Id: I40aa22375108c7b390487570c4f080140459572a Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-22Set hc2vpp version back to 1.18.10-SNAPSHOTMichal Cmarada1-2/+2
Change-Id: Icb47422ce16a563b62ee3d497d28bd12fb7e5fb9 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-18Hc2vpp 1.18.10-RC1Michal Cmarada1-2/+2
Change-Id: I003a05fb0613855de1912ea6d790ece8a077c687 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-08-08Fix prefixes in unicast-routing modelsMichal Cmarada2-2/+2
It is not valid to use different prefix for imports and augmentations. This fixes this issue and allows to use 2.0.6.1 yangtools version. Change-Id: Ie39228fc60a31028fbf74b964011539b7056d9f6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-07-20Bump hc2vpp version to 1.18.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-17Remove workaround for YANGTOOLS-678 from ietf-ipv6-unicast-routing modelMarek Gradzki1-15/+0
YANGTOOLS-678 was fixed in Oxygen SR2 used in HC since 18.07. Change-Id: I7a68e8f7178a7448216825ae64d968552686bba3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-17Remove workarounds from ietf-routing-types related to MDSAL-269Marek Gradzki1-14/+1
Change-Id: Iadd17a3a44a20711e58c272934fb15dfe89bf2be Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-17Remove workarounds from ietf-routing-types related to MDSAL-309Marek Gradzki1-10/+2
MDSAL-309 was fixed in Oxygen SR1 used in HC since 18.07. Change-Id: I65f4574a10afa7ee1875446d7bfcb04aeca8674b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-17Remove workarounds from routing and mpls models related to YANGTOOLS-841Marek Gradzki3-18/+9
YANGTOOLS-841 was fixed in Oxygen SR1 used by HC since 18.07. Change-Id: Ifa2627e284574a0bab84763dc2b6252a4b6be4a3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-22HC2VPP-344: Add FIB table management for routingMichal Cmarada3-10/+22
- update models with FIB table management - fixes implementation for FIB table management Change-Id: I5cf397d6e827cb14df970e14ee268ef870931bd4 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-18Fix copyright for PantheonMichal Cmarada3-3/+3
- add full name for Pantheon Technologies in copyright. Change-Id: I653425ab952c09d4b8f9cedf4367bc8f56642ee3 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-09HC2VPP-253 - Bump routing modelsMichal Cmarada14-3093/+3065
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>
2018-05-02javadoc: add missing <name> in pom filesMarek Gradzki1-0/+1
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump Hc2vpp version to 1.18.07-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-04Adapt hc2vpp to ODL Oxygen (HONEYCOMB-424)Marek Gradzki1-0/+5
Requires https://gerrit.fd.io/r/#/c/11320/ Also changes encoding of empty type in json test files to [null] (RFC8040) from {} that was used so far. Honeycomb uses draft-ietf-netconf-restconf-02 of restconf compoments, so there might be a bug in ODL or HC configuration. To resolve it, using RFC8040 version of ODL restconf components should be considered (HONEYCOMB-430). Not covered: - postman collections update - CSIT tests update Change-Id: I820c46b5b0b22330e8529e8870c8bdad9508473b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03api: update copyright to match revision informationMarek Gradzki3-3/+3
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03Update metadata of hc2vpp YANG modelsMarek Gradzki3-5/+76
Adds organization and contact statements. Includes copyright in the description of modules. Fixes minor formatting issues. Change-Id: I9fa90c24e956d5cb2c3fde8621ed289f383501ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22routing: fix issues found by pyangMarek Gradzki3-22/+25
Change-Id: If6db0aa4d02b15c4997d9552e678d6d9f58a756a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-01Move ietf-routing-types to routing-apiMarek Gradzki1-0/+725
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>
2018-02-27Fix mdsal-model-artifacts dependency for routing-apiMarek Gradzki1-12/+0
The routing-api module used outdated version of mdsal models (0.8.2-Beryllium-SR2). The mdsal-model-artifacts dependency is managed in the honeycomb-parent, so it should be removed from routing-api pom.xml. Change-Id: I31523870044990bbf288fd7ef062c8d8b0e01cc7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-10Bump hc2vpp version to 1.18.04-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-02Document changes to ietf-routing@2014-05-24.yangMarek Gradzki1-1/+6
The special-next-hop grouping was renamed to special-next-hop-grouping due to ODL's Binding Specification bug. Change grouping name back requires switching to Binding Specificiation v2 (HONEYCOMB-420). Change-Id: I2390176c06a7f64ae0261d62c8bc4f3d2ae193ca Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-28HC2VPP-232 - Secondary table lookup supportJan Srnicek4-6/+78
Ietf models now contains case table-lookup to be able to define lookup to secondary table. It must be separated to dedicated case as combining secondary-vrf and other next hop types(simple,multi,special) does not make sense, its either you define lookup to table, or you specify next hop of some kind. This patch works properly only for write, as read is affected by VPP-994/VPP-995. Read at this state can detect that route is using table lookup, but can't detect table that is used for that lookup. Also, HC2VPP-237 must be done in future Change-Id: Ia6976b35c6c1712d8add60beea7b0edbc4536974 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-16Rename yang files to match model revisionMarek Gradzki2-0/+0
Also order of revisions was sorted starting from most current. Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-04HC2VPP-130 - vpp-routing-ra namespace changed to unique valueJan Srnicek1-1/+5
Change-Id: I7606cecc5ea95b952c1d640b0f244208c21e4854 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki1-2/+2
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki1-1/+2
- provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek1-0/+8
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek1-2/+2
Split vpp-classifiers and vpp-classifiers acls' to separate modules. Contains TODO's for future change of dependencies Change-Id: I94f92ce2ec8960c67bd406f085f2fe928079ee23 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-13Add support for RA configurationMarek Gradzki1-0/+103
Includes: * ietf-routing model augmentation that addresses VPP specific RA options (HC2VPP-64) * writers for RA cfg (HC2VPP-65) Change-Id: Iea523caaddcf03e38c8e5e7c586f1606a44d335b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18Rename modfied ietf-routing modelsMarek Gradzki4-7/+9
Change-Id: I6ea55212dcf3cc6e4015269b501ffd7828096459 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki1-2/+2
Also updates version of honeycomb dependencies. Vpp API version bump moved to separate commit due to issues with jvpp jars. Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki1-2/+2
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-01HONEYCOMB-58 - Routing Plugin StructureJan Srnicek3-28/+35
Read/Write support for ipv4/6 static routes. Restriction due to vpp implementation described in readme. Change-Id: I328f406a9b7cb8781f8becf98eca293cebe66859 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek1-3/+2
- change groupIds - change packages - update poms Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-10HONEYCOMB-58 - Routing ApiJan Srnicek6-0/+2410
Change-Id: Id887c12bea1983c0d185689c633902b691cf52f6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>