summaryrefslogtreecommitdiffstats
path: root/routing
AgeCommit message (Collapse)AuthorFilesLines
2018-04-30Hc2vpp 1.18.04 releasev1.18.04Marek Gradzki3-6/+6
Change-Id: Ie9d36ef641e2e6acc1636e3d4affc92a91866f07 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-30javadoc: add missing <name> in pom filesMarek Gradzki2-0/+2
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Set Hc2vpp version back to 1.18.04-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I7b191fa93bbdfbcf3a3558b0fbf48d5c1e524b30 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Hc2vpp 1.18.04-RC1v1.18.04-RC1Marek Gradzki3-6/+6
Change-Id: Icf7b2a3c3f9a6b58be82a1eaafbc1386eb4d3831 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09HC2VPP-283: cleanup honeycomb dependency versionsMarek Gradzki1-4/+0
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>
2018-04-09Remove unused method parametersMarek Gradzki2-4/+4
Change-Id: Ib6bb2b3378c9bb883bfa9bd1348813f7845b6b59 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 Gradzki3-6/+6
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-12-11Do not use createVrfIfNeeded of IpAddDelRouteMarek Gradzki8-33/+27
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 Gradzki2-19/+19
Change-Id: I9f7cf7d7ecb97d7da449dac679f2d15438ac4970 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-20Refactor IP translators to use IetfInetUtilMarek Gradzki1-3/+3
Use efficient factory methods for ietf-inet-types DTOs where possible. Also cleans up some duplicated and unused code. Change-Id: I58f4163edba0dcd30e5e044cf701788446d86a0f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-28HC2VPP-232 - Secondary table lookup supportJan Srnicek49-376/+691
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-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki3-12/+6
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek7-65/+8
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-04Adapt hc2vpp to ODL Carbon bump in honeycombMarek Gradzki1-1/+1
Depends on https://gerrit.fd.io/r/#/c/6924/ Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-18HC2VPP-188 - Ordering fixed for routing entriesJan Srnicek1-4/+8
Change-Id: Iec8df0668a74f50b5abb4413e33c1fd3a0391779 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki3-6/+6
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-06-09Update module tests after introducing YangDAGMarek Gradzki1-2/+3
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-04HC2VPP-130 - vpp-routing-ra namespace changed to unique valueJan Srnicek5-6/+10
Change-Id: I7606cecc5ea95b952c1d640b0f244208c21e4854 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki3-6/+6
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki2-4/+6
- 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 Srnicek20-42/+41
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-23HC2VPP-83 - table id setup for special routesJan Srnicek10-116/+143
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 Srnicek2-7/+14
Added mpls invalid label to not resolve route as mpls Change-Id: I43f82b8074512ab8e9a28ff02ef80bf52213c3c4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-13HC2VPP-66: unit tests for SLAAC writeMarek Gradzki9-3/+386
Change-Id: I0dd32f2d540a9187fbd97c3818470d2ee1ca47d7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13HC2VPP-67: postman collection with examples of RA configurationMarek Gradzki1-0/+201
Change-Id: I753605ec2b8e8548500761fd3a79079c7c6cc8e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-13Add support for RA configurationMarek Gradzki5-1/+457
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-20HONEYCOMB-339: fix ip6 address string to byte conversionMarek Gradzki2-2/+2
Change-Id: I8c1d20b2be23bce27903b9d4149f59d3b83aacaa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18Rename modfied ietf-routing modelsMarek Gradzki6-21/+23
Change-Id: I6ea55212dcf3cc6e4015269b501ffd7828096459 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-12HONEYCOMB-325 - Null pointer while routing attr not definedJan Srnicek32-63/+192
Fixes multiple null pointers Change-Id: Iaa1df9a8b0a886d1835fe7cb87bcf7cf5130c6f5 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki3-6/+6
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-15Revert "HONEYCOMB-315 - Quickfix to prevent JNI crash in routing"Marek Gradzki2-6/+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 Srnicek2-0/+6
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-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki3-6/+6
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-02HONEYCOMB-307 - Prevent re-mapping of already mapped namesJan Srnicek3-4/+36
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 Srnicek79-29/+7199
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 Marsalek2-5/+3
- 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 Srnicek8-0/+2473
Change-Id: Id887c12bea1983c0d185689c633902b691cf52f6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>