summaryrefslogtreecommitdiffstats
path: root/it
AgeCommit message (Collapse)AuthorFilesLines
2018-08-13jvpp-benchmark: ignore unclosed resources reported by SonarMarek Gradzki2-0/+6
Sonar reports unclosed resources, but jvpp connections are closed in JVppBenchmark.tearDown. It is only a benchmark, so if JMH would crash and not call tearDown, then we don't really care. Change-Id: I60ae60c78610b8c07076c7d2a94917e8316d03dd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-10Set mask/match length when using VPP's classfierMarek Gradzki1-1/+1
Adapts hc2vpp to recent VPP api change: https://gerrit.fd.io/r/#/c/13007/ Setting length field is currently mandatory for variable length arrays (VPP-199). Change-Id: I7ce66076d8a29d1ff5dfe5592e651d133e4072aa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-20Bump jvpp version to 18.10-SNAPSHOTMarek Gradzki2-2/+2
Also sets version of VPP package dependencies to 18.07. Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-20Bump hc2vpp version to 1.18.10-SNAPSHOTMarek Gradzki4-7/+7
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-29jvpp-benchmark: improve exception handlingMarek Gradzki3-9/+6
Fixes several issues found by Sonar. Change-Id: I7ab017f9d89221e8eff4b2438b7669df608b5587 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-13api-coverage: include JVppGtpu and JVppPppoeMarek Gradzki2-9/+23
Change-Id: I44151a33aba3fb9ad877f9d4eb6c424673a4632a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-05HC2VPP-336: reenable NSH pluginMarek Gradzki1-0/+6
This patch reverts https://gerrit.fd.io/r/#/c/12822/ and bumps jvpp nsh_sfc dependency to 18.07-SNAPSHOT. Change-Id: Idce70d39c9c273b7db3c771430ef5af58417b43b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-31HC2VPP-336: disable NSH pluginMarek Gradzki1-6/+0
nsh_sfc 18.07-SNAPSHOT artifacts are missing in the https://nexus.fd.io/content/repositories/fd.io.snapshot/io/fd/nsh_sfc/nsh-sfc/ repo, which causes hc2vpp build failures. As a workaround nsh plugin was disabled. Change-Id: If65f783f85f9b491f7caea63a51c70e4b4ad39c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-29jvpp-benchmark: introduce abstract JVppBenchmarkMarek Gradzki4-161/+170
Change-Id: I957edd6813b1be43232845d9bf6a4f13ed01ecfb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-29jvpp-benchmark: include project version in the shaded artifact nameMarek Gradzki3-16/+15
Renames shaded jar name from jvpp-benchmark-exec.jar to jvpp-benchmark-1.18.07-SNAPSHOT-executable.jar Change-Id: I593946dde3a6fc1717644e7315110aa94553d91d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-29jvpp-benchmark: measure classifyAddDelTableMarek Gradzki9-22/+308
Synchronously creates classify tables. By default 20x2s warmup and 100x2s measurement iterations are performed. VPP is restarted after each iteration. Each invocation of classifyAddDelTable uses tables from precomputed set of size tableSetSize. Tables from the set are used in round-robin fashion. Run with: sudo java -jar ./target/jvpp-benchmark-exec.jar \ ClassifyTableCreateBenchmark To specify aclSetSize (default=100), use: sudo java -jar ./target/jvpp-benchmark-exec.jar \ ClassifyTableCreateBenchmark -p tableSetSize=1000 To see more options, use java -jar ./target/jvpp-benchmark-exec.jar -h Change-Id: I387d879bc99dce45f93d66e8a99f7206f067b443 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-26jvpp-benchmark: add option to select interface modeMarek Gradzki4-11/+82
Changes: - use loopback interface instead of local0, - if L3 (default) mode is selected, assing IP to the loop0 interface, - if L2 mode is selected, create bridge domain and assing loop0 the BD. To test interface in L2 mode, use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p mode=L2 Change-Id: I8450d42fe0d164c6dbedf1dacf1444a25d9932b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 6e5446c9d64df7f2cbde857d276e8685c9175089)
2018-05-24jvpp-benchmark: add script for running various test casesMarek Gradzki1-0/+35
Change-Id: I689adb9e139ff22a48cf82e27e8501d542edef72 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-24jvpp-benchmark: fix IP generationMarek Gradzki4-15/+86
Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-24JVpp JMH benchmarkMarek Gradzki6-0/+432
Creates ACL of size aclSize using acl_add_replace, then assigns it to local0 using acl_interface_set_acl_list. Then ACL is updated synchronously using acl_add_replace. By default 20x2s warmup and 100x2s measurment iterations are performed. VPP is restarted after each iteration. Each invocation of acl_add_replace uses ACL from precomputed set of ACLs of size aclSetSize. ACLs from the set are used in round-robin fashion. Compile: cd $HC2VPP_ROOT/it/jvpp-benchmark mvn clean install Run with: sudo java -jar ./target/jvpp-benchmark-exec.jar To specify aclSize (default=100), use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSize=1000 To specify aclSetSize (default=100), use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSetSize=1000 To see more options, use java -jar ./target/jvpp-benchmark-exec.jar -h Change-Id: I43691ba891940a1c341f8e9893c8598c811bc077 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump jvpp version to 18.07-SNAPSHOTMarek Gradzki1-1/+1
Also sets version of VPP package dependencies to 18.07. Change-Id: I87d5f538891d946b3a803afa987ab39c609f1ae1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump Hc2vpp version to 1.18.07-SNAPSHOTMarek Gradzki3-5/+5
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-11Bump jvpp version to 18.04-SNAPSHOTMarek Gradzki1-1/+1
Also sets version of vpp package dependencies to 18.04. Change-Id: I0b3faf6418ce9055ad05da41ba4fb022992f3784 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-10Bump hc2vpp version to 1.18.04-SNAPSHOTMarek Gradzki3-5/+5
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump jvpp version to 18.01-SNAPSHOTMarek Gradzki1-1/+1
Also sets version of vpp package dependencies to 18.01 Change-Id: I9d84915e206cc16c87479f94d4b8738899479cea Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.18.01-SNAPSHOTMarek Gradzki3-5/+5
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vppMarek Gradzki2-3/+3
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-04Adapt hc2vpp to ODL Carbon bump in honeycombMarek Gradzki2-1/+9
Depends on https://gerrit.fd.io/r/#/c/6924/ Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07Bump jvpp version to 17.10-SNAPSHOTMarek Gradzki1-1/+1
Also sets version of vpp package dependencies to 17.10 Change-Id: I4e139ff2d485933c0de3339db50714a5c72e0a9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki3-5/+5
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-10Adds integration test that measures VPP API coverageMarek Gradzki4-0/+185
Run using: mvn test -pl it/api-coverage -Papi-coverage Change-Id: I6d708ca867a83e49522947b571304c4666bf65b5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-02Add missing <name> in it test pomsMarek Gradzki2-0/+2
Change-Id: I8b91234bd491694ff1e605914626c50cf1bd668e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki2-3/+3
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-28HONEYCOMB-298 - LeafRefContext creation testJan Srnicek5-0/+294
Verifies if all models in hc2vpp are compatible with LeafRefContext(runtime check of leaf-ref references) Change-Id: Id589fb3dc167cd147c439a2598a9818c0f596c3b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>