summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-21HONEYCOMB-202: Honeycomb-parent pomMaros Marsalek10-544/+503
As a replacement for: odlparent-lite + odlparent + bundle-parent + binding-parent + config-parent Change-Id: I68054fe548a627a92978d5aa399f5d4aea6b9703 Signed-off-by: Maros Marsalek <mmarsale@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 Gradzki4-5/+113
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 Gradzki6-6/+6
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 Gradzki3-0/+117
Increases test coverage of v3po plugin to approximately 70% Change-Id: I8833710c3deb1681e9b7f18e25f9bcacba4a6689 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-16HONEYCOMB-194 Raise unit test coverage of transle-impl to 80%Maros Marsalek4-30/+281
Change-Id: I8d032e1a90004ee4bd6ebbae002a8e66a7e85919 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-16HONEYCOMB-194 Raise unit test coverage of cfg-init to 80%Maros Marsalek3-4/+273
Change-Id: Id90c291bb944387b1ffad15b40c08c32c518bb49 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-16HONEYCOMB-194 Raise unit test coverage of translation-util to 80%Maros Marsalek16-15/+1054
Change-Id: I6689f6d1f6a4a1376465783dad2650f5137142d2 Signed-off-by: Maros Marsalek <mmarsale@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-81/+84
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>
2016-09-13HONEYCOMB-118: extend classifer model to support node names.Marek Gradzki31-225/+821
* 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>
2016-09-13HONEYCOMB-211: workaround for issues introduced by VPP-376Marek Gradzki4-12/+14
Fix HC build issues introduced by https://gerrit.fd.io/r/#/c/2623/ Change-Id: I2e55b4c25c2f9ec505282addd4137b2dccf56f93 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13Update lisp postman collection to reflect restconf port changeMarek Gradzki1-27/+27
introduced by 2836 Change-Id: I564b0b5961ca6218f458c8d462ca046af95aba03 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13Update HC postman collection to reflect restconf port changesMarek Gradzki1-77/+77
introduced by 2836 Change-Id: I3957fdd67ba68ca11f84b42a210db1b91b118ed3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13Remove unused logger form NamingContextMarek Gradzki1-5/+1
Change-Id: I612f1c67d2307a293deb4b75a9e373d3a6313dde Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13Bump ports for RESTCONF to avoid ODL conflictsMaros Marsalek1-2/+2
Change-Id: Ibd7df6a3c841d6330c18c9b0a29ac2d85200ac48 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-13HONEYCOMB-194 Raise test coverage for translate-api to 80%Maros Marsalek8-8/+356
Change-Id: I6f055ae926aaf876863adb7eddadde0abefdda91 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-12HONEYCOMB-142 - Subnet validationJan Srnicek7-64/+385
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>
2016-09-12Fix opaqueIndex value initialization in translation code for ietf-acl modeMarek Gradzki1-0/+1
Change-Id: Id01240e7fb7929f1d2d9dfd3984ab806cd60337e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-12Fixed filtering by referenced interface for locatorsJan Srnicek1-6/+14
Change-Id: I471e9b9f2d2ecb0f8e3b3e181118de42247ba7ec Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-09Update POSTMAN collection with v3po-context:disabled-interfaces GETMaros Marsalek1-787/+827
Change-Id: I319f8ce7f71cf963e72da24e722903df6cc62a25 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-09Decrease keepalive timeout to 5sMaros Marsalek1-8/+2
Change-Id: I5d3e49605686fd883f4f32065c72ad8e881ac2f3 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-09HONEYCOMB-205 Fix service definition for cetnos7Maros Marsalek1-2/+1
Running with Type=forking fails on some Centos machines. Change-Id: If0c902e3afb8c79e790b772fbdd91845baeac1dd Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-09HONEYCOMB-204 exclude deleted interfaces from operational dataMaros Marsalek13-109/+488
Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08HONEYCOMB-197 Enable jacoco for minimal distributionsMaros Marsalek2-2/+127
Change-Id: I12bd942d21b8a3952546fdaccfb4ded997a98fc7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08HONEYCOMB-197 Minimal distribution positive testMaros Marsalek7-0/+376
Change-Id: I2191472f10b39a026ccde2494a7921655c57c314 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08Dependency management for skinny-logbackMarek Gradzki4-8/+7
Change-Id: If12c6043175f43918f098f6102dd019715ed6104 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-08HONEYCOMB-78: enable HC restartMarek Gradzki7-14/+133
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>
2016-09-07HONEYCOMB-194 Increase data-impl coverage to 87%Maros Marsalek7-49/+238
Change-Id: I1bd6d6ad2e8d35322346aa658e74413ce2d889f0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07HONEYCOMB-200 sonar.skip per child moduleMaros Marsalek5-0/+15
Change-Id: I73ba7db54f029f4061fe3e5af148db52c686e7fd Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07HONEYCOMB-120 Remove sonar.skip from commonMaros Marsalek1-4/+0
Change-Id: Ic33ce2c2f71e3d7bc6f6f0e58c084f5991df9135 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07HONEYCOMB-200 Exclude samples, tools and common from sonarMaros Marsalek3-1/+15
Change-Id: I42d014b48f2315c8c99cee988aa29940a837deb0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek132-706/+536
- 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>
2016-09-07Map resolver filtering fixedJan Srnicek1-7/+11
Change-Id: I8876627d4d5e1cb9bf2024cbaba55335724049d3 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>