summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10HONEYCOMB-252 - Reduced scope of dump executorsJan Srnicek31-944/+141
Change-Id: Ia426f855b13323369bcc7ec2cde0861421950476 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-07HONEYCOMB-154: update revison of models that changed since 16.09Marek Gradzki194-1068/+1083
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>
2016-10-07Pbb SupportJan Srnicek8-53/+685
models/implementation refactored to work as rewrite on interfaces Change-Id: I8ce42905ce8f183c354e718d02291aea2435110d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-06HONEYCOMB-236 - Unified read/write exceptionsJan Srnicek86-1799/+1396
Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-05HONEYCOMB-238: provide interface mode as a part of ietf-acl configurationMarek Gradzki12-90/+246
- 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>
2016-10-05HONEYCOMB-138 - Lisp L2 SupportJan Srnicek83-858/+4071
Change-Id: Idff4776a64a88be2e0a45ab1927978e40876ea92 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-05HONEYCOMB-176 : Implemented delete for RoutingJan Srnicek2-11/+40
Change-Id: Idbf139773441e72e47c49518235b03a71e398acf Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-05Revert "Disable NSH plugin due to CI issues"Marek Gradzki2-6/+7
This reverts commit 2dcc14e9c3c7779200e86fc7eb2fce4a0ef59e47. NSH_SFC master is no longer broken. Change-Id: Ib10b4bfd47efbb9f2393158fb3a9365ec4609793 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-30HONEYCOMB-234: empty implementation of egress acls for ietf modelMarek Gradzki4-7/+158
Change-Id: I6152975b31a9bf764fa9d8a4210e16e61e98d61b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-30HONEYCOMB-234: update YANG model to support egress ACLsMarek Gradzki38-274/+386
- 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>
2016-09-30HONEYCOMB-230 : Refactor of Adjacencies api useJan Srnicek2-9/+10
Change-Id: Ia83a5792c0e86fd5054d713038c2ed0a1c44a34e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-29Disable NSH plugin due to CI issuesMarek Gradzki2-7/+6
Will be reverted after merging https://gerrit.fd.io/r/#/c/3181/ Change-Id: Iab9e7d8a1e79cd96f84842071c62148aa9748b6f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-28VPP-378: update jvpp package namesMarek Gradzki202-606/+606
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>
2016-09-28HONEYCOMB-210 - DumpEmptyCheck removedJan Srnicek22-610/+143
Change-Id: I95ea94c3a1a581753f7eb667af7aacde832c21fd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28Fixed packages for NamingContextJan Srnicek3-4/+5
Change-Id: I017c68924e729ec5f7a4bff4d112f082f11d34cb Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28Lisp test coverage increased to ~80%Jan Srnicek25-1/+1787
Change-Id: Id4e9072ebb8d66e532e30c1dc3bb6036bfdc9012 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-27HONEYCOMB-180: mark read/write of ipv4 leaves unsupportedMarek Gradzki3-19/+8
Change-Id: Ifa774054646a59e39e4cc017df3be1e9e64233de Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27HONEYCOMB-206: change package name to match groupIdMarek Gradzki184-369/+362
Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27Exclude test utilities from sonar coverage statisticsMarek Gradzki1-0/+4
Change-Id: Icb6ac7652c739efa3a4bf90f0ae99e4225035c69 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27HONEYCOMB-195: increase v3po coverage over 80%. Part IIMarek Gradzki14-49/+688
Change-Id: Ia28078cad65c1a45754f1d440c3f6413836aa60d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek47-159/+212
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>
2016-09-26HONEYCOMB-195: increase v3po coverage over 80%. WIPMarek Gradzki12-77/+951
Change-Id: Ibe14d7203bdaf53b925e4d16b598942b62b65bae Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-116: generic merge test for reader customizersMarek Gradzki16-128/+53
Change-Id: I5c2505e6b3bcf622312f8dc324912507f6519a5b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-195: increase coverage for ietf-acl customizers over 80%Marek Gradzki6-2/+415
Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-116: utility for stubbing MappingContext methodsMarek Gradzki35-303/+279
- 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>
2016-09-23HONEYCOMB-145 - Utility Class RefactoringJan Srnicek124-2126/+2370
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>
2016-09-23HONEYCOMB-116: utility for stubbing jvpp methodsMarek Gradzki44-1037/+438
- 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>
2016-09-22HONEYCOMB-116: base classes for testing customizersMarek Gradzki42-551/+352
- 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>
2016-09-22Honeycomb-185: remove argumentCaptor from BDCustomizer and IfcCustomizerTestsMarek Gradzki2-37/+16
Change-Id: Ic1f541c3c2d90c3ec4074bfe5c5a73d3cc6c4a49 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-22Remove ReflectionToStringBuilder.toString invocation on jvpp DTOsMarek Gradzki8-42/+15
VPP-413 introduced toString methods for all DTOs Change-Id: Ib81acca4867c49198d7d2ca550bf3a920a0d4f1a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-21Updated Postman Collection for LispJan Srnicek1-116/+108
Change-Id: I0c5a5d8519476295501047cd392cbb65729d941d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-21Fixed reading of operational state of lisp Jan Srnicek7-57/+118
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>
2016-09-20HONEYCOMB-116: refactor v3po tests to use CTU.mockMappingMarek Gradzki26-429/+264
Change-Id: I72d3a545d66e1280e34beff72adcdf876dae86fd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-20HONEYCOMB-222 Fix Interface L2 writer orderMaros Marsalek2-3/+3
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>
2016-09-20Fix ietf-acl deleteMarek Gradzki1-2/+19
Cancels classify tables assignment for interface before classify table removal. Change-Id: I8f1ec1f43dac89f64af306f02786166f713743f8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-20HONEYCOMB-215 Add suggests dependency from hc -> vpp_nsg_pluginMaros Marsalek1-0/+1
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)
2016-09-20Update postman calls:Maros Marsalek1-808/+832
- missing auth - resetting "Add ACL to ifc" requests fixed - added ACL context read Change-Id: I67850be6bc2e61b3819733cd678c321cfe2bc75e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-19Fix path for VppCommonModule testMarek Gradzki1-0/+0
Change-Id: Ifad59d17997a3f4616982497b42c77c43def59b9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-19Unit test for VppCommonModuleMarek Gradzki3-0/+80
Change-Id: I76ffd960b67f4d1e8240f0d73f5eea2e84d143e9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-19HONEYCOMB-196: unit test for LispModuleMarek Gradzki3-5/+106
Increases test coverage of lisp plugin to approximately 43%. Change-Id: I2d60eae05dab9c4277f1b601616b9be4262de7eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-19Fix project names to match artifactIdMarek Gradzki3-3/+3
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>
2016-09-19HONEYCOMB-195: unit test for V3poModule.javaMarek Gradzki2-0/+111
Increases test coverage of v3po plugin to approximately 70% Change-Id: I8833710c3deb1681e9b7f18e25f9bcacba4a6689 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-14Fix ClassifySession read NPE when NodeContext is missingMarek Gradzki2-1/+14
Change-Id: Ieca5ad125df5f26f82351871a0238e65be3e300c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-14Dump cache management moved to translate-utilsJan Srnicek28-481/+59
Removed all references to vpp to be usable in any plugin Change-Id: Id63b06d643f4004e67b2502fc02e58cf3d238b3b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-14HONEYCOMB-46: Add NSH_SFC Readme docHongjun Ni1-0/+14
Change-Id: Id1f8f17d025ebba07db0d138f881384306046487 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 2d6efba64a5050cb8349c874b5e4d7dadacb28e0)
2016-09-14Add NSH_SFC Postman CollectionHongjun Ni1-0/+337
Change-Id: I67acd9d5ee9581a8365e4ef46b0c441bbdbd9d4b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-09-14Allow HC user to enable/disable NSH moduleMarek Gradzki3-14/+35
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>
2016-09-14HONEYCOMB-46: Add NSH_SFC Feature in HoneycombHongjun Ni18-60/+1307
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>
2016-09-13 HONEYCOMB-211 - Fixed locator set filteringJan Srnicek3-47/+8
Change-Id: Ia8827040012ea03262727ff5909a68dac9dcb72a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-13HONEYCOMB-210: decrease log level to DEBUG for empty dump msgMarek Gradzki1-2/+2
Empty dump message is normal state, LOG.warn unnecessarily pollutes HC logs. Change-Id: I9a7c3a0b2d4317d3bc04e91183afab341b779d15 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>