summaryrefslogtreecommitdiffstats
path: root/v3po
AgeCommit message (Collapse)AuthorFilesLines
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-28VPP-378: update jvpp package namesMarek Gradzki123-421/+421
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 Srnicek3-36/+15
Change-Id: I95ea94c3a1a581753f7eb667af7aacde832c21fd 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 Gradzki115-254/+254
Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27HONEYCOMB-195: increase v3po coverage over 80%. Part IIMarek Gradzki13-49/+643
Change-Id: Ia28078cad65c1a45754f1d440c3f6413836aa60d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek9-110/+115
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 Gradzki14-117/+19
Change-Id: I5c2505e6b3bcf622312f8dc324912507f6519a5b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-195: increase coverage for ietf-acl customizers over 80%Marek Gradzki4-0/+413
Change-Id: I6a56402e9309edcd84aba46689bbcb93d40e20f8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-116: utility for stubbing MappingContext methodsMarek Gradzki26-231/+113
- 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 Srnicek69-998/+1086
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 Gradzki33-862/+267
- 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 Gradzki34-557/+169
- 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-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-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-19HONEYCOMB-196: unit test for LispModuleMarek Gradzki1-5/+0
Increases test coverage of lisp plugin to approximately 43%. Change-Id: I2d60eae05dab9c4277f1b601616b9be4262de7eb 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-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-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-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-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-204 exclude deleted interfaces from operational dataMaros Marsalek12-109/+486
Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08Dependency management for skinny-logbackMarek Gradzki1-1/+0
Change-Id: If12c6043175f43918f098f6102dd019715ed6104 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-08HONEYCOMB-78: enable HC restartMarek Gradzki1-8/+6
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-07Cleanup TODOs and FIXMEsMaros Marsalek48-172/+118
- 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-06HONEYCOMB-153: fix acls for sub-interfacesMarek Gradzki16-90/+338
Change-Id: Ia75c2ebd62fb371fd60f860fe12761926f443b98 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-05Fix ReaderFactory: remove AutoClosable from listMarek Gradzki3-3/+3
of implemented interfaces. Reader factories do not need to be AutoClosable. Change-Id: I779e87eb0b03750e264df52e14eee58467ca799a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-05Fix Writer Factory: remove AutoClosable from listMarek Gradzki3-3/+3
of implemented interfaces. WriterFactories do not need to be AutoClosable. Change-Id: I1947489b7eac2ccf4c34b3212c93ed76922a595f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-31Fixing sonar issues #1Maros Marsalek1-18/+12
Change-Id: I4c27d0ad2fd1655db2237ae914361f029093084c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek3-5/+5
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Bump jvpp version used to 16.12Jan Srnicek1-1/+1
Change-Id: Ie776cc9436aea510a1eef10ba6b6c8ed3a8afc08 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-08-26HONEYCOMB-139: update postman collectionMarek Gradzki1-0/+219
with examples of requests for IETF-ACLs management Change-Id: Ide6b2d93b34f5877a0189d1e214fb78b02239ac5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-26HONEYCOMB-139: ietf-acl translation layer. IP6 L3 ACL supportMarek Gradzki12-150/+675
Other changes: - documentation update - eth + ip4 writer rafactoring + tests Change-Id: I1ac6a4e99dd4f12c870cbd749af6b98018294dd4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-26HONEYCOMB-139: ietf-acl translation layer. IP4 L3 ACL supportMarek Gradzki3-0/+310
Change-Id: I5e5af0d7609aa594790b35a387ec8701f1f6b6df Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-26HONEYCOMB-139: ietf-acl translation layer. L2 ACL supportMarek Gradzki12-5/+923
Change-Id: I2b7de991e8d49c20fce66a5f4b193d0060feae56 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-24HONEYCOMB-143: fix iacl-list referenceMarek Gradzki1-2/+6
Change-Id: I8ce52e35a41f0a24e3c94eba5a02b486ffa3fdf5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-19HONEYCOMB-117: add support for jvpp pluginsMarek Gradzki99-445/+440
Change-Id: I9f1dd5562b13a37392ce92b170a466c48d61bcc5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-19HONEYCOMB-18 Fixing comments from reviewsMaros Marsalek4-40/+9
Change-Id: Ic0565d601d13b5f50ec3c714a43600e32a7e456b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-22: Remove karaf based distribution and wiringMaros Marsalek29-1329/+4
Change-Id: I48aafb726de53b6ad3fb9b97c202f712dfa4a540 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-21 Vpp-integration minimal distributionMaros Marsalek23-512/+812
Change-Id: I1a44028ae38c3ab70aa3a7b173cd0c81c820378a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-16Proxy ARP reader/writerWojciech Dec7-665/+1004
Change-Id: Iabb947e89cbb906e78e4d87bc99fb5e8d09e495c Signed-off-by: Wojciech Dec <wdec@cisco.com>
2016-08-15HONEYCOMB-139: yang model for ietf-acl draft revision 8Marek Gradzki4-0/+428
Change-Id: I9250e07f3811036f483959aa841897380bcb7669 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>