summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-19Scripts for installing jvpp jars to local mvn repoMarek Gradzki4-11/+101
By default hc2vpp build downloads latest jvpp packages from nexus.fd.io. They might not be compatible with installed vpp (e.g. in case of non-backward compatible vpp api changes). In order to prevent API mismatch, it is required to use jvpp version corresponding to the vpp installed. The patch includes scripts that can be used before building hc2vpp to install jvpp jars from vpp build dir or vpp-api-java package. Change-Id: I9aa0dc37921e022e5644c54238d3d579f6eb5ba8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-13(Multi)NamingContext: increment after computing maxMarek Gradzki3-23/+39
Instead of incrementing all elements of stream and applying max, first compute max and then increment. Change-Id: I4e45ffa74d9b8685abd7bafaddc77d1d9850abdb Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 4840c9fc6ab956d6210ac33d8e9c5b1abbc4172e)
2017-12-11Clean Sonar warnings in JvppReplyConsumerMarek Gradzki1-13/+17
Change-Id: Ic664d0da1f3f253ee7d698c651354015792cc278 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-23Do not consume ReadFailedException in RemoteMappingCustomizerMarek Gradzki1-12/+9
Also fixes other issues found by static analysis (unecessary boxing, formatitng). Change-Id: I063ccf4334ebdecf944ca1470e677c95a0fd0bdd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki9-0/+10
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit b1f0c71b032eb17d8cac1c5324745b759c2da87f)
2017-11-16Update ODL references in BGP documentationMarek Gradzki2-4/+5
Hc2vpp 17.10 is using ODL Carbon since https://gerrit.fd.io/r/#/c/6924/ and https://gerrit.fd.io/r/#/c/6949/ Change-Id: I4d7f2b28b0674b7ab7e248caba84e62a21c1c977 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-06Fix BGP Postman collection URLMarek Gradzki1-1/+1
Change-Id: I7b1c0683cf21a6f5effc1e83eab652ad584a8c7f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31Set hc2vpp version to 1.17.10.1-SNAPSHOTMarek Gradzki72-166/+166
Change-Id: Ic1cca03f4375df306dca3bfe946cc2287a4ac44e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31Bump Hc2vpp version to 1.17.10v1.17.10Marek Gradzki71-164/+164
Also updates honeycomb dependencies. Change-Id: I2f04e80f2c1da3d9ac82425f517e8fd3d5cd4213 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31Set jvpp version to 17.10Marek Gradzki11-18/+14
Change-Id: If6ca87e134380d0a0e9814d87cf1c3f787072c5a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-31HC2VPP-194: fix package orderingMarek Gradzki1-1/+4
1.17.10-2000 precedes 1.17.10-RCX~2000 according to dpkg: dpkg --compare-versions 1.17.10-2000 lt 1.17.10-RCX~2000 && echo true Therefore, after releasing non snapshot version, we should update package version of honeycomb snapshots. This is a squash of https://gerrit.fd.io/r/#/c/7620/ and https://gerrit.fd.io/r/#/c/7783/ which solved similar issue for 1.17.07. Change-Id: I0b08f671d41152d03c567b9d4a350e5b0aafa9d2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-30Hc2vpp 1.17.10 release notes updateMarek Gradzki3-3/+7
Change-Id: Icb95a69867fe3b319e9caf6bcf37644d2191c0b4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-30Set CSIT branch to rls1710selias1-1/+4
Change-Id: I2f77e13afbe2149ea2d95dfcf8fef168e93766da Signed-off-by: selias <samelias@cisco.com>
2017-10-30Documentation for jvpp-version fileMarek Gradzki1-0/+6
Change-Id: Iba106fc52a8833b9ff34342b3ed3801ecbd22749 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-30HONEYCOMB-392 - Footprint per dataJan Srnicek1-1/+71
Updates release notes with - minimal params to start hc - minimal params to start hc and be able to write something - how many data samples are possible to be written with params above - how much memory is taken in raw object size - what is total observed footprint Change-Id: Ia42dcc5075ff70a696c973651327bf62ee84bb65 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> (cherry picked from commit a71ef3d551a4dd7f50bf187190de905f6e8e34b1)
2017-10-19Set hc2vpp version back to 1.17.10-SNAPSHOTMarek Gradzki72-164/+164
Change-Id: I4f7ec11c9b3564bbef0e9f2b96ee3d939d5a6971 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-19Bump hc2vpp version to 1.17.10-RC2v1.17.10-RC2Marek Gradzki72-164/+164
Also updates honeycomb dependencies Change-Id: Ifc6b3233b141236c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-18HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-tableJan Srnicek102-551/+556
table-id(VRF) or bd-reference(BD) must be mandatory, because if assignment of vni to vrf/bd does not exist, and local/remote mapping tryins to reference such vni, api call to vpp will fail with invalid value error Change-Id: Iaeaac1fe698ccc783313063906532bcf268a99fb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-12HC2VPP-245 - Local mapping vs Locator set orderingJan Srnicek1-4/+7
LocalMapping must be writen after/deleted before Locator set, as it has reference to it Change-Id: I8a7299d25e0fb5c2ffb83a34f478d82b2edfa749 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-10HC2VPP-243 - don't throw on remove of map-request-modeJan Srnicek3-9/+27
Allows removing all lisp-feature-data. Also fixes ordering for itr remote locator set. Change-Id: Ib181c724dfa76f5ac380eec5e50f5d76f6b01389 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-04Set hc2vpp version back to 1.17.10-SNAPSHOTMarek Gradzki70-162/+162
Change-Id: I6fa53750c10dc914794d4d45ebc5fdb881e214c8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.17.10-RC1v1.17.10-RC1Marek Gradzki70-162/+162
Also updates honeycomb dependencies Change-Id: Ifc6b3233b14f0d6c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-03Set stable/1710 as default branch for gitreviewMarek Gradzki1-0/+1
Change-Id: Ifd90e803523f926898731a615c9eb1aa08cd39d8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-28HC2VPP-232 - Secondary table lookup supportJan Srnicek50-376/+699
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-09-27HC2VPP-236 - interface-nat model file name fixJan Srnicek1-0/+0
Change-Id: Iaa8d8ccb6ade28f9b62c398610638f5ba465fffd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-18HC2VPP-229 - Combined honeycomb and vpp restart handlingJan Srnicek2-19/+63
Prevents honeycomb from attempting disconnection on different instance of vpp that it was connected to Change-Id: I8dedcaebb08ac75dc0fb9568ab66a011b1b1b676 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-11HC2VPP-191 - One transport protocol apiJan Srnicek102-543/+566
Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-07Ipv4AddressRange: remove unnecessary double->int convertionMarek Gradzki1-6/+2
Should fix https://sonar.fd.io/issues/search#issues=AViCMnel_ATy1iJVe-79 Change-Id: I798930dea057cac93ab95b6c1d6f660a21d84e74 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix error-handling issues found by SonarMarek Gradzki3-4/+4
Change-Id: Ic370f72c16beaf56003021a6a89f751de8b744b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix multiple checkstyle and Sonar warings in ByteDataTranslatorMarek Gradzki1-36/+18
Change-Id: Ie1503af359430c47ca71f4ed0230e79daf5f04d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-07Fix Sonar security issues in MacIpAceDataExtractorMarek Gradzki1-9/+11
Change-Id: I799a33f7589216c8a43c5560ed3dc58e1bf1eae1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28DumpCacheManager: make dumpParams optionalMarek Gradzki26-82/+46
Requires https://gerrit.fd.io/r/#/c/8185/ Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28HC2VPP-105: nat64 prefix readMarek Gradzki4-0/+323
Also updates NAT postman collection with nat64 prefix configuration examples Change-Id: I61cb12a2a91be92defccf55b82dc8658d185195f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28Fix Ipv6Translator.arrayToIpv6Prefix to support single address blockMarek Gradzki2-11/+22
Change-Id: I91353a0c780ac2f61d15c677c25f647f826f71c3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-28HC2VPP-105: nat64 prefix configurationMarek Gradzki3-0/+212
Change-Id: I205fb426ab9c0e47ef40b81c2f6dcd397524f1eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-28Bump nsh-sfc version to 17.10-SNAPSHOTMarek Gradzki1-7/+1
Change-Id: I722e260dca2bae351d4bb1ef4c27ac65bf9b1248 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vppMarek Gradzki51-480/+468
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24NamingContext.getNameIfPresent should not fail if name is missingMarek Gradzki3-7/+54
Also makes InterfaceChangeNotificationProducer notification translation code more defensive. The issue was revealed by HC2VPP-216 and HC2VPP-220. Change-Id: I20792a51743ae621d86c1b9066d680bc2303ed82 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24Move StaticCacheKeyFactory to honeycomb projectMarek Gradzki4-53/+8
Requires https://gerrit.fd.io/r/#/c/8169/ Change-Id: Ibb1482d350f4739c3ab33bc0ff678f06335af48c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-21HC2VPP-105: include NAT64 examples in postman collectionMarek Gradzki1-242/+448
Also includes some minor refactoring. Change-Id: Ibb186fe3fb0fde0ba0f11f5502d770d74a68063c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-21HC2VPP-105: add support for nat64 configuration on interfaceMarek Gradzki16-109/+248
Change-Id: I071f8981b680845ea031a9e61dfca7e34ea539e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-17HC2VPP-105: add support for NAT64 BIB entries readMarek Gradzki7-101/+423
Change-Id: Ic8e61a13cba8ae8e3e69f16985918451df239430 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-17Release notes cleanup after releasing hc2vpp 1.17.07Marek Gradzki9-36/+23
Change-Id: I355e73553345ce12360946d5db2c96253a2d1040 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: interface-nat.yang NAT64 supportMarek Gradzki21-60/+80
Change-Id: I22b391577e11bc33dbe03f643fe6968262f0712f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: add support for nat64 pool readMarek Gradzki3-82/+186
Change-Id: If458e0b812435de5ae41af1bdbf53e2ffaf94e35 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HC2VPP-105: add support for nat64 pool configurationMarek Gradzki5-26/+105
Change-Id: I5e57b7855e081056ad0d675084209fc9cd4add23 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek63-511/+69
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-22 - Interconnetion improvementsJan Srnicek2-19/+35
Change-Id: I0abb937df505663ecbae47f4c4a75681b3ff75be Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-213 - Dump cache manager use in TapCustomizerJan Srnicek1-37/+26
Change-Id: I2122a2245e8fc3b7717cb3dbc3c85b85e4b549fa Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-16HC2VPP-212 - Dump cache manager use in VHostUserCustomizerJan Srnicek1-39/+27
Change-Id: Ibf4ecd77dc64cf6fa1b349f1eb5b174741ccd2d9 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>