vswitchperf.git
7 years agohugepage_fix: Fix free hugepage calcluation 67/18467/1
Christian Trautman [Thu, 11 Aug 2016 16:34:07 +0000 (12:34 -0400)]
hugepage_fix: Fix free hugepage calcluation

Fixes hugepage free calculation when hugepage size is not
1GB. Calculation previously assumed 1GB in size. This change
allows for all sizes to be calculated properly.

Change-Id: Ib05800f51992e9757c412a66296a47ad29e88a3b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "docs: split LTD into LTP and LTD."
Maryam Tahhan [Wed, 10 Aug 2016 12:22:54 +0000 (12:22 +0000)]
Merge "docs: split LTD into LTP and LTD."

7 years agoMerge "integration_cleanup: Force testcase cleanup to always run"
Maryam Tahhan [Wed, 10 Aug 2016 12:21:27 +0000 (12:21 +0000)]
Merge "integration_cleanup: Force testcase cleanup to always run"

7 years agoMerge "Xena_2544_tput_options: Add options for rfc 2544 testing"
Maryam Tahhan [Wed, 10 Aug 2016 12:20:50 +0000 (12:20 +0000)]
Merge "Xena_2544_tput_options: Add options for rfc 2544 testing"

7 years agoMerge "hugepages: change default num pages + deallocate"
Maryam Tahhan [Wed, 10 Aug 2016 12:19:58 +0000 (12:19 +0000)]
Merge "hugepages: change default num pages + deallocate"

7 years agodocs: split LTD into LTP and LTD. 53/16853/6
Maryam Tahhan [Wed, 13 Jul 2016 14:19:02 +0000 (15:19 +0100)]
docs: split LTD into LTP and LTD.

Change-Id: Id0b2ce7460e76ffb3d478bd255a7e5b8e75ba001
Signed-off-by: Maryam Tahhan <maryam.tahhan@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 agointegration_cleanup: Force testcase cleanup to always run 69/18269/1
Christian Trautman [Tue, 9 Aug 2016 20:06:07 +0000 (16:06 -0400)]
integration_cleanup: Force testcase cleanup to always run

During testcase development on the integration side, if
namespaces are used or veth ports and an exception is raised.
The namespaces and veth ports are not properly cleanup up
because the run_finalize does not get executed.

This patch wraps the testing block in a try block where
a finally will ALWAYS execute the run_finalize thus
preventing the possiblity of leftover testing artifacts.

JIRA: VSPERF-328

Change-Id: I4ea5f29a48b9171f330847f34b5b30ef3ab22f27
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoXena_2544_tput_options: Add options for rfc 2544 testing 67/18267/1
Christian Trautman [Tue, 9 Aug 2016 19:52:14 +0000 (15:52 -0400)]
Xena_2544_tput_options: Add options for rfc 2544 testing

Adds options to Xena for testing options when running RFC 2544
throughput testing.

JIRA: VSPERF-369

Change-Id: I3145bd1a4d697d7b06cafda4f9d77cce859d1839
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "test_spec: LTD: MatchAction Performance testing"
Maryam Tahhan [Tue, 9 Aug 2016 16:40:57 +0000 (16:40 +0000)]
Merge "test_spec: LTD: MatchAction Performance testing"

7 years agoMerge "pkt_gen: MoonGen should use class object for line rate calc"
Maryam Tahhan [Tue, 9 Aug 2016 16:38:21 +0000 (16:38 +0000)]
Merge "pkt_gen: MoonGen should use class object for line rate calc"

7 years agopkt_gen: MoonGen should use class object for line rate calc 51/18251/2
bmichalo [Tue, 9 Aug 2016 15:52:36 +0000 (11:52 -0400)]
pkt_gen: MoonGen should use class object for line rate calc

Instead of hard coding line speed numbers for rate calcuation,
MoonGen should use its class object initialized at start time.

JIRA: VSPERF-368

Change-Id: I68c688f8c244df16d98cfd15efabf491a317256b
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agotest_spec: LTD: MatchAction Performance testing 01/18101/2
Al Morton [Fri, 5 Aug 2016 21:21:59 +0000 (17:21 -0400)]
test_spec: LTD: MatchAction Performance testing

One of the new tests we agreed by working on Etherpad
was MatchAction. Maryam led the development, and many
provided comments there. This is another chance for
comments before we merge.

JIRA: VSPERF-242

Change-Id: I9da74efb703d5f221280567159e4ed6d830eb92c
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: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "bugfix: Harmonize test/trial RFC2544 terminology"
Maryam Tahhan [Tue, 9 Aug 2016 08:18:42 +0000 (08:18 +0000)]
Merge "bugfix: Harmonize test/trial RFC2544 terminology"

7 years agohugepages: change default num pages + deallocate 01/18201/2
Maryam Tahhan [Tue, 9 Aug 2016 07:51:04 +0000 (08:51 +0100)]
hugepages: change default num pages + deallocate

Change the default number of allocated pages to the min 10GB. Deallocate
hugepages if we allocated them on the fly.

Change-Id: If9946cec423dd095c1ca1ab3bee3698e2f025047
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
7 years agohugepage_detect: Change hugepage detection to check for free hugepages 23/16923/9
Christian Trautman [Thu, 14 Jul 2016 18:46:43 +0000 (14:46 -0400)]
hugepage_detect: Change hugepage detection to check for free hugepages

Change hugepage detection to check if hugepages are configured. Also
verifies enough free hugepages are available based on test
configuration. Will result in an exception if not enough hugepages
are found. This performs the check based on the guest memory configs
as well as the dpdk socket configs.

Adds some new methods to check for free hugepages based on all
hugepages or for socket free hugepages.

Adds new logging indicitaing needed and free hugepages as well as info
level event if hugepages are not configured at recommended 1GB size.

JIRA: VSPerf-255

Change-Id: I80d5605308861070c412568d8d40339f01b9718b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "namespace_bug: Initial creation of namespace fails"
Maryam Tahhan [Tue, 9 Aug 2016 07:48:00 +0000 (07:48 +0000)]
Merge "namespace_bug: Initial creation of namespace fails"

7 years agopkt_gen: MoonGen incorrectly calculates rx/tx % statistics 29/17829/3
bmichalo [Fri, 29 Jul 2016 14:10:00 +0000 (10:10 -0400)]
pkt_gen:  MoonGen incorrectly calculates rx/tx % statistics

For MoonGen, the final results parameters: throughput_rx_percent,
throughput_tx_percent were incorrectly calculated when converting
MoonGen to VSPERF format.  In particular, this would occur when more
than one data stream (single channel unidirectional traffic) was used in
the test. When calculating these percentages, only aggregate throughput
values equaling unidirectional traffic were used (for example, for 64
byte frames bidirectional traffic should use 29.76 Mpps, not 14.88 Mpps)

JIRA: VSPERF-341

Change-Id: Ie62bded7aea023c287697f18c4172b58c320e050
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agoMerge "sriov: PCI IDs must be checked before usage"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:56 +0000 (08:16 +0000)]
Merge "sriov: PCI IDs must be checked before usage"

7 years agoMerge "dpdk: Testpmd forwarding mode changes in v16.07"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:20 +0000 (08:16 +0000)]
Merge "dpdk: Testpmd forwarding mode changes in v16.07"

7 years agoMerge "install: Missing packages for numa library"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:08 +0000 (08:16 +0000)]
Merge "install: Missing packages for numa library"

7 years agoMerge "Xena: Modify aggregate_stats one port no stats when bi-direction"
Maryam Tahhan [Mon, 8 Aug 2016 08:15:57 +0000 (08:15 +0000)]
Merge "Xena: Modify aggregate_stats one port no stats when bi-direction"

7 years agonamespace_bug: Initial creation of namespace fails 17/18117/1
Christian Trautman [Sun, 7 Aug 2016 01:34:22 +0000 (21:34 -0400)]
namespace_bug: Initial creation of namespace fails

Initial creation of namespace fails because var/run/netns does not
exist.

JIRA: VSPERF-366

Change-Id: I02e5aef52e1675f303405b69c7461ca6482903af
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agosriov: PCI IDs must be checked before usage 83/18083/1
Martin Klozik [Fri, 5 Aug 2016 11:38:56 +0000 (12:38 +0100)]
sriov: PCI IDs must be checked before usage

Order of NIC PCI IDs handling was changed to ensure their
check and possible expansion (by missing domain part)
before their first usage. This avoids a vsperf crash
in case that sriov is configured and short NIC PCI IDs
are used.

JIRA: VSPERF-363

Change-Id: I91f724e9558bce5a92520de72b4bf000f33d2f29
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agodpdk: Testpmd forwarding mode changes in v16.07 77/18077/1
Martin Klozik [Fri, 5 Aug 2016 08:04:55 +0000 (09:04 +0100)]
dpdk: Testpmd forwarding mode changes in v16.07

Testpmd forwarding mode mac_retry was obsoleted in DPDK v16.07.
Retry option is supported by multiple forwarding modes now.
Former "mac_retry" mode can be replaced by "mac retry" construct.

JIRA: VSPERF-333

Change-Id: I1563427985966264f07d10b1a8351784fe999d74
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoMerge "Hugepages: on the fly allocation."
Maryam Tahhan [Fri, 5 Aug 2016 10:37:27 +0000 (10:37 +0000)]
Merge "Hugepages: on the fly allocation."

7 years agoMerge "pkt_gen: MoonGen start rates not correct"
Maryam Tahhan [Fri, 5 Aug 2016 10:36:51 +0000 (10:36 +0000)]
Merge "pkt_gen: MoonGen start rates not correct"

7 years agoinstall: Missing packages for numa library 41/18041/1
Martin Klozik [Thu, 4 Aug 2016 14:08:16 +0000 (15:08 +0100)]
install: Missing packages for numa library

Recent versions of DPDK (16.xx) depend on numa library.
Thus installation scripts were updated to install both
binary and development packages.

JIRA: VSPERF-360

Change-Id: Idd0eac8758f30a355909bb804e99e650b67bba8b
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agobugfix: Harmonize test/trial RFC2544 terminology 39/17739/3
Martin Klozik [Thu, 28 Jul 2016 13:12:26 +0000 (14:12 +0100)]
bugfix: Harmonize test/trial RFC2544 terminology

VSPERF framework was updated to follow RFC2544 definition
of 'test' and 'trial' terms. Test parameter 'rfc2544_trials'
was replaced by new parameter 'rfc2544_tests'.
Both code and documentation were updated to reflect
these changes.

JIRA: VSPERF-300

Change-Id: I144a28359fd06394f1f87ef324458bafd5aad45f
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agodocs: Update vloop-vnf changelog 35/18035/1
Martin Klozik [Thu, 4 Aug 2016 09:02:54 +0000 (10:02 +0100)]
docs: Update vloop-vnf changelog

Updated version of vloop-vnf image was added into the changelog inside
installation guide.

JIRA: VSPERF-349

Change-Id: I64a1acdf2191858dc282ea6c3b588048b3bdd742
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoHugepages: on the fly allocation. 65/17265/6
Mars Toktonaliev [Wed, 20 Jul 2016 22:01:52 +0000 (18:01 -0400)]
Hugepages: on the fly allocation.

If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION
amount of RAM for hugepages.
JIRA: VSPERF-290

Change-Id: I092b3831254579eeebbe45e85884828f9d749895
Signed-off-by: Mars Toktonaliev <mars.toktonaliev@nokia.com>
7 years agoXena: Modify aggregate_stats one port no stats when bi-direction 11/18011/1
liting [Thu, 4 Aug 2016 03:28:50 +0000 (23:28 -0400)]
Xena: Modify aggregate_stats one port no stats when bi-direction

Xena exception when no stats collected on receive on one port
during bi-directional traffic. Modify aggregate_stats in the
XenaDriver.py, add judge whether the two port both has stats,
if one port has no stats, the result use the port's value which
has stats.

JIRA: VSPERF-327

Change-Id: I18c349d609a2834907f0383dbfbebd5cd281f541
Signed-off-by: liting <tli@redhat.com>
7 years agopkt_gen: MoonGen start rates not correct 33/17933/4
bmichalo [Tue, 2 Aug 2016 19:03:36 +0000 (15:03 -0400)]
pkt_gen: MoonGen start rates not correct

The VSPERF traffic profile for starting rate is in a
percentage of line rate.  MoonGen programs its
starting rate as Mpps.  Therefore the traffic profile
for VSPERF needs to be converted to a MoonGen format.
There was a hardcoding of 14.88 that was used for the
starting frame rate for all frame sizes.  This needs
to be corrected to take into account all frame sizes.

JIRA: VSPERF-350

Change-Id: Ied71668a560d7d2b03483f9a1192dd2fb4965996
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agoMerge "docs: Enhancement of IxNetwork configuration guide"
Maryam Tahhan [Wed, 3 Aug 2016 08:59:06 +0000 (08:59 +0000)]
Merge "docs: Enhancement of IxNetwork configuration guide"

7 years agodocs: Update release notes 27/17927/1
Martin Klozik [Tue, 2 Aug 2016 14:52:31 +0000 (15:52 +0100)]
docs: Update release notes

Release notes were updated with features introduced by Colorado
release.

JIRA: VSPERF-349

Change-Id: I43179028c973cae4be6746e633c27fd3419e951a
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoMerge "pkt_gen: Remove commas from MoonGen results"
Martin Klozik [Tue, 2 Aug 2016 12:29:51 +0000 (12:29 +0000)]
Merge "pkt_gen:  Remove commas from MoonGen results"

7 years agoMerge "xena_deadlock: Fix xena2544.exe deadlock"
Maryam Tahhan [Tue, 2 Aug 2016 09:42:29 +0000 (09:42 +0000)]
Merge "xena_deadlock: Fix xena2544.exe deadlock"

7 years agopkt_gen: Remove commas from MoonGen results 91/17891/1
bmichalo [Mon, 1 Aug 2016 18:08:56 +0000 (14:08 -0400)]
pkt_gen:  Remove commas from MoonGen results

Results from other traffic generators are reported as
pure numbers, i.e. 2477356.0000. These values are
consumed and processed by other scripts (e.g. CI or
OPNFV results visualization), so we should keep it
consistent among various traffic generators.

JIRA: VSPERF-342

Change-Id: I305421287eb632707038f2c8bc594fcb255ec939
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agoMerge "pkt_gen: MoonGen incorrectly inserting VLAN tag"
Martin Klozik [Mon, 1 Aug 2016 12:18:34 +0000 (12:18 +0000)]
Merge "pkt_gen: MoonGen incorrectly inserting VLAN tag"

7 years agoMerge "dpdk: Support of DPDK16.07-rc5 and newer"
Martin Klozik [Fri, 29 Jul 2016 12:20:33 +0000 (12:20 +0000)]
Merge "dpdk: Support of DPDK16.07-rc5 and newer"

7 years agodocs: Enhancement of IxNetwork configuration guide 43/17643/1
Martin Klozik [Wed, 27 Jul 2016 17:08:21 +0000 (18:08 +0100)]
docs: Enhancement of IxNetwork configuration guide

Configuration guide has been updated with description of
IxNetwork specific configuration options. New section was added
with description of test results sharing between IxNetwork and
VSPERF.
Additional changes:
* wrong formatting inside installation.rst was fixed
* description of IxNetwork configuration was updated inside ixnet.py

JIRA: VSPERF-302

Change-Id: Ida0e086e69b82fd1f9821d16ea750b2dec1d5aa2
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoIntegration docs: HelloWorld and other basic examples. 23/17423/6
Antonio Fischetti [Fri, 22 Jul 2016 15:07:40 +0000 (16:07 +0100)]
Integration docs: HelloWorld and other basic examples.

This patch adds to Integration docs some simple testcase examples
like a HelloWorld. The purpose is to show how to use some basic
features: rules on L3/L4 fields, MultiStream, Multi-VM setup.

Patch Set 2: removed trailing whitespaces.

Patch Set 3: moved the examples to the middle of the file to avoid
potential conflicts with the VxLan TC patch from Sugesh.

Patch Set 4: fix typo.

Patch Set 5: added descriptions on each example.

Patch Set 6: reworked description for VM Replacement TC.

JIRA: VSPERF-331

Change-Id: I9dea23c26138db874fd67f41d8de8a628db5d91f
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>
7 years agopkt_gen: MoonGen incorrectly inserting VLAN tag 55/17355/2
bmichalo [Thu, 21 Jul 2016 15:33:02 +0000 (11:33 -0400)]
pkt_gen: MoonGen incorrectly inserting VLAN tag

MoonGen needs to take into account the VLAN tag 'enable'
control knob defined within the VSPERF traffic profile
and therefore only insert the VLAN tag when its 'True'.

JIRA: VSPERF-329

Change-Id: Idbeed2f7e6411f0c28aa56a2d3e71bd7a79d975a
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agodpdk: Support of DPDK16.07-rc5 and newer 55/17555/1
Martin Klozik [Tue, 26 Jul 2016 11:16:17 +0000 (12:16 +0100)]
dpdk: Support of DPDK16.07-rc5 and newer

DPDK 16.07-rc5 has renamed script tools/dpdk_nic_bind.py
to tools/dpdk-devbind.py. VSPERF was updated to use wildcard
in the script name, which is backward compatible.
Function get_version() from tools/systeminfo was updated
to correctly parse version information for DPDK v16. Version
name includes a minor version as defined inside rte_version.h.
It means, that for tag v16.07-rc5 VSPERF will show v16.07.0-rc5
in the report.

JIRA: VSPERF-333

Change-Id: I61a4ab2d90304fffdfc4d22a5cbf0cb7295402b3
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoxena_deadlock: Fix xena2544.exe deadlock 43/16843/6
Christian Trautman [Tue, 12 Jul 2016 16:46:49 +0000 (12:46 -0400)]
xena_deadlock: Fix xena2544.exe deadlock

Fix Xena2544.exe execution with mono where sometimes the
Xena process says complete, but the mono process doesn't exit.

Changes call of Xena2544.exe from communicate thread lock to a
wait try/catch block and checks the log periodically to see
if a deadlock has occured and if so, the mono pid is terminated
to prevent deadlock.

* Fix one small issue with typecasting to int, changed to float

JIRA: VSPERF-319

Change-Id: Ie7a86a2b9ff9cdfacba5a912ad17df6cc0581702
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Remove trailing whitespaces 47/17347/1
Martin Klozik [Thu, 21 Jul 2016 13:52:49 +0000 (14:52 +0100)]
docs: Remove trailing whitespaces

Wrong whitespace characters breaks automatic generation of VSPERF
documentation. It is necessary to remove wrong characters before
merge of the draft into VSPERF doc, e.g. by filtering through
tr -d '\014'

JIRA: VSPERF-324

Change-Id: Ie280f5a443c89d4235cae5eb89fdceae74ea4213
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoMerge "pkt_gen: Moongen class name not consistent with name in conf files"
Maryam Tahhan [Wed, 20 Jul 2016 14:58:13 +0000 (14:58 +0000)]
Merge "pkt_gen: Moongen class name not consistent with name in conf files"

7 years agopkt_gen: Moongen class name not consistent with name in conf files 63/17163/2
bmichalo [Tue, 19 Jul 2016 19:34:51 +0000 (15:34 -0400)]
pkt_gen: Moongen class name not consistent with name in conf files

Need to change naming to 'Moongen' for consistent naming
between conf files and class

JIRA: VSPERF-323

Change-Id: Ic580b68323a759b3c2ef7ca3c07006243a3acf7d
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agoci: CI report generation 29/17229/1
Martin Klozik [Tue, 19 Jul 2016 12:22:09 +0000 (13:22 +0100)]
ci: CI report generation

Script for generation of documentation has been moved from releng
into new opnfvdocs repository. VSPERF script for a daily CI job is
calling this script for overall PDF report generation. Thus it must
be updated to use new script location.

JIRA: VSPERF-324

Change-Id: I173a2139c57c39acb25c14f7a082e0ff0a888b2f
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
7 years agoMerge "conf/integration: Fix typo on Integration testcase example."
Maryam Tahhan [Tue, 19 Jul 2016 16:12:09 +0000 (16:12 +0000)]
Merge "conf/integration: Fix typo on Integration testcase example."

7 years agoMerge "ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately"
Maryam Tahhan [Tue, 19 Jul 2016 16:11:50 +0000 (16:11 +0000)]
Merge "ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately"

7 years agoMerge "New IETF Draft WG version"
Maryam Tahhan [Tue, 19 Jul 2016 16:10:41 +0000 (16:10 +0000)]
Merge "New IETF Draft WG version"

7 years agoMerge "ovs/ofctl: Fix validation method for complex flows."
Maryam Tahhan [Tue, 19 Jul 2016 16:09:37 +0000 (16:09 +0000)]
Merge "ovs/ofctl: Fix validation method for complex flows."

7 years agoovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately 37/17137/2
Christian Trautman [Tue, 19 Jul 2016 13:48:30 +0000 (09:48 -0400)]
ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately

ovs-appctl was broken due to a previous commit which changed the
location of the ovs-vswitchd pid file. This fixes it by placing
the pid back in the default location where ovs-appctl is looking
for.

JIRA: VSPERF-315

Change-Id: I4ae87ad566acb69ac9d565a3a77865f5a6861b93
Signed-off-by: MartinX Klozik <martinx.klozik@intel.com>
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoconf/integration: Fix typo on Integration testcase example. 41/17041/1
Antonio Fischetti [Mon, 18 Jul 2016 12:06:23 +0000 (13:06 +0100)]
conf/integration: Fix typo on Integration testcase example.

This patch fixes a typo in the integration testcase example,
otherwise settings like
{"guest_loopback" : "linux_bridge"}
are ignored.

JIRA: ONP-6635

Change-Id: Iab61d36e70f96f4a6c1f98a506753dc7fa090140
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>
7 years agoNew IETF Draft WG version 95/16995/1
Al Morton [Fri, 15 Jul 2016 18:27:50 +0000 (14:27 -0400)]
New IETF Draft WG version

JIRA: VSPERF-??

Change-Id: I1f07a70bf3c8604df890defd8493f107550bf8f3
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>
7 years agoMerge "dpdk: Support of DPDK16.07"
Maryam Tahhan [Thu, 14 Jul 2016 11:44:54 +0000 (11:44 +0000)]
Merge "dpdk: Support of DPDK16.07"

7 years agoUpdate fuel plugin builder installation 97/16497/3
Guo Ruijing [Wed, 6 Jul 2016 18:07:02 +0000 (02:07 +0800)]
Update fuel plugin builder installation

Change-Id: Ife16738ea8717749c52e950404257936994fe273
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agodpdk: Support of DPDK16.07 27/16827/1
Martin Klozik [Wed, 13 Jul 2016 10:04:35 +0000 (11:04 +0100)]
dpdk: Support of DPDK16.07

DPDK 16.07 changed the default log level of DPDK enabled applications.
Detection of the end of OVS initialization procedure has been changed
to work for various DPDK versions and for both DPDK and Vanilla OVS.

JIRA: VSPERF-316

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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Reviewed-by: <sridhar.rao@spirent.com>
7 years agodocs: Update yardstick userguide 11/16811/1
Martin Klozik [Wed, 13 Jul 2016 07:12:23 +0000 (08:12 +0100)]
docs: Update yardstick userguide

Documentation update based on review comments received after
the merge of original patch.

JIRA: VSPERF-288

Change-Id: I86305fa064cc07e2e0797276a7b89b1d4b23d126
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Reviewed-by: <sridhar.rao@spirent.com>
7 years agoovs/ofctl: Fix validation method for complex flows. 55/16855/1
Antonio Fischetti [Fri, 8 Jul 2016 15:16:06 +0000 (16:16 +0100)]
ovs/ofctl: Fix validation method for complex flows.

The current validation method for 'add_flow' commands
does not work properly with complex flows, like UDP flows.
It always returns that the flow was not set, even though
the add_flow command was successful.

JIRA: ONP-6579

Change-Id: Iaad77551326ff495cb68a033e1303450a99386bd
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>
7 years agoMerge "Enable BURST_MODE for l2fwd"
Maryam Tahhan [Mon, 11 Jul 2016 08:55:50 +0000 (08:55 +0000)]
Merge "Enable BURST_MODE for l2fwd"

7 years agoyardstick: Documentation and YAML testcase definitions 61/16261/4
Martin Klozik [Tue, 28 Jun 2016 14:21:28 +0000 (15:21 +0100)]
yardstick: Documentation and YAML testcase definitions

Yardstick supports execution of vsperf specific testcases.
These testcases are specified by YAML files located
inside yardstick/tests directory. Documentation describing
yardstick usage and execution of vsperf testcases is
part of the userguide.

JIRA: VSPERF-288

Change-Id: I5a575d28d344e0f3e0a1c8434e2f3231fd312d31
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Reviewed-by: <sridhar.rao@spirent.com>
7 years agoMerge "Spirent-TestCenter: Code Cleanup."
sridharkn [Fri, 8 Jul 2016 03:09:43 +0000 (03:09 +0000)]
Merge "Spirent-TestCenter: Code Cleanup."

7 years agoMerge "rstp-stp: Add basic functions for stp/rstp enable on ovs"
Christian Trautman [Fri, 8 Jul 2016 01:41:39 +0000 (01:41 +0000)]
Merge "rstp-stp: Add basic functions for stp/rstp enable on ovs"

7 years agoMerge "Namespace_veth: Add funtionality for network namespace, veth ports"
Christian Trautman [Fri, 8 Jul 2016 01:31:25 +0000 (01:31 +0000)]
Merge "Namespace_veth: Add funtionality for network namespace, veth ports"

7 years agorstp-stp: Add basic functions for stp/rstp enable on ovs 37/16137/3
Christian Trautman [Wed, 29 Jun 2016 20:58:36 +0000 (16:58 -0400)]
rstp-stp: Add basic functions for stp/rstp enable on ovs

Add basic functions to enable/disable spanning tree
protocols on the bridge.

Also adds bridge info function to retrieve other bridge
information.

JIRA: VSPERF-314

Change-Id: Ic72c5a2a9d16aab1b95428ce37042a5b536481aa
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoNamespace_veth: Add funtionality for network namespace, veth ports 29/16129/3
Christian Trautman [Wed, 29 Jun 2016 15:22:41 +0000 (11:22 -0400)]
Namespace_veth: Add funtionality for network namespace, veth ports

Adds functionality for network namespaces and veth/peer ports
to connect the namespaces. The namespaces are tracked outside
of default Linux namespaces to prevent possible disruption of
work outside of VSPerf where a user may create a namespace and
the cleanup code deletes it. The cleanup code only removes
namespaces and veth ports created inside the testcase.

JIRA: VSPERF-310

Change-Id: If8881cafb119f38f052403a1de497e9660187d2e
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoSpirent-TestCenter: Code Cleanup. 83/16383/1
sridharkn [Tue, 5 Jul 2016 14:59:24 +0000 (20:29 +0530)]
Spirent-TestCenter: Code Cleanup.

Removal of redunant code in testcenter.py.

No logic Changes.
Cosmetic changes - removing redundant code of 150+ lines.

JIRA: VSPERF-308

Change-Id: I4766890cdc9f3d23103b2d2090285361ac4a5197
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agoMerge "multi-queue: Add basic multi-queue functionality"
Christian Trautman [Fri, 1 Jul 2016 22:44:38 +0000 (22:44 +0000)]
Merge "multi-queue: Add basic multi-queue functionality"

7 years agoMerge "Spirent Support for Continuous Traffic"
Christian Trautman [Fri, 1 Jul 2016 18:36:54 +0000 (18:36 +0000)]
Merge "Spirent Support for Continuous Traffic"

7 years agoMerge "pkt_gen: Adding MoonGen traffic generator"
Christian Trautman [Fri, 1 Jul 2016 16:58:21 +0000 (16:58 +0000)]
Merge "pkt_gen:  Adding MoonGen traffic generator"

7 years agoXena: Modify the throughput result typecasts int issue 33/16233/1
tli [Fri, 1 Jul 2016 02:48:52 +0000 (22:48 -0400)]
Xena: Modify the throughput result typecasts int issue

Modify the _create_throughput_result method typecasts int to
typecasts to float

JIRA: VSPERF-312

Change-Id: I45722251f3ca200373aa7b6958e62ea511c304f8
Signed-off-by: tli <tli@redhat.com>
7 years agoMerge "xena_bug: Resolve baseconfig reporting option to work with new versions"
Christian Trautman [Thu, 30 Jun 2016 15:45:34 +0000 (15:45 +0000)]
Merge "xena_bug: Resolve baseconfig reporting option to work with new versions"

7 years agopkt_gen: Adding MoonGen traffic generator 25/16125/4
bmichalo [Wed, 29 Jun 2016 15:48:14 +0000 (11:48 -0400)]
pkt_gen:  Adding MoonGen traffic generator

Adds support for the MoonGen packet generator.
The following traffic types are included:

* RFC 2544 Throughput:  Synchronous Interface
* RFC 2544 Back 2 Back:  Synchronous Interface
* Continous Flow:  Synchronous Interface

JIRA: VSPERF-168

Sample log of execution can be found as an
attachment within JIRA VSPERF-168

Change-Id: I5bb84290945f4ba41bc962370e643bbbeff0e486
Signed-off-by: bmichalo <bmichalo@redhat.com>
7 years agomulti-queue: Add basic multi-queue functionality 63/16063/6
Christian Trautman [Tue, 28 Jun 2016 16:27:17 +0000 (12:27 -0400)]
multi-queue: Add basic multi-queue functionality

Adds support for multi-queue using the following config.

 * VNF = QemuDpdkVhostUser
 * VSWITCH = OvsDpdkVhost
 * Guest Loopback as testpmd

Adds CPU mask, nbcore, rxq, and txq  options for testpmd.
Adds option for guest nic multi-queue.
Adds option for dpdkvhostuser and dpdk multi-queue enable

JIRA: VSPERF-309

Change-Id: I5296fc18b430eace598d8c51620fc27a6c46a65e
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "xena_burst: Add Xena Burst traffic"
Christian Trautman [Wed, 29 Jun 2016 18:50:48 +0000 (18:50 +0000)]
Merge "xena_burst: Add Xena Burst traffic"

8 years agoMerge "Xena: Modify xena_json for back2back options"
Christian Trautman [Wed, 29 Jun 2016 16:12:19 +0000 (16:12 +0000)]
Merge "Xena: Modify xena_json for back2back options"

8 years agoxena_bug: Resolve baseconfig reporting option to work with new versions 69/16069/2
Christian Trautman [Tue, 28 Jun 2016 18:26:41 +0000 (14:26 -0400)]
xena_bug: Resolve baseconfig reporting option to work with new versions

Fix baseconfig to work with new Xena2544.exe versions. Reporting
option for latency/jitter collection has changed.

Added note to trafficgen document reflecting recommended version
to use for Xena2544.exe.

JIRA: VSPERF-311

Change-Id: I1974ea3c9f9e4c0935fc8adead6ddd5a92a16a04
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoXena: Modify xena_json for back2back options 55/15955/3
tli [Wed, 29 Jun 2016 03:14:03 +0000 (23:14 -0400)]
Xena: Modify xena_json for back2back options

Add method set_test_options_back2back in code to modify duration,
iterations, and flowrate for back2back options in the json file.

JIRA: VSPERF-305

Change-Id: I1337318e7519fbd7b5a71bb26a1c62fcd8c2b66c
Signed-off-by: tli <tli@redhat.com>
8 years agoxena_burst: Add Xena Burst traffic 91/15991/1
Christian Trautman [Sun, 26 Jun 2016 19:13:38 +0000 (15:13 -0400)]
xena_burst: Add Xena Burst traffic

Add Xena burst traffic functionality.

JIRA: VSPERF-263

Change-Id: I6336e5fcb33c0f66ee87f0f14f1b795937e3d00d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoresults: Write trafficgen results into CSV 67/15967/1
Martin Klozik [Thu, 23 Jun 2016 09:01:27 +0000 (10:01 +0100)]
results: Write trafficgen results into CSV

Write test results provided by traffic generator into CSV file
also in case, that trafficgen mode is selected.

JIRA: VSPERF-288

Change-Id: Ib55f9f81aadef7dd20a5dce4b000dc2c9607cb95
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: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "xena_bug: Fix throughput stats with bi-directional traffic"
Maryam Tahhan [Wed, 22 Jun 2016 10:56:50 +0000 (10:56 +0000)]
Merge "xena_bug: Fix throughput stats with bi-directional traffic"

8 years agoMerge "linux_bridge_guest: Modify packet structure for linux bridge tests"
Maryam Tahhan [Wed, 22 Jun 2016 10:56:14 +0000 (10:56 +0000)]
Merge "linux_bridge_guest: Modify packet structure for linux bridge tests"

8 years agoMerge "INFO: update committer list"
Maryam Tahhan [Thu, 16 Jun 2016 15:25:46 +0000 (15:25 +0000)]
Merge "INFO: update committer list"

8 years agoMerge "xena_cont: Add Xena continuous traffic functionality"
Maryam Tahhan [Thu, 16 Jun 2016 15:25:18 +0000 (15:25 +0000)]
Merge "xena_cont: Add Xena continuous traffic functionality"

8 years agoMerge "Throughput and Latency Profile Test: Clarify"
Maryam Tahhan [Thu, 16 Jun 2016 15:24:54 +0000 (15:24 +0000)]
Merge "Throughput and Latency Profile Test: Clarify"

8 years agosrc: update dpdk, ovs and qemu versions 35/15735/2
Maryam Tahhan [Thu, 16 Jun 2016 11:37:04 +0000 (12:37 +0100)]
src: update dpdk, ovs and qemu versions

Update dpdk, ovs and qemu versions to overcome build errors on the vsperf commit gate.

Change-Id: I579d731756bb27c37b0f4e38ff91bf36a7bd06de
Signed-off-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>
8 years agolinux_bridge_guest: Modify packet structure for linux bridge tests 31/15531/1
Christian Trautman [Tue, 14 Jun 2016 12:59:36 +0000 (08:59 -0400)]
linux_bridge_guest: Modify packet structure for linux bridge tests

Change packet structure for pvp/pvvp tests that use the linux
bridge as the loopback to include the tgen mac address instead
of the guest nic mac addresses in layer 2.

This change is due to the old way not working with Xena traffic
generators. Ixia works with both the old and new way.

 * Verified to work with Xena
 * Verified to work with Ixia

JIRA: VSPERF-307

Change-Id: Ieca0c58610797d9d5c726ba9f21227e255958092
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoThroughput and Latency Profile Test: Clarify 89/15389/1
Billy O'Mahony [Fri, 10 Jun 2016 16:06:30 +0000 (17:06 +0100)]
Throughput and Latency Profile Test: Clarify

Make clear that 'max' refers to RFC2544 Throughput not line rate.

Change-Id: I968c1f99920b6ab0a3009622cb16c67daf5e3373
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: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agoEnable BURST_MODE for l2fwd 35/11835/2
Mesut Ali Ergin [Fri, 1 Apr 2016 19:05:10 +0000 (12:05 -0700)]
Enable BURST_MODE for l2fwd

JIRA: VSPERF-267

This change adds optional burst mode to l2fwd module that makes use of
skb->xmit_more API available in Linux Kernel > 3.18 in order to batch
transmission of packets out of the NIC, increasing forwarding performance
significantly. By default burst mode is disabled. If a value greater than
1 is provided, burst mode is enabled to send that many packets at once.
Typical values would be burst=8 or burst=16.

Change-Id: I8ef5f86cf73d4cb5a8e4c618a86111ebf411dca8
Signed-off-by: Mesut Ali Ergin <mesut.a.ergin@intel.com>
Signed-off-by: Mallesh Koujalagi <malleshx.koujalagi@intel.com>
8 years agoSpirent Support for Continuous Traffic 93/15293/1
Sridhar Rao [Wed, 8 Jun 2016 14:08:20 +0000 (19:38 +0530)]
Spirent Support for Continuous Traffic

Adding changes for supporting continuous traffic for Spirent Testcenter
The changes are as follows:
1. From send_cont_traffic invoke function in testcenter-rfc2544-rest.py
2. In testcenter-rfc2544-rest.py check for the traffic_custom
3. If the traffic_custom is 'cont' do additional configuration on
traffic.

JIRA: VSPERF-146
Change-Id: Ic963f9f0c2bd013f6e676c9d18b151ae67ff77af

Signed-off-by: Sridhar Rao <sridhar.rao@spirent.com>
8 years agoINFO: update committer list 99/15099/2
Maryam Tahhan [Thu, 2 Jun 2016 14:54:48 +0000 (15:54 +0100)]
INFO: update committer list

Change-Id: Ia55c4c98fc70ce5eafe22b3a99f71646b0309932
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Aric Gardner <agardner@linuxfoundation.org>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoxena_cont: Add Xena continuous traffic functionality 19/14819/3
Christian Trautman [Wed, 4 May 2016 19:29:22 +0000 (15:29 -0400)]
xena_cont: Add Xena continuous traffic functionality

* Adds XenaDriver.py module to allow direct communication to
  Xena chassis through socket API and collect stats.
* Adds implementation into xena.py for continuous traffic
  flow.

JIRA: VSPERF-262

Change-Id: I6f975bc205e3c954215eb16466f11298e3fcdfaf
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "integration_doc: Update integration document"
Maryam Tahhan [Thu, 2 Jun 2016 14:57:10 +0000 (14:57 +0000)]
Merge "integration_doc: Update integration document"

8 years agoxena_bug: Fix throughput stats with bi-directional traffic 89/14789/1
Christian Trautman [Fri, 27 May 2016 18:18:37 +0000 (14:18 -0400)]
xena_bug: Fix throughput stats with bi-directional traffic

Fix xena throughput stats for bi directional traffic by
taking the receive numbers from both ports instead of
a single port.

JIRA: VSPERF-303

Change-Id: I3898afe00f8c80f54e5b4c210831e1fc6cef3c20
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agointegration_doc: Update integration document 73/14673/2
Christian Trautman [Wed, 25 May 2016 15:39:15 +0000 (11:39 -0400)]
integration_doc: Update integration document

Update integration document to reflect tests are not
just overlay tests.

 * Include instructions for using macros
 * Include information on test step validation

JIRA: VSPERF-298

Change-Id: Ic0d5f277b2a8b646f331e967f83421708b374f21
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "Rebase to fuel 9.0 and add vagrant based build and enhance some scripts"
Maryam Tahhan [Wed, 25 May 2016 14:50:20 +0000 (14:50 +0000)]
Merge "Rebase to fuel 9.0 and add vagrant based build and enhance some scripts"

8 years agobugfix: Remove dependency on ifconfig 11/14511/1
Martin Klozik [Fri, 20 May 2016 12:24:15 +0000 (13:24 +0100)]
bugfix: Remove dependency on ifconfig

VSPERF uses ifconfig at several places to bring up
a networking interface. However ifconfig has been
deprecated by iproute2 package and it is not available
in standard installation of many Linux distributions.
Thus all calls of ifconfig have been replaced by
call of 'ip' tool.

Change-Id: I935eaf85b6082e4641d12cffea3e0882c634e5ea
JIRA: VSPERF-299
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: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoMerge "xena_multistream_fix: Fix multistream json config"
Maryam Tahhan [Mon, 23 May 2016 08:36:29 +0000 (08:36 +0000)]
Merge "xena_multistream_fix: Fix multistream json config"

8 years agoRebase to fuel 9.0 and add vagrant based build and enhance some scripts 13/14413/1
Guo Ruijing [Fri, 20 May 2016 02:35:39 +0000 (10:35 +0800)]
Rebase to fuel 9.0 and add vagrant based build and enhance some scripts

Change-Id: Id3a38d662c330cd388c6509c9d6e90409c1da6e7
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>