honeycomb.git
7 years agoMove interface acls to separate yang module 33/3333/4
Marek Gradzki [Mon, 10 Oct 2016 11:18:01 +0000 (13:18 +0200)]
Move interface acls to separate yang module

Change-Id: Ia11eacababd62f719e23af5b64b19c5227d56a45
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-246: allow mixing deny/permit rules 11/3311/6
Marek Gradzki [Fri, 7 Oct 2016 13:26:06 +0000 (15:26 +0200)]
HONEYCOMB-246: allow mixing deny/permit rules

- adds classify table on the end of each of the 3 chains to enforce ordering
- updates v3po.yang with default-action leaf
- updates postman collection

Change-Id: If54abec1a6516eaf87aae0e5da9382a6e5dee1f3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoPbb Postman Collection 09/3309/2
Jan Srnicek [Fri, 7 Oct 2016 11:05:41 +0000 (13:05 +0200)]
Pbb Postman Collection

Change-Id: Ib5010b5cf0f2245d8226bac65fa8d34e9ff3fc7a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-252 - Reduced scope of dump executors 00/3300/2
Jan Srnicek [Mon, 10 Oct 2016 07:14:09 +0000 (09:14 +0200)]
HONEYCOMB-252 - Reduced scope of dump executors

Change-Id: Ia426f855b13323369bcc7ec2cde0861421950476
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-154: update revison of models that changed since 16.09 07/3307/1
Marek Gradzki [Fri, 7 Oct 2016 09:21:52 +0000 (11:21 +0200)]
HONEYCOMB-154: update revison of models that changed since 16.09

Sets revision date to 14.12.2016 - API freeze for HC 1.17.01
Updated models:
- lisp.yang
- v3po.yang
- vpp-vlan.yang
- pbb-types.yang
- vpp-pbb.yang

Change-Id: Ib2b962c7756748ac357141ffbc6f5bc6668c97e3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoPbb Support 33/1833/30
Jan Srnicek [Fri, 7 Oct 2016 09:11:09 +0000 (11:11 +0200)]
Pbb Support

models/implementation refactored to work as rewrite on interfaces

Change-Id: I8ce42905ce8f183c354e718d02291aea2435110d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-236 - Unified read/write exceptions 75/3275/2
Jan Srnicek [Thu, 6 Oct 2016 06:54:02 +0000 (08:54 +0200)]
HONEYCOMB-236 - Unified read/write exceptions

Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-238: provide interface mode as a part of ietf-acl configuration 43/3243/5
Marek Gradzki [Tue, 4 Oct 2016 11:08:51 +0000 (13:08 +0200)]
HONEYCOMB-238: provide interface mode as a part of ietf-acl configuration

- L2 only rules for L3 interfaces are not allowed by vpp
- describes other limitations of ietf-acl model implementation

Change-Id: If7e79e4bbfe3113b82e3411d9a951c409799a29f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-138 - Lisp L2 Support 95/2395/7
Jan Srnicek [Tue, 4 Oct 2016 14:44:47 +0000 (16:44 +0200)]
HONEYCOMB-138 - Lisp L2 Support

Change-Id: Idff4776a64a88be2e0a45ab1927978e40876ea92
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-176 : Implemented delete for Routing 76/3276/2
Jan Srnicek [Wed, 5 Oct 2016 10:05:18 +0000 (12:05 +0200)]
HONEYCOMB-176 : Implemented delete for Routing

Change-Id: Idbf139773441e72e47c49518235b03a71e398acf
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoRevert "Disable NSH plugin due to CI issues" 68/3268/1
Marek Gradzki [Wed, 5 Oct 2016 05:20:18 +0000 (07:20 +0200)]
Revert "Disable NSH plugin due to CI issues"

This reverts commit 2dcc14e9c3c7779200e86fc7eb2fce4a0ef59e47.
NSH_SFC master is no longer broken.

Change-Id: Ib10b4bfd47efbb9f2393158fb3a9365ec4609793
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-234: empty implementation of egress acls for ietf model 21/3221/1
Marek Gradzki [Fri, 30 Sep 2016 13:10:52 +0000 (15:10 +0200)]
HONEYCOMB-234: empty implementation of egress acls for ietf model

Change-Id: I6152975b31a9bf764fa9d8a4210e16e61e98d61b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-234: update YANG model to support egress ACLs 01/3201/4
Marek Gradzki [Fri, 30 Sep 2016 10:28:28 +0000 (12:28 +0200)]
HONEYCOMB-234: update YANG model to support egress ACLs

- marks existing ACL support as ingress
- updates postman collection

Change-Id: I7ae39cb6698d9aafbe932d57725f138194b52e70
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-230 : Refactor of Adjacencies api use 19/3219/1
Jan Srnicek [Fri, 30 Sep 2016 12:18:15 +0000 (14:18 +0200)]
HONEYCOMB-230  : Refactor of Adjacencies api use

Change-Id: Ia83a5792c0e86fd5054d713038c2ed0a1c44a34e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoRemove outdated NOTES.txt 97/3197/1
Marek Gradzki [Thu, 29 Sep 2016 12:35:02 +0000 (14:35 +0200)]
Remove outdated NOTES.txt

Change-Id: I2afbe82d5f9081b3b1d0abcf1b1727334d364a42
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoDisable NSH plugin due to CI issues 95/3195/3
Marek Gradzki [Thu, 29 Sep 2016 11:41:55 +0000 (13:41 +0200)]
Disable NSH plugin due to CI issues

Will be reverted after merging https://gerrit.fd.io/r/#/c/3181/

Change-Id: Iab9e7d8a1e79cd96f84842071c62148aa9748b6f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoVPP-378: update jvpp package names 82/3182/3
Marek Gradzki [Wed, 28 Sep 2016 08:57:24 +0000 (10:57 +0200)]
VPP-378: update jvpp package names

Depends on
- vpp: https://gerrit.fd.io/r/#/c/3178
- NSH: https://gerrit.fd.io/r/#/c/3181

Change-Id: I1929947ccccc453aa32552fc42942a8b24ade157
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-210 - DumpEmptyCheck removed 76/3176/5
Jan Srnicek [Wed, 28 Sep 2016 12:42:39 +0000 (14:42 +0200)]
HONEYCOMB-210 - DumpEmptyCheck removed

Change-Id: I95ea94c3a1a581753f7eb667af7aacde832c21fd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-209 Move Reconciliation document from wiki to adoc 44/3144/2
Maros Marsalek [Mon, 26 Sep 2016 11:27:22 +0000 (13:27 +0200)]
HONEYCOMB-209 Move Reconciliation document from wiki to adoc

https://wiki.fd.io/view/Honeycomb/Persistence

Change-Id: If8be6c6a2466a1d6d2a95bbf1ea36883956a6dd7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFixed packages for NamingContext 79/3179/2
Jan Srnicek [Wed, 28 Sep 2016 08:40:40 +0000 (10:40 +0200)]
Fixed packages for NamingContext

Change-Id: I017c68924e729ec5f7a4bff4d112f082f11d34cb
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoLisp test coverage increased to ~80% 61/2761/4
Jan Srnicek [Wed, 28 Sep 2016 07:33:32 +0000 (09:33 +0200)]
Lisp test coverage increased to ~80%

Change-Id: Id4e9072ebb8d66e532e30c1dc3bb6036bfdc9012
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-180: mark read/write of ipv4 leaves unsupported 62/3162/1
Marek Gradzki [Tue, 27 Sep 2016 12:55:32 +0000 (14:55 +0200)]
HONEYCOMB-180: mark read/write of ipv4 leaves unsupported

Change-Id: Ifa774054646a59e39e4cc017df3be1e9e64233de
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-206: change package name to match groupId 59/3159/1
Marek Gradzki [Tue, 27 Sep 2016 12:24:06 +0000 (14:24 +0200)]
HONEYCOMB-206: change package name to match groupId

Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoExclude test utilities from sonar coverage statistics 58/3158/1
Marek Gradzki [Tue, 27 Sep 2016 12:20:29 +0000 (14:20 +0200)]
Exclude test utilities from sonar coverage statistics

Change-Id: Icb6ac7652c739efa3a4bf90f0ae99e4225035c69
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-195: increase v3po coverage over 80%. Part II 52/3152/1
Marek Gradzki [Tue, 27 Sep 2016 06:58:07 +0000 (08:58 +0200)]
HONEYCOMB-195: increase v3po coverage over 80%. Part II

Change-Id: Ia28078cad65c1a45754f1d440c3f6413836aa60d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-209 Configure maven site 73/3073/7
Maros Marsalek [Wed, 21 Sep 2016 11:51:57 +0000 (13:51 +0200)]
HONEYCOMB-209 Configure maven site

To produce site for Honeycomb +
javadoc
asciidoc

To build the site:
mvn clean install site:attach-descriptor site
mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage

Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-195: increase v3po coverage over 80%. WIP 28/3128/1
Marek Gradzki [Mon, 26 Sep 2016 06:28:20 +0000 (08:28 +0200)]
HONEYCOMB-195: increase v3po coverage over 80%. WIP

Change-Id: Ibe14d7203bdaf53b925e4d16b598942b62b65bae
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: generic merge test for reader customizers 27/3127/1
Marek Gradzki [Mon, 26 Sep 2016 06:20:34 +0000 (08:20 +0200)]
HONEYCOMB-116: generic merge test for reader customizers

Change-Id: I5c2505e6b3bcf622312f8dc324912507f6519a5b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-195: increase coverage for ietf-acl customizers over 80% 14/3114/2
Marek Gradzki [Fri, 23 Sep 2016 12:51:30 +0000 (14:51 +0200)]
HONEYCOMB-195: increase coverage for ietf-acl customizers over 80%

Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: utility for stubbing MappingContext methods 03/3103/3
Marek Gradzki [Fri, 23 Sep 2016 07:06:19 +0000 (09:06 +0200)]
HONEYCOMB-116: utility for stubbing MappingContext methods

- introduces MappingContextHelper (refactored ContextTestUtils)
- updates all v3po and lisp unit tests to use MCH
- updates lisp tests to mock EidMappingContext

Change-Id: I73b1adda767db71388ca1c4d7206cfd7ee9c70e1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-145 - Utility Class Refactoring 09/3109/2
Jan Srnicek [Fri, 23 Sep 2016 14:39:09 +0000 (16:39 +0200)]
HONEYCOMB-145 - Utility Class Refactoring

problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324)

Translate Utils Splitted to multiple Trait Interfaces

Ipv4Translator - Logic for translation of ipv4-based data
Ipv6Translator - Logic for translation of ipv6-based data
MacTranslator - Logic for translation of mac-based data
AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac
JvppReplyConsumer - Logic for extracting replies from jvpp calls
ByteDataTranslator - any byte-based conversions
Plus some existing utility classes changed to traits

Change-Id: I342b625954223966802e65dca0fabf8456c89345
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-116: utility for stubbing jvpp methods 00/3100/1
Marek Gradzki [Fri, 23 Sep 2016 05:21:11 +0000 (07:21 +0200)]
HONEYCOMB-116: utility for stubbing jvpp methods

- introduces FutureProducer (inspired by https://gerrit.fd.io/r/#/c/2650/)
- updates unit tests for v3po and lisp

Change-Id: I56488bb1dcd6fcaf6821a58f99b528677e095662
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-116: base classes for testing customizers 89/3089/2
Marek Gradzki [Thu, 22 Sep 2016 11:17:00 +0000 (13:17 +0200)]
HONEYCOMB-116: base classes for testing customizers

- adds base class for testing writers
- moves base classes to vpp-translate-test,
  subproject of vpp-common

Change-Id: Ia42e2be3a95a33866d1996dd42a9bd1773b970a7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHoneycomb-185: remove argumentCaptor from BDCustomizer and IfcCustomizerTests 65/3065/2
Marek Gradzki [Thu, 22 Sep 2016 08:12:29 +0000 (10:12 +0200)]
Honeycomb-185: remove argumentCaptor from BDCustomizer and IfcCustomizerTests

Change-Id: Ic1f541c3c2d90c3ec4074bfe5c5a73d3cc6c4a49
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRemove ReflectionToStringBuilder.toString invocation on jvpp DTOs 61/3061/1
Marek Gradzki [Thu, 22 Sep 2016 05:46:30 +0000 (07:46 +0200)]
Remove ReflectionToStringBuilder.toString invocation on jvpp DTOs

VPP-413 introduced toString methods for all DTOs

Change-Id: Ib81acca4867c49198d7d2ca550bf3a920a0d4f1a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdated Postman Collection for Lisp 33/3033/3
Jan Srnicek [Wed, 21 Sep 2016 12:03:50 +0000 (14:03 +0200)]
Updated Postman Collection for Lisp

Change-Id: I0c5a5d8519476295501047cd392cbb65729d941d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFixed reading of operational state of lisp 29/3029/5
Jan Srnicek [Wed, 21 Sep 2016 13:02:12 +0000 (15:02 +0200)]
Fixed reading of operational state of lisp

Rejecting of empty locator-sets
Added revert of searched key to match vpp address
order
Ignoring helper data returned by dumps

Change-Id: I5ec74f48dc373099b5fe516553d769c20e4a98f8
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-202: Honeycomb-parent pom 93/2993/2
Maros Marsalek [Tue, 20 Sep 2016 13:09:55 +0000 (15:09 +0200)]
HONEYCOMB-202: Honeycomb-parent pom

As a replacement for:
odlparent-lite + odlparent + bundle-parent + binding-parent
 + config-parent

Change-Id: I68054fe548a627a92978d5aa399f5d4aea6b9703
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-116: refactor v3po tests to use CTU.mockMapping 48/2948/3
Marek Gradzki [Sun, 18 Sep 2016 13:17:02 +0000 (15:17 +0200)]
HONEYCOMB-116: refactor v3po tests to use CTU.mockMapping

Change-Id: I72d3a545d66e1280e34beff72adcdf876dae86fd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-222 Fix Interface L2 writer order 85/2985/1
Maros Marsalek [Tue, 20 Sep 2016 13:53:57 +0000 (15:53 +0200)]
HONEYCOMB-222 Fix Interface L2 writer order

The writer was placed between Interface and Subitnerface,
so it was invoked before subinterfaces were processed.

Meaning that if the L2/xconnect targetted subitnerface, it
would be submitted prematurely.

Moving the Interface L2 writer after Subinterface writer.

Change-Id: I192ebde5eaf4b05a104d76bce39de74569cdb608
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix ietf-acl delete 72/2972/2
Marek Gradzki [Tue, 20 Sep 2016 06:58:39 +0000 (08:58 +0200)]
Fix ietf-acl delete

Cancels classify tables assignment for interface
before classify table removal.

Change-Id: I8f1ec1f43dac89f64af306f02786166f713743f8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-215 Add suggests dependency from hc -> vpp_nsg_plugin 59/2959/3
Maros Marsalek [Mon, 19 Sep 2016 08:02:35 +0000 (10:02 +0200)]
HONEYCOMB-215 Add suggests dependency from hc -> vpp_nsg_plugin

Only for deb packaging, RPM does not support Suggests directive on all platforms

Change-Id: I7702fd5c6acb90be367f6ae8d59c0a795bc68d1f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
(cherry picked from commit 9716f4ee19aa8fb982d9f8661f9f42fb59b1259d)

7 years agoUpdate postman calls: 58/2958/2
Maros Marsalek [Mon, 19 Sep 2016 08:29:32 +0000 (10:29 +0200)]
Update postman calls:

- missing auth
- resetting "Add ACL to ifc" requests fixed
- added ACL context read

Change-Id: I67850be6bc2e61b3819733cd678c321cfe2bc75e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix path for VppCommonModule test 61/2961/2
Marek Gradzki [Mon, 19 Sep 2016 15:39:58 +0000 (17:39 +0200)]
Fix path for VppCommonModule test

Change-Id: Ifad59d17997a3f4616982497b42c77c43def59b9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUnit test for VppCommonModule 33/2933/1
Marek Gradzki [Sat, 17 Sep 2016 21:48:48 +0000 (23:48 +0200)]
Unit test for VppCommonModule

Change-Id: I76ffd960b67f4d1e8240f0d73f5eea2e84d143e9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-196: unit test for LispModule 32/2932/1
Marek Gradzki [Sat, 17 Sep 2016 21:00:54 +0000 (23:00 +0200)]
HONEYCOMB-196: unit test for LispModule

Increases test coverage of lisp plugin to approximately 43%.

Change-Id: I2d60eae05dab9c4277f1b601616b9be4262de7eb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix project names to match artifactId 30/2930/1
Marek Gradzki [Sat, 17 Sep 2016 20:37:50 +0000 (22:37 +0200)]
Fix project names to match artifactId

Incorrect names can obscure statistics
provided by Sonar (uses project names, not artifact ids).

Change-Id: I6d8450cfd57ac3c19116760e8a474b705de9750b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-195: unit test for V3poModule.java 29/2929/1
Marek Gradzki [Sat, 17 Sep 2016 20:17:08 +0000 (22:17 +0200)]
HONEYCOMB-195: unit test for V3poModule.java

Increases test coverage of v3po plugin to approximately 70%

Change-Id: I8833710c3deb1681e9b7f18e25f9bcacba4a6689
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-194 Raise unit test coverage of transle-impl to 80% 08/2908/3
Maros Marsalek [Fri, 16 Sep 2016 07:50:48 +0000 (09:50 +0200)]
HONEYCOMB-194 Raise unit test coverage of transle-impl to 80%

Change-Id: I8d032e1a90004ee4bd6ebbae002a8e66a7e85919
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-194 Raise unit test coverage of cfg-init to 80% 85/2885/4
Maros Marsalek [Wed, 14 Sep 2016 14:27:04 +0000 (16:27 +0200)]
HONEYCOMB-194 Raise unit test coverage of cfg-init to 80%

Change-Id: Id90c291bb944387b1ffad15b40c08c32c518bb49
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-194 Raise unit test coverage of translation-util to 80% 72/2872/2
Maros Marsalek [Tue, 13 Sep 2016 14:50:00 +0000 (16:50 +0200)]
HONEYCOMB-194 Raise unit test coverage of translation-util to 80%

Change-Id: I6689f6d1f6a4a1376465783dad2650f5137142d2
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFix ClassifySession read NPE when NodeContext is missing 81/2881/1
Marek Gradzki [Wed, 14 Sep 2016 12:49:56 +0000 (14:49 +0200)]
Fix ClassifySession read NPE when NodeContext is missing

Change-Id: Ieca5ad125df5f26f82351871a0238e65be3e300c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoDump cache management moved to translate-utils 54/2854/2
Jan Srnicek [Tue, 13 Sep 2016 13:25:54 +0000 (15:25 +0200)]
Dump cache management moved to translate-utils

Removed all references to vpp to be usable in any plugin

Change-Id: Id63b06d643f4004e67b2502fc02e58cf3d238b3b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-46: Add NSH_SFC Readme doc 15/2815/2
Hongjun Ni [Thu, 8 Sep 2016 15:37:16 +0000 (23:37 +0800)]
HONEYCOMB-46: Add NSH_SFC Readme doc

Change-Id: Id1f8f17d025ebba07db0d138f881384306046487
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
(cherry picked from commit 2d6efba64a5050cb8349c874b5e4d7dadacb28e0)

7 years agoAdd NSH_SFC Postman Collection 68/2868/2
Hongjun Ni [Wed, 14 Sep 2016 11:40:47 +0000 (19:40 +0800)]
Add NSH_SFC Postman Collection

Change-Id: I67acd9d5ee9581a8365e4ef46b0c441bbdbd9d4b
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoAllow HC user to enable/disable NSH module 71/2871/1
Marek Gradzki [Sat, 10 Sep 2016 11:50:26 +0000 (13:50 +0200)]
Allow HC user to enable/disable NSH module

Because NSH plugin is optional in VPP,
it is disabled by default in HC.

Change-Id: I6842c68b94144b7ba7e9f6f87a2395e0d692a70c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-46: Add NSH_SFC Feature in Honeycomb 17/2817/3
Hongjun Ni [Fri, 2 Sep 2016 14:18:43 +0000 (22:18 +0800)]
HONEYCOMB-46: Add NSH_SFC Feature in Honeycomb

Cherry pick to master

PatchSet 9: Remove unused imports
PatchSet 8: Fix interface DI broken
PatchSet 7: Move VppNshModule to distribution
PatchSet 2: Augment with encap-if-name for nsh-map

Change-Id: Ia12afb72edfe804f26b84021b997d55db3129933
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years ago HONEYCOMB-211 - Fixed locator set filtering 51/2851/4
Jan Srnicek [Tue, 13 Sep 2016 13:17:02 +0000 (15:17 +0200)]
 HONEYCOMB-211 - Fixed locator set filtering

Change-Id: Ia8827040012ea03262727ff5909a68dac9dcb72a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-210: decrease log level to DEBUG for empty dump msg 46/2846/3
Marek Gradzki [Tue, 13 Sep 2016 09:47:50 +0000 (11:47 +0200)]
HONEYCOMB-210: decrease log level to DEBUG for empty dump msg

Empty dump message is normal state, LOG.warn
unnecessarily pollutes HC logs.

Change-Id: I9a7c3a0b2d4317d3bc04e91183afab341b779d15
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-118: extend classifer model to support node names. 29/2029/4
Marek Gradzki [Wed, 20 Jul 2016 07:48:14 +0000 (09:48 +0200)]
HONEYCOMB-118: extend classifer model to support node names.

* configuration write is supported (updates local cache
  with relative node mapping)
* operational read is supported only for nodes with existing
  relative node mapping
* ACL support (using vpp-classfier or ietf-acl model)
  is not affected by the patch (tables/sessions for access controll
  refer to neighbour nodes as packet-handling-action, not vpp-node-name)

Change-Id: Ice0c846803cc7e8960c3571fd2a13ed46ba53702
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-211: workaround for issues introduced by VPP-376 48/2848/1
Marek Gradzki [Tue, 13 Sep 2016 10:14:44 +0000 (12:14 +0200)]
HONEYCOMB-211: workaround for issues introduced by VPP-376

Fix HC build issues introduced by
https://gerrit.fd.io/r/#/c/2623/

Change-Id: I2e55b4c25c2f9ec505282addd4137b2dccf56f93
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate lisp postman collection to reflect restconf port change 43/2843/2
Marek Gradzki [Tue, 13 Sep 2016 07:33:40 +0000 (09:33 +0200)]
Update lisp postman collection to reflect restconf port change
introduced by 2836

Change-Id: I564b0b5961ca6218f458c8d462ca046af95aba03
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoUpdate HC postman collection to reflect restconf port changes 42/2842/2
Marek Gradzki [Tue, 13 Sep 2016 07:28:38 +0000 (09:28 +0200)]
Update HC postman collection to reflect restconf port changes
introduced by 2836

Change-Id: I3957fdd67ba68ca11f84b42a210db1b91b118ed3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoRemove unused logger form NamingContext 38/2838/1
Marek Gradzki [Tue, 13 Sep 2016 07:04:24 +0000 (09:04 +0200)]
Remove unused logger form NamingContext

Change-Id: I612f1c67d2307a293deb4b75a9e373d3a6313dde
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoBump ports for RESTCONF to avoid ODL conflicts 36/2836/2
Maros Marsalek [Mon, 12 Sep 2016 15:40:47 +0000 (17:40 +0200)]
Bump ports for RESTCONF to avoid ODL conflicts

Change-Id: Ibd7df6a3c841d6330c18c9b0a29ac2d85200ac48
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-194 Raise test coverage for translate-api to 80% 16/2816/2
Maros Marsalek [Mon, 12 Sep 2016 11:48:48 +0000 (13:48 +0200)]
HONEYCOMB-194 Raise test coverage for translate-api to 80%

Change-Id: I6f055ae926aaf876863adb7eddadde0abefdda91
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-142 - Subnet validation 63/2563/7
Jan Srnicek [Mon, 12 Sep 2016 11:12:14 +0000 (13:12 +0200)]
HONEYCOMB-142 - Subnet validation

Added validation of address to not be from same
subnet
Refactored to detect conflicts with mixed types of subnets and report them better

Change-Id: Ib815a79c9f61e88b5097884e346320028bbfe914
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFix opaqueIndex value initialization in translation code for ietf-acl mode 01/2801/2
Marek Gradzki [Mon, 12 Sep 2016 08:41:30 +0000 (10:41 +0200)]
Fix opaqueIndex value initialization in translation code for ietf-acl mode

Change-Id: Id01240e7fb7929f1d2d9dfd3984ab806cd60337e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFixed filtering by referenced interface for locators 27/2727/2
Jan Srnicek [Thu, 8 Sep 2016 07:46:46 +0000 (09:46 +0200)]
Fixed filtering by referenced interface for locators

Change-Id: I471e9b9f2d2ecb0f8e3b3e181118de42247ba7ec
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoUpdate POSTMAN collection with v3po-context:disabled-interfaces GET 56/2756/1
Maros Marsalek [Fri, 9 Sep 2016 11:33:33 +0000 (13:33 +0200)]
Update POSTMAN collection with v3po-context:disabled-interfaces GET

Change-Id: I319f8ce7f71cf963e72da24e722903df6cc62a25
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoDecrease keepalive timeout to 5s 55/2755/1
Maros Marsalek [Fri, 9 Sep 2016 11:32:43 +0000 (13:32 +0200)]
Decrease keepalive timeout to 5s

Change-Id: I5d3e49605686fd883f4f32065c72ad8e881ac2f3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-205 Fix service definition for cetnos7 54/2754/1
Maros Marsalek [Fri, 9 Sep 2016 11:27:55 +0000 (13:27 +0200)]
HONEYCOMB-205 Fix service definition for cetnos7

Running with Type=forking fails on some Centos machines.

Change-Id: If0c902e3afb8c79e790b772fbdd91845baeac1dd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-204 exclude deleted interfaces from operational data 53/2753/1
Maros Marsalek [Fri, 9 Sep 2016 09:41:03 +0000 (11:41 +0200)]
HONEYCOMB-204 exclude deleted interfaces from operational data

Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-197 Enable jacoco for minimal distributions 31/2731/1
Maros Marsalek [Thu, 8 Sep 2016 09:57:18 +0000 (11:57 +0200)]
HONEYCOMB-197 Enable jacoco for minimal distributions

Change-Id: I12bd942d21b8a3952546fdaccfb4ded997a98fc7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-197 Minimal distribution positive test 28/2728/8
Maros Marsalek [Thu, 8 Sep 2016 09:57:18 +0000 (11:57 +0200)]
HONEYCOMB-197 Minimal distribution positive test

Change-Id: I2191472f10b39a026ccde2494a7921655c57c314
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoDependency management for skinny-logback 25/2725/1
Marek Gradzki [Thu, 8 Sep 2016 06:04:16 +0000 (08:04 +0200)]
Dependency management for skinny-logback

Change-Id: If12c6043175f43918f098f6102dd019715ed6104
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-78: enable HC restart 23/2723/1
Marek Gradzki [Tue, 6 Sep 2016 10:03:32 +0000 (12:03 +0200)]
HONEYCOMB-78: enable HC restart

Includes:
- restart script for honeycomb
- HONEYCOMBC-78 fix: jVPPRegistry.close() is not invoked in case of
  VPP restart. That prevents subsequent attempts to establish
  connection from failing (we cannot invoke vl_client_disconnect_from_vlib
  before connect_to_vpe on fresh vpp instance).

Change-Id: Icf4d6a6a40605ed34d307a0f1405b8804ba5df53
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-194 Increase data-impl coverage to 87% 04/2704/2
Maros Marsalek [Wed, 7 Sep 2016 15:15:09 +0000 (17:15 +0200)]
HONEYCOMB-194 Increase data-impl coverage to 87%

Change-Id: I1bd6d6ad2e8d35322346aa658e74413ce2d889f0
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-200 sonar.skip per child module 92/2692/1
Maros Marsalek [Wed, 7 Sep 2016 08:12:56 +0000 (10:12 +0200)]
HONEYCOMB-200 sonar.skip per child module

Change-Id: I73ba7db54f029f4061fe3e5af148db52c686e7fd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-120 Remove sonar.skip from common 91/2691/1
Maros Marsalek [Wed, 7 Sep 2016 07:54:05 +0000 (09:54 +0200)]
HONEYCOMB-120 Remove sonar.skip from common

Change-Id: Ic33ce2c2f71e3d7bc6f6f0e58c084f5991df9135
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-200 Exclude samples, tools and common from sonar 90/2690/2
Maros Marsalek [Wed, 7 Sep 2016 07:20:14 +0000 (09:20 +0200)]
HONEYCOMB-200 Exclude samples, tools and common from sonar

Change-Id: I42d014b48f2315c8c99cee988aa29940a837deb0
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoCleanup TODOs and FIXMEs 46/2646/4
Maros Marsalek [Mon, 5 Sep 2016 10:10:26 +0000 (12:10 +0200)]
Cleanup TODOs and FIXMEs

- Fix minor ones
- Report bigger and include issue number in comment
- Pull common dependencies into dependency management of common/parents

Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoMap resolver filtering fixed 33/2633/3
Jan Srnicek [Tue, 6 Sep 2016 11:13:12 +0000 (13:13 +0200)]
Map resolver filtering fixed

Change-Id: I8876627d4d5e1cb9bf2024cbaba55335724049d3
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-157: add debug script 41/2641/2
Marek Gradzki [Mon, 5 Sep 2016 13:35:46 +0000 (15:35 +0200)]
HONEYCOMB-157: add debug script

Change-Id: I2f65514f7c2adfeb2714584588a262f2e44f70f6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-153: fix acls for sub-interfaces 37/2637/3
Marek Gradzki [Mon, 5 Sep 2016 11:31:39 +0000 (13:31 +0200)]
HONEYCOMB-153: fix acls for sub-interfaces

Change-Id: Ia75c2ebd62fb371fd60f860fe12761926f443b98
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-146 : Unable to create adjacencies in Lisp 09/2609/2
Jan Srnicek [Fri, 2 Sep 2016 11:40:53 +0000 (13:40 +0200)]
HONEYCOMB-146 : Unable to create adjacencies in Lisp

Fixed setting of prefix lenghts for Eid's
Change-Id: I78dd4672f8b3227cc09c4d01abce537a67b8913a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFix ReaderFactory: remove AutoClosable from list 27/2627/1
Marek Gradzki [Mon, 5 Sep 2016 08:47:45 +0000 (10:47 +0200)]
Fix ReaderFactory: remove AutoClosable from list
of implemented interfaces.

Reader factories do not need to be AutoClosable.

Change-Id: I779e87eb0b03750e264df52e14eee58467ca799a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix Writer Factory: remove AutoClosable from list 25/2625/1
Marek Gradzki [Mon, 5 Sep 2016 07:44:34 +0000 (09:44 +0200)]
Fix Writer Factory: remove AutoClosable from list
of implemented interfaces.

WriterFactories do not need to be AutoClosable.

Change-Id: I1947489b7eac2ccf4c34b3212c93ed76922a595f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoHONEYCOMB-147 - Bad filtering while dumping local locator-sets 07/2607/2
Jan Srnicek [Fri, 2 Sep 2016 11:45:01 +0000 (13:45 +0200)]
HONEYCOMB-147 - Bad filtering while dumping local locator-sets

Fixed filtering while dumping only local locator-sets
Added automatic learning of previously created locatr-sets(name to index mapping)
Change-Id: I5d40c545e76a698ffdda9a092590280b0daca68a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFix restoration order 04/2604/1
Maros Marsalek [Fri, 2 Sep 2016 09:49:34 +0000 (11:49 +0200)]
Fix restoration order

Change-Id: If90a801d69954cbddb1907b32079a3cb928ff4ab
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-149 - Interface-ref contains locator-set name 00/2600/2
Jan Srnicek [Fri, 2 Sep 2016 07:11:10 +0000 (09:11 +0200)]
HONEYCOMB-149 - Interface-ref contains locator-set name

Change-Id: I5d704f9aa4036328b29562cc289d7da5ddafdcf0
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoFixing sonar issues #1 76/2576/1
Maros Marsalek [Wed, 31 Aug 2016 13:16:38 +0000 (15:16 +0200)]
Fixing sonar issues #1

Change-Id: I4c27d0ad2fd1655db2237ae914361f029093084c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoBump version to 1.16.12-SNAPSHOT 68/2568/2
Maros Marsalek [Wed, 31 Aug 2016 07:56:23 +0000 (09:56 +0200)]
Bump version to 1.16.12-SNAPSHOT

Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoBump jvpp version used to 16.12 73/2573/3
Jan Srnicek [Wed, 31 Aug 2016 12:56:04 +0000 (14:56 +0200)]
Bump jvpp version used to 16.12

Change-Id: Ie776cc9436aea510a1eef10ba6b6c8ed3a8afc08
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-75: Lisp Postman Collection 22/2322/7
Jan Srnicek [Wed, 31 Aug 2016 06:27:07 +0000 (08:27 +0200)]
HONEYCOMB-75: Lisp Postman Collection

Change-Id: Icc483704f8c5e621928f55378cfc6ea3a663bffe
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> x
7 years agoHONEYCOMB-75 - Lisp implemetation 17/1217/43
Jan Srnicek [Wed, 31 Aug 2016 05:46:41 +0000 (07:46 +0200)]
HONEYCOMB-75 - Lisp implemetation

Rebased on final minimal distro

Change-Id: Ib71fc59e62dda4633f4f79c5c7417a4aaf02a177
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoFixing poms 67/2567/1
Maros Marsalek [Wed, 31 Aug 2016 07:57:31 +0000 (09:57 +0200)]
Fixing poms

- Sample parent path
- NSH redundant dependency + parent path

Change-Id: I3f4144be4031e2742f9a29c7a5612fbafbf8d0cf
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoHONEYCOMB-144 - Make dump cache manager thread-save 35/2535/6
Jan Srnicek [Wed, 31 Aug 2016 06:36:24 +0000 (08:36 +0200)]
HONEYCOMB-144 - Make dump cache manager thread-save

Modified to be thread save and generic
to be usable in all plugins
Change-Id: I26c90e8c8aa13c07fa389d86a9784e92e9532bcd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-140 - Honeycomb Plugin Archetype 29/2429/6
Jan Srnicek [Thu, 25 Aug 2016 14:27:23 +0000 (16:27 +0200)]
HONEYCOMB-140 - Honeycomb Plugin Archetype

Change-Id: I6e04fb769e82fb539dbd6a79bb465974796137a4
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
7 years agoHONEYCOMB-139: update postman collection 18/2518/1
Marek Gradzki [Fri, 26 Aug 2016 13:02:28 +0000 (15:02 +0200)]
HONEYCOMB-139: update postman collection

with examples of requests for IETF-ACLs management

Change-Id: Ide6b2d93b34f5877a0189d1e214fb78b02239ac5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>