vswitchperf.git
8 years agodocs: update release docs after reviewing 69/4669/4
Maryam Tahhan [Wed, 16 Dec 2015 14:18:01 +0000 (14:18 +0000)]
docs: update release docs after reviewing

Review and update release documentation for Release B.
JIRA: VSPERF-160

Change-Id: I43c85639ed010f950dc3c85eecfe2ff47b65214d
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoCode checker 27/5127/4
Martin Klozik [Thu, 15 Oct 2015 06:44:08 +0000 (07:44 +0100)]
Code checker

Initial implementation of code checker script. It uses pylint
with vsperf specific pylintrc file to check code syntax, design, etc.
Check can be performed for all files, specified directories or for
modified files only. It will skip files defined by EXCLUDE_MODULES
in conf/00_common.conf file. Details about script usage can be
obtained by ./check -h.

Change-Id: I7d894a2c4db92b7b9d4d4312e6f56bc48c8d5dbf
JIRA: VSPERF-114
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoCI: update build-vsperf.sh script 35/5135/3
Martin Klozik [Fri, 18 Dec 2015 13:16:48 +0000 (13:16 +0000)]
CI: update build-vsperf.sh script

Script for execution of "daily" vswitchperf job has been updated.
It is prepared also for execution of "verify" and "merge" jobs
after their content will be defined.

Change-Id: I64aa4a2aa23c93f1847cc4528fbdee6f71a62290
JIRA: VSPERF-155
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobugfix: Vanilla OVS kernel module broken dependencies 29/5129/2
Martin Klozik [Mon, 21 Dec 2015 11:58:15 +0000 (11:58 +0000)]
bugfix: Vanilla OVS kernel module broken dependencies

Vsperf doesn't install OVS kernel module into standard directory,
to keep host OS untouched. Thus kernel module must be inserted
by insmod and module dependencies solved manually. List of kernel
modules was updated to load all dependencies for recent OVS version.

Change-Id: Id147615ca95cfbde26d1dc8d6c9801f7bb3b5d36
JIRA: VSPERF-161
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agovnf: support of vloop_vnf VM 39/4839/2
Martin Klozik [Wed, 16 Dec 2015 12:36:04 +0000 (12:36 +0000)]
vnf: support of vloop_vnf VM

Additional modifications are required to support vloop_vnf
as a master VM image for PVP and PVVP deployments.
Firewall is disabled directly by call of iptables to avoid
dependency on distribution specific firewall handling.
Default configuration values in 04_vnf.conf were set according
to vloop_vnf to make its usage easy. Values are generic
enough to work well also with other images.
Parameters VANILLA_NICx_NAME and vanilla_nicx_name were renamed
to GUEST_NICx_NAME and guest_nicx_name respectively, because
they are used for all vswitch versions. Functionality
of CLI options was fixed. Default values of GUEST_NICx_NAME
were changed to work with vloop_vnf image.
Bug with modification of TRAFFIC_DEFAULTS values has been fixed.
Deep copy is used and l2 and l3 dictionaries are correctly
updated to avoid issues.
Qemu disc emulation has been set to SCSI again to avoid
error messages related to non-functional DMA in syslog. Appropriate
kernel modules were added into vloop_vnf to support scsi
disk emulation during boot.

Change-Id: I5901f454861f99d21cca03030d6d5468ab71a8af
JIRA: VSPERF-133
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agodocs: update design docs after reviewing 65/4665/4
Maryam Tahhan [Wed, 16 Dec 2015 13:58:18 +0000 (13:58 +0000)]
docs: update design docs after reviewing

Review and update design documentation for Release B.
JIRA: VSPERF-160

Change-Id: I2c2167b5ac9161e30aacd277060da22a559dd0c2
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agodocs: update userguides after reviewing 63/4663/4
Maryam Tahhan [Wed, 16 Dec 2015 13:43:37 +0000 (13:43 +0000)]
docs: update userguides after reviewing

Review and update userguides for Release B.
JIRA: VSPERF-160

Change-Id: I54c4dd37fa5951cab9d0e17bb2f3a4d273741cb0
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agodocs: updates and move traffic gens to separate doc 81/3881/41
Maryam Tahhan [Wed, 2 Dec 2015 13:42:50 +0000 (13:42 +0000)]
docs: updates and move traffic gens to separate doc

Move the traffic gen instructions to a separate user guide and add
information on usage of the Dummy traffic generator. Update docs
to fix PDF build failure and do general clean-up. Removed the numbering
from the LTD and added the numbered directive to automate numbering for
sections and headers. Add comment anchors that reflect the section
numbers.

Change-Id: I984ca38456a891c439697ebc1da041bc1d828a15
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoBack2Back: update default params 73/4073/2
Maryam Tahhan [Tue, 24 Nov 2015 16:55:54 +0000 (16:55 +0000)]
Back2Back: update default params

Update the default duration of a back to back test to be 2 seconds which
is the minimum recommended by RFC2544, and update the Trials to be 50,
which is also the default value specified by the RFC. This patch also
fixes the tcl script to allow for the minimum framesize to be sent from
the traffic gen.

JIRA:

Change-Id: I801196c1998ec2bffbeab69a3a290d6ef6feb1c3
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
8 years agoCI: Create simple Hello world build-vsperf.sh 83/4583/3
Radek Zetik [Mon, 14 Dec 2015 09:06:26 +0000 (09:06 +0000)]
CI: Create simple Hello world build-vsperf.sh

Create a ci directory and create a simple
"echo Hello world" in a shell script called
build-vsperf.sh.
The file will be used as a placeholder for OPNFV Jenkins
vsperf-daily-master job.

JIRA: VSPERF-157

Change-Id: Ibe5ca31f8776fcf4ba6b1e353383a03566617350
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoINFO: remove inactive committers 79/4579/1
Maryam Tahhan [Wed, 9 Dec 2015 10:28:18 +0000 (10:28 +0000)]
INFO: remove inactive committers

Remove inactive committers who cannot be contacted or who have stepped
down from the committer role.

Change-Id: Ied02443b571d0dc70135329aed65af2acb9fe426
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoResults: Integrate with opnfv_test_dashboard 49/4449/3
Radek Zetik [Wed, 9 Dec 2015 12:59:36 +0000 (12:59 +0000)]
Results: Integrate with opnfv_test_dashboard

The feature is enabled by --opnfvpod parameter on vsperf command line.
The value of the parameter sets POD name:
example:
--opnfvpod <pod_name>   or   --opnfvpod=<pod_name>
You need to specify installer name. It can be set in conf-file
default value:
OPNFV_INSTALLER = "Fuel"
Additionally, there are two parameters with default values:
OPNFV_URL = "http://213.77.62.197"
Defines address of opnfv releng database server
PACKAGE_LIST = "src/package-list.mk"
OVS and DPDK tags are read from this file and values are used
for creation of 'version' filed.
The patch requires 'requests' module. The requirements.txt is updated.

JIRA: VSPERF-112

Change-Id: I49f6f5058b1bce8a257669efa8229ff31879481d
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agobugfix: Fix failure caused by unset locale 39/4139/2
Martin Klozik [Wed, 9 Dec 2015 12:53:43 +0000 (12:53 +0000)]
bugfix: Fix failure caused by unset locale

In case, that VSPERF detects missing locale settings, it will
set language and encodding settings to default values specified
by configuration parameter DEFAULT_LOCALE.
Localized external commands with output parsed by VSPERF
are executed with modified locale to ensure correct VSPERF
function. Locale settings for such commands is specified
by configuration parameter DEFAULT_CMD_LOCALE.

Change-Id: If5c15115b778ce90046e390f10438b780f82695b
JIRA: VSPERF-132
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agobugfix: Support paths with user's home shortcut 61/4361/3
Martin Klozik [Wed, 9 Dec 2015 14:32:06 +0000 (14:32 +0000)]
bugfix: Support paths with user's home shortcut

VSPERF will explicitly expand any '~' to the absolute path to the user's
home directory before call of subsystem.Popen method. Only calls,
which process configuration values are modified.

Change-Id: Ibd9399ae84bf4698c86bf8eff97ca6ce785fb3fb
JIRA: VSPERF-45
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoFix: OS name detection error by build scripts 55/4355/3
Abdul Halim [Fri, 11 Dec 2015 11:54:13 +0000 (11:54 +0000)]
Fix: OS name detection error by build scripts

There is a problem detecting OS specific scripts dir if NAME variable in
/etc/os-release contains a multi-word string (e.g NAME="CentOS Linux").
To fix this we get first part of the NAME string (i.e "CentOS") for
simplicity and look for version specific scripts dir within that.

Change-Id: Ic840788875e9b486b20608a9b9e523cbd4530e31
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <Brian.Castelli@spirent.com>
8 years agotest_spec: LTD: new topology 93/3193/5
Miroslav Miklus [Tue, 10 Nov 2015 19:43:52 +0000 (20:43 +0100)]
test_spec: LTD: new topology

 - Physical port → VNF → vSwitch → VNF → physical port

updated topology with pNIC-VF
this provides us ability to fill up the box with multiple VNFs

JIRA: VSPERF-123

Change-Id: Iea991b2cd2973c07ecbc300bb6d413a182cae992
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
8 years agoupdates to use new doc toolchain 05/4305/1
Ryota MIBU [Fri, 11 Dec 2015 06:30:46 +0000 (15:30 +0900)]
updates to use new doc toolchain

Change-Id: I5009a996b2e581638f159ed37a1c56ac53c0c71f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agotestcase: scalability testcase enhancements 11/3811/4
Martin Klozik [Thu, 3 Dec 2015 12:58:03 +0000 (12:58 +0000)]
testcase: scalability testcase enhancements

Streams used by scalability testcases can be simulated
at different network layers by modification of destination
MAC address (L2), destination IP address (L3) or destination
UDP port (L4). It is possible to define number and type
of the streams by testcase definition by options "MultiStream"
and "Stream Type" or by CLI parameters "multistream" and
"stream_type". CLI options override testcase definition.
Number of streams, their types, used transport protocol
and indication of pre-installed flows are written to both
result CSV file and MD file with test report.
Default transport protocol was changed to UDP because
IxNetwork configuration script doesn't support TCP yet.

Change-Id: I1ff9ab7756d38f65b1a7730397507c5a5ff5a3d1
JIRA: VSPERF-81
JIRA: VSPERF-82
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agopkt_gen: rename throughput_tx_* to tx_rate_* 53/4053/3
Maryam Tahhan [Thu, 26 Nov 2015 11:08:09 +0000 (11:08 +0000)]
pkt_gen: rename throughput_tx_* to tx_rate_*

Change throughput_tx_* references to tx_rate_* so the results won't be
confusing as part of the opnfv test dashboard when they become
publicly available.

Change-Id: Ie8cfae99a75497f15eb09d097c72c8a35df3b5f9
JIRA: VSPERF-135

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Ian Stokes <ian.stokes@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoResults: Integrate with opnfv_test_dashboard 13/3913/3
Radek Zetik [Thu, 12 Nov 2015 20:07:40 +0000 (20:07 +0000)]
Results: Integrate with opnfv_test_dashboard

All the test projects generate results in different format.
The goal of a testing dashboard is to provide a consistent
view of the different tests from the different projects.
We need to enable the data collection for VSPERF, in other words
VSPERF pushes data using a REST API.
The feature is enabled by --opnfvpod parameter on vsperf command line.
The value of the parameter sets POD name.
Example:
--opnfvpod <pod_name>   or   --opnfvpod=<pod_name>
You need to specify installer name. It can be set in conf-file
default value:
OPNFV_INSTALLER = "Fuel"

JIRA: VSPERF-112

Change-Id: I37255414eebcc2ff0c12109c508dcd984663a830
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoAdd some error checking to F21 install 45/3745/3
Billy O'Mahony [Mon, 23 Nov 2015 15:26:28 +0000 (15:26 +0000)]
Add some error checking to F21 install

Make the install fail fast and obviously on error rather than
continuing on. This can be used as a template for adding error
checking on the other systems.

JIRA: VSPERF-141

Change-Id: I1892db661a56ab2012e26c6720e0851fabbb51d9

Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agovnfs: configurable loopback application support inside VM 45/3645/6
Martin Klozik [Wed, 2 Dec 2015 10:04:19 +0000 (10:04 +0000)]
vnfs: configurable loopback application support inside VM

For PVP and PVVP deployments, traffic inside virtual machines must be
forwarded between its interfaces. There are several forwarding options
supported by VSPERF, including DPDK testpmd, Huawei l2fwd kernel module
and linux bridge. Another option is, that VM image has built in forwarding
functionality and vsperf doesn't configure it itself.
User can select VM loopback application by configuration option
GUEST_LOOPBACK (per VM) or by SCALAR cli option guest_loopback (global
settings).
Selected guest loopback application(s) will be written into test results
CSV file and test report MD file.
Default wildcarded guest login prompt was added. Guest startup guarding
timer can be configured. Path to OVS kernel module has been fixed.

Change-Id: If738da1ea09112f9cf2267afcbc99a6797f3a03a
JIRA: VSPERF-130
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agopkt_gen: add duration to all send functions 67/3167/8
Maryam Tahhan [Sun, 8 Nov 2015 22:35:50 +0000 (17:35 -0500)]
pkt_gen: add duration to all send functions

Allow a configurable duration for all send functions.
JIRA: VSPERF-125

Change-Id: I7c6f5d136a7d7100e3990f7fdc00121b07081a80
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
8 years agodocs: update installation guide and gsg. 73/3173/4
Maryam Tahhan [Sun, 8 Nov 2015 11:50:48 +0000 (11:50 +0000)]
docs: update installation guide and gsg.

Update installation guide and gsg to include latest updates to vsperf
build and installation.
JIRA: VSPERF-127
Change-Id: I773ea240eb90e191f4f53ed977651056817413f1

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agoAdding install scripts for Ubuntu14.04 65/3465/2
Abdul Halim [Mon, 16 Nov 2015 17:39:26 +0000 (17:39 +0000)]
Adding install scripts for Ubuntu14.04

System build scripts for Ubuntu14.04 are added. DPDK mkdir hugepage
fails to create /dev/hugepages with permission error. Workaround for
that is added so that /dev/hugepages dir is created when OS specific
scripts is run with sudo privilege. Also adding missing packages
kernel-modules-extra, pixman-devel and openssl-devel for Fedora systems.

JIRA: VSPERF-128

Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Change-Id: Ie805c094df4a3f9446b09ea2d7e4dfb2f5324544
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agodoc: update template and conf files 47/3647/1
Ryota MIBU [Thu, 26 Nov 2015 11:36:01 +0000 (20:36 +0900)]
doc: update template and conf files

JIRA: RELENG-16

Change-Id: I0aaac15c1d1a1031cbc113db594a342c60b7eb1d
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoAdding system build scripts for Fedora 21 and Fedora 22 55/3055/6
Abdul Halim [Tue, 27 Oct 2015 16:51:04 +0000 (16:51 +0000)]
Adding system build scripts for Fedora 21 and Fedora 22

Scripts are added for Fedora 21 and 22 to install system requirements
and python packages on these systems. Also modified root
build_base_machine.sh so that it can handle directory structures for
version specific scripts if available.

JIRA: VSPERF-93

Change-Id: If6a311bc7bb1116979faabff5e9097e39f2f5495
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agopkt_gen: update testcenter implementation 69/3169/3
Maryam Tahhan [Mon, 9 Nov 2015 02:47:09 +0000 (02:47 +0000)]
pkt_gen: update testcenter implementation

Update testcenter implementation to move settings to
generic settings file and change windows line endings.
JIRA: VSPERF-126
Change-Id: I156005f261bc0df6c3d8009db72ba2d5991c6166

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agoEnable OVS master and DPDK 2.1 51/3151/3
Martin Klozik [Thu, 5 Nov 2015 10:08:45 +0000 (10:08 +0000)]
Enable OVS master and DPDK 2.1

VSPERF used old version of OVS, which has supported DPDK 2.0.
With switch to DPDK 2.1, VSPERF can use recent OVS code again.

JIRA: VSPERF-124
Change-Id: I81f6b8887d795df08a2eb8959606f2a9a277f9e6
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agoconf: change default RTE_TARGET 65/3165/3
Maryam Tahhan [Sun, 8 Nov 2015 22:07:21 +0000 (17:07 -0500)]
conf: change default RTE_TARGET

Change RTE_TARGET to build native instead of ivshmem.

Change-Id: I3707d1f4bf545c4a2a35e85816f26dbd214a72de
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: reorganize docs for the sphinx build 77/2877/10
Ramprasad Velavarthipati [Fri, 23 Oct 2015 08:52:31 +0000 (14:22 +0530)]
docs: reorganize docs for the sphinx build

Reorganize docs into the appropriate folders for the new sphinx build.
JIRA: VSPERF-80

Change-Id: I9dcd74e092ce52546a0986b92a1ebb2b5b7419bf
Signed-off-by: Ramprasad Velavarthipati <ram.v@freescale.com>
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Trinath Somanchi <trinath.somanchi@gmail.com>
8 years agobugfix of Vanilla OVS testing scenarios 85/2785/3
Martin Klozik [Mon, 19 Oct 2015 16:38:52 +0000 (17:38 +0100)]
bugfix of Vanilla OVS testing scenarios

Automatic selection of OVS and DPDK directories must be performed
before initialization of modules is called. Otherwise modules will
use wrong values with unpredictable results.
Default directory values have been changed to point to sources build
by make.
Clean&sweep of directory usage was performed.
Configuration file for pylint has been renamed to follow pylint
naming convention.

Change-Id: I42c89f8890c021f0062b478a856ae0113f1245fb
JIRA: VSPERF-121
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoFirst phase of Spirent Traffic Gen integration 49/2849/3
spirentbrian [Tue, 27 Oct 2015 18:46:33 +0000 (14:46 -0400)]
First phase of Spirent Traffic Gen integration

Change-Id: Ib852c81fc8e09593411984bfb6f9bc5d5629f0c4

8 years agodocs: fixup documentation errors and locations 69/2869/3
Maryam Tahhan [Wed, 28 Oct 2015 10:47:49 +0000 (10:47 +0000)]
docs: fixup documentation errors and locations

Fixup the location of all rst documentation and any errors in the ltd.

JIRA:VSPERF-60

Change-Id: I1472d540b1b4eca4ab038d079bfb0ef2f0c5ebcd
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoFix Make, Make clean and when the src directories are cloned 35/2735/3
Radek Zetik [Wed, 21 Oct 2015 05:45:20 +0000 (06:45 +0100)]
Fix Make, Make clean and when the src directories are cloned

Update the rules for Make clean and distclean.
Update make not to clone the repositories if they are already
cloned, simply pull, checkout the tags and build.
Changes in this patch:
1. QEMU is built just once in .../src directory.
.../src_vanilla and .../src_cuse don't contain qemu anymore
2. 'make clean' deletes all built *.o files
3. 'make distclean' deletes all built and generated files
(distclean is used instead of cleanse now)
4. 'make' calls 'git pull' when repository is cloned already

JIRA: VSPERF-94

Change-Id: I80f9a135580b450fb4606cf947661049ff509548
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoStop OVS from generating misleading add-br errors 97/2697/5
Dino Simeon Madarang [Thu, 15 Oct 2015 15:01:14 +0000 (16:01 +0100)]
Stop OVS from generating misleading add-br errors

Create bridge and set datapath_type in 1 transaction to prevent OVS from
generating misleading error messages which jenkins considers as
build errors.

Update vswitch interface to include optional parameters.

Change-Id: I668f474ea909b284f3726807aab42d52ae2fb504
JIRA: VSPERF-122
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
8 years agosystems directory scripts for Centos7 37/2737/4
Martin Klozik [Wed, 21 Oct 2015 12:56:38 +0000 (13:56 +0100)]
systems directory scripts for Centos7

Installation scripts for Centos7 have been updated with new packages.
Script will install also python3 packages and create python virtual
environment. As a last step DPDK, OVS and QEMU will be compiled. So
after script execution VSPERF should be ready for use.
It is recommended to execute installation script from user account
with password less sudo access. Otherwise python environment
must be copied over from root home directory.
After VSPERF generic Makefile will be created by VSPERF-114, it can
be enhanced to call build script too.

Change-Id: I6ff5d2660af29cf8be134a4cae3b1d7b559892fa
JIRA: VSPERF-93
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoSimple performance Test for the PVP and PVVP 87/2587/4
Martin Klozik [Thu, 15 Oct 2015 00:28:55 +0000 (01:28 +0100)]
Simple performance Test for the PVP and PVVP

Two sample contionous stream testcaes were introduced for PVP and PVVP
scenarios. Required frame rate percentage can be specified either by
tetcase configuration option "iLoad" or by command line option "iload".
Command line option take precendece to testcase option. By default 100%
linerate is used if not specified otherwise.

Change-Id: I95f7ae6081377a4c99ce70fc7504b6b542f9260b
JIRA: VSPERF-95
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoAdd Pylint to VSPERF commit gate 23/2523/4
Martin Klozik [Mon, 12 Oct 2015 06:15:54 +0000 (07:15 +0100)]
Add Pylint to VSPERF commit gate

Initial pylint config file has been created to follow current
code structure and design. A few issues have been fixed, so currently
56 of 67 files have rating 10/10. There are still issues to be fixed,
mainly TODOs/FIXMEs and missing impelentation of abstract class members.

Change-Id: Icf5b12c2150258f8ac657f8d50b47a697d1660a0
JIRA: VSPERF-91
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoFlow Classification extension 63/2663/2
Martin Klozik [Tue, 13 Oct 2015 05:35:33 +0000 (06:35 +0100)]
Flow Classification extension

Flow definition can be changed by testcase setup. By default
only ingress ports are used to route traffic, but flow can be
extended by src and dst IP addresses used by the traffic
generator.

Change-Id: I694714537ad2d818192a39f3235d8e6bf0f59a49
JIRA: VSPERF-90
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoexclude files from the search in the Loader 61/2661/2
Martin Klozik [Mon, 19 Oct 2015 03:36:45 +0000 (04:36 +0100)]
exclude files from the search in the Loader

New configuration parameter EXCLUDE_MODULES defines module names,
which won't be automatically loaded by LoaderServant. It can be used
to exclude obsolete or abstract modules.

Change-Id: If98b50b1505465bcedcf28fe63421c73a4fe160a
JIRA: VSPERF-118
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoImplement support of 'insmod' and 'modprobe' commands into ModuleManager 55/2655/2
Martin Klozik [Fri, 16 Oct 2015 05:29:30 +0000 (06:29 +0100)]
Implement support of 'insmod' and 'modprobe' commands into ModuleManager

Module manager has been enhanced to support both 'insmod' and 'modprobe'
commands for kernel module insertion. In case, that .ko suffix is detected
then insmod will be used otherwise modprobe will be called. This allows
user to specify full path to each module. For example vanilla ovs module
can be defined as "OVS_DIR_VANILLA + 'datapath/linux/openvswitch.ko'"
to load kernel module matching OVS vanilla source tree version.

Change-Id: Ib8d16eca84449ad34d6b307ab836f58d2f0d341b
JIRA: VSPERF-116
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agotest_spec: Need deployment scenario in RFC2889 Forwarding Rate test 15/2415/4
Al Morton [Sun, 6 Sep 2015 23:44:50 +0000 (00:44 +0100)]
test_spec: Need deployment scenario in RFC2889 Forwarding Rate test

The RFC 2889 Forwarding Rate test requires a Deployment Scenario
Section - was missing.

JIRA: VSPERF-102

Change-Id: Iaf661a6bbb9ad52f23147f9444f23d96a82ceb2d
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: LTD: Add Caution for Scaleability Address Time-out. 59/2459/5
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: LTD: Add Caution for Scaleability Address Time-out.

LTD.Scalability.RFC2544.0PacketLoss needs to add the caution that
all flows must be learned before running Throughput testing,
and no flows can be allowed to time-out during the test.

JIRA: VSPERF-108

Change-Id: I95ae20a978b7af660b358450e67ce60939b0b7c1
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: IETF Draft: Update to reflect dev since July and IETF-93 comments 45/2545/3
Al Morton [Thu, 15 Oct 2015 00:49:08 +0000 (20:49 -0400)]
test_spec: IETF Draft: Update to reflect dev since July and IETF-93 comments

Among the Updates needed are:
- Several New tests created since July, add to Matrix section.
- Re-named tests: fix in Matrix section.
- Link to Summaries on Wiki.
- Link to Test Setup Figures on Wiki.
- Add some general points on New Test Equipment Challenges/Metrics.
- Mention future test specs, and IFA003 as one source.

JIRA: VSPERF-120

Change-Id: I981b0b6301a208d20220f67784b4591aa3f51338
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: LTD: Some "Throughput" Tests belong in another category 55/2455/5
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: LTD: Some "Throughput" Tests belong in another category

In the LTD, some of the tests with "Throughput" in the title are not actually
testing throughput in the data path.
Since the test names are used by TOIT/VSPERF to group similar tests for batch
execution, it's important that the names accurately represent the test methods
and metrics measured.

JIRA: VSPERF-98

Change-Id: I620ddc0779232f2dd325379005faba8692fea18c
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: LTD: Missing Pre-requisites in some of the "new" tests. 57/2457/4
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: LTD: Missing Pre-requisites in some of the "new" tests.

A few of the tests should call out a prerequisite.
LTD.MemoryBandwidth.RFC2544.0PacketLoss.Scalability
and
LTD.Scalability.RFC2544.0PacketLoss
are examples.

JIRA: VSPERF-107

Change-Id: I1ca653ac765f9494b48759764103dfc9d42a42f1
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agoDefault config picks up OVS variants 27/2527/3
Radek Zetik [Fri, 2 Oct 2015 13:10:30 +0000 (14:10 +0100)]
Default config picks up OVS variants

Running a test with vanilla-ovs, vhost-user-ovs,
vhost-cuse-ovs,... does not require any building
or configuration changes - the vswitch needs only
to specified on the command line.
The config file contains new variables for particular
ovs build.
OvsVanilla:
OVS_DIR_VANILLA, QEMU_DIR_VANILLA
VhostCuse:
RTE_SDK_CUSE, OVS_DIR_CUSE, QEMU_DIR_CUSE
VhostUser:
RTE_SDK_USER, OVS_DIR_USER, QEMU_DIR_USER
The vspef chooses right paths according to command line
switches '--vswitch' (or 'VSWITCH') and '--vnf' (or 'VNF')

JIRA: VSPERF-86

Change-Id: I22e3a7f9e21d6ceb13830e444716b4274314560c
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agotest_spec: LTD:Throughput.RFC2544.Profile Metric Clarifications 63/2463/3
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: LTD:Throughput.RFC2544.Profile Metric Clarifications

LTD.Throughput.RFC2544.Profile refers to the metric "maximum forwarding rate"
but implies that this is the zero% loss rate, which would be the Throughput
level (MFR is usually higher than Throughput, because MFR allows losses).
It may be that MFR and Throughput are just interchanged in the last two
paragraphs of the description.

JIRA: VSPERF-110

Change-Id: I4f36fd4ce66f2f4ebee4f60a11ad03adfb2b3b7c
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: LTD: Memory BW Test - probable issue caused by md to rst conversion 61/2461/4
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: LTD: Memory BW Test - probable issue caused by md to rst conversion

The following text in the Description needs to be formatted as a list in .RST:
Furthermore: - the ratio of reads to writes should be recorded.

JIRA: VSPERF-109

Change-Id: I3b6c819d1ac07cc466c747d3552cbcc4de5f34bf
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agotest_spec: Expand deployment scenario in RFC2889 Broadcast Rate test 51/2451/2
Al Morton [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
test_spec: Expand deployment scenario in RFC2889 Broadcast Rate test

In the RFC 2889 Broadcast rate testing, four test ports are required.
One of the ports is connected to the test device, so it can send
broadcast frames and listen for miss-routed frames.

JIRA: VSPERF-103

Change-Id: I5ee3d20c71d7debf6c7b09fc094f72b2d4c10684
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
8 years agoEnable PVP and PVVP deployments for Vanilla OVS 35/2335/3
Martin Klozik [Fri, 2 Oct 2015 01:18:09 +0000 (02:18 +0100)]
Enable PVP and PVVP deployments for Vanilla OVS

Support for PVP and PVVP scenerios using Vanilla OVS was added.
VMs are configured to forward traffic between virtual interfaces
by standard linux capabilities. Traffic generator script was updated
to accept MAC and IP address configuration to allow VM forwarding
configuration.

VSPERF-66, VSPERF-70

Change-Id: Ia70ab6be547b39928a1eae319faba779d4e29284
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agodocs: Add overview of the structure of vsperf code 41/2341/3
Billy O'Mahony [Thu, 8 Oct 2015 10:47:03 +0000 (11:47 +0100)]
docs: Add overview of the structure of vsperf code

Text & sequence diagrams as both source and png.

JIRA: VSPERF-106

Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Change-Id: I33f57fba85710ab4cfc72d0a5d06db6f653545d6

8 years agotest_spec: Note need for 3 test ports in RFC2889 address/cache 37/2237/5
Al Morton [Sun, 6 Sep 2015 23:44:50 +0000 (00:44 +0100)]
test_spec: Note need for 3 test ports in RFC2889 address/cache

The RFC 2889 Address Learning and Cache Capacity tests require
a listening port to check for flooded frames.

JIRA: VSPERF-74

Change-Id: I7b4d2461e819d01d642c9c4d95b938dfbe056f2c
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agosrc: add appropriate build flags for OVS dpdk 89/2289/4
Maryam Tahhan [Mon, 5 Oct 2015 16:44:17 +0000 (17:44 +0100)]
src: add appropriate build flags for OVS dpdk

Technical Debt - Add appropriate build flags to the OVS makefiles to
build OVS for performance.
JIRA:VSPERF-92

Change-Id: I63d45ebe8ba41799158f97db892a94e16c7b3df5
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoEnable PVVP deployment for DPDK Vhost User and Vhost Cuse 05/2205/3
Martin Klozik [Fri, 25 Sep 2015 17:00:17 +0000 (18:00 +0100)]
Enable PVVP deployment for DPDK Vhost User and Vhost Cuse

Generic PVVP deployment support has been added. Two
new testcase scenarios for throughput and back2back
tests with PVVP deployment were added. Original
implementation of PVP has been refactored
Following files were affected:
modified:   conf/01_testcases.conf
modified:   conf/02_vswitch.conf
modified:   conf/04_vnf.conf
modified:   core/__init__.py
modified:   core/component_factory.py
modified:   core/loader/loader_servant.py
modified:   core/vnf_controller.py
deleted:    core/vnf_controller_p2p.py
deleted:    core/vnf_controller_pvp.py
modified:   core/vswitch_controller_p2p.py
modified:   core/vswitch_controller_pvp.py
new file:   core/vswitch_controller_pvvp.py
modified:   docs/to-be-reorganized/NEWS.rst
modified:   docs/to-be-reorganized/quickstart.rst
modified:   src/dpdk/dpdk.py
modified:   src/ovs/ofctl.py
modified:   testcases/testcase.py
modified:   tools/tasks.py
new file:   vnfs/qemu/qemu.py
new file:   vnfs/qemu/qemu_dpdk.py
modified:   vnfs/qemu/qemu_dpdk_vhost_cuse.py
modified:   vnfs/qemu/qemu_dpdk_vhost_user.py
modified:   vnfs/vnf/vnf.py
modified:   vswitches/ovs_dpdk_vhost.py

Change-Id: Ib6869a29337a184cb58c57fd96bba1183aba00ab
JIRA: VSPERF-68, VSPERF-69
Signed-off-by: Martin Klozik (martinx.klozik@intel.com)
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoThe 'make' creates all required variants of vSwitch 07/2207/3
Radek Zetik [Thu, 1 Oct 2015 17:13:18 +0000 (18:13 +0100)]
The 'make' creates all required variants of vSwitch

Currently the VSPERF makefiles make just one variant
of vSwitch - OVS with DPDK-vhost-user. To make the other
variants the makefile has to be edited. And the make re-run.
The fix builds all required versions:
DPDK-vhost-user OVS (in src/)
Vanilla OVS (in src_vanilla/)
DPDK-vhost-cuse OVS (in src_cuse/)
HowTo:
- git clone vsperf
- cd .../src
- make

JIRA: VSPERF-85

Change-Id: I469baf8432f0b127cde785f35a6c57a2c778f23f
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agopkt_gen: change duration to int for Dummy pkt_gen 87/2287/2
Robert Wojciechowicz [Tue, 29 Sep 2015 12:21:22 +0000 (08:21 -0400)]
pkt_gen: change duration to int for Dummy pkt_gen

In case there is specified concrete value for "duration" in the
configuration there is raised TypeError exception
in the send_rfc2544_throughput function of dummy traffic generator.
Conversion to integer solved this issue.

Change-Id: Ib37ecabc1000369d807a997c88d7a3d7aca425d5
Signed-off-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotest_spec: Add Traffic Profiles (IMIX) maintained by Functest 45/2245/3
Al Morton [Sun, 6 Sep 2015 23:44:50 +0000 (00:44 +0100)]
test_spec: Add Traffic Profiles (IMIX) maintained by Functest

The Current list of fixed frame sizes need to be augmented with
IMIX Traffic Profiles in the test framework.

JIRA: VSPERF-100

Change-Id: I97425c09c1d692bae56f2518d479b83a282eb7d1
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotest_spec: Fix WIDE Fig and Note need for full-mesh ports in RFC2889 tests 61/2261/3
Al Morton [Sun, 6 Sep 2015 23:44:50 +0000 (00:44 +0100)]
test_spec: Fix WIDE Fig and Note need for full-mesh ports in RFC2889 tests

The RFC 2889 tests require Full Mesh on multiple ports.
Modify the bunny-ears fig to show this (and address -99 in the process)

JIRA: VSPERF-99
JIRA: VSPERF-101

Change-Id: Id67cb5ef6748c83858a90033534f960874614c06
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoRemove reported derived performance figures 13/2113/3
Radek Zetik [Tue, 22 Sep 2015 04:12:48 +0000 (05:12 +0100)]
Remove reported derived performance figures

Since vsperf (ixnet trafficgen) started using AggResults.csv
to pull out traffic results after bi-dir support was added.
Some of the derived results are wrong (derived meaning
these are figures vsperf calculates from the info available
in the raw ixnet results).

JIRA: VSPERF-88

Change-Id: I79d88bfc7718bda675d2ba7e5148053405a94211
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoSysmetrics implementation update 23/1823/3
Martin Klozik [Sun, 6 Sep 2015 23:44:50 +0000 (00:44 +0100)]
Sysmetrics implementation update

New sysmetrics implementation is based on pidstat command line tool
from sysstat package. Old non-functional implementation was removed.
Reporting was refactored to generate report after each TC from values
already available in memory.
Following files were affected:
modified:   conf/01_testcases.conf
modified:   conf/02_vswitch.conf
modified:   conf/05_collector.conf
deleted:    core/collector_controller.py
modified:   core/component_factory.py
modified:   docs/NEWS.rst
modified:   packages.txt
modified:   requirements.txt
modified:   testcases/testcase.py
modified:   tools/collectors/collector/collector.py
modified:   tools/collectors/sysmetrics/__init__.py
deleted:    tools/collectors/sysmetrics/linuxmetrics.py
new file:   tools/collectors/sysmetrics/pidstat.py
modified:   tools/report/report.jinja
modified:   tools/report/report.py
modified:   tools/systeminfo.py
modified:   vsperf

JIRA: VSPERF-67
Change-Id: I25a79f2afef405b9ac46ae85c18044af167a62a4
Signed-off-by: Martin Klozik (martinx.klozik@intel.com)
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoFrame Modification: support remaining frame modification types. 39/1439/2
Billy O'Mahony [Tue, 25 Aug 2015 10:35:28 +0000 (11:35 +0100)]
Frame Modification: support remaining frame modification types.

Only works for P2P. Other deployment scenarios will need to implement
the same kind of multi-table flow as P2P to enable frame modification.

Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Dino Madarang <dino.simeonx.madarang@intel.com>
Change-Id: I2fa35972b90b165c00f0d0a7515fa275d0f17aa4

8 years agoMove documentation to new sphinx build 20/1520/1
Aric Gardner [Fri, 11 Sep 2015 19:45:39 +0000 (15:45 -0400)]
Move documentation to new sphinx build

TODO: Reorganize documentation into properly named subfolders
TODO: Add logos to documentation (see index.rst for example)
Note you can see the results of this change via a link in the gerrit
comments below
NOTE: The merge job for your project has not been enabled, this code
will not go to the artifacts page upon a merge. you can merge it and
work on it in your own time, please contact me to enable the merge
(the merge job will make this documentation avaliable to the public on
artifacts.opnfv.org)
JIRA:RELENG-15

Change-Id: I3f3d8c9d7fceae90e0ed824b66bdaf7a8ea66328
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoAdd DNAT/SNAT support 97/1397/4
Gene Snider [Tue, 1 Sep 2015 23:56:21 +0000 (16:56 -0700)]
Add DNAT/SNAT support

JIRA: VSPERF-72

This change adds optional IPv4 DNAT support to l2fwd module for level two
forwarding. With this change the l2fwd module can be used for testing
complex IP configuration routing with virtual switches.

Other L2 forwarding modules provide only Level 2 pass through. These can be
used for complex IP chain processing but rely on port forwarding in the switch.
With this module each packet which is forwarded optionally gets a new
destination IP and source masquerade. So a test packet can be routed to eth1
and forwarded on eth2 with a different target IP and source address.

To use this module compile it for your kernel and use the 'insmod' command
to insert it.

With no arguments this will forward eth1 to eth2 without modification.

With 'net1=ethX net2=ethX' Level 2 forwarding can be done between arbitrary
ports.

With 'netX=ethX,XX.XX.XX.XX,xx:xx:xx:xx:xx:xx' the packets which are forwarded
on the target port will be given the new destination IP and mac address. One
or both ports may enable DNAT.

Change-Id: If24281a6841930a7a85e4536da96b980ed48df1b
Signed-off-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
8 years agoImprovement: Expand background details on PDV in the LTD 48/1348/5
Al Morton [Thu, 30 Jul 2015 12:44:36 +0000 (13:44 +0100)]
Improvement: Expand background details on PDV in the LTD

Expand description of Packet Delay Variation to capture
the additional details which will be important to measurement
design. Measurmeent devices may be implementing the RFC 5481
PDV metric for the firt time, so som general details will
be useful to include in the LTD. Addresses MT's comments.

JIRA: VSPERF-73

Change-Id: I60524969f72bb00519e8070ae51e219d857c554e
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobug_fix: Remove extra call to VNF start 83/1383/3
Dino Simeon Madarang [Tue, 1 Sep 2015 10:38:50 +0000 (11:38 +0100)]
bug_fix: Remove extra call to VNF start

Remove call to VNF start since it is already called in __enter__
of VnfControllerPVP.

VSPERF-66

Change-Id: I9c9174ffe7d03efacb6853c059b43c8a5ca66704
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@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>
8 years agobugfix: Allow exact test names 63/1363/4
Billy O'Mahony [Fri, 28 Aug 2015 15:09:07 +0000 (16:09 +0100)]
bugfix: Allow exact test names

The current --tests option can make it hard to specify a single test to run.
This patch allows specification of tests using exact names.

JIRA: VSPERF-58

Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Dino Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Change-Id: Ib820bdae96d6257d785f4e310a3b3d1fbfa1b575

8 years agovswitches: Fix error in loading eventfd module 73/1373/3
Dino Simeon Madarang [Wed, 26 Aug 2015 15:35:37 +0000 (16:35 +0100)]
vswitches: Fix error in loading eventfd module

Load eventfd only when vhost-cuse is specified as
the guest access method.

This commit also includes quickstart update for executing PVP tests.

JIRA: VSPERF-59

Change-Id: I41f116ab1c42f704026567a269922c07994b15a5
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agosrc/dpdk: Rebind DPDK ports to the original driver 04/1304/4
Maryam Tahhan [Thu, 30 Jul 2015 11:02:33 +0000 (12:02 +0100)]
src/dpdk: Rebind DPDK ports to the original driver

Bind DPDK ports back to the original driver they were bound to. This
will be useful when switching between the types of vswitches we are
testing.

Change-Id: I6818d3f8e3c2a5d3a5f083cf9e37e0819e0b39d1
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
8 years agobug_fix: process pkt_size/duration from cli 98/1298/4
Maryam Tahhan [Thu, 30 Jul 2015 12:44:36 +0000 (13:44 +0100)]
bug_fix: process pkt_size/duration from cli

Refactor rfc25444_duration to duration and update the --test-params help
to show the type of parameters that can be set from the cli. Also
configure pkt_sizes so that it can be modified from the CLI. Also fixes
the tcl script to configure framesize properly (to the value selected
and not the default 64b).

JIRA: VSPERF-27

Change-Id: I76dcd824977a5f940cf7476090d2d2a3acca8160
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Dino Madarang <dino.simeonx.madarang@intel.com>
8 years agoMerge "Support of configurable background load and implementation of LTD.CPU.RFC2544...
Maryam Tahhan [Wed, 26 Aug 2015 08:16:03 +0000 (08:16 +0000)]
Merge "Support of configurable background load and implementation of LTD.CPU.RFC2544.0PacketLoss and LTD.Memory.RFC2544.0PacketLoss"

8 years agoSupport of configurable background load and implementation of LTD.CPU.RFC2544.0Packet... 65/1265/3
Martin Klozik [Tue, 18 Aug 2015 14:33:14 +0000 (15:33 +0100)]
Support of configurable background load and implementation of LTD.CPU.RFC2544.0PacketLoss and LTD.Memory.RFC2544.0PacketLoss

Every testcase can be configured to run background load
on the DUT. Load is generated by chosen command line tool,
which must be installed according to the installation.md.
Currently 'stress' and 'stress-ng' tools are supported,
but support for new tool can be easily added.
Load can be configured by testcase configuration option 'load'.
Details about supported load generator options can be found
in conf/01_testcases.conf.

JIRA: VSPERF-23
JIRA: VSPERF-24
Change-Id: I3e1aebc0d41357f5a2764015c41ffc7e50fdbf8b
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoMerge "vswitches: Affinitize vswitch threads for OVS-DPDK"
Maryam Tahhan [Tue, 25 Aug 2015 14:17:31 +0000 (14:17 +0000)]
Merge "vswitches: Affinitize vswitch threads for OVS-DPDK"

8 years agovswitches: Affinitize vswitch threads for OVS-DPDK 63/1263/2
Dino Simeon Madarang [Tue, 18 Aug 2015 22:44:36 +0000 (23:44 +0100)]
vswitches: Affinitize vswitch threads for OVS-DPDK

JIRA: VSPERF-64

Change-Id: I7cefd05479da6fe17357da4da558f466175dd6fc
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agovnfs: Enable PVP using vhost-cuse 40/1240/3
Dino Simeon Madarang [Wed, 15 Jul 2015 08:22:07 +0000 (09:22 +0100)]
vnfs: Enable PVP using vhost-cuse

Enable PVP testing using vhost-cuse as guest access method

Recent changes:
* Move NEWS.md changes to NEWS.rst
* Update comment to vhost-cuse
* Restore config back to checkout state after make
* Merge OPNFV 1092 updates

* Add PVP-vhost-cuse to NEWS.md
* Add comment/example to GUEST_CORE_BINDING
* Move hardcoded values to conf/04_vnfs.conf
* Set default VNF to QemuDpdkVhostCuse
* Compile eventfd_link if VHOST_USER=n
* Use MAC and PCI address from conf
* Use vhost method in conf to properly set interface type

JIRA: VSPERF-59

Change-Id: Ib1159e216f3e25b9971c0935969680582683916b
Signed-off-by: Madarang, Dino Simeon <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agodocs: Add Gotchas to quickstart guide. 37/1237/4
Maryam Tahhan [Mon, 24 Aug 2015 12:51:20 +0000 (13:51 +0100)]
docs: Add Gotchas to quickstart guide.

JIRA: VSPERF-60
Change-Id: I63695f8fa8a86cf1e64fd959658e11f3d827a3c4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: Migrate Docs to RST format and new dir docs/ 84/1284/1
Maryam Tahhan [Mon, 24 Aug 2015 13:05:15 +0000 (14:05 +0100)]
docs: Migrate Docs to RST format and new dir docs/

Migrate all existing VSPERF documentation to a new directory called
docs/ and convert to ReStructuredText format. It's recommended that any
doc changes in the future are tested with: http://rst.ninjs.org/.

Change-Id: I18aa574b1259986502bde4ceef1fae7c6a5c1f33
JIRA: VSPERF-60

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com
8 years agovsperf: update package dependencies for QEMU 84/1184/5
Maryam Tahhan [Thu, 13 Aug 2015 13:49:05 +0000 (14:49 +0100)]
vsperf: update package dependencies for QEMU

Update packages.txt with the required packages to build QEMU v2.2.1.

JIRA: VSPERF-56

Change-Id: Ifdf802de3c195b0dc5c48dcb8f098c31a1561012
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Madarang, Dino SimeonX <dino.simeonx.madarang@intel.com>
8 years agoInitial reporting implemenation 41/1141/6
Martin Klozik [Wed, 19 Aug 2015 06:52:39 +0000 (07:52 +0100)]
Initial reporting implemenation

Reporting from TOIT was merged and improved. Default template was modified
to support any testcase and to show more details about system environment.
Affected files:
* docs/NEWS.md
* testcases/testcase.py
* tools/report/__init__.py
* tools/report/report.jinja
* tools/report/report.py
* tools/systeminfo.py
* vsperf

JIRA: VSPERF-71
Change-Id: I4dc84ca69e5c292eae1f8dede1411c06ae3ef8af
Signed-off-by: Martin Klozik (martinx.klozik@intel.com)
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
8 years agovnfs: Enable PVP using vhost-user 92/1092/10
Dino Simeon Madarang [Wed, 15 Jul 2015 08:22:07 +0000 (09:22 +0100)]
vnfs: Enable PVP using vhost-user

Enable booting of a VM with DPDK and run testpmd for
PVP testing.
* Added throughput and back2back tests with pvp deployment scenario in
  01_testcases.conf
* PVP requires DPDK 2.0 with VHOST_USER enabled and QEMU 2.2.0
* Tested on CentOS7 and Fedora 20
* Fix conflict with change 1078

Recent Changes:
* Fix merge conflict (testcase.py and testcases.conf)
* Remove QEMU_DIR. User must set QEMU_BIN
* Set bidir traffic to True
* Add flow for bi-directional traffic
* Use working OVS_TAG ad2e649834be20dd01b1632799fe778106a96a2d
* Merge change 1096 (src: Add QEMU makefile)
* Set virtio-net-pci csum=off and other variables to off
* Move hardcoded values to conf/*

JIRA: VSPERF-56

Change-Id: I4ad184531064855493483d9833a7722c9f7d3576
Signed-off-by: Madarang, Dino Simeon <dino.simeonx.madarang@intel.com>
Signed-off-by: Meghan Halton <meghan.halton@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agoTestSpec: LTD.Scalability.RFC2544.0PacketLoss 55/1155/4
Maryam Tahhan [Wed, 12 Aug 2015 11:24:15 +0000 (12:24 +0100)]
TestSpec: LTD.Scalability.RFC2544.0PacketLoss

Clarify that the test intends to test the fastpath and thus the flows
need to be installed on the vSwitch before passing traffic

Change-Id: I7d72ca66d7b854463c3b809c16fd8c8088353b99
JIRA: VSPERF-19
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoTestSpec: Address IETF-93 comments with 2889 Soak tests 06/1206/2
Al Morton [Wed, 12 Aug 2015 11:53:35 +0000 (12:53 +0100)]
TestSpec: Address IETF-93 comments with 2889 Soak tests

This patch makes it clear that the Soak tests use a
method consistent with RFC 2889 to simplify test system
interactions.

JIRA: VSPERF-49

Change-Id: I82ca1e6ae6e066f72b343ece72ba98fab2aab97a
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoAdd new testcase for LTD.Scalability.RFC2544.0PacketLoss 97/1097/3
Martin Klozik [Thu, 13 Aug 2015 10:09:09 +0000 (11:09 +0100)]
Add new testcase for LTD.Scalability.RFC2544.0PacketLoss

This test adds a multistream config item,
taking the required number of flows to setup in the traffic,
to the existing testcase and then running the standard
2544 Throughput test. The config is plumbed through
from the 01_testcase.conf via ITraffic to the IxNet.
01_testcase.conf contains new parameter MultiStream
for 2544 Throughput test.

JIRA: VSPERF-19

Change-Id: I12e0e76a5f54dc13b854f3a65f3a4a0fe90ff885
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoTestSpec: Add actions to flow Classification 57/1157/4
Maryam Tahhan [Wed, 12 Aug 2015 11:53:35 +0000 (12:53 +0100)]
TestSpec: Add actions to flow Classification

Clarify that a flow has an associated action and isn't simply packets
with matching header fields.

Change-Id: Iffa7ae121049d8ec798f937082a733ef520e9d05
JIRA: VSPERF-49
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoTestSpec: Add compiler details to test report info 56/1156/1
Maryam Tahhan [Wed, 12 Aug 2015 11:40:37 +0000 (12:40 +0100)]
TestSpec: Add compiler details to test report info

Change-Id: I19d574607c29cbb8401047ab7d1255ba7282ef63
JIRA: VSPERF-47
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com
8 years agotest_spec: Clarify LTD.CPU.RFC2544.0PacketLoss 24/1124/2
Billy O'Mahony [Wed, 5 Aug 2015 16:40:42 +0000 (17:40 +0100)]
test_spec: Clarify LTD.CPU.RFC2544.0PacketLoss

Make changes based on comments from review at VSPERF weekly call 2015-08-05.

JIRA: VSPERF-2

Change-Id: I141c2b35c5469270ba8e3ecfdf88b93ec8e3d35a
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoMerge "src: Add QEMU makefile"
Maryam Tahhan [Wed, 12 Aug 2015 10:57:13 +0000 (10:57 +0000)]
Merge "src: Add QEMU makefile"

8 years agotest_spec: Add LTD.CPDPCouplingFlowAddition 16/1016/6
Billy O'Mahony [Wed, 15 Jul 2015 13:22:37 +0000 (14:22 +0100)]
test_spec: Add LTD.CPDPCouplingFlowAddition

JIRA: VSPERF-2

Change-Id: Iab66730606d9137e0f2cac195f7c98bec71fa072
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoVanilla OVS support implementation 12/1112/3
Michal Weglicki [Fri, 24 Jul 2015 09:42:38 +0000 (10:42 +0100)]
Vanilla OVS support implementation

JIRA: VSPERF-57

This patch implements Vanilla OVS support.It contains:
* New IVswitch implementation: OvsVanilla,
* New configuration contants,
* New mandatory configuration variable: VSWITCH_VANILLA_PHY_PORT_NAMES
for Vanilla OVS has been added,
* Virtual ports are not yet implemented,
* Some kernel modules wrapping methods has been moved from dpdk.py to
tools.
* Fixed bug where ovsdb hasn't been killed at the end of test case run on
some platforms.

Change-Id: I21a0d84dbc4004aae564d5547387a2563f2d1e5b
Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotest_spec: Clarify LTD.PacketLatency.InitialPacketProcessingLatency 64/1064/4
Billy O'Mahony [Fri, 24 Jul 2015 10:12:55 +0000 (11:12 +0100)]
test_spec: Clarify LTD.PacketLatency.InitialPacketProcessingLatency

Make changes based on comments from review at VSPERF weekly call 2015-22-27.

JIRA: VSPERF-2

Change-Id: Ic11a021fee58876d0a402a07195c0f1746fc1705
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agosrc/ovs: Add support for building vanilla OVS with kernel module 93/1093/2
Martin Klozik [Thu, 30 Jul 2015 12:43:23 +0000 (13:43 +0100)]
src/ovs: Add support for building vanilla OVS with kernel module

DPDK build remains the default.

JIRA: VSPERF-27
Change-Id: I7282e32d2246eaf75e399c5af87ef0ea53981895
Signed-off-by: Timo Puha <timox.puha@intel.com>
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agosrc/dpdk: Enable building of vhost-user in src/dpdk. 90/1090/3
Martin Klozik [Wed, 29 Jul 2015 07:02:34 +0000 (08:02 +0100)]
src/dpdk: Enable building of vhost-user in src/dpdk.

Allow vhost-user compilation by specifying make VHOST_USER=y
in src/Makefile. This commit also fixes a dpdk linking issue
by modifying config/common_linuxapp instead of passing args.

JIRA: VSPERF-56
Change-Id: I0437bf92b37f8f5a1939690c308cd54dfbe017f0
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agotest_spec: Clarify LTD.Throughput.RFC2889.BroadcastFrameForwarding 29/1029/6
Billy O'Mahony [Mon, 20 Jul 2015 10:59:51 +0000 (11:59 +0100)]
test_spec: Clarify LTD.Throughput.RFC2889.BroadcastFrameForwarding

Make changes based on comments from review at VSPERF weekly call 2015-07-15.

JIRA: VSPERF-2

Change-Id: I3742518edaea09c9a32a71c9cccc3c4c09fd4598
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agosrc: Add QEMU makefile 96/1096/2
Dino Simeon Madarang [Wed, 29 Jul 2015 10:00:29 +0000 (11:00 +0100)]
src: Add QEMU makefile

QEMU v2.2.0+ is recommended for vhost-user. We are adding QEMU 2.2.1
to the makefile because the EPEL repo for CentOS7 only supports QEMU 2.0.0.

JIRA: VSPERF-56

Change-Id: I1c65ad6030888802586659d044f069f7fe57c0ea
Signed-off-by: Timo Puha <timox.puha@intel.com>
Signed-off-by: Madarang, Dino Simeon <dino.simeonx.madarang@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoSupport vswitch selection from the command line. 78/1078/6
Martin Klozik [Thu, 23 Jul 2015 07:30:19 +0000 (08:30 +0100)]
Support vswitch selection from the command line.

New command line argument '--vswitch' was introduced to override
vswitch implementation selected in configuration file.
Modified file:
* vsperf

JIRA: VSPERF-27
Change-Id: Ia0070ea9f998349dcca697a0fe9519a009479477
Signed-off-by: Martin Klozik (martinx.klozik@intel.com)
Reviewed-by: Maryam Tahhan <maryamtahhan@intel.com>
8 years agoAdd a simple performance test that sends a continuous stream 66/1066/5
Radek Zetik [Mon, 20 Jul 2015 04:33:58 +0000 (05:33 +0100)]
Add a simple performance test that sends a continuous stream

Implement a simple performance test that sends a continuous
stream of traffic to the vSwitch at line rate for 30 seconds
and measures the throughput
Note: there is issue with calculating of the Tx Fps and Mbps
based on the results from the IxNetwork traffic generator.
This issue will be fixed in a later patch.

JIRA: VSPERF-27

Change-Id: Ic72225888735d33398a602462af159e901fb5957
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotest_spec: Adding vm2vm on separate hosts use case 56/1056/5
T V Rao [Tue, 28 Jul 2015 16:08:33 +0000 (21:38 +0530)]
test_spec: Adding vm2vm on separate hosts use case

The deployment scenario covers the use case of
traffic passing between two physical machines where VMs are hosted on
each physical machine.
JIRA: VSPERF-44

Change-Id: I74a507537587fea4eaa887a8d9fd27a40a8ce0e7
Signed-off-by: T V Rao <tv.rao@freescale.com>
8 years agotest_spec: Add LTD.PacketDelayVariation.RFC3393.Soak 17/1017/4
Billy O'Mahony [Wed, 15 Jul 2015 13:42:55 +0000 (14:42 +0100)]
test_spec: Add LTD.PacketDelayVariation.RFC3393.Soak

JIRA: VSPERF-2

Change-Id: I2aa2e929d67a0674c07c975c4d91cdcff50f2c40
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agotest_spec: Add LTD.MemoryBandwidth.RFC2544.0PacketLoss.Scalability 87/787/4
Billy O'Mahony [Tue, 9 Jun 2015 10:00:16 +0000 (11:00 +0100)]
test_spec: Add LTD.MemoryBandwidth.RFC2544.0PacketLoss.Scalability

* Also fixing typo on RFC2885 -> RFC2285

JIRA: VSPERF-22

Change-Id: I99c97b6850c0340db0f68e10e21436d6898842dd
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>