summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04HC2VPP-404: Update package names for JVPPMichal Cmarada1-3/+3
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>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada1-3/+3
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-09HC2VPP-253 - Bump routing modelsMichal Cmarada1-21/+24
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>
2017-12-11Do not use createVrfIfNeeded of IpAddDelRouteMarek Gradzki1-5/+2
It was not used by VPP, recently removed by: https://gerrit.fd.io/r/#/c/9771/ Change-Id: Ic838e4daf95a98d675b3f0fda6e5fad242eb5bbd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-27Remove unnecessary boxing and unboxingMarek Gradzki1-11/+11
Change-Id: I9f7cf7d7ecb97d7da449dac679f2d15438ac4970 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-28HC2VPP-232 - Secondary table lookup supportJan Srnicek1-6/+6
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-02-23HC2VPP-83 - table id setup for special routesJan Srnicek1-2/+4
Added primary/secondary table id setup for special v4/v6 routes Change-Id: Id3ef3d383b5ad7b5b905a04f7f594fdf4b7a4104 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-22HC2VPP-74 - mpls vs ipv4 routeJan Srnicek1-0/+2
Added mpls invalid label to not resolve route as mpls Change-Id: I43f82b8074512ab8e9a28ff02ef80bf52213c3c4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-18Rename modfied ietf-routing modelsMarek Gradzki1-5/+5
Change-Id: I6ea55212dcf3cc6e4015269b501ffd7828096459 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-15Revert "HONEYCOMB-315 - Quickfix to prevent JNI crash in routing"Marek Gradzki1-1/+0
This reverts commit 618d9fb357be27b06d27608fa1fc4aecb557c548. Depends on https://gerrit.fd.io/r/#/c/4325/ Change-Id: I0bc78e5510082fbfbaf99967f6fe3a9516dc7a4e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-315 - Quickfix to prevent JNI crash in routingJan Srnicek1-0/+1
Prevents JNI crash cause by unspecified int array in routing api request Reported as JVpp bug in VPP-559 Change-Id: I5da88e40080f96df2321c5d6ede5965283233c3e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-02HONEYCOMB-307 - Prevent re-mapping of already mapped namesJan Srnicek1-0/+1
Prevent invoking addName while initializing data for names that are already in mappings Change-Id: I56063fb28cfb215bbdb1ed745aaa44544ffa77a0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-01HONEYCOMB-58 - Routing Plugin StructureJan Srnicek1-0/+168
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>