vswitchperf.git
7 years agoreport: Update paths after doc reorganization 57/40257/1
Martin Klozik [Fri, 25 Aug 2017 14:13:13 +0000 (15:13 +0100)]
report: Update paths after doc reorganization

Directory with report files was moved to different
location. Thus CI build script must be updated too.

Change-Id: Id5b4c8b2740c01c821c25f8bfdaeb25352410e76
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "build: Rename cloned repositories and remove cuse"
Martin Klozik [Fri, 25 Aug 2017 13:46:32 +0000 (13:46 +0000)]
Merge "build: Rename cloned repositories and remove cuse"

7 years agobuild: Rename cloned repositories and remove cuse 35/40235/1
Cian Ferriter [Fri, 25 Aug 2017 07:24:38 +0000 (08:24 +0100)]
build: Rename cloned repositories and remove cuse

VSPERF expects folders to be named a certain way, but this may not be
the case if another repository is specified via the package-list.mk
file. One example of this is the DPDK stable repo which gets cloned to
the "dpdk-stable" directory unless otherwise specified. Thus Makefiles
were updated to enforce expected folder names.

Unused configuration related to vHostCuse support was removed.

Change-Id: Ifa48898d51e96c72e7d740f43cb635d729b2a796
Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agogitignore: Ignore non vsperf files 21/40221/1
Cian Ferriter [Fri, 25 Aug 2017 07:11:34 +0000 (08:11 +0100)]
gitignore: Ignore non vsperf files

.gitignore was updated to ignore following files:
* VPP project directory
* l2fwd binary files
* tags

JIRA: VSPERF-529

Change-Id: Idc10eae7b14c72a863f3473e02cbdc7c47d31b41
Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "opnfvresultdb: Update data reported to result DB"
Martin Klozik [Thu, 24 Aug 2017 09:01:41 +0000 (09:01 +0000)]
Merge "opnfvresultdb: Update data reported to result DB"

7 years agoopnfvresultdb: Update data reported to result DB 05/40005/1
Martin Klozik [Wed, 23 Aug 2017 13:31:31 +0000 (14:31 +0100)]
opnfvresultdb: Update data reported to result DB

Data reported to result DB were updated to comply
with recent API version and requirements.

JIRA: VSPERF-488

Change-Id: I6ab02ea54d99099e88b0d5ab6e9745ee8297f544
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Mars Toktonaliev <mars.toktonaliev@nokia.com>
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMoved devguide for consitency with docs dir structure for all testing projects 17/39917/1
Trevor Cooper [Tue, 22 Aug 2017 22:29:08 +0000 (15:29 -0700)]
Moved devguide for consitency with docs dir structure for all testing projects
Updated RFC description based on IETF approval of Internet Draft

Change-Id: Ifd37da946866f350b8968bbbe8c5a3f5ce762cfa
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "driverctl: Add driverctl binding tool"
Martin Klozik [Fri, 18 Aug 2017 08:11:13 +0000 (08:11 +0000)]
Merge "driverctl: Add driverctl binding tool"

7 years agodriverctl: Add driverctl binding tool 95/38995/4
Christian Trautman [Wed, 9 Aug 2017 19:11:15 +0000 (15:11 -0400)]
driverctl: Add driverctl binding tool

Adds driverctl as a binding tool option for dpdk devices. JIRA
ticket contains test results to verify it works when using
dpdk-devbind or driverctl.

JIRA: VSPERF-525

Change-Id: Ia7a6e43a4b6fb3ba21f5d87d601f4ea4b95b7dab
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "xena2544_verify_fix: Fix Xena verify options"
Martin Klozik [Mon, 14 Aug 2017 14:36:42 +0000 (14:36 +0000)]
Merge "xena2544_verify_fix: Fix Xena verify options"

7 years agoMerge "tests: L3, L4 and VxLAN tests for OVS & VPP"
Martin Klozik [Mon, 14 Aug 2017 14:27:06 +0000 (14:27 +0000)]
Merge "tests: L3, L4 and VxLAN tests for OVS & VPP"

7 years agoxena2544_verify_fix: Fix Xena verify options 27/38927/4
Christian Trautman [Tue, 8 Aug 2017 18:09:53 +0000 (14:09 -0400)]
xena2544_verify_fix: Fix Xena verify options

Fixes issue when running multiple packets sizes and using the Xena
verify option. Original values are restored to settings for each
new packet size or test case.

Also fixes a minor issue where if the test failed, the verify would
run regardless.

JIRA: VSPERF-515

Change-Id: I6b6ce5160b66e7ed4a3847711c4f05529ae8ca54
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agotests: L3, L4 and VxLAN tests for OVS & VPP 13/37513/4
Martin Klozik [Fri, 2 Jun 2017 12:56:57 +0000 (13:56 +0100)]
tests: L3, L4 and VxLAN tests for OVS & VPP

A set of tests was introduced with focus on L3, L4 and VxLAN performance
of OVS and VPP. New testcases were created for phy2phy network scenario.
In case of PVP and PVVP, only OVS testcases are available.

Notes:
* two sets of OVS P2P testcases were created, one creates unique flow
  for each IP address involved in the test (performance sensitive);
  Second set inserts just one flow with large network mask (tests with
  _mask suffix).
* three different types of VPP P2P L3 testcases were created to
  demonstrate performance impact of multi ARP entries or IP routes.
* VPP multi ARP record based testcases use a set of "workarounds"
  to load a large number of ARP entries. It is not possible to use
  "set ip arp count" syntax, as it doesn't work well for large count
  values (e.g. 60K)
* OVS VxLAN testcases utilize existing OP2P deployment scenario and thus
  it can be used also with GRE and GENEVE tunnel types. Tunnel type
  to be used is defined by test configuration option "Tunnel Type".

JIRA: VSPERF-518

Change-Id: I65adad976f12d8625d918a1996eb42693c511ee1
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
Reviewed-by: Cian Ferriter <cian.ferriter@intel.com>
7 years agoMerge "ci: Fix path to CI report"
Martin Klozik [Thu, 27 Jul 2017 06:30:50 +0000 (06:30 +0000)]
Merge "ci: Fix path to CI report"

7 years agodpdk: Support dpdk vhost-user client mode 05/37905/1
Martin Klozik [Thu, 20 Jul 2017 14:49:16 +0000 (15:49 +0100)]
dpdk: Support dpdk vhost-user client mode

Support of vhost-user client mode has been added for both
OVS and VPP. VSPERF configures vhost-user server mode
in vswitches by default for backward compatibility.
Support of vhost-user server mode is deprecated
in OVS and it can be removed in future releases. Once it will
happen, we have to change vsperf default behavior to
usage of vhost-user client ports at vswitch side.

This patch also fixes processing of boolean configuration
parameters passed via --test-params option. In the past
it was not possible to set boolean value to False through
--test-params option.

JIRA: VSPERF-517

Change-Id: I65e341f820edd6c720043a4acc74c5140b05db18
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoci: Fix path to CI report 49/37749/1
Martin Klozik [Wed, 19 Jul 2017 07:04:00 +0000 (08:04 +0100)]
ci: Fix path to CI report

Index file of CI report was restored and paths to it updated
to reflect new documentation structure.

JIRA: VSPERF-514

Change-Id: Id92eb2003a9e6737652313f7ecd03d48a0bfd2ce
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoci: Use log scale for B2B graphs 93/36893/1
Martin Klozik [Tue, 4 Jul 2017 07:18:46 +0000 (08:18 +0100)]
ci: Use log scale for B2B graphs

Graph configuration for B2B was modified to show correct y axis
tittle and to use log scale.

Change-Id: I7ac75ca803f93be28d89a4504e046b1119d341e1
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "ovs: Update OVS to use DPDK 17.02"
Martin Klozik [Mon, 3 Jul 2017 06:18:31 +0000 (06:18 +0000)]
Merge "ovs: Update OVS to use DPDK 17.02"

7 years agoovs: Update OVS to use DPDK 17.02 23/36423/1
Martin Klozik [Wed, 21 Jun 2017 08:54:15 +0000 (09:54 +0100)]
ovs: Update OVS to use DPDK 17.02

Versions of VSPERF tools were updated to use OVS
with DPDK 17.02 support by default. Currently used
VPP version uses DPDK 17.02 already.
VSPERF was updated to support new path to the dpdk
devbind tool.

JIRA: VSPERF-516

Change-Id: I004d0531553c974d604635d50f601cd4326f2f7d
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agocleanup: remove fuel plugin since fuel@opnfv uses mcp 93/36393/1
Guo Ruijing [Thu, 22 Jun 2017 15:42:54 +0000 (08:42 -0700)]
cleanup: remove fuel plugin since fuel@opnfv uses mcp

Change-Id: Ibe2028b01c38fa545e72a00a7ef47103d1112b82
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoci: Fix of SRIOV graphs generation 85/36085/1
Martin Klozik [Wed, 14 Jun 2017 05:57:07 +0000 (06:57 +0100)]
ci: Fix of SRIOV graphs generation

Wrong test name was used for SRIOV.

Change-Id: Ie07a3bcd162b228d9d6843205a9abf237026f428
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoci: Fix of CI graphs generation 29/36029/1
Martin Klozik [Tue, 13 Jun 2017 06:27:07 +0000 (07:27 +0100)]
ci: Fix of CI graphs generation

Parameters must be quoted, otherwise list of testcases is split
among many parameters.

Change-Id: I16ca4feb7e8d30bbbed60fd259e3bd3155f382b3
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoci: Configure graphical output 03/36003/1
Martin Klozik [Mon, 12 Jun 2017 09:35:43 +0000 (10:35 +0100)]
ci: Configure graphical output

Modify configuration of graphs generated from CI results.

Change-Id: Id1a30e0c61419ff131fb4f41138af2e62f822b9c
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoMerge "tests: Improvement of step driven testcases"
Martin Klozik [Fri, 9 Jun 2017 07:30:44 +0000 (07:30 +0000)]
Merge "tests: Improvement of step driven testcases"

7 years agoMerge "ci: Fix VPP back2back TCs"
Martin Klozik [Wed, 7 Jun 2017 16:41:18 +0000 (16:41 +0000)]
Merge "ci: Fix VPP back2back TCs"

7 years agoci: Plot graphs from CI results 37/35837/1
Martin Klozik [Tue, 6 Jun 2017 14:02:07 +0000 (15:02 +0100)]
ci: Plot graphs from CI results

CI scripts were enhanced to plot graphs from last
results and push them into artifactory. Graphs
will be updated by every CI run and can be included
e.g. in VSPERF results WIKI page.

Change-Id: Iada4acd7cc2c3dc73b9f30a429fe2b53020c4d3b
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoci: Fix VPP back2back TCs 89/35789/1
Martin Klozik [Mon, 5 Jun 2017 14:49:54 +0000 (15:49 +0100)]
ci: Fix VPP back2back TCs

There was a generic issue with restoration of original environment
after execution of testcase. Thus in case that multiple tests were
executed, their settings could be corrupted. This issue was detected
after VPP testcases were added into VSPERF DAILY CI job.

There were two issues:

* setttings.load_from_dict() method was used to restore original
  configuration values; However this method updates dict content
  with supplied values. If TC has introduced new dict item,
  then it was not removed from settings after TC execution
  and modified settings was applied also for next test(s).
* test configuration passed to testcase constructor is used
  for initialization of TC members, which are later updated;
  As python does shallow copy on dict members by default,
  modification of such testcase members led to corruption
  of configuration of other testcases. Thus deepcopy of testcase
  configuration was introduced into vsperf constructor to
  avoid TC configuration corruption.

JIRA: VSPERF-511

Change-Id: I45fb49d48743015353652de12db4692333043733
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoixia: Fix IXIA in trafficgen mode 43/35743/1
Martin Klozik [Fri, 2 Jun 2017 13:56:43 +0000 (14:56 +0100)]
ixia: Fix IXIA in trafficgen mode

There are two IXIA wrappers in VSPERF - IxNET and Ixia. It has
been found that legacy Ixia implementation is no longer working
in trafficgen mode. This issues has been fixed.

JIRA: VSPERF-513

Change-Id: Ief1db71f688a19c5b41508617ccbc73024a02c48
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agotests: Improvement of step driven testcases 15/35715/2
Martin Klozik [Thu, 18 May 2017 09:18:38 +0000 (10:18 +0100)]
tests: Improvement of step driven testcases

A set of improvements was introduced to enhance step driven
testcases capabilities.

Details:
* delay among test steps is configurable by TEST_STEP_DELAY
  parameter
* step driven tool function exec was renamed to exec_shell
* new step driven tool function exec_python was introduced to execute
  a python code
* new step driven object sleep was introduced to pause test execution
  for defined number of seconds.
* fixed bug in settings.validate_getValue() to correctly validate
  access of parameters modified by TEST_PARAMS
* new #PARAM() macro was introduced to allow references among
  configuration parameters
* multistream support has been added into ixnetrfc2544v2.tcl,
  which is used for tunneling protocols test (op2p deployment)
* fixed bug in op2p deployment to list interfaces and flows
  from both bridges involved in the test
* test report updated to state exact rfcxxxx type of traffic
  type, e.g. rfc2544_continuous
* test report of step driven testcases was updated to contain
  measured values from traffic generator in CSV report
* method for ovs flow comparison was modified to normalize
  IPv4 CIDR network addr (e.g. 10.0.0.5/8 => 10.0.0.0/8)

JIRA: VSPERF-512

Change-Id: Ib4f38dcdfbf3820dd766b25520da0ad0c81f3293
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
Reviewed-by: Ciara Loftus <ciara.loftus@intel.com>
7 years agoMerge "Qemu: Mechanism to pass extra qemu cpu features and pin vCPU threads"
Martin Klozik [Wed, 31 May 2017 13:04:31 +0000 (13:04 +0000)]
Merge "Qemu: Mechanism to pass extra qemu cpu features and pin vCPU threads"

7 years agoQemu: Mechanism to pass extra qemu cpu features and pin vCPU threads 39/35339/7
kalyanreddy [Thu, 25 May 2017 09:31:40 +0000 (15:01 +0530)]
Qemu: Mechanism to pass extra qemu cpu features and pin vCPU threads

JIRA: VSPERF-510

This patch is used to implement the mechanism to pass extra qemu
cpu options required to achieve better results/performance. Also
used to implement a mechanism to pin the vCPU threads to another
pCPU core which helps in reducing the noise from housekeeping
thread and packet loss.

Change-Id: Ic40fd47d7c4f5556f7e240c6ca671a0535d06ece
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agoxena_cont_bug_fix: Fix duration issue 63/35363/1
Christian Trautman [Thu, 25 May 2017 14:43:34 +0000 (10:43 -0400)]
xena_cont_bug_fix: Fix duration issue

Port duration is in microseconds. I broke this with a previous
commit.

Change-Id: Id2770149355f40107ab8ee0523482b5867e0e72a
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agovpp_doc_fix: Modify VPP documentation to be current 95/34995/1
Christian Trautman [Thu, 18 May 2017 17:40:08 +0000 (13:40 -0400)]
vpp_doc_fix: Modify VPP documentation to be current

Update VPP installation documentation and add note for issue
seen with some installs.

Change-Id: Ib1a2bb5f7b6bb07ddff2ea5c7d2ca9f9100250dd
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "xena_pairs: Add pairs topology for 2544 testing"
Martin Klozik [Tue, 16 May 2017 07:23:02 +0000 (07:23 +0000)]
Merge "xena_pairs: Add pairs topology for 2544 testing"

7 years agoxena_pairs: Add pairs topology for 2544 testing 77/33977/4
Christian Trautman [Thu, 27 Apr 2017 20:08:49 +0000 (16:08 -0400)]
xena_pairs: Add pairs topology for 2544 testing

Add xena pairs topology and port removal options for JSON
files with RFC2544 testing.  Refactored JSON code for
better expansion later.

Resolved pathing issues related to previous patch allowing
for execution of VSPerf from any directory.

JIRA: VSPERF-502

Change-Id: Ida60c1223ae0f45f8879351770ab7fdce859b59b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoci: Update list of VPP TCs in daily job 79/34679/1
Martin Klozik [Fri, 12 May 2017 14:24:21 +0000 (15:24 +0100)]
ci: Update list of VPP TCs in daily job

JIRA: VSPERF-509

Change-Id: I03bfc5a2c8ff69e226464d307563e117b7f3318e
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoci: Add VPP test execution into CI daily job 73/34673/1
Martin Klozik [Fri, 12 May 2017 13:56:54 +0000 (14:56 +0100)]
ci: Add VPP test execution into CI daily job

Basic set of VPP performance tests was added into
OPNFV CI daily job.

JIRA: VSPERF-509

Change-Id: I9cd6086a958d67dd0e395f962111e6d2b44bf86c
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agobuild: Automated VPP build 49/34049/7
Martin Klozik [Fri, 21 Apr 2017 08:57:56 +0000 (09:57 +0100)]
build: Automated VPP build

VSPERF makefiles were updated to automatically download and compile
VPP. VPP will not be installed into the OS, but it will be executed
from VSPERF's src subdirectory. Thus underlying OS is not affected
by VPP build required by VSPERF. It also allows quick switch among
different versions of various tools used by VSPERF.

As part of this patch, VERIFY and MERGE CI jobs were updated to
build VPP and test it with basic set of integration tests.

JIRA: VSPERF-493

Change-Id: I958b9031c4fefc87c4c63a471d2ba1a0db1eaaa4
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agopylint_error_report: Report errors generated from pylint failures 21/34021/2
Christian Trautman [Mon, 1 May 2017 15:13:59 +0000 (11:13 -0400)]
pylint_error_report: Report errors generated from pylint failures

Change the output of the pylint check script to report the errors
generated from a non 10 pylint score.

JIRA: VSPerf-508

Change-Id: I6d764f4040a662385c83125322bec7e887942bc5
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoxena_duration_fix: Revert xena continuous to port time limits 99/33599/1
Christian Trautman [Thu, 20 Apr 2017 19:28:01 +0000 (15:28 -0400)]
xena_duration_fix: Revert xena continuous to port time limits

Revert xena continuous traffic to port based time limits as
packet limits have an uppers bounds which could be reached
with small packet sizes and longer durations.

JIRA: VSPERF-507

Change-Id: I56986159643344f7872e311590f7d05ac02b038b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "ixia: Support of 1 NIC connection to trafficgen"
Martin Klozik [Thu, 20 Apr 2017 08:35:17 +0000 (08:35 +0000)]
Merge "ixia: Support of 1 NIC connection to trafficgen"

7 years agodocs: Remove whitespaces from indexes 31/33531/1
Martin Klozik [Wed, 19 Apr 2017 11:47:08 +0000 (12:47 +0100)]
docs: Remove whitespaces from indexes

Whitespaces were removed from RST indexes to correctly
pass rst validation.

Change-Id: I5f277d5f8846653c6e7ea3fbb29881e2dd3f610b
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "xena_verify: Add final verification option to Xena"
Martin Klozik [Wed, 19 Apr 2017 11:09:45 +0000 (11:09 +0000)]
Merge "xena_verify: Add final verification option to Xena"

7 years agoixia: Support of 1 NIC connection to trafficgen 67/32467/2
Martin Klozik [Wed, 29 Mar 2017 07:08:44 +0000 (08:08 +0100)]
ixia: Support of 1 NIC connection to trafficgen

For some testcases it is useful to have only one connection between
traffic generator and DUT. Thus IxNet class was extended to support
such connection. Feature is enabled if both IXIA ports are set to
the same value.
New integration testcase ixnet_pvp_tput_1nic was created to demonstrate
this feature.
Unused code was removed from 3rd_party/ixia/ixnetrfc2544.tcl to simplify
introduction of new features and to speed up IXIA configuration.

JIRA: VSPERF-503

Change-Id: I92ab24fa58eeb1ccb7f00ac7f3530ffca7b99241
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoxena_verify: Add final verification option to Xena 57/33357/3
Christian Trautman [Thu, 13 Apr 2017 23:31:57 +0000 (19:31 -0400)]
xena_verify: Add final verification option to Xena

Adds final verification option to Xena traffic generator
inside VSPerf. Works by running the Xena2544.exe again
after the initial run is complete with modified values
inside the json file. If the final verify fails it will
revert the settings and continue the in a pattern based
on if the smart search is enabled.

JIRA: VSPERF-506

Change-Id: Ic272628c489b88989f67549bd020af7354dc9b91
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoFix for multi-stream configuration 45/33345/1
Marco Varlese [Thu, 13 Apr 2017 14:00:23 +0000 (16:00 +0200)]
Fix for multi-stream configuration

The multistream configuration is not passed to the remote host where the traffic generator (MoonGen) runs.

Change-Id: I3e9862553b5b064272f3bfffb788c06ebd3740ca
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
7 years agoMerge "ixia: VLAN support without l3/l4 headers"
Martin Klozik [Wed, 12 Apr 2017 05:47:34 +0000 (05:47 +0000)]
Merge "ixia: VLAN support without l3/l4 headers"

7 years agoMerge "jumbo_frame: Add jumbo frame support"
Martin Klozik [Wed, 12 Apr 2017 05:47:00 +0000 (05:47 +0000)]
Merge "jumbo_frame: Add jumbo frame support"

7 years agoChanges index depth 01/32801/1
Trevor Cooper [Fri, 31 Mar 2017 14:42:15 +0000 (07:42 -0700)]
Changes index depth

Change-Id: I9f83b22eebb61de7ab98040bd67f7dd7f3caf129
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoixia: VLAN support without l3/l4 headers 05/32505/1
Martin Klozik [Thu, 30 Mar 2017 13:50:28 +0000 (14:50 +0100)]
ixia: VLAN support without l3/l4 headers

Remove dependency of VLAN headers on L3 and L4 protocols.

JIRA: VSPERF-499

Change-Id: Ic16dbbf2b503be7dd48a7bf55e45795bbb9f7e67
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agojumbo_frame: Add jumbo frame support 71/32271/2
Christian Trautman [Wed, 29 Mar 2017 17:28:38 +0000 (13:28 -0400)]
jumbo_frame: Add jumbo frame support

Add jumbo frame support for all packet forwarding applications
inside guest for pxp testing. Enable jumbo frame support for
OvsVanilla, OvsDpdkVhostUser, and Packet forwarding.

Add minor fix for missing method issue when running packet
forwarding tests. The get_version method was missing in
the packet_forwaring core module.

JIRA: VSPERF-501

Change-Id: Ia99975f47c64259ed2566bde3c85b2779c309e80
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoRemoved white space 35/32135/1
Trevor Cooper [Wed, 29 Mar 2017 07:22:57 +0000 (00:22 -0700)]
Removed white space

Change-Id: I4455ce38ca81ad1d5a028c626e3ac53d6d87db43
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoFixed indexes in user and developer documentation 29/32129/1
Trevor Cooper [Wed, 29 Mar 2017 06:40:07 +0000 (23:40 -0700)]
Fixed indexes in user and developer documentation

Change-Id: Iad5c130936a815c41265b29053d2978808ff14bb
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "ixia: Make L3 and L4 headers optional"
Martin Klozik [Mon, 27 Mar 2017 10:43:47 +0000 (10:43 +0000)]
Merge "ixia: Make L3 and L4 headers optional"

7 years agoMerge "ixia: Fix VLAN support by IxNet class"
Martin Klozik [Mon, 27 Mar 2017 10:43:25 +0000 (10:43 +0000)]
Merge "ixia: Fix VLAN support by IxNet class"

7 years agoMerge "vpp: Reporting update related to VPP"
Martin Klozik [Mon, 27 Mar 2017 10:42:34 +0000 (10:42 +0000)]
Merge "vpp: Reporting update related to VPP"

7 years agoixia: Make L3 and L4 headers optional 17/31717/1
Martin Klozik [Fri, 24 Mar 2017 10:49:10 +0000 (10:49 +0000)]
ixia: Make L3 and L4 headers optional

During testing it is sometimes useful to generate pure L2 traffic
without L3 or L4 related headers. IxNetwork TCL script was updated
to support this option.
Generic TRAFFIC array was enhanced by on/off switch for L3 and L4
headers. Thus it can be implemented by other traffic generators
in the future, if this feature will prove itself useful.

JIRA: VSPERF-500

Change-Id: I723c703e5d6ef609fd5b7db366871278a4730203
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoixia: Fix VLAN support by IxNet class 89/31689/1
Martin Klozik [Thu, 23 Mar 2017 13:25:59 +0000 (13:25 +0000)]
ixia: Fix VLAN support by IxNet class

IxNet class, which controls IXIA via IxNetwork TCL
server, did not support VLAN configuration. Main TCL
script 3rd_party/ixia/ixnetrfc2544.tcl was updated
to support VLAN configuration.

JIRA: VSPERF-499

Change-Id: I89b33dfc653fd59c2983e78a6532812a4c29bddf
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agomultistream: Support huge number of streams 31/30731/4
Martin Klozik [Tue, 14 Mar 2017 12:54:39 +0000 (12:54 +0000)]
multistream: Support huge number of streams

Restriction of 64K streams was limited only to L4 stream
type. In case of L3 and L2 stream type, it is possible to
define unlimited number of streams to be simulated
by traffic generator.

JIRA: VSPERF-498

Change-Id: I4ce3253299473127d135c01543999a8593b9556f
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoRemoved reference to POD 3 since VSPERF POD was moved to POD 12 39/31639/1
Trevor Cooper [Fri, 24 Mar 2017 00:29:29 +0000 (17:29 -0700)]
Removed reference to POD 3 since VSPERF POD was moved to POD 12

Change-Id: Ic278ba90c3174b9f83766861981aeb66320c8963
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoAdded index files for user and dev doc dirs 29/31629/1
Trevor Cooper [Thu, 23 Mar 2017 21:47:03 +0000 (14:47 -0700)]
Added index files for user and dev doc dirs

Change-Id: I0ac84324be97de91c8d4730cd3cb73e994cf28a7
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoUpdates release note numbering 25/31625/1
Trevor Cooper [Thu, 23 Mar 2017 20:55:16 +0000 (13:55 -0700)]
Updates release note numbering

Change-Id: Id0510b96375033540fa80fe22b301fb1d0d20e40
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoNew doc structure changes for stable/danube 23/31423/1
Trevor Cooper [Wed, 22 Mar 2017 21:35:09 +0000 (14:35 -0700)]
New doc structure changes for stable/danube

Change-Id: I2e9b432a74ee22690fdb366de619dc3a5d2ad725
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoUpdated doc locations for new structure 11/31311/1
Trevor Cooper [Wed, 22 Mar 2017 06:24:54 +0000 (23:24 -0700)]
Updated doc locations for new structure

Change-Id: I8d948bad350ec90618edac5fc451167c06e8baa5
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "Revert "Moved doc files to testing document structure"
Trevor Cooper [Wed, 22 Mar 2017 00:49:18 +0000 (00:49 +0000)]
Merge "Revert "Moved doc files to testing document structure"

7 years agoRevert "Moved doc files to testing document structure 03/31303/1
Trevor Cooper [Wed, 22 Mar 2017 00:49:09 +0000 (00:49 +0000)]
Revert "Moved doc files to testing document structure

This reverts commit 32a5263216d79ad34041dca55357278f092bb931.

Change-Id: I641b967badffd52ffd9e249b75e67bb7c82a8150
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoRevert "Corrected doc dir errors" 01/31301/1
Trevor Cooper [Wed, 22 Mar 2017 00:42:13 +0000 (00:42 +0000)]
Revert "Corrected doc dir errors"

This reverts commit 255f58a8c64fcb2875f7616dfcbbfeef2173efcb.

Change-Id: Iccaaf205da26a49744b06e019b000e824e4c45cd
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoCorrected doc dir errors 81/31281/1
Trevor Cooper [Tue, 21 Mar 2017 20:44:25 +0000 (13:44 -0700)]
Corrected doc dir errors

Change-Id: Iab221ca0ea22156830c2a106695e305f965d5226
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMoved doc files to testing document structure testing/user ... testing/developer... 73/31273/1
Trevor Cooper [Tue, 21 Mar 2017 20:25:49 +0000 (13:25 -0700)]
Moved doc files to testing document structure testing/user ... testing/developer and modified doc index to match dir structure

Change-Id: I4b1a535808a48773505fa7874c61707cd349fced
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoRenamed release notes file and added index file to release-notes dir 25/31125/1
Trevor Cooper [Tue, 21 Mar 2017 05:33:11 +0000 (22:33 -0700)]
Renamed release notes file and added index file to release-notes dir

Change-Id: I448fd909a89103b2c11cb16f91b8c646fb5adee8
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agovpp: Reporting update related to VPP 49/31149/1
Martin Klozik [Fri, 17 Mar 2017 09:32:53 +0000 (09:32 +0000)]
vpp: Reporting update related to VPP

VSPERF reports were updated to contain vSwitch name.
In case of VPP, it is not possible to read its version
if VPP is not running. Thus VSPERF was enhanced
to support tool version check during its runtime. This
mechanism can be enhanced to support e.g. VNF in the future.

JIRA: VSPERF-496

Change-Id: I74b47505e35340eead165d9b588e9cc15c058bbf
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "IXIA setup: Fix to create packets with the specified values."
Martin Klozik [Mon, 20 Mar 2017 09:33:59 +0000 (09:33 +0000)]
Merge "IXIA setup: Fix to create packets with the specified values."

7 years agoMerge "vpp: Initial support of VPP vSwitch"
Martin Klozik [Thu, 16 Mar 2017 15:11:32 +0000 (15:11 +0000)]
Merge "vpp: Initial support of VPP vSwitch"

7 years agovpp: Initial support of VPP vSwitch 91/30191/3
Martin Klozik [Mon, 27 Feb 2017 09:00:50 +0000 (09:00 +0000)]
vpp: Initial support of VPP vSwitch

Support of VPP was implemented into VSPERF. Initial implementation
uses step driven testcases to configure P2P, PVP and PVVP network
scenarios. These testcases were prepared for three RFC2544 traffic
types, i.e. throughput, continuous stream and back to back.
VPP configuration is driven by new configuration option VSWITCH_VPP_ARGS.
It is possible to use three types of l2 port connection supported
by VPP, i.e. l2 xconnect (default), l2patch and l2 bridge features.
Configuration is driven by parameter VSWITCH_VPP_L2_CONNECT_MODE.

JIRA: VSPERF-495

Change-Id: Idebef9b10fb0d70796adb3405fec77302de00a7e
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoFix fuel plugin installation issue in latest ISO 73/30473/1
Guo Ruijing [Tue, 14 Mar 2017 16:41:33 +0000 (00:41 +0800)]
Fix fuel plugin installation issue in latest ISO

Change-Id: I8383b469f5350f4457cf234de2a4ff8f79151afe
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoMerge "install: opensuse - fix non-utf8 characters issue in /etc/services"
Martin Klozik [Wed, 8 Mar 2017 12:53:11 +0000 (12:53 +0000)]
Merge "install: opensuse - fix non-utf8 characters issue in /etc/services"

7 years agoinstall: opensuse - fix non-utf8 characters issue in /etc/services 09/29909/3
Marco Varlese [Tue, 7 Mar 2017 09:50:57 +0000 (10:50 +0100)]
install: opensuse - fix non-utf8 characters issue in /etc/services

The scapy python script (data.py) parses the file /etc/services
using the default utf8 decoder. Unfortunately, there are some
characters in that file which are non-utf8 hence the script
stops prematurely. This patch addresses that issue.

Change-Id: Ib5bd41d4fc60b4ce1072fe71b14769b02da7b724
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
7 years agoChanged "NEWS" to "Release Notes" and added openSUSE 95/29995/1
Trevor Cooper [Tue, 7 Mar 2017 19:33:11 +0000 (11:33 -0800)]
Changed "NEWS" to "Release Notes" and added openSUSE

Change-Id: I55d50656930f386b55924ee23948b2e321d2745b
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoRenamed NEWS.rst to vsperf-release.rst and moved into release dir per new doc structure 93/29993/1
Trevor Cooper [Tue, 7 Mar 2017 19:22:31 +0000 (11:22 -0800)]
Renamed NEWS.rst to vsperf-release.rst and moved into release dir per new doc structure
Remove reference to NEWS.rst in index file ... release notes will be referenced in Release section

Change-Id: I8f32c7cd23b0b2cd33703950a71cbb626c0c35fc
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoAdd support for openSUSE Leap 42.2 17/29717/2
Marco Varlese [Fri, 3 Mar 2017 10:56:12 +0000 (11:56 +0100)]
Add support for openSUSE Leap 42.2

This patch enables openSUSE Leap 42.2 systems to build and run VSPERF.

Change-Id: I182cec8a11ee5f0d70670f1ae18dd35fcc257616
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
7 years agoMerge "Updated project description and license header"
Trevor Cooper [Fri, 3 Mar 2017 16:13:32 +0000 (16:13 +0000)]
Merge "Updated project description and license header"

7 years agobugfix: Remove typo from requirements.txt 33/29733/1
Martin Klozik [Fri, 3 Mar 2017 14:45:24 +0000 (14:45 +0000)]
bugfix: Remove typo from requirements.txt

Wrong characters were inserted into requirements.txt during
modification of file license header. This bug caused issues
during installation of vsperf by installation scripts.
Problematic line was removed to avoid installation failures.

JIRA: VSPERF-489

Change-Id: I399eb8ecc7c42a9c42fb1e697dd6322fc9867951
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Marco Varlese <marco.varlese@suse.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoUpdated project description and license header 79/29679/1
Trevor Cooper [Fri, 3 Mar 2017 00:46:22 +0000 (16:46 -0800)]
Updated project description and license header

Change-Id: I122bdec1a7fa9a9e3da51acb31b30a231eff7890
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoXena_pylint_fix: Fix param call to changes made by pylint patch 95/29495/1
Christian Trautman [Tue, 28 Feb 2017 18:42:41 +0000 (13:42 -0500)]
Xena_pylint_fix: Fix param call to changes made by pylint patch

Missed this small issue when calling continuous streams caused
by the param name change from the pylint patch in XenaDriver.py
ca9c9275ed6d5d852987c69a378e88a3502cb2ab.

Change-Id: Ic8ad86358f72e91edea34cb37207d7dc583128b4
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agopkt_gen: STC parameter reordering bug. 01/29201/1
Sridhar K. N. Rao [Wed, 22 Feb 2017 08:37:29 +0000 (14:07 +0530)]
pkt_gen: STC parameter reordering bug.

This patch fixes a bug caused due to wrong parameter ordering.
stc_common_settings should come after rfc2544_common_settings.
It also gets rid of 'Import' error for module 'conf'

JIRA: VSPERF-491

Change-Id: I356294b4efdf9ebd0cea4492d3ed1cb8e04ec9b1
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agolicense: Add license info to all project files 03/28803/4
goldammx [Wed, 15 Feb 2017 15:15:11 +0000 (10:15 -0500)]
license: Add license info to all project files

All files were updated with license header. In case
of binary files is license stored in LICENSE file stored
in the same directory. Packages.txt was removed, because
file has not been used.List of packages differs according
OS distribution, all of neccesary packages are include in
instalation scripts

JIRA: VSPERF-489

Change-Id: I6ecae21b8db2a0f22fa5a66f9525352080f1fcc0
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
7 years agoMerge "ci: Add SRIOV TC to CI daily job"
Martin Klozik [Thu, 16 Feb 2017 16:35:21 +0000 (16:35 +0000)]
Merge "ci: Add SRIOV TC to CI daily job"

7 years agoci: Execute pylint checks by VERIFY and MERGE jobs 95/27995/4
Martin Klozik [Thu, 2 Feb 2017 13:43:17 +0000 (13:43 +0000)]
ci: Execute pylint checks by VERIFY and MERGE jobs

Pylint should be executed automatically for every patch
to assure, that new code meets vsperf coding standards.

JIRA: VSPERF-114

Change-Id: Icb1000e207b2d728497ff3d349fb3cb8334baac7
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
7 years agoci: Add SRIOV TC to CI daily job 33/28633/1
Martin Klozik [Mon, 13 Feb 2017 16:13:03 +0000 (16:13 +0000)]
ci: Add SRIOV TC to CI daily job

SRIOV functionality should be regularly tested to detect
any issues brought by new features. Testcase pvp_tput
will be executed by daily job for several packet sizes.
Testcase results will be reported and stored into artifactory,
but they won't be stored into result database.

JIRA: VSPERF-390

Change-Id: I9f6290b3be297a84c185681ce354bc7365b4036c
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agopylint: Fixing pylint errors and warnings 31/28431/3
goldammx [Thu, 9 Feb 2017 13:03:00 +0000 (08:03 -0500)]
pylint: Fixing pylint errors and warnings

All python files must reach pylint score 10/10. This will be
regularly verified by Jenkins jobs to keep constant code quality.
VSPERF specific pylintrc file was updated according to the vsperf
coding standards. Distro version included in reports will be
slightly different, due to migration to new python package distro.
Previously used platform.distro() will be deprecated since python 3.7.

JIRA: VSPERF-487

Change-Id: I934120208b9624787a3567ccaa49e14d77d7a5bf
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
7 years agodocs: Remove hyperlinks to docs in artifacts 21/27621/3
Martin Klozik [Thu, 26 Jan 2017 15:08:11 +0000 (15:08 +0000)]
docs: Remove hyperlinks to docs in artifacts

It is possible to use sphinx cross referencing
feature in case, that only one level of toctree
is used. Thus documentation was reorganized
to utilize just one top level index with toctree.
After that it was possible to use rst native syntax
to create a cross links among vsperf documentation
chapters. As a result only 2 hyperlinks to the
yardstick documentation are version specific.

JIRA: VSPERF-442

Change-Id: I15c2f53922e88765506448de61af4a299f5d53c5
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "pkt_gen: STC - RFC 2889 Address Learning and Caching Support"
Martin Klozik [Fri, 27 Jan 2017 08:11:16 +0000 (08:11 +0000)]
Merge "pkt_gen: STC - RFC 2889 Address Learning and Caching Support"

7 years agopkt_gen: STC - RFC 2889 Address Learning and Caching Support 41/27541/3
Sridhar K. N. Rao [Wed, 25 Jan 2017 10:06:25 +0000 (15:36 +0530)]
pkt_gen: STC - RFC 2889 Address Learning and Caching Support

This patch adds RFC-2889 address-learning-rate test and
address-caching-capacity tests. The patch includes following changes

1. 01_testcases.conf: testcase definitions are added for new tests
2. results_constants.py: 3 new results constants are added, removed
   unsupported constants
3. testcenter-rfc2889-rest.py: Added support to these two new
   tests. Removed un-necessary synchronization of db-file. 5 new
   configuration parameters are added - which are explained in (4).
4. trafficgen.rst: Configuration description for rfc2889 tests are
   added. Stale information is removed.
5. testcenter.py: Support for two new tests are added. Separate
   functions for results analysis and parameter settings are added.
6. traffic_controller_rfc2889.py: Calls to functions in testcenter.py,
   based on the traffic_type, are added.

Removed trailing whitespaces from trafficgen.rst

JIRA: VSPERF-395

Change-Id: Ie6ca87519b7736e7410d7f0e60904579934af24a
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agofedora_remove_old: Remove installation scripts for Fedora 20-22 09/27609/1
goldammx [Wed, 25 Jan 2017 08:42:51 +0000 (03:42 -0500)]
fedora_remove_old: Remove installation scripts for Fedora 20-22

VSPERF with DPDK 16.04 and 16.07 did not work on Fedora 20-22.
Installtion scripts for F20-F22 were deleted. VSPERF supports
F24 and F25.

JIRA: VSPERF-475

Change-Id: I3ce62b8883844cbcaab5b75fb9374068f9fced16
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
7 years agoMerge "fedora25_install: Provide installer script for Fedora 25"
Martin Klozik [Thu, 26 Jan 2017 09:58:14 +0000 (09:58 +0000)]
Merge "fedora25_install: Provide installer script for Fedora 25"

7 years agoIXIA setup: Fix to create packets with the specified values. 07/27507/1
Antonio_Fischetti [Fri, 20 Jan 2017 16:10:08 +0000 (16:10 +0000)]
IXIA setup: Fix to create packets with the specified values.

This patch fixes the setting of the packet fields generated by IXIA.
So that  packets will be created with the values we pass, eg UDP
source port, UDP dest port, MAC source address.

JIRA: VSPERF-477

Change-Id: I15371b9f4e5fe60f738fc0e836ec7abc4f2a3938
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik martinx.klozik@intel.com
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
7 years agofedora25_install: Provide installer script for Fedora 25 95/27495/2
goldammx [Mon, 23 Jan 2017 08:45:57 +0000 (03:45 -0500)]
fedora25_install: Provide installer script for Fedora 25

Adds installer script for Fedora 25. Kernel version on Fedora 25
requires DPDK 16.11 and newer. VSPERF user must use DPDK and OVS
versions, which are compatible with installed kernel.

Adds new folder for current distribution with installation scripts.

JIRA: VSPERF-453

Change-Id: Icb86ea7655e95df57a8052e4a8523348a0c75dc0
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
7 years agoinfo: Updated key project facts 83/27483/2
Trevor Cooper [Wed, 25 Jan 2017 01:09:49 +0000 (17:09 -0800)]
info: Updated key project facts

List of commiters was updated and name of IRC channel added.

Change-Id: Ib12cc5fd9991f5918be06e0bccf5ef09dcff5628
Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
7 years agoMerge "fedora24_install: Provide installer script for Fedora 24"
Martin Klozik [Tue, 24 Jan 2017 18:32:04 +0000 (18:32 +0000)]
Merge "fedora24_install: Provide installer script for Fedora 24"

7 years agofedora24_install: Provide installer script for Fedora 24 69/27369/3
goldammx [Fri, 20 Jan 2017 14:17:20 +0000 (09:17 -0500)]
fedora24_install: Provide installer script for Fedora 24

Adds installer script for Fedora 24. Kernel version on Fedora 24
requires DPDK 16.11 and newer. VSPERF user must ensure, that used DPDK
and OVS version which are compatible with installed kernel.

Adds new folder for current distribution with installation scripts.

JIRA: VSPERF-453

Change-Id: I08846d6e51faa578ea9305173174bfc49b77018a
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>