vswitchperf.git
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>
8 years agotestcase: Add frame modification config 96/996/7
Billy O'Mahony [Tue, 7 Jul 2015 13:26:14 +0000 (14:26 +0100)]
testcase: Add frame modification config

* Added a new standard set of flow table that defaults to routing phy1 to phy2
  and vice-versa and allows frame modification and tuple matches to be added
  independently of routing.
* Add a FrameMod testcase attribute - implement this for value 'vlan'
* With FrameMod == 'vlan' the reported tx_fps and rx_fps figures do not match
  even for RFC2544 throughtput 0% packet loss - this is a pre-existing bug
  and a fix will be done as a separate patch. The rx_fps figure is the
  reliable figure.

JIRA: VSPERF-27

Change-Id: Idd137b7a101305e7aebb6fabdfb6a7a4dcf8661b
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 agoBUILD: Fix Build to allow us to verify patches 83/1083/1
Maryam Tahhan [Mon, 27 Jul 2015 16:22:58 +0000 (17:22 +0100)]
BUILD: Fix Build to allow us to verify patches

Fix build so as we no longer use the HEAD of OVS master, but a specific
commit and modify the DPDK build to edit the configuration file.

Change-Id: I0067b53e5c5295d87b9daf49a9d1ff9e4081558e
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoFix stability issues at the end of testcase run. 11/1011/2
Martin Klozik [Tue, 14 Jul 2015 00:48:09 +0000 (01:48 +0100)]
Fix stability issues at the end of testcase run.

Cleanup procedure is performed at the end of each testcase run.
Procedure consists of termination of vswitch processes,
removal of unneeded kernel drivers, unmount of hugepages, etc.
There must be enough time for vswitch processes to terminate
properly before OS resources are freed. Otherwise OS stability
issues can be observed (e.g. server reboot).
Process termination is implemented by sending signal SIGTERM
to the process instead of previously used signal SIGINT.

Change-Id: I7e8c7a86ae2a75f2a18db0d9340726fb649a685b
JIRA: VSPERF-27
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: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoAdd new biDirectional parameter for particular testcase 22/1022/2
Radek Zetik [Fri, 26 Jun 2015 01:38:59 +0000 (02:38 +0100)]
Add new biDirectional parameter for particular testcase

This change introduces new parameter which sets the communication
between ports either uni-directional or bi-directional.

JIRA: VSPERF-27
Change-Id: I4eb06f5c91ef42147878cb68cbad24e69eb002c1
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Meghan Halton <meghan.halton@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
8 years agotest_spec: Clarify LTD.Throughput.RFC2544.SoakFrameModification 22/922/4
Billy O'Mahony [Tue, 30 Jun 2015 09:59:56 +0000 (10:59 +0100)]
test_spec: Clarify LTD.Throughput.RFC2544.SoakFrameModification

Based on comments from weekly VSPERF call 2015-06-24.
JIRA: VSPERF-2

Change-Id: I204ea21b5ecb634e0bec249ed826ff2402d67d9e
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>
8 years agotest_spec: Clarify LTD.Throughput.RFC2889.ErrorFramesFiltering 21/1021/2
Billy O'Mahony [Thu, 16 Jul 2015 12:59:35 +0000 (13:59 +0100)]
test_spec: Clarify LTD.Throughput.RFC2889.ErrorFramesFiltering

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

JIRA: VSPERF-2

Change-Id: I96e9a0c518e7d857d6e58d7bcc96e4691957aac0
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoSupport of windows drive letter in path to result dir. 98/998/2
Martin Klozik [Thu, 9 Jul 2015 03:22:06 +0000 (04:22 +0100)]
Support of windows drive letter in path to result dir.

Parsing of path with IxNetwork test results has been fixed
to accept also windows drive letter. Change affects parsing
of TRAFFICGEN_IXNET_TESTER_RESULT_DIR configuration parameter.
Modified file:
* tools/pkt_gen/ixnet/ixnet.py

JIRA: VSPERF-27
Change-Id: I3dd6123e051952e6fd3f83cd9691341472d2960e
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: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@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: Add new test definition LTD.Throughput.RFC2544.Profile 24/924/2
Billy O'Mahony [Tue, 30 Jun 2015 10:55:12 +0000 (11:55 +0100)]
test_spec: Add new test definition LTD.Throughput.RFC2544.Profile

This test was proposed at VSPERF weekly call 2015-06-17.

JIRA: VSPERF-2

Change-Id: I1ca0749637473ab2df68b9cd6725eaae78cafa46
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 agoTestSpec: Add flow Classification section 88/988/3
Maryam Tahhan [Thu, 9 Jul 2015 10:43:02 +0000 (11:43 +0100)]
TestSpec: Add flow Classification section

Add a section that specifies the fields we should match on as part of a
flow.

JIRA: VSPERF-49

Change-Id: Ice5496076ac77bceca8ddadd13bea396177f2901
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoIETF Summary: Editorial changes prior to submission 81/981/2
Al Morton [Fri, 19 Jun 2015 18:45:08 +0000 (19:45 +0100)]
IETF Summary: Editorial changes prior to submission

Final and Submitted version 00 of IETF Summary

Change-Id: Ibfdb2d2edcd29107d887e67887f15935c7d3ffd7
JIRA: VSPERF-43
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoTestSpec: Add test report information details 26/926/7
Maryam Tahhan [Tue, 30 Jun 2015 11:45:17 +0000 (12:45 +0100)]
TestSpec: Add test report information details

Add a section that specifies the test parameters that should be recorded
to minimize the variation in test results for test runs.

JIRA: VSPERF-47

Change-Id: Ifce7ca1174ef83a999c6ddfe1ddd026309ef214b
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoTestSpec: Add a section on system validation 47/947/6
Maryam Tahhan [Thu, 2 Jul 2015 15:44:14 +0000 (16:44 +0100)]
TestSpec: Add a section on system validation

Add an LTD section on system validation and isolation.

JIRA: VSPERF-48

Change-Id: Ib686d22753d364da1197290886ec37a12724df32
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agovsperf: Add --xunit support 65/965/4
Billy O'Mahony [Tue, 23 Jun 2015 11:10:04 +0000 (12:10 +0100)]
vsperf: Add --xunit support

Generate xmlrunner output for use by Jenkins, but without actually
using xmlrunner to discover & run tests.

JIRA: VSPERF-27

Change-Id: I000099c841f3755043104f251837e3d4c214c6bb
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>
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: Clarify RFC2889.MaxForwardingRate 58/958/2
Billy O'Mahony [Fri, 3 Jul 2015 13:19:22 +0000 (14:19 +0100)]
test_spec: Clarify RFC2889.MaxForwardingRate

Changes based on review from VSPERF weekly call 2015-07-01.

* Change name from ForwardingRate to MaxForwardingRate
* Add section number to reference to RFC2889.

JIRA: VSPERF-33

Change-Id: Ic4ff9be5cf6a3d61fb5aa7c3216d3ff7c348677b
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 agoPort RFC2544.BackToBackFrames test to vsperf 45/945/3
Dino Simeon Madarang [Fri, 19 Jun 2015 18:45:08 +0000 (19:45 +0100)]
Port RFC2544.BackToBackFrames test to vsperf

Add RFC2544.BackToBackFrames test and fix pylint errors.
Remove irrelevant values of back to back test results.

JIRA: VSPERF-46
Change-Id: I7a0dfd9494b509c3be7bffc0678228838d3059a1
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Meghan Halton <meghan.halton@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Martin Klozik<martinx.klozik@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 agoIETFSummary: Expand IETF summary of LTD Sec 3 86/886/9
Al Morton [Thu, 14 May 2015 09:54:44 +0000 (10:54 +0100)]
IETFSummary: Expand IETF summary of LTD Sec 3

Added a section on new concfiguration parameters and a another section
on flow classification/matching. Fixed diagrams to match starting
offset.
JIRA: VSPERF-43

Change-Id: Iad8742810c37ffe33de4005e3b2150593fe2defe
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Signed-off-by: Al Morton <acmorton@att.com>
9 years agosrc: update DPDK and OVS build to DPDK2.0.0 01/901/3
Maryam Tahhan [Mon, 22 Jun 2015 15:42:38 +0000 (16:42 +0100)]
src: update DPDK and OVS build to DPDK2.0.0

Update DPDK to build DPDK v2.0.0 and update OVS to link to that version
of DPDK.

Change-Id: Icc8f9fbcc7a4804a3648f0027b4ea2140888d5d1
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Mark B Kavanagh <mark.b.kavanagh@intel.com>
Reviewed-by: TV Rao <tv.rao@freescale.com>
9 years agodoc: add IXIA client setup information 00/900/3
Maryam Tahhan [Tue, 23 Jun 2015 10:54:34 +0000 (11:54 +0100)]
doc: add IXIA client setup information

Add information on how to install the IXIA client software that works
with vsperf.

Change-Id: Ia9923617e713c56ba5ecedd0d3cdf0388221dcac
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Mark B Kavanagh <mark.b.kavanagh@intel.com>
Reviewed-by: TV Rao <tv.rao@freescale.com>
9 years agodocs: update quickstart.md with src build info 98/898/3
Maryam Tahhan [Mon, 22 Jun 2015 15:56:13 +0000 (16:56 +0100)]
docs: update quickstart.md with src build info

Update quickstart.md to add information on how one can clone and build
OVS and DPDK.

Change-Id: I02365c4cdbdde6426008672a7ed7c6402be3c046
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Mark B Kavanagh <mark.b.kavanagh@intel.com>
Reviewed-by: TV Rao <tv.rao@freescale.com>
9 years agoMerge "doc: quickstart.md fixup"
Maryam Tahhan [Tue, 30 Jun 2015 15:39:16 +0000 (15:39 +0000)]
Merge "doc: quickstart.md fixup"

9 years agodoc: quickstart.md fixup 89/889/2
Maryam Tahhan [Mon, 22 Jun 2015 15:24:48 +0000 (16:24 +0100)]
doc: quickstart.md fixup

Fix line wrapping in quickstart.md so lines aren't deliberately cut
off at particular points.

Change-Id: Ie166c679b7036c850412be645fcc1fee65400b1b
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: TV Rao <tv.rao@freescale.com>
9 years agoTestSpec: Add Test Summary List 16/916/3
Maryam Tahhan [Mon, 29 Jun 2015 14:51:37 +0000 (15:51 +0100)]
TestSpec: Add Test Summary List

Add a summary list of the tests defined so far.

Change-Id: I60011bf79515d7b95563b6f3132d01a32ae5e394
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
9 years agodocs: fix-up typos in installation.md 99/899/3
Maryam Tahhan [Tue, 23 Jun 2015 10:34:41 +0000 (11:34 +0100)]
docs: fix-up typos in installation.md

Fix-up a typo and line ending in installation.md.

Change-Id: Ie0a682f20ca63df853600a585d65d2ee844bacc4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
9 years agotest_spec: update spec with MAC learning tests 90/890/2
Maryam Tahhan [Wed, 24 Jun 2015 12:45:34 +0000 (13:45 +0100)]
test_spec: update spec with MAC learning tests

Update LTD.Throughput.RFC2889.AddressCachingCapacity and
LTD.Throughput.RFC2889.AddressLearningRate to indicate they are only
applicable to vswitches that are capable of MAC learning.
JIRA: VSPERF-35

Change-Id: I7b0f5c98347ba7d8f0a774982bd574a7d306b540
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
9 years agoMerge "test_spec: Clarify LTD.Throughput.RFC2544.PacketLossRatioFrameModification"
Maryam Tahhan [Wed, 24 Jun 2015 12:32:20 +0000 (12:32 +0000)]
Merge "test_spec: Clarify LTD.Throughput.RFC2544.PacketLossRatioFrameModification"

9 years agoMerge "TestSpec: Add LTD.Scalability.RFC2544.0PacketLoss"
Maryam Tahhan [Wed, 24 Jun 2015 12:32:03 +0000 (12:32 +0000)]
Merge "TestSpec: Add LTD.Scalability.RFC2544.0PacketLoss"

9 years agoMerge "test_spec: Clarify LTD.Throughput.RFC2544.Soak"
Maryam Tahhan [Wed, 24 Jun 2015 12:31:52 +0000 (12:31 +0000)]
Merge "test_spec: Clarify LTD.Throughput.RFC2544.Soak"

9 years agotest_spec: Clarify LTD.Throughput.RFC2544.Soak 90/690/3
Billy O'Mahony [Fri, 29 May 2015 10:17:59 +0000 (11:17 +0100)]
test_spec: Clarify LTD.Throughput.RFC2544.Soak

Based on comments from weekly VSPERF call 2015-05-20.
JIRA: VSPERF-2

Change-Id: Ic36b6c1260168a7bb0b003585b3abe64a2841820
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>
9 years agotest_spec: Clarify RFC6201.ResetTime 44/744/3
Billy O'Mahony [Wed, 3 Jun 2015 14:20:13 +0000 (15:20 +0100)]
test_spec: Clarify RFC6201.ResetTime

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

JIRA: VSPERF-2

Change-Id: I7e4f0e1137d9dd96953f5b96c5179b40906c23b9
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>
9 years agoTestSpec: Add LTD.Scalability.RFC2544.0PacketLoss 03/403/6
Billy O'Mahony [Wed, 24 Jun 2015 12:10:47 +0000 (13:10 +0100)]
TestSpec: Add LTD.Scalability.RFC2544.0PacketLoss

JIRA: VSPERF-19
Change-Id: I4b85ed0291d785b46222ab1a965bc377c05130ed
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>
9 years agoMerge "Update targets for l2fwd build"
Maryam Tahhan [Tue, 23 Jun 2015 10:12:36 +0000 (10:12 +0000)]
Merge "Update targets for l2fwd build"

9 years agoIETFSummary: Add initial IETF summary of LTD 08/808/4
Maryam Tahhan [Thu, 14 May 2015 09:54:44 +0000 (10:54 +0100)]
IETFSummary: Add initial IETF summary of LTD

JIRA: VSPERF-43

Change-Id: I1020b2845a644d3002c08ede3a6dfa8fc068781a
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Signed-off-by: Al Morton <acmorton@att.com>
9 years agoTestSpec: Modify soak tests to measure PDV 28/528/5
Maryam Tahhan [Tue, 12 May 2015 16:20:44 +0000 (17:20 +0100)]
TestSpec: Modify soak tests to measure PDV

Add PDV as defined by RFC 5841 as one of the metrics collected by the
defined soak tests.

JIRA: VSPERF-14
Change-Id: Ida110347ec3a60e0d8fba03ab20407e11e40b96a
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
9 years agoMerge "test_spec: Clarify LTD.Throughput.RFC2544.SystemRecoveryTime"
Maryam Tahhan [Wed, 17 Jun 2015 11:44:33 +0000 (11:44 +0000)]
Merge "test_spec: Clarify LTD.Throughput.RFC2544.SystemRecoveryTime"

9 years agoUpdate targets for l2fwd build 31/831/1
Eugene Snider [Mon, 15 Jun 2015 18:42:14 +0000 (11:42 -0700)]
Update targets for l2fwd build

Added cleanse, clobber and force_make targets for top level Makefile
compliance

Change-Id: I510ed174e3ae01b35e9df975e5aaa1c989b34ce9
Signed-off-by: Eugene Snider <eugene.snider@huawei.com>
9 years agoTestSpec: Add LTD.Latency.Slowpath 45/345/8
Maryam Tahhan [Tue, 12 May 2015 14:56:07 +0000 (15:56 +0100)]
TestSpec: Add LTD.Latency.Slowpath

Add a definition for Slowpath packet delay test.

JIRA: VSPERF-40
Change-Id: I43727ad966c706bd3d4fad3a463798af3ccd72f8
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Aihua Li <aihua.li@huawei.com>
9 years agoTestSpec: Modify LTD access permissions 54/554/5
Maryam Tahhan [Wed, 10 Jun 2015 11:51:14 +0000 (12:51 +0100)]
TestSpec: Modify LTD access permissions

Modify the LTD access permissions so it's not executable.

Change-Id: I234f84da5901934cb3f55830225a326ba03c1193
JIRA: VSPERF-2
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Aihua Li <aihua.li@huawei.com>
9 years agoMerge "framework: Add reworked framework to repo"
Maryam Tahhan [Mon, 8 Jun 2015 15:03:08 +0000 (15:03 +0000)]
Merge "framework: Add reworked framework to repo"

9 years agoframework: Add reworked framework to repo 94/694/2
Billy O'Mahony [Fri, 29 May 2015 14:24:03 +0000 (15:24 +0100)]
framework: Add reworked framework to repo

This commit adds the vSwitch Integration Test Framework whose
design, based off TOIT, is outlined in the HLD previously made
availiable to the community for review.

The design of this framework allows developers to add different
implementations of components, specifically vSwitches, Traffic
Generators, Metrics Collectors and VNFs, easily.

The goal of this design is that all testcases should run regardless of
what is "under the hood".

This commit adds support for running the framework for a phy to phy
RFC2544 testcase only. More testcases will be added by the community.

vSwitches supported at this time:
* Intel DPDK (r) accelerated OpenvSwitch

Traffic Generators supported at this time:
* IxNet - IxNetwork Implementation
* Ixia - IxExplorer Implementation
* Dummy - Manual Implementation

Metrics Collectors supported at this time:
* Linux Metrics

No VNFs are supported at this time but the framework outlines how they
should be integrated and provides APIs for them to adhere to.

JIRA: VSPERF-27
Change-Id: I312e1a1199487ffee8f824be06cd97d4f793eee0
Signed-off-by: Stephen Finucane <Stephen.Finucane@intel.com>
Signed-off-by: Meghan Halton <Meghan.Halton@intel.com>
Signed-off-by: Christopher Nolan <Christopher.Nolan@intel.com>
Signed-off-by: Maryam Tahhan <Maryam.Tahhan@intel.com>
Signed-off-by: Ciara Loftus <Ciara.Loftus@intel.com>
Signed-off-by: Mark Kavanagh <Mark.B.Kavanagh@intel.com>
Signed-off-by: Cian Ferriter <Cian.Ferriter@intel.com>
Signed-off-by: Timo Puha <TimoX.Puha@intel.com>
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Signed-off-by: Michal Weglicki <MichalX.Weglicki@intel.com>
Signed-off-by: Rory Sexton <Rory.Sexton@intel.com>
Signed-off-by: Ian Stokes <Ian.Stokes@intel.com>
Signed-off-by: Kevin Traynor <Kevin.Traynor@intel.com>
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Aihua Li <aihua.li@huawei.com>
9 years agotest_spec: Clarify LTD.Throughput.RFC2544.SystemRecoveryTime 69/769/1
Billy O'Mahony [Thu, 4 Jun 2015 10:05:56 +0000 (11:05 +0100)]
test_spec: Clarify LTD.Throughput.RFC2544.SystemRecoveryTime

Make changes based on review from VSPERF weekly call 2015-05-27.

JIRA: VSPERF-2

Change-Id: I4e2caec3f0ad52a7ef3773372aee4f06791631de
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Gene Snider <eugene.snider@huawei.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
9 years agotest_spec: Clarify LTD.Throughput.RFC2544.PacketLossRatioFrameModification 91/691/1
Billy O'Mahony [Fri, 29 May 2015 11:55:33 +0000 (12:55 +0100)]
test_spec: Clarify LTD.Throughput.RFC2544.PacketLossRatioFrameModification

Based on comments from weekly VSPERF call 2015-05-20.
JIRA: VSPERF-2

Change-Id: I7707ca62a870509baaff557715da31bb7a254b70
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>
9 years agoUpdate license to Apache 2.0 98/698/1
Aihua Li [Wed, 27 May 2015 18:08:17 +0000 (11:08 -0700)]
Update license to Apache 2.0

Change-Id: I87027ac8ac34340ee3629a536bf3467241f8abd9
JIRA: VSPERF-15
Signed-off-by: Aihua Li <aihua.li@huawei.com>
Reviewed-by: Eugene Snider <eugene.snider@huawei.com>
9 years agotestspec: cleanup + update tests with new metrics 25/525/3
Maryam Tahhan [Tue, 12 May 2015 15:55:44 +0000 (16:55 +0100)]
testspec: cleanup + update tests with new metrics

Cleanup and update the test specification with CPU and memory
utilization metrics that can be collected in conjunction with the other
metrics for the test.

JIRA: VSPERF-2
Change-Id: Ia70d83a9cba724e2d6f503984a8db537d4a1f395
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
9 years agoAdd l2 fwd kernel module 78/478/4
Eugene Snider [Tue, 5 May 2015 18:31:12 +0000 (11:31 -0700)]
Add l2 fwd kernel module

This commit adds a simple kernel module for l2 forwarding or termination

This module provides only level 2 forwarding between two ports, it does not
do any NAT or Masquerade.

Arguments are:

net1=ethXXXX # set forwarding port 1
net2=ethXXX  # set forwarding port 2
terminate=1  # terminate the connection and free the skb

Changed to GPL licensing to avoid compilation issues
Added sanity build target
Fix whitespace issues

JIRA: VSPERF-39

Change-Id: I0fa3e0135af06b7cba665a357dccfb9459edb9f6
Signed-off-by: Eugene Snider <eugene.snider@huawei.com>
9 years agoMerge "TestSpec: Add LTD.Throughput.RFC2889.BroadcastFrameForwarding"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:50 +0000 (08:07 +0000)]
Merge "TestSpec: Add LTD.Throughput.RFC2889.BroadcastFrameForwarding"

9 years agoMerge "TestSpec: Add LTD.Throughput.RFC2889.ErrorFramesFiltering"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:37 +0000 (08:07 +0000)]
Merge "TestSpec: Add LTD.Throughput.RFC2889.ErrorFramesFiltering"

9 years agoMerge "TestSpec: Add LTD.Throughput.RFC2889.AddressLearningRate"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:30 +0000 (08:07 +0000)]
Merge "TestSpec: Add LTD.Throughput.RFC2889.AddressLearningRate"

9 years agoMerge "TestSpec: Add LTD.Throughput.RFC2889.AddressCachingCapacity"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:19 +0000 (08:07 +0000)]
Merge "TestSpec: Add LTD.Throughput.RFC2889.AddressCachingCapacity"

9 years agoMerge "TestSpec: Add LTD.Throughput.RFC2889.ForwardPressure"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:12 +0000 (08:07 +0000)]
Merge "TestSpec: Add LTD.Throughput.RFC2889.ForwardPressure"

9 years agoMerge "TestSpec: LTD.Throughput.RFC2889.ForwardingRate"
Maryam Tahhan [Wed, 8 Apr 2015 08:07:01 +0000 (08:07 +0000)]
Merge "TestSpec: LTD.Throughput.RFC2889.ForwardingRate"

9 years agoMerge "Adding Onboarding file"
Aihua Li [Wed, 8 Apr 2015 04:55:09 +0000 (04:55 +0000)]
Merge "Adding Onboarding file"