hc2vpp.git
7 years agoMove jvpp_version file to jvpp dir 1/2 42/10042/1 stable/1710
Marek Gradzki [Wed, 10 Jan 2018 07:08:27 +0000 (08:08 +0100)]
Move jvpp_version file to jvpp dir 1/2

Change-Id: I1d7132152561cd8417632ccc16942e2b527f9aa4
Signed-off-by: Marek Gradzki <[email protected]>
(cherry picked from commit 51a13d8012c56d887855b463f447f1fd618d4361)

7 years agoScripts for installing jvpp jars to local mvn repo 75/9875/1
Marek Gradzki [Tue, 19 Dec 2017 09:19:43 +0000 (10:19 +0100)]
Scripts for installing jvpp jars to local mvn repo

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 <[email protected]>
7 years ago(Multi)NamingContext: increment after computing max 32/9832/1
Marek Gradzki [Wed, 13 Dec 2017 16:15:53 +0000 (17:15 +0100)]
(Multi)NamingContext: increment after computing max

Instead of incrementing all elements of stream
and applying max, first compute max and then increment.

Change-Id: I4e45ffa74d9b8685abd7bafaddc77d1d9850abdb
Signed-off-by: Marek Gradzki <[email protected]>
(cherry picked from commit 4840c9fc6ab956d6210ac33d8e9c5b1abbc4172e)

7 years agoClean Sonar warnings in JvppReplyConsumer 93/9793/1
Marek Gradzki [Mon, 11 Dec 2017 07:52:18 +0000 (08:52 +0100)]
Clean Sonar warnings in JvppReplyConsumer

Change-Id: Ic664d0da1f3f253ee7d698c651354015792cc278
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoDo not consume ReadFailedException in RemoteMappingCustomizer 36/9536/1
Marek Gradzki [Thu, 23 Nov 2017 09:27:35 +0000 (10:27 +0100)]
Do not consume ReadFailedException in RemoteMappingCustomizer

Also fixes other issues found by static analysis
(unecessary boxing, formatitng).

Change-Id: I063ccf4334ebdecf944ca1470e677c95a0fd0bdd
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoAdd missing @Override annotations 24/9524/1
Marek Gradzki [Wed, 22 Nov 2017 10:32:17 +0000 (11:32 +0100)]
Add missing @Override annotations

Fix isses reported by Sonar thanks to IntelliJ's code inspection.

Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5
Signed-off-by: Marek Gradzki <[email protected]>
(cherry picked from commit b1f0c71b032eb17d8cac1c5324745b759c2da87f)

7 years agoUpdate ODL references in BGP documentation 46/9446/2
Marek Gradzki [Thu, 16 Nov 2017 10:59:06 +0000 (11:59 +0100)]
Update ODL references in BGP documentation

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 <[email protected]>
7 years agoFix BGP Postman collection URL 29/9229/1
Marek Gradzki [Mon, 6 Nov 2017 05:30:22 +0000 (06:30 +0100)]
Fix BGP Postman collection URL

Change-Id: I7b1c0683cf21a6f5effc1e83eab652ad584a8c7f
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoSet hc2vpp version to 1.17.10.1-SNAPSHOT 69/9169/1
Marek Gradzki [Tue, 31 Oct 2017 19:32:29 +0000 (20:32 +0100)]
Set hc2vpp version to 1.17.10.1-SNAPSHOT

Change-Id: Ic1cca03f4375df306dca3bfe946cc2287a4ac44e
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoBump Hc2vpp version to 1.17.10 17/9117/3 v1.17.10
Marek Gradzki [Mon, 30 Oct 2017 14:13:37 +0000 (15:13 +0100)]
Bump Hc2vpp version to 1.17.10

Also updates honeycomb dependencies.

Change-Id: I2f04e80f2c1da3d9ac82425f517e8fd3d5cd4213
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoSet jvpp version to 17.10 10/9110/4
Marek Gradzki [Mon, 30 Oct 2017 13:38:00 +0000 (14:38 +0100)]
Set jvpp version to 17.10

Change-Id: If6ca87e134380d0a0e9814d87cf1c3f787072c5a
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-194: fix package ordering 43/9143/1
Marek Gradzki [Tue, 18 Jul 2017 12:10:17 +0000 (14:10 +0200)]
HC2VPP-194: fix package ordering

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 <[email protected]>
7 years agoHc2vpp 1.17.10 release notes update 21/9121/2
Marek Gradzki [Mon, 30 Oct 2017 16:24:02 +0000 (17:24 +0100)]
Hc2vpp 1.17.10 release notes update

Change-Id: Icb95a69867fe3b319e9caf6bcf37644d2191c0b4
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoSet CSIT branch to rls1710 08/9108/2
selias [Mon, 30 Oct 2017 13:41:27 +0000 (14:41 +0100)]
Set CSIT branch to rls1710

Change-Id: I2f77e13afbe2149ea2d95dfcf8fef168e93766da
Signed-off-by: selias <[email protected]>
7 years agoDocumentation for jvpp-version file 07/9107/2
Marek Gradzki [Mon, 30 Oct 2017 13:27:45 +0000 (14:27 +0100)]
Documentation for jvpp-version file

Change-Id: Iba106fc52a8833b9ff34342b3ed3801ecbd22749
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHONEYCOMB-392 - Footprint per data 00/9100/1
Jan Srnicek [Mon, 30 Oct 2017 09:25:29 +0000 (10:25 +0100)]
HONEYCOMB-392 - Footprint per data

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 <[email protected]>
(cherry picked from commit a71ef3d551a4dd7f50bf187190de905f6e8e34b1)

7 years agoSet hc2vpp version back to 1.17.10-SNAPSHOT 95/8895/1
Marek Gradzki [Thu, 19 Oct 2017 06:21:02 +0000 (08:21 +0200)]
Set hc2vpp version back to 1.17.10-SNAPSHOT

Change-Id: I4f7ec11c9b3564bbef0e9f2b96ee3d939d5a6971
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoBump hc2vpp version to 1.17.10-RC2 92/8892/1 v1.17.10-RC2
Marek Gradzki [Wed, 4 Oct 2017 06:25:55 +0000 (08:25 +0200)]
Bump hc2vpp version to 1.17.10-RC2

Also updates honeycomb dependencies

Change-Id: Ifc6b3233b141236c3d2d70930e3a711a20344411
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-247 - Mandatory reintroduced for vrf/bd sub-table 01/8801/2
Jan Srnicek [Wed, 18 Oct 2017 07:33:22 +0000 (09:33 +0200)]
HC2VPP-247 - Mandatory reintroduced for vrf/bd sub-table

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 <[email protected]>
7 years agoHC2VPP-245 - Local mapping vs Locator set ordering 51/8751/2
Jan Srnicek [Wed, 11 Oct 2017 09:38:06 +0000 (11:38 +0200)]
HC2VPP-245 - Local mapping vs Locator set ordering

LocalMapping must be writen after/deleted before Locator set,
as it has reference to it

Change-Id: I8a7299d25e0fb5c2ffb83a34f478d82b2edfa749
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-243 - don't throw on remove of map-request-mode 89/8689/5
Jan Srnicek [Fri, 6 Oct 2017 11:36:45 +0000 (13:36 +0200)]
HC2VPP-243 - don't throw on remove of map-request-mode

Allows removing all lisp-feature-data.
Also fixes ordering for itr remote locator set.

Change-Id: Ib181c724dfa76f5ac380eec5e50f5d76f6b01389
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoSet hc2vpp version back to 1.17.10-SNAPSHOT 47/8647/1
Marek Gradzki [Wed, 4 Oct 2017 06:26:57 +0000 (08:26 +0200)]
Set hc2vpp version back to 1.17.10-SNAPSHOT

Change-Id: I6fa53750c10dc914794d4d45ebc5fdb881e214c8
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoBump hc2vpp version to 1.17.10-RC1 46/8646/1 v1.17.10-RC1
Marek Gradzki [Wed, 4 Oct 2017 06:25:55 +0000 (08:25 +0200)]
Bump hc2vpp version to 1.17.10-RC1

Also updates honeycomb dependencies

Change-Id: Ifc6b3233b14f0d6c3d2d70930e3a711a20344411
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoSet stable/1710 as default branch for gitreview 39/8639/1
Marek Gradzki [Tue, 3 Oct 2017 15:56:15 +0000 (17:56 +0200)]
Set stable/1710 as default branch for gitreview

Change-Id: Ifd90e803523f926898731a615c9eb1aa08cd39d8
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-232 - Secondary table lookup support 79/8479/7
Jan Srnicek [Thu, 28 Sep 2017 11:31:17 +0000 (13:31 +0200)]
HC2VPP-232 - Secondary table lookup support

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 <[email protected]>
7 years agoHC2VPP-236 - interface-nat model file name fix 53/8553/1
Jan Srnicek [Wed, 27 Sep 2017 08:08:33 +0000 (10:08 +0200)]
HC2VPP-236 - interface-nat model file name fix

Change-Id: Iaa8d8ccb6ade28f9b62c398610638f5ba465fffd
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-229 - Combined honeycomb and vpp restart handling 78/8378/3
Jan Srnicek [Mon, 18 Sep 2017 08:21:08 +0000 (10:21 +0200)]
HC2VPP-229 - Combined honeycomb and vpp restart handling

Prevents honeycomb from attempting disconnection on different instance
of vpp that it was connected to

Change-Id: I8dedcaebb08ac75dc0fb9568ab66a011b1b1b676
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-191 - One transport protocol api 76/8376/1
Jan Srnicek [Mon, 11 Sep 2017 08:30:21 +0000 (10:30 +0200)]
HC2VPP-191 - One transport protocol api

Change-Id: I8ecff45d095b3fbffc5ebf4c09cf1496289e5498
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoIpv4AddressRange: remove unnecessary double->int convertion 36/8336/2
Marek Gradzki [Thu, 7 Sep 2017 11:18:22 +0000 (13:18 +0200)]
Ipv4AddressRange: remove unnecessary double->int convertion

Should fix https://sonar.fd.io/issues/search#issues=AViCMnel_ATy1iJVe-79

Change-Id: I798930dea057cac93ab95b6c1d6f660a21d84e74
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix error-handling issues found by Sonar 35/8335/1
Marek Gradzki [Thu, 7 Sep 2017 11:06:55 +0000 (13:06 +0200)]
Fix error-handling issues found by Sonar

Change-Id: Ic370f72c16beaf56003021a6a89f751de8b744b8
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix multiple checkstyle and Sonar warings in ByteDataTranslator 31/8331/1
Marek Gradzki [Thu, 7 Sep 2017 10:43:24 +0000 (12:43 +0200)]
Fix multiple checkstyle and Sonar warings in ByteDataTranslator

Change-Id: Ie1503af359430c47ca71f4ed0230e79daf5f04d4
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix Sonar security issues in MacIpAceDataExtractor 30/8330/1
Marek Gradzki [Thu, 7 Sep 2017 10:32:46 +0000 (12:32 +0200)]
Fix Sonar security issues in MacIpAceDataExtractor

Change-Id: I799a33f7589216c8a43c5560ed3dc58e1bf1eae1
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoDumpCacheManager: make dumpParams optional 86/8186/4
Marek Gradzki [Wed, 23 Aug 2017 14:19:41 +0000 (16:19 +0200)]
DumpCacheManager: make dumpParams optional

Requires https://gerrit.fd.io/r/#/c/8185/

Change-Id: Ib2d529366bd3cf6bb292014026ab8053a19c0ed7
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: nat64 prefix read 75/8175/6
Marek Gradzki [Wed, 23 Aug 2017 11:07:22 +0000 (13:07 +0200)]
HC2VPP-105: nat64 prefix read

Also updates NAT postman collection with nat64 prefix configuration examples

Change-Id: I61cb12a2a91be92defccf55b82dc8658d185195f
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix Ipv6Translator.arrayToIpv6Prefix to support single address block 68/8168/8
Marek Gradzki [Wed, 23 Aug 2017 09:50:47 +0000 (11:50 +0200)]
Fix Ipv6Translator.arrayToIpv6Prefix to support single address block

Change-Id: I91353a0c780ac2f61d15c677c25f647f826f71c3
Signed-off-by: Marek Gradzki <[email protected]>
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-105: nat64 prefix configuration 58/8158/10
Marek Gradzki [Tue, 22 Aug 2017 12:33:22 +0000 (14:33 +0200)]
HC2VPP-105: nat64 prefix configuration

Change-Id: I205fb426ab9c0e47ef40b81c2f6dcd397524f1eb
Signed-off-by: Marek Gradzki <[email protected]>
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoBump nsh-sfc version to 17.10-SNAPSHOT 21/8221/1
Marek Gradzki [Mon, 28 Aug 2017 08:49:31 +0000 (10:49 +0200)]
Bump nsh-sfc version to 17.10-SNAPSHOT

Change-Id: I722e260dca2bae351d4bb1ef4c27ac65bf9b1248
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vpp 81/8181/2
Marek Gradzki [Wed, 23 Aug 2017 12:18:51 +0000 (14:18 +0200)]
HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vpp

Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoNamingContext.getNameIfPresent should not fail if name is missing 01/8201/1
Marek Gradzki [Thu, 24 Aug 2017 11:08:49 +0000 (13:08 +0200)]
NamingContext.getNameIfPresent should not fail if name is missing

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 <[email protected]>
7 years agoMove StaticCacheKeyFactory to honeycomb project 74/8174/3
Marek Gradzki [Wed, 23 Aug 2017 10:42:05 +0000 (12:42 +0200)]
Move StaticCacheKeyFactory to honeycomb project

Requires https://gerrit.fd.io/r/#/c/8169/

Change-Id: Ibb1482d350f4739c3ab33bc0ff678f06335af48c
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: include NAT64 examples in postman collection 40/8140/1
Marek Gradzki [Mon, 21 Aug 2017 07:08:55 +0000 (09:08 +0200)]
HC2VPP-105: include NAT64 examples in postman collection

Also includes some minor refactoring.

Change-Id: Ibb186fe3fb0fde0ba0f11f5502d770d74a68063c
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: add support for nat64 configuration on interface 73/8073/5
Marek Gradzki [Wed, 16 Aug 2017 15:09:37 +0000 (17:09 +0200)]
HC2VPP-105: add support for nat64 configuration on interface

Change-Id: I071f8981b680845ea031a9e61dfca7e34ea539e5
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: add support for NAT64 BIB entries read 58/7958/2
Marek Gradzki [Wed, 9 Aug 2017 10:30:21 +0000 (12:30 +0200)]
HC2VPP-105: add support for NAT64 BIB entries read

Change-Id: Ic8e61a13cba8ae8e3e69f16985918451df239430
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoRelease notes cleanup after releasing hc2vpp 1.17.07 76/8076/2
Marek Gradzki [Thu, 27 Jul 2017 06:02:16 +0000 (08:02 +0200)]
Release notes cleanup after releasing hc2vpp 1.17.07

Change-Id: I355e73553345ce12360946d5db2c96253a2d1040
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: interface-nat.yang NAT64 support 69/8069/2
Marek Gradzki [Wed, 16 Aug 2017 11:56:20 +0000 (13:56 +0200)]
HC2VPP-105: interface-nat.yang NAT64 support

Change-Id: I22b391577e11bc33dbe03f643fe6968262f0712f
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: add support for nat64 pool read 67/8067/2
Marek Gradzki [Wed, 16 Aug 2017 08:37:55 +0000 (10:37 +0200)]
HC2VPP-105: add support for nat64 pool read

Change-Id: If458e0b812435de5ae41af1bdbf53e2ffaf94e35
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: add support for nat64 pool configuration 53/8053/4
Marek Gradzki [Tue, 15 Aug 2017 12:04:51 +0000 (14:04 +0200)]
HC2VPP-105: add support for nat64 pool configuration

Change-Id: I5e57b7855e081056ad0d675084209fc9cd4add23
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHONEYCOMB-386 - Hc2vpp Customizers update 34/8034/5
Jan Srnicek [Tue, 15 Aug 2017 09:30:28 +0000 (11:30 +0200)]
HONEYCOMB-386 - Hc2vpp Customizers update

Utilizes new default update implementation

Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-22 - Interconnetion improvements 96/7896/3
Jan Srnicek [Wed, 16 Aug 2017 06:09:19 +0000 (08:09 +0200)]
HC2VPP-22 - Interconnetion improvements

Change-Id: I0abb937df505663ecbae47f4c4a75681b3ff75be
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-213 - Dump cache manager use in TapCustomizer 22/7922/10
Jan Srnicek [Wed, 9 Aug 2017 09:41:19 +0000 (11:41 +0200)]
HC2VPP-213 - Dump cache manager use in TapCustomizer

Change-Id: I2122a2245e8fc3b7717cb3dbc3c85b85e4b549fa
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-212 - Dump cache manager use in VHostUserCustomizer 15/7915/11
Jan Srnicek [Wed, 9 Aug 2017 09:38:27 +0000 (11:38 +0200)]
HC2VPP-212 - Dump cache manager use in VHostUserCustomizer

Change-Id: Ibf4ecd77dc64cf6fa1b349f1eb5b174741ccd2d9
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-205 / HC2VPP-25 - Sub interface caching improvement 77/7877/16
Jan Srnicek [Tue, 15 Aug 2017 08:15:06 +0000 (10:15 +0200)]
HC2VPP-205 / HC2VPP-25 - Sub interface caching improvement

Improves dumping mechanism for sub interfaces in a way
that if full dump was already performed,
it will be used from cache instead of new dump call.
Also prevents creating dump dto's if not necessary

Change-Id: I46a305ec1b325c2d949bff9e2b151752ccd508b6
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP docs update 21/8021/3
Jan Srnicek [Tue, 15 Aug 2017 10:19:24 +0000 (12:19 +0200)]
HC2VPP docs update

Change-Id: I43a1c149c881a829de4a6393bdcc0aa3cd5a336e
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHONEYCOMB-381 - Usage of ShutdownHandler for jvpp components 69/7969/4
Jan Srnicek [Fri, 11 Aug 2017 12:05:30 +0000 (14:05 +0200)]
HONEYCOMB-381 - Usage of ShutdownHandler for jvpp components
and notification producer

Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-105: add support for NAT64 BIB entries configuration 56/7956/3
Marek Gradzki [Wed, 9 Aug 2017 10:30:05 +0000 (12:30 +0200)]
HC2VPP-105: add support for NAT64 BIB entries configuration

No read support due to issues with nat64_bib_dump

Change-Id: I851c4fc5084d6e29d622df2855cf8d47ba147015
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-105: update NAT models to support Nat64 14/7914/3
Marek Gradzki [Fri, 4 Aug 2017 11:25:29 +0000 (13:25 +0200)]
HC2VPP-105: update NAT models to support Nat64

Nat api in VPP (https://wiki.fd.io/view/VPP/SNAT#API_3)
uses different api calls for nat44 and nat64.

While ietf-nat model allows to distinguish between
static nat44 and nat64 mappings,
external-ip-address-pool needs to be augmented
with nat pool type.

Change-Id: I2ce1fa3a8241c337c617bcbb77ec5eb2a33044e4
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-210 - Map server fallback threshold support 29/7929/2
Jan Srnicek [Fri, 11 Aug 2017 06:31:37 +0000 (08:31 +0200)]
HC2VPP-210 - Map server fallback threshold support

Change-Id: I304ac3ef03082c710a24e2ae03fa557531c1ca74
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoAdapt hc2vpp to changes to interface events api 77/7977/1
Marek Gradzki [Thu, 10 Aug 2017 11:17:01 +0000 (13:17 +0200)]
Adapt hc2vpp to changes to interface events api

Requires https://gerrit.fd.io/r/#/c/7925/

Change-Id: If627983bfcb0bf36ec1aa34ec863280e1f1bee36
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-204: enable translation for itr-remote-locator-set 49/7949/1
Marek Gradzki [Fri, 28 Jul 2017 13:46:43 +0000 (15:46 +0200)]
HC2VPP-204: enable translation for itr-remote-locator-set

Change-Id: I28d277d7bf39b61836d86c247bac8411dbe350d4
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-209 - Map register TTL registration support 99/7899/8
Jan Srnicek [Tue, 8 Aug 2017 07:19:41 +0000 (09:19 +0200)]
HC2VPP-209 - Map register TTL registration support

Change-Id: Icf372b22c47e63e27296627160dff0bacdf9e7a3
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-162 - use composite key for locator pair 66/7866/12
Jan Srnicek [Fri, 4 Aug 2017 06:49:05 +0000 (08:49 +0200)]
HC2VPP-162 - use composite key for locator pair

Removes need for custom mapping for locator pairs and their ids

Change-Id: Idaa6ee5ec74d8bf57a72bea95c0c0d408e6e940e
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoAdapt hc2vpp to jvpp error logging improvements 94/7894/2
Marek Gradzki [Thu, 3 Aug 2017 08:13:45 +0000 (10:13 +0200)]
Adapt hc2vpp to jvpp error logging improvements

Requires https://gerrit.fd.io/r/#/c/7681/

Change-Id: Icd1d5dfb60f5eb79f9f4ab46f38d56f2b01672da
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoAdapt hc2vpp to ODL Carbon bump in honeycomb 49/6949/5
Marek Gradzki [Wed, 31 May 2017 07:14:51 +0000 (09:14 +0200)]
Adapt hc2vpp to ODL Carbon bump in honeycomb

Depends on https://gerrit.fd.io/r/#/c/6924/

Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix vpp-translate-test scope 98/7898/1
Marek Gradzki [Thu, 3 Aug 2017 12:28:14 +0000 (14:28 +0200)]
Fix vpp-translate-test scope

Wrong scope was needlessly increasing footprint
and caused DEBUG logs to be printed after introducing

https://gerrit.fd.io/r/#/c/7895/

Change-Id: Iad75e376da8b2a3005cfaf5147062a35b15a5e64
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoTest logback configuration 95/7895/1
Marek Gradzki [Thu, 3 Aug 2017 10:12:00 +0000 (12:12 +0200)]
Test logback configuration

DEGUB is only enabled for fd.io.
Should significantly improve build time.

Change-Id: Iabc2c82dc6eed335b8b025ff92e129cc07ece03f
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-197: nat postman collection update 75/7875/2
Marek Gradzki [Wed, 2 Aug 2017 10:45:53 +0000 (12:45 +0200)]
HC2VPP-197: nat postman collection update

Change-Id: Ia69b929fc31a5ee9608e9a187a560d39202971e1
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-197: translation layert for post routing NAT 73/7873/3
Marek Gradzki [Tue, 1 Aug 2017 11:43:14 +0000 (13:43 +0200)]
HC2VPP-197: translation layert for post routing NAT

Change-Id: Icef6682fbc7a18a1e52953270ad26f6b3b7676eb
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoFix revision number for multi-naming-context 74/7874/1
Michal Cmarada [Wed, 2 Aug 2017 10:33:53 +0000 (12:33 +0200)]
Fix revision number for multi-naming-context

Change-Id: I3915e5b37043897ac43ef6853af6d26c39eba768
Signed-off-by: Michal Cmarada <[email protected]>
7 years agoHC2VPP-197: update interface-nat model to support post-routing NAT 65/7865/2
Marek Gradzki [Tue, 1 Aug 2017 10:50:31 +0000 (12:50 +0200)]
HC2VPP-197: update interface-nat model to support post-routing NAT

Change-Id: I009d790e21ff5019f94145e1aa1e08f87b6729ca
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-187 - Naming context improvements 64/7864/1
Jan Srnicek [Tue, 1 Aug 2017 08:11:42 +0000 (10:11 +0200)]
HC2VPP-187 - Naming context improvements

Adds option to throw specific exception on non existing mapping

Change-Id: I1903ad8d0d660380680f99f0252e7ec6d9c8862d
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoRelease notes: BGP user guide 25/7825/1
Marek Gradzki [Thu, 27 Jul 2017 10:03:03 +0000 (12:03 +0200)]
Release notes: BGP user guide

Also adds postman collection with BGP examples
(previously stored in honeycomb project).

Change-Id: I83fece59abfea9c528b19d084be48515eff4ce99
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: api list sorted in natural order 24/7824/1
Marek Gradzki [Thu, 27 Jul 2017 07:04:16 +0000 (09:04 +0200)]
Api docs: api list sorted in natural order

Change-Id: Ide2316c50ee144055eab2499fd241ca1ea354066
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: use project-vpp-version as defioned in release-notes 23/7823/1
Marek Gradzki [Thu, 27 Jul 2017 06:46:31 +0000 (08:46 +0200)]
Api docs: use project-vpp-version as defioned in release-notes

Change-Id: I4fb38506dc0090f703a23eb65c0518981929284d
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: use project.version as defined in release-notes 22/7822/1
Marek Gradzki [Thu, 27 Jul 2017 06:41:17 +0000 (08:41 +0200)]
Api docs: use project.version as defined in release-notes

Change-Id: I404d5d73580cc98dfed920f2ba781d0fe7fbd793
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-173: set empty acl list when deleting ifc assignment 81/7781/1
Marek Gradzki [Mon, 24 Jul 2017 12:59:24 +0000 (14:59 +0200)]
HC2VPP-173: set empty acl list when deleting ifc assignment

Change-Id: I95e4675723bbb52c0244b68a731e3ec0f5831ce4
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: single row per VPP API message 80/7780/1
Marek Gradzki [Tue, 25 Jul 2017 13:44:21 +0000 (15:44 +0200)]
Api docs: single row per VPP API message

Lists all of supported CUD operations in single cell.

Change-Id: I5f23200d869221f797ed8b4b5ca0512baa92486b
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: disable site for scripts and docs 77/7777/2
Marek Gradzki [Tue, 25 Jul 2017 15:12:12 +0000 (17:12 +0200)]
Api docs: disable site for scripts and docs

Should fix hc2vpp merge jobs

Change-Id: I4891c99d55745adc4cfe07356d8cf87c7e9a2fda
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoApi docs: unify handling of writers and subtree writers 70/7770/1
Marek Gradzki [Tue, 25 Jul 2017 12:30:45 +0000 (14:30 +0200)]
Api docs: unify handling of writers and subtree writers

Change-Id: Ib0bd217c92f39052cc24f6324b5d33aa0443d002
Signed-off-by: Marek Gradzki <[email protected]>
(cherry picked from commit d615f74168ffccf8be8eda4b39b1e9bf9ba06bda)

7 years agoExlucde api-docs from sonar analysis 64/7764/1
Marek Gradzki [Tue, 25 Jul 2017 11:12:06 +0000 (13:12 +0200)]
Exlucde api-docs from sonar analysis

Change-Id: Ibc33174d044d2923bd13584c1f63eeb67d3b2b8a
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-180 - Doc coverage generator 40/7640/7
Jan Srnicek [Fri, 21 Jul 2017 13:10:46 +0000 (15:10 +0200)]
HC2VPP-180 - Doc coverage generator

TODO - links to specific vpp api section(now points
just to section with apis)
TODO - links to specific java binding code(now
points to class thats doing binding)
TODO - operational coverage(ASM does not support lambda processing)
TODO - generate coverage adoc links

Change-Id: I44c85012da3bd2e7cdd41930753e5aae6955cd7b
Signed-off-by: Jan Srnicek <[email protected]>
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-192 - Removing of locator pair mapping 69/7669/3
Jan Srnicek [Thu, 20 Jul 2017 12:33:32 +0000 (14:33 +0200)]
HC2VPP-192 - Removing of locator pair mapping

 When negative mapping(no locators present),
 do not invoke read as it would fail on non existing
 parent data

Change-Id: Ia20d707efd4d7fdab62d9dc0cd0b4003bc7de3cb
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-188 - Ordering fixed for routing entries 86/7486/3
Jan Srnicek [Fri, 7 Jul 2017 13:30:29 +0000 (15:30 +0200)]
HC2VPP-188 - Ordering fixed for routing entries

Change-Id: Iec8df0668a74f50b5abb4413e33c1fd3a0391779
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-185 - create artificial mapping if not contained in mapping 02/7502/2
Jan Srnicek [Tue, 11 Jul 2017 10:20:06 +0000 (12:20 +0200)]
HC2VPP-185 - create artificial mapping if not contained in mapping

Change-Id: Ide0dd4581452cbff935df500c73d50afbbecdcbf
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-182: fix looppack interface ordering 75/7475/2
Marek Gradzki [Fri, 7 Jul 2017 06:23:10 +0000 (08:23 +0200)]
HC2VPP-182: fix looppack interface ordering

Change-Id: I4244814fbf5e79dd78b80ea73d08aa79ccac15a1
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoBump jvpp version to 17.10-SNAPSHOT 64/7464/2
Marek Gradzki [Thu, 6 Jul 2017 17:28:58 +0000 (19:28 +0200)]
Bump jvpp version to 17.10-SNAPSHOT

Also sets version of vpp package dependencies to 17.10

Change-Id: I4e139ff2d485933c0de3339db50714a5c72e0a9e
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoUpdate jira project version in hc2vpp 1.17.10 elease notes 63/7463/1
Marek Gradzki [Thu, 6 Jul 2017 17:19:23 +0000 (19:19 +0200)]
Update jira project version in hc2vpp 1.17.10 elease notes

Change-Id: I71c704f9411e4eb107351968f5694006812a8d37
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoBump hc2vpp version to 1.17.10-SNAPSHOT 62/7462/1
Marek Gradzki [Thu, 6 Jul 2017 17:00:11 +0000 (19:00 +0200)]
Bump hc2vpp version to 1.17.10-SNAPSHOT

Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoRemove dependency on minimal-distribution 39/7439/1
Marek Gradzki [Thu, 6 Jul 2017 11:37:33 +0000 (13:37 +0200)]
Remove dependency on minimal-distribution

Accidentially introduced by https://gerrit.fd.io/r/#/c/7386/

Change-Id: Ie862dac542a3384fff42293b76d895b0dbf5b806
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHONEYCOMB-360 - Use binding-init module instead of whole distro core 86/7386/2
Marek Gradzki [Thu, 6 Jul 2017 06:36:27 +0000 (08:36 +0200)]
HONEYCOMB-360 - Use binding-init module instead of whole distro core

Change-Id: I86eb100ca96169c7cf8df7ba9f2a1c7e3e75d77f
Signed-off-by: Jan Srnicek <[email protected]>
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHONEYCOMB-374: remove BGP distribution for vpp 76/7376/2
Marek Gradzki [Fri, 30 Jun 2017 21:03:16 +0000 (23:03 +0200)]
HONEYCOMB-374: remove BGP distribution for vpp

After HONEYCOMB-358 was fixed,
BGP northbound interface was included
in Honeycomb's minimal distro:

https://gerrit.fd.io/r/#/c/7363/

Change-Id: I8164747502b3612f540aa008007ceda445b89cb6
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoChange minimal-distribution to minimal-distribution-core 77/7377/1
Marek Gradzki [Fri, 30 Jun 2017 22:39:26 +0000 (00:39 +0200)]
Change minimal-distribution to minimal-distribution-core

The minimal-distribution-core was introduced by HONEYCOMB-373.
Adoption is needed to remove indirect dependencies on various
HC infra yang models to decrease footprint
(HONEYCOMB-358 loads yang models based on maven dependencies).

Change-Id: Iba639efb893deb8d51de09009750542f78dfdd50
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHONEYCOMB-358 - Generate guice to yang modules index 16/7216/9
Jan Srnicek [Fri, 30 Jun 2017 10:05:16 +0000 (12:05 +0200)]
HONEYCOMB-358 - Generate guice to yang modules index

Generates two descriptor files
yang-modules-binding/yang-modules - List of Yang modules by project(classpath + deps)
yang-mapping/FULL_PROJECT_NAME-yang-modules-index - Index from Guice modules to Yang modules
that are used by respective Guice module

These files are included in jar files and distribution resources
Change-Id: I44569b3bc8819a5facd7ba8424836f715012c04d
Signed-off-by: Jan Srnicek <[email protected]>
7 years agoHC2VPP-152: NAT postman colection update 42/7342/1
Marek Gradzki [Thu, 29 Jun 2017 09:15:35 +0000 (11:15 +0200)]
HC2VPP-152: NAT postman colection update

Change-Id: I610c88d9b9794aa5251fb86e6887d959dffbd998
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-152: nat for sub-interfaces translation layer 41/7341/1
Marek Gradzki [Thu, 29 Jun 2017 08:44:41 +0000 (10:44 +0200)]
HC2VPP-152: nat for sub-interfaces translation layer

Change-Id: I7d3a52097975f38c1cd74426d5ec15f80274a56c
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoHC2VPP-174: add support for BGP IPv4/IPv6 unicast 94/7294/5
Marek Gradzki [Fri, 23 Jun 2017 12:00:58 +0000 (14:00 +0200)]
HC2VPP-174: add support for BGP IPv4/IPv6 unicast

Tranlates BGP IPv4/IPv6 routes to VPP FIB.

Not supported:
 - multiple paths (https://tools.ietf.org/html/rfc7911)
 - IPv6 SR

Change-Id: I06f0e81dd44df6a2eb7a3fe95445041e8f4f7af9
Signed-off-by: Marek Gradzki <[email protected]>
7 years agoMore specific exceptions in JvppReplyConsumer 91/7291/1
Marek Gradzki [Fri, 23 Jun 2017 10:09:16 +0000 (12:09 +0200)]
More specific exceptions in JvppReplyConsumer

Change-Id: I96bd342e84742f6c6ab7d4c6aa687bcb1baf9e7c
Signed-off-by: Marek Gradzki <[email protected]>
8 years agoHC2VPP-172: fix RewriteCustomizer.merge 18/7218/2
Marek Gradzki [Tue, 20 Jun 2017 10:21:22 +0000 (12:21 +0200)]
HC2VPP-172: fix RewriteCustomizer.merge

Change-Id: I63fbae0b34627d9af056cefa0ff60dd3c2b52bb1
Signed-off-by: Marek Gradzki <[email protected]>
8 years agoFix release plan URL in release notes 23/7223/1
Marek Gradzki [Tue, 20 Jun 2017 12:13:45 +0000 (14:13 +0200)]
Fix release plan URL in release notes

Change-Id: Ifb85b5a89dcec3b1a71157d681f8b7368063f849
Signed-off-by: Marek Gradzki <[email protected]>
8 years agoBgp distribution for vpp 90/7190/2
Marek Gradzki [Mon, 19 Jun 2017 12:44:59 +0000 (14:44 +0200)]
Bgp distribution for vpp

Bgp can't be currently included in default distribution,
because that would increase footprint,
even with BGP disabled (HONEYCOMB-358).

Change-Id: I9f0c264fdbc7b283cd05295ea27e88f9bc5f9a45
Signed-off-by: Marek Gradzki <[email protected]>
8 years agoHC2VPP-168 - Gpe native entries support(operational read) 64/7164/4
Jan Srnicek [Mon, 19 Jun 2017 10:37:56 +0000 (12:37 +0200)]
HC2VPP-168 - Gpe native entries support(operational read)

Change-Id: I50155013874a9e69d926a48a212d402e93945d9b
Signed-off-by: Jan Srnicek <[email protected]>