vswitchperf.git
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>
7 years agoMerge "rte_target_fix: Resolves blank rte_target issue in conf file"
Martin Klozik [Tue, 24 Jan 2017 17:27:04 +0000 (17:27 +0000)]
Merge "rte_target_fix: Resolves blank rte_target issue in conf file"

7 years agorte_target_fix: Resolves blank rte_target issue in conf file 07/27407/3
Christian Trautman [Mon, 23 Jan 2017 19:11:47 +0000 (14:11 -0500)]
rte_target_fix: Resolves blank rte_target issue in conf file

Modifies RTE_TARGET in conf/10_custom.conf which overwrites
default value in 02_vswitch.conf file.

JIRA: VSPERF-359

Change-Id: I83561d94543a6543764cd76eb4376ccdc091a4cd
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Installation doc updated 89/27289/3
Martin Klozik [Wed, 18 Jan 2017 16:01:29 +0000 (16:01 +0000)]
docs: Installation doc updated

Documentation was updated as follows:
* description of vsperf downloading was added
* VNF section was updated
* additions to installation and virtualnev related parts
* file permissions of all documentaton files
was unified on 644
* README.md was updated with links to doc files
and online docs
* 3rd_party/readme was renamed and updated to follow
markdown syntax

JIRA: VSPERF-441

Change-Id: I648c6a8f0bb283bbc0875fd6fecd2539ca0c9056
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>
7 years agoMerge "centos73_install: Provide installer script for CentOS 7.3"
Martin Klozik [Tue, 24 Jan 2017 08:23:37 +0000 (08:23 +0000)]
Merge "centos73_install: Provide installer script for CentOS 7.3"

7 years agoMerge "dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk"
Martin Klozik [Tue, 24 Jan 2017 08:22:13 +0000 (08:22 +0000)]
Merge "dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk"

7 years agoMerge "xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes"
Martin Klozik [Tue, 24 Jan 2017 08:12:40 +0000 (08:12 +0000)]
Merge "xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes"

7 years agoMerge "xena_cont_learning: Adds learning preemption to continuous traffic"
Martin Klozik [Tue, 24 Jan 2017 07:56:48 +0000 (07:56 +0000)]
Merge "xena_cont_learning: Adds learning preemption to continuous traffic"

7 years agodocs: Upgrade instructions 89/27389/2
Martin Klozik [Mon, 23 Jan 2017 14:44:38 +0000 (14:44 +0000)]
docs: Upgrade instructions

New section specific to upgrade was added into documentation.
Description of configuration changes beetween Colorado and
Danube releases is discussed in detail.

JIRA: VSPERF-269

Change-Id: Ibbd1bb447e5d85c6b269ad26e10ff5d646a2bfbe
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>
7 years agoxena_cont_learning: Adds learning preemption to continuous traffic 01/27401/1
Christian Trautman [Mon, 23 Jan 2017 18:33:56 +0000 (13:33 -0500)]
xena_cont_learning: Adds learning preemption to continuous traffic

Adds a configurable learning preemptive option when running
xena continuous traffic tests. This resolves a missing packet
or two when running OVS tests at flow rates that should not
drop packets.

JIRA: VSPERF-473

Change-Id: I056578ed9c9181287d97aea55a002f09aac14e81
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoxena_cont_accuracy_fix: Xena continuous traffic accuracy fixes 91/27391/2
Christian Trautman [Mon, 23 Jan 2017 15:21:53 +0000 (10:21 -0500)]
xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes

Second patch to help improve Xena continuous traffic accuracy.
Increases delay before gathering statistics to allow packets in
flight to be received. Changes bps and fps to be calculated
based on total bytes and packets received versus capturing the
data while port is transmitting from active statistics.

Sets time limit on ports based on duration.

JIRA: VSPerf-423

Change-Id: I574819694d3141edb539de64bc16dcd6c6fcf489
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk 81/27381/1
Christian Trautman [Mon, 23 Jan 2017 13:13:27 +0000 (08:13 -0500)]
dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk

Removes un-needed code to set multi-queue option on vhostuser ports.

JIRA: VSPerf-471

Change-Id: I9f58e53d9a9bb62ef5ed441a7b4b1dea37a2f557
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agocentos73_install: Provide installer script for CentOS 7.3 91/27291/1
goldammx [Thu, 19 Jan 2017 09:56:48 +0000 (04:56 -0500)]
centos73_install: Provide installer script for CentOS 7.3

Adds installer script for CentOS 7.3. Modifications are
based on installation script for RHEL7.3.

Modified dpdk makefile to allow upstream dpdk to build.
Prevents upstream vanilla OVS from building due to kernel
incompatibilities.

JIRA: VSPERF-452

Change-Id: Iaf05de0cf2ad7f5636d9474f351d3c7d193123cf
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 "testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev"
Martin Klozik [Thu, 19 Jan 2017 12:21:26 +0000 (12:21 +0000)]
Merge "testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev"

7 years agoMerge "mrg_buff_doc: Add documentation on mergable buffer option"
Martin Klozik [Wed, 18 Jan 2017 18:50:42 +0000 (18:50 +0000)]
Merge "mrg_buff_doc: Add documentation on mergable buffer option"

7 years agomrg_buff_doc: Add documentation on mergable buffer option 33/27133/5
Christian Trautman [Wed, 18 Jan 2017 01:07:24 +0000 (20:07 -0500)]
mrg_buff_doc: Add documentation on mergable buffer option

Adds section about mergable buffers option to testusage doc.

Also adds drive boot type info into gotchas section of
testusage doc.

JIRA: VSPERF-459

Change-Id: I159273502663dd29f4847b0737535009a42e430d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Ixia docs update 73/27173/2
Martin Klozik [Wed, 18 Jan 2017 13:28:56 +0000 (13:28 +0000)]
docs: Ixia docs update

Ixia generator related documenation was reviewed
and updated. Links to the chapters specific to
supported traffic generators were created.

JIRA: VSPERF-454

Change-Id: I3a19b054002ac8be3ed3115bc21986b3ca4ea187
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>
7 years agodocs: Dummy pre-configured results 55/27055/4
Martin Klozik [Mon, 16 Jan 2017 14:54:08 +0000 (14:54 +0000)]
docs: Dummy pre-configured results

In case of Dummy traffic generator, the test results
can be pre-configured. Configuration and examples
were described in trafficgen related chapter.

JIRA: VSPERF-458

Change-Id: I6179e98f3999e5b2df2ad4080582302bf4177cda
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>
7 years agotestpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev 27/27127/2
Christian Trautman [Wed, 18 Jan 2017 01:12:31 +0000 (20:12 -0500)]
testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev

A recent patch introduced a bug where SR-IOV would use code designed
for use with testpmd_pvp scenarios. This is because this scenario
also calls for the vswitch=none flag. This patch resolves this issue
to stop the vdev devices from being added when the vnf is specified
as QemuPciPassthrough.

JIRA: VSPERF-460

Change-Id: Ie4522b046982ec5554c3deb6a507d86ca9798124
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "traffic: Configurable traffic details"
Martin Klozik [Tue, 17 Jan 2017 11:37:49 +0000 (11:37 +0000)]
Merge "traffic: Configurable traffic details"

7 years agotraffic: Configurable traffic details 67/26367/3
Martin Klozik [Wed, 14 Dec 2016 14:02:43 +0000 (14:02 +0000)]
traffic: Configurable traffic details

Traffic generated by traffic generator is based on default
values and their modifications specific to particular testing
scenario. Traffic default values were defined inside VSPERF
code and it was not possible to change them. This patch introduces
new TRAFFIC dictionary inside 03_traffic.conf. Thus user can
modify any of TRAFFIC values either in configuration file
or by CLI or by 'Parameters' section of testcase definition.
Following CLI options were obsoleted by this patch:
    'bidirectional', 'traffic_type', 'iload', 'multistream',
    'stream_type' and 'pre-installed_flows'
Following CLI option was renamed to be consistent with other options:
    'tunnel_type' => 'TUNNEL_TYPE'
Following sections of testcase definition were obsoleted:
    "Traffic Type", "biDirectional", "MultiStream", "Stream Type",
    "Pre-installed Flows", "Flow Type" and "iLoad"
New TRAFFIC dictionary should be used instead of old CLI options
and old testcase definition sections. Testcase definitons,
yardstick sample testcases and documentation were updated to reflect
configuration changes.

JIRA: VSPERF-433

Change-Id: I03a388c766491d5688e715f6d7b51e8e0377ec27
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@spirent.com>
7 years agodocs: Update NEWS section 19/27019/1
Martin Klozik [Thu, 12 Jan 2017 14:05:18 +0000 (14:05 +0000)]
docs: Update NEWS section

Update NEWS with details about vsperf changes implemented
during Danube release.

JIRA: VSPERF-440

Change-Id: I3ebb010ef2a86806084c856257a6195b425b98a6
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>
7 years agoMerge "testpmd_pvp: Adds pkt_fwd to allow pvp topology testing"
Martin Klozik [Mon, 16 Jan 2017 07:56:57 +0000 (07:56 +0000)]
Merge "testpmd_pvp: Adds pkt_fwd to allow pvp topology testing"

7 years agoMerge "docs: Fix links to default test parameters"
Martin Klozik [Mon, 16 Jan 2017 07:37:23 +0000 (07:37 +0000)]
Merge "docs: Fix links to default test parameters"

7 years agotestpmd_pvp: Adds pkt_fwd to allow pvp topology testing 91/26891/4
Christian Trautman [Wed, 11 Jan 2017 20:00:52 +0000 (15:00 -0500)]
testpmd_pvp: Adds pkt_fwd to allow pvp topology testing

Requires DPDK 16.11 or greater to support vdev flags.

Initial support for TestPMD to support guests.

Allows vsperf to execute TestPMD as a switch for pvp
test scenarios.

Can be increased in functionality later to support
multiple guest configs.

JIRA: VSPERF-406

Change-Id: I67a5a355c990ca6cfcbb5845a2beaf1c1f21f5f0
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Fix links to default test parameters 27/26927/2
Martin Klozik [Wed, 11 Jan 2017 13:58:10 +0000 (13:58 +0000)]
docs: Fix links to default test parameters

Links to the default test parameters were fixed.

JIRA: VSPERF-442

Change-Id: I775d5598799050fe44a5f0fc23a28716e24c2c76
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>
7 years agoovs-dpdk port setup: specify PCI slot. 89/26889/1
Antonio_Fischetti [Fri, 6 Jan 2017 19:39:17 +0000 (19:39 +0000)]
ovs-dpdk port setup: specify PCI slot.

Update to use options:dpdk-devargs coming from the Arbitray Port Naming feature
lately upstreamed in Ovs-DPDK project.
See Commit ID: 55e075e65ef9ecbd70e5e0fada2704c3d73724d8.
By this new param you can explicitly select a PCI slot for a dpdk port.

JIRA: VSPERF-449

Change-Id: Id6028cc4efbaf228a99c6f0a346a8e96a82e43a6
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>
Reviewed-by: <bmichalo@redhat.com>
Reviewed-by: <sridhar.rao@spirent.com>
7 years agoMerge "rhel73_install: Provide installer script for RHEL 7.3"
Martin Klozik [Tue, 10 Jan 2017 09:19:37 +0000 (09:19 +0000)]
Merge "rhel73_install: Provide installer script for RHEL 7.3"

7 years agorhel73_install: Provide installer script for RHEL 7.3 41/25641/8
Christian Trautman [Wed, 7 Dec 2016 19:35:54 +0000 (14:35 -0500)]
rhel73_install: Provide installer script for RHEL 7.3

Adds installer scripts for RHEL 7.3 OS.

Modified dpdk makefile to allow upstream dpdk to build.

Prevents upstream OVS from building due to kernel incompatibilities.

Provides instructions on setting up RHEL 7.3 for usage with binary
OVS packages when testing with OVS Vanilla.

Tested under RHEL 7.3

JIRA: VSPerf-322

Change-Id: If294d465f28f60a1c514a7b661ce4696ac3b5b73
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "pkt_gen: STC - Handle Results DB file synchronization failures."
Martin Klozik [Thu, 5 Jan 2017 09:19:34 +0000 (09:19 +0000)]
Merge "pkt_gen: STC - Handle Results DB file synchronization failures."

7 years agopkt_gen: STC - Handle Results DB file synchronization failures. 81/26381/2
Sridhar K. N. Rao [Wed, 21 Dec 2016 15:24:05 +0000 (20:54 +0530)]
pkt_gen: STC - Handle Results DB file synchronization failures.

If the downloading of results-database file fails, the CSV file and
corresponding results are not generated - eventhough the test was
successful.
This small patch handles such cases.

Updated the logging to be more explicit.

JIRA: VSPERF-435

Change-Id: I14bf519fbca2ea362777e29920bc1759494965e0
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agobugfix: Ethernet type and vnf stop fixes 87/26687/1
Martin Klozik [Wed, 4 Jan 2017 15:07:52 +0000 (15:07 +0000)]
bugfix: Ethernet type and vnf stop fixes

Usage of ethernet type for IPv4 was harmonized, to use
0x0800 at all places. Together with this fix a bug during
VNF cleanup was removed - VNF started by TestSteps are
tested for validity before the call of their stop() method.
It avoid vsperf crash in case, that VNF was not properly
started.

JIRA: VSPERF-436

Change-Id: Ic1a36919f5c9d707aa0aad64b5d96a1214c56cb3
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>
7 years agoMerge "install: Ubuntu 16.xx support"
Martin Klozik [Mon, 19 Dec 2016 09:19:10 +0000 (09:19 +0000)]
Merge "install: Ubuntu 16.xx support"

7 years agoconf: traffic type naming step2 77/25977/1
Martin Klozik [Wed, 14 Dec 2016 14:40:35 +0000 (14:40 +0000)]
conf: traffic type naming step2

Update of the rest of old traffic type names.

JIRA: VSPERF-420

Change-Id: Icf4bab7afad09f9b48ee25b9ff020c83cf2e02bd
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@spirent.com>
7 years agoinstall: Ubuntu 16.xx support 57/25857/1
Martin Klozik [Mon, 12 Dec 2016 14:27:49 +0000 (14:27 +0000)]
install: Ubuntu 16.xx support

Installation scripts were updated to support Ubuntu 16.04 LTS
and Ubuntu 16.10. Ubuntu 16.10 uses kernel 4.8, which is supported
since DPDK 16.11. It is up to the vsperf user to use DPDK and OVS
versions compatible with active Linux kernel.

JIRA: VSPERF-408

Change-Id: Ifb71de72cf6d4f9d6e2319cb5c1d7d5dcbe5314f
Signed-off-by: Goldammer, MartinX <martinx.goldammer@intel.com>
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@spirent.com>
7 years agoMerge "conf:Traffic-type naming convention and consistency"
Martin Klozik [Wed, 7 Dec 2016 14:01:07 +0000 (14:01 +0000)]
Merge "conf:Traffic-type naming convention and consistency"

7 years agoconf:Traffic-type naming convention and consistency 71/24771/4
Sridhar K. N. Rao [Wed, 23 Nov 2016 14:58:13 +0000 (20:28 +0530)]
conf:Traffic-type naming convention and consistency

Following changes are added following first review
1. Descriptions in integration/01_testcases.conf
2. Comment in conf/01_testcases.conf
3. Checking all cases of traffic types in traffic_controller_rfc2544.py
4. Removing whitespaces
5. Missing changes (throughput->rfc2544_throughput)
6. Syntax error in core/traffic_controller_rfc2544.py

Currently the traffic-type values that are provided as part of the
test case definition needs some fix to support additional traffic
- apart from rfc2544. The Current and the proposed changed is summarized
in the below table:

|--------------------------------------------------------------------|
|  Parameter  | Existing traffic_type value |    Changed to          |
----------------------------------------------------------------------
| Throughput  | rfc2544  OR throughput      |   rfc2544_throughput   |
----------------------------------------------------------------------
| Back2Back   | back2back                   |   rfc2544_back2back    |
----------------------------------------------------------------------
| Continuous  | continuous                  |   rfc2544_continuous   |
----------------------------------------------------------------------

JIRA: VSPERF-420

Change-Id: I22bd897f6389d2b568a6a3735c67f0003e813445
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agoMerge "scl_fix: Fix broken link to install python33"
Christian Trautman [Tue, 6 Dec 2016 19:01:14 +0000 (19:01 +0000)]
Merge "scl_fix: Fix broken link to install python33"

7 years agoMerge "pkt_gen: MoonGen updated to keep parity with master"
Martin Klozik [Thu, 1 Dec 2016 14:23:37 +0000 (14:23 +0000)]
Merge "pkt_gen:  MoonGen updated to keep parity with master"