vswitchperf.git
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 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 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>
8 years agoMerge "run_task_fix: Fix run_task to provide all output from command"
Maryam Tahhan [Wed, 18 May 2016 14:23:04 +0000 (14:23 +0000)]
Merge "run_task_fix: Fix run_task to provide all output from command"

8 years agoUpdating Committer list (Committer removals) 55/14255/1
Aric Gardner [Tue, 17 May 2016 16:35:01 +0000 (12:35 -0400)]
Updating Committer list (Committer removals)

Change-Id: I508954206a92a96446b28f40680acb87cd916c0b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agorun_task_fix: Fix run_task to provide all output from command 41/14041/1
Christian Trautman [Thu, 12 May 2016 13:26:47 +0000 (09:26 -0400)]
run_task_fix: Fix run_task to provide all output from command

Fix run_task to correctly provide all output from command
sent. Commands that produced longer output would not
return all text.

JIRA: VSPERF-296

Change-Id: I7e501690ffdb7c01f90d524ffbabe65500f62304
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoxena_multistream_fix: Fix multistream json config 21/14021/1
Christian Trautman [Thu, 12 May 2016 13:04:56 +0000 (09:04 -0400)]
xena_multistream_fix: Fix multistream json config

Fix xena_json module to correctly assign hwmodifier for
multistream. Append was incorrect application and
list needs to be assigned directly.

JIRA: VSPERF-293

Change-Id: I88d1930b88711af7c920b507a4db6c29cca83d8d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agodpdk: Support of DPDK v16.04 07/14007/3
Martin Klozik [Mon, 9 May 2016 08:48:30 +0000 (09:48 +0100)]
dpdk: Support of DPDK v16.04

Configuration options modified by VSPERF were split
between config_base and config_linuxapp files. Makefile
was modified to reflect this change.
Additional changes:
* content of qemu shared dir is copied without preservation
of attributes to avoid compilation issues due misaligned
clocks => could produce broken igb_uio module
* added support of new testpmd "Bye.." message
* DPDK sources are copied from RTE_SDK_USER directory for all
VNF variants - this has been wrongly reverted by inttest patch

Change-Id: Id502a072c1f843258496decbf031e7ba7264d459
JIRA: VSPERF-297
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>
Reviewed-by: Michal Weglicki <michalx.weglicki@intel.com>
8 years agoMerge "docs: updated the added features list"
Maryam Tahhan [Thu, 12 May 2016 10:57:48 +0000 (10:57 +0000)]
Merge "docs: updated the added features list"

8 years agodocs: add gotcha for activating the python 3 env 33/13933/2
Maryam Tahhan [Wed, 11 May 2016 13:58:10 +0000 (14:58 +0100)]
docs: add gotcha for activating the python 3 env

Add instructions for gotcha when activating the python 3 env.

Change-Id: Ia531ca796ad15354974dee13033a8d97a42c7747
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoMerge "testcase: execution time"
Maryam Tahhan [Thu, 12 May 2016 10:55:43 +0000 (10:55 +0000)]
Merge "testcase: execution time"

8 years agoovsdb: Add delay after ovsdb start 03/14003/1
Martin Klozik [Thu, 12 May 2016 07:14:23 +0000 (08:14 +0100)]
ovsdb: Add delay after ovsdb start

Ovsdb must be up and running before any configuration
option is modified or vswitchd is executed.
Otherwise options won't be modified in DB and/or vswitchd
won't be able to use correct options during start up.

Change-Id: I04948d383272f2e694ec685b3a21d639068125ca
JIRA: VSPERF-291
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 "ovs: update to OVS 2.5"
Maryam Tahhan [Wed, 11 May 2016 14:32:00 +0000 (14:32 +0000)]
Merge "ovs: update to OVS 2.5"

8 years agotestcase: execution time 09/13909/4
Maryam Tahhan [Wed, 11 May 2016 09:21:59 +0000 (10:21 +0100)]
testcase: execution time

Measure the execution time for a testcase and add it to the log. We need
to report the test execution times for the testcases for OPNFV release
C. Modified the timing result in the csv + results file to display a
H:M:S format.

Change-Id: Ife9e361da5f8b3fc3721050ae3e6dce049f7402d
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: updated the added features list 29/13929/2
Maryam Tahhan [Wed, 11 May 2016 13:48:02 +0000 (14:48 +0100)]
docs: updated the added features list

Updated the added features list in NEWS.rst. If there's anything I
missed please let me know.

Change-Id: I12dd63cbea293642f14e1ab3eb0d5b715e3a015e
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoovs: update to OVS 2.5 21/13921/1
Maryam Tahhan [Fri, 4 Mar 2016 13:32:02 +0000 (13:32 +0000)]
ovs: update to OVS 2.5

Upgrade OVS version tested to 2.5. Tested with OVS with DPDK and stock
OVS.
JIRA: VSPERF-254
Change-Id: I78f6cdca0b96c5b13524cec3a662e55f49320f69

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoqemu: add python path to configure 47/13847/3
Maryam Tahhan [Tue, 10 May 2016 13:08:58 +0000 (14:08 +0100)]
qemu: add python path to configure

Add python path to ./configure arguments for QEMU to overcome build issue.

Change-Id: I6a29f471a27bc0088609bf78176120637709df21
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agobuild_base_machine: added sysstat 45/13845/3
Maryam Tahhan [Tue, 10 May 2016 10:18:03 +0000 (11:18 +0100)]
build_base_machine: added sysstat

Added sysstat package to build base machine for Ubuntu.

Change-Id: I648f5a8db21a7713fb5c24ef010db877c9ec4d15
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodpdk: Support new way of DPDK configuration in ovs-vswitchd 09/13709/1
Martin Klozik [Thu, 5 May 2016 13:59:32 +0000 (14:59 +0100)]
dpdk: Support new way of DPDK configuration in ovs-vswitchd

Configuration of DPDK options in ovs-vswitchd has changed.
Previously used option --dpdk was deprecated and all DPDK
related options have to be configured through ovsdb via ovs-vsctl
calls. VSPERF was modified to detect and use correct version
of DPDK configuration. New configuration options should
be put into VSWITCHD_DPDK_CONFIG dictionary.
VSPERF classes specific to OVS were refactored.

Change-Id: Ia3fad5906221439f477638f1f9734289dbf737bb
JIRA: VSPERF-291
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 agopkt_gen: Reporting FPS and MBPS from Spirent Testcenter 37/13637/2
sridharkn [Wed, 4 May 2016 07:41:58 +0000 (13:11 +0530)]
pkt_gen: Reporting FPS and MBPS from Spirent Testcenter

Support for reporting FPS and MBPS (TX and RX) is added.

JIRA: VSPERF-285

Change-Id: Ic4b6ca02368b1808f0f985e90099cdb0b41c2afa
Signed-off-by: sridharkn <sridhar.rao@spirent.com>
8 years agoMerge "bugfix: Fix creation of vsperfenv in Ubuntu"
Maryam Tahhan [Wed, 4 May 2016 13:59:42 +0000 (13:59 +0000)]
Merge "bugfix: Fix creation of vsperfenv in Ubuntu"

8 years agoMerge "bidirectional value: Fix inconsistency for bidir param"
Maryam Tahhan [Wed, 4 May 2016 13:58:03 +0000 (13:58 +0000)]
Merge "bidirectional value: Fix inconsistency for bidir param"

8 years agoMerge "hugepage_doc: Add hugepage configuration info to installation doc"
Maryam Tahhan [Wed, 4 May 2016 13:56:31 +0000 (13:56 +0000)]
Merge "hugepage_doc: Add hugepage configuration info to installation doc"

8 years agoMerge "makefile: Remove obsolete copy operations"
Maryam Tahhan [Wed, 4 May 2016 13:53:49 +0000 (13:53 +0000)]
Merge "makefile: Remove obsolete copy operations"

8 years agobidirectional value: Fix inconsistency for bidir param 01/12501/4
Christian Trautman [Wed, 20 Apr 2016 19:30:42 +0000 (15:30 -0400)]
bidirectional value: Fix inconsistency for bidir param

Fixes bi-directional param and enforces string type in
testcase configuration. Modifies all instance where bi
directional value is used to string.

 * Changes documentation to specify value type as needed
 * Changes traffic defaults to use string for bidir value
 * Fixes testcases configuration files to use bidir as str
 * Change testcase conf documentation to note enforcement
   of string type
 * Sets bidir to title format to keep consitency in traffic
   profile when passed to traffic generators
 * Fix pvp/pvvp check for bidir value
 * Raise exception if testcase configuration is not set
   as str for bidir value
 * Change Xena bi-dir check to string compare instead of
   typecasting to boolean to compare.

JIRA: VSPERF-282

Change-Id: I7c91fcd7333a1d1e1371bfd31700c01d7da268b5
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: Fix creation of vsperfenv in Ubuntu 57/13657/1
Martin Klozik [Wed, 4 May 2016 12:21:14 +0000 (13:21 +0100)]
bugfix: Fix creation of vsperfenv in Ubuntu

Wrong version of virtualenv was executed in Ubuntu
specific script. So python modules could not be installed
and vsperf was not working.
Hugepages mount point is newly created inside
sudo environment to avoid issues with permissions.

Change-Id: I4f5afc22bceb2eebbf018c42f42b7074a93e2293
JIRA: VSPERF-292
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobugfix: Graceful shutdown of VM - improvement 59/13659/1
Martin Klozik [Fri, 29 Apr 2016 13:23:36 +0000 (14:23 +0100)]
bugfix: Graceful shutdown of VM - improvement

Cleanup phase of PVVP scenario sometimes causes server reboot.
Following updates were made to prevent reboots:
* better generic process termination procedure
* ovsdb is terminated after vswitchd termination
* vswitchd is terminated directly instead of parent sudo process
* already running VNFs are terminated in case of failure during
VNF start()

Change-Id: Ic09d60d7bfdea01c84a2685ede3d0316f0d09be7
JIRA: VSPERF-271
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agohugepage_doc: Add hugepage configuration info to installation doc 11/13511/2
Christian Trautman [Mon, 2 May 2016 13:30:15 +0000 (09:30 -0400)]
hugepage_doc: Add hugepage configuration info to installation doc

Adds some documentation to the installation guide on proper
hugepage configuration to run vsperf with dpdk and/or guests.

JIRA: VSPERF-256

Change-Id: I3b85fe7d69b00841844aa82ba8faf936d7e37825
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "integration: Support of PVP and PVVP integration TCs"
Maryam Tahhan [Tue, 3 May 2016 13:59:16 +0000 (13:59 +0000)]
Merge "integration: Support of PVP and PVVP integration TCs"

8 years agomakefile: Remove obsolete copy operations 25/13425/1
Martin Klozik [Fri, 29 Apr 2016 08:20:22 +0000 (09:20 +0100)]
makefile: Remove obsolete copy operations

In the past DPDK, OVS and QEMU were copied and compiled for all
three OVS configurations, i.e. Vanilla OVS, OVS+DPDK with vHost Cuse
and OVS+DPK with vHost User. Later compilation of QEMU was triggered
just once and DPDK compilation was removed from OVS Vanilla dir.
However source code was still copied to all directories. Unnecessary
copy operations were removed.

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 agointegration: Support of PVP and PVVP integration TCs 79/12479/3
Martin Klozik [Tue, 12 Apr 2016 11:56:27 +0000 (12:56 +0100)]
integration: Support of PVP and PVVP integration TCs

Integration TC support has been enhanced to support PVP
and PVVP scenarios. Definition of integration testcases
have been modified to use a sort of macros for repetitive
parts.
Additional improvements were introduced:
* instances of testcases are created only for testcases
selected for execution
* new TC definition options allow to define test specific
vswitch, VNF, traffic generator and test options
* tests filter applied on pattern specified by --tests
allows to define negative filter only; In that case
list of all tests is used as base for negative filter.
* traffic values defined within teststep passed to send_traffic
is merged with default values; This is essential for execution
of TCs with linux_bridge or SRIOV support. It also simplifies
integration TC definition
* typos removed

Change-Id: Icb734a7afd7e5154f27a8ff25615a39e01f58c27
JIRA: VSPERF-213
JIRA: VSPERF-216
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 agoxena_port_ip: Add port ip assignment for Xena traffic generator 49/12649/1
Christian Trautman [Mon, 25 Apr 2016 21:43:25 +0000 (17:43 -0400)]
xena_port_ip: Add port ip assignment for Xena traffic generator

Adds port ip set options as part of conf files. Allows for IPv4
address assignment. Adds ipv6 options for later implementation
when available in framework.

*  Adds Xena to documentation area where available traffic gens
   are listed.

JIRA: VSPERF-273

Change-Id: Ia4129222ea95f1d399d5cc0c589c9a99d7b1b81a
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoxena_version: Add versioning info for report file from Xena 03/12503/1
Christian Trautman [Wed, 20 Apr 2016 20:37:51 +0000 (16:37 -0400)]
xena_version: Add versioning info for report file from Xena

Adds Xena version info to report files. Works by pulling the
version info from the result file and adding it to the
settings dictionary.

JIRA: VSPERF-274

Change-Id: I2b7db30e5a621f32a7eaacfe48ab1bca498e4287
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agovm: use the same testpmd sources inside VM 75/12275/3
Martin Klozik [Wed, 13 Apr 2016 13:26:07 +0000 (14:26 +0100)]
vm: use the same testpmd sources inside VM

Always copy testpmd sources from the directory with vHost User
version of DPDK. This will avoid possible issues with missing
dependencies in some VM images. It will also ensure, that testpmd
inside VM is agnostic to chosen vHost method.

Change-Id: I0496cc846eff3f7d4c1aef0a9c825545a4c3c818
JIRA: VSPERF-283
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 agoxena: Back 2 Back implementation 39/12239/3
Christian Trautman [Wed, 13 Apr 2016 17:02:00 +0000 (13:02 -0400)]
xena: Back 2 Back implementation

Allows for execution of back 2 back tests by enabling back to back
test scenario in json file when executing Xena2544.exe. Return
results are the number of frames. Results for test execution can
be found in the coresponding JIRA ticket.

- Disabled throughput by default in json file.
- Modified test params in baseconfig file for b2b test
- Modified create_result method to use data in resulting xml file
  over using inspect strategy to detect test type
- Added line to Xena installation guide for issue that was found
  locally after installation

JIRA: VSPERF-264

Change-Id: I0ecd6e1ce750613c53fe308aea3f5a55cca69c20
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agosystems: Fix build scripts from arch specific packages 41/12241/2
Christian Trautman [Wed, 13 Apr 2016 17:15:42 +0000 (13:15 -0400)]
systems: Fix build scripts from arch specific packages

Fixes the build scripts to stop using arch specific packages.
The issue was found on an x86_64 arch when performing the
installation script. The glibc.i686 would fail to install
because a dependency was installed with a x86_64 arch.

While testing I found other versions of Fedora should also
include the glib2-devel package which was added to Fedora 22
build_base_machine script in another patch. This does not
seem to be included in the base installation of the OS.

Tested on Centos7, Fedora22, 21, 20, and Rhel7.2.

JIRA: VSPERF-281

Change-Id: I884d14fdacf0ceb96c9dc341e82c96d864653766
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: Graceful shutdown of VM 43/12443/1
Martin Klozik [Thu, 14 Apr 2016 19:18:16 +0000 (20:18 +0100)]
bugfix: Graceful shutdown of VM

Cleanup phase of PVVP scenario sometimes causes server reboot.
Following updates were made to prevent reboots:
* sleep after VM OS shutdown allows QEMU to finish its own shutdown
procedure
* shared dir was mounted as read only to prevent its modification,
which sometimes causes delays during shutdown; Also warning messages
are causing CI jobs failures.

Change-Id: I1607e79beeee343893496efe01ca0be5ea684a9d
JIRA: VSPERF-271
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 agosriov: Support of SRIOV and Qemu PCI passthrough 61/11861/6
Martin Klozik [Fri, 18 Mar 2016 10:40:42 +0000 (10:40 +0000)]
sriov: Support of SRIOV and Qemu PCI passthrough

Generic support of SRIOV has been added. Virtual interfaces can be
used in multiplei scenarios instead of physical NICs. Virtual
functions can be directly accessed from VM by PCI passthrough method.
Another option is to use VFs with vSwtich to evaluate impact
on performance.
Additonal modifications:
* Automatic detection of NIC details has been added to simplify
configuration.
* Obsoleted configuration options have been removed.
* Logging usage within vsperf script was fixed.
* Vsperf main was refactored and final cleanup function added.
* Configurable forwarding mode of TestPMD executed inside VM.

JIRA: VSPERF-198
Change-Id: I4a0d5d262b245d433b12419de79399fb5825a623
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 agodocs: rename scalability test 43/11543/6
Maryam Tahhan [Wed, 23 Mar 2016 14:46:47 +0000 (14:46 +0000)]
docs: rename scalability test

Rename LTD.Scalability.RFC2544.0PacketLoss to
LTD.Scalability.Flows.RFC2544.0PacketLoss to indicate what is being
scaled.

Change-Id: I398cbccf319fc09b621e7a68d7f81e4ff8d0b050
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agopkt_gen: Testcenter traffic generation using STC-REST API -Import Issue. 51/12151/2
sridharkn [Mon, 11 Apr 2016 14:02:44 +0000 (19:32 +0530)]
pkt_gen: Testcenter traffic generation using STC-REST API -Import Issue.

The import of stcrestclient in moved down to avoid execution errors.

Change-Id: Ib9b64f62400c20a031f0ffcd3410582741cf1644
JIRA: VSPERF-237

8 years agodocs: Fix param name test-param to test-params 03/11603/2
Christian Trautman [Thu, 24 Mar 2016 22:08:30 +0000 (18:08 -0400)]
docs: Fix param name test-param to test-params

Repair of documentation and configuration files where test-params
is incorrectly listed as test-param.

JIRA: VSPERF-266

Change-Id: I6be6c387fd57338f5dc5fba2ca8e1438dada0852
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoxena: Throughput method implementation for Xena Networks 39/11839/8
Christian Trautman [Fri, 1 Apr 2016 21:31:14 +0000 (17:31 -0400)]
xena: Throughput method implementation for Xena Networks

Add files for Xena Networks 2544 throughput
implementation. This allows for Xena to execute
tput tests from VSPerf. For information on how
this works please see the JIRA ticket.

Modify traffic gen guide on install instructions
for Xena. Add in scapy to requirements file. Modify
conf file for Xena chassis connection information.

* Added license info to __init__.py / baseconfig.x2544
* Set initial rate to 10% line rate for tput testing
* Modified default mac address xena_json->set_header_layer2
  from aa:aa:aa:aa:aa:aa to cc:cc:cc:cc:cc:cc

* Removed obsolete multistream params
* Added traffic params to 03_traffic.conf
* Comments to explain try/catch for latency values
* Removed unused import

* Rebased to fix merge conflict
* Added Xena to available traffic gen list in conf files

JIRA: VSPERF-261

Change-Id: I3c4b4a332fd532e10b6096e9ed97a4a39d410839
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agodoc: Fix typos in documentation 03/11903/2
Martin Klozik [Tue, 5 Apr 2016 13:28:25 +0000 (14:28 +0100)]
doc: Fix typos in documentation

A few fixes in documentation to assure clean pdf build.

Change-Id: Ib42818820f18ee96efb98d2016f4d6d9ee3e2b62
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 agopkt_gen: Adding Support of testcenter traffic generation using STC REST API. 93/9693/8
sridharkn [Wed, 10 Feb 2016 05:12:56 +0000 (10:42 +0530)]
pkt_gen: Adding Support of testcenter traffic generation using STC REST API.

Stcrestclient package based script is added. Support for RFC22544
backtoback, latency, frameloss are also added, along with the throughput.

Comments Addressed:
1.  Parameter name consistency. Ex: use duration (refer dummy.py).
2.  Moved 'only the necessary contents of README to
    configguide/trafficgen.rst.
3.  Removed README file
4.  Commit message format (pkt_gen: and linewrap)
5.  Merged 4 scripts (throughput/backtoback/latency/frameloss)
    that were rest-based into one single script.
    Name: testcenter-rfc2544-test.py
6.  Changed year to 2016
7.  Moved imports to the top (testcenter-rfc2544-rest.py)
8.  Changed prints to Log (testcenter-rfc2544-rest.py)
9.  Reporting the frame loss percentage.
10. Calls to frameloss and latency are not added as the 'caller'
    class TrafficControllerRFC2544 is only calling backtoback and
    throughput.
11. Changed Exception, e to Exception as e for python 3
    compatibility
12. Remaining prints to debug and logger.error for errors.
13. Moved Session creation under try block.
14. Removed deadcode
15. Fixed missing docstring
16. Generic to specific Exception.
17. if-if to if-elif
18. Debug level logging only under verbose flag.
19. Fixed Arguments mismatch.
20. Ordering of the imports
Note: The testcenter-rfc2544-rest.py is spawned as a separate process,
and need not be wrapped in a class.

JIRA: VSPERF-237

Change-Id: I05d2b24fca1da4ba67bc4d79206c5d755ebf8f20
Signed-off-by: sridharkn <sridhar.rao@spirent.com>
8 years agoConfiguration: Fix of default param in custom conf file 63/11463/2
Christian Trautman [Mon, 21 Mar 2016 13:41:24 +0000 (09:41 -0400)]
Configuration: Fix of default param in custom conf file

Fixing default param for packet sizes to be of correct parameter
name.

JIRA: VSPERF-260

Change-Id: Ie09cae6fa47d85f1a15e7da40325a48d3acd1518
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: Graceful shutdown of VMs 63/11863/2
Martin Klozik [Mon, 4 Apr 2016 11:50:26 +0000 (12:50 +0100)]
bugfix: Graceful shutdown of VMs

Cleanup phase of PVVP scenario sometimes causes server reboot.
It seems, that forced kill of VMs is the root cause. So graceful
shutdown of VMs was introduced.

Change-Id: I427404406fd7174d2a034f3cf0b51fe0833f9ecf
JIRA: VSPERF-271
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 agoLTD: Add Overlay Network Test 45/11645/6
Al Morton [Sat, 26 Mar 2016 19:50:05 +0000 (15:50 -0400)]
LTD: Add Overlay Network Test

Following development on the Etherpad, this is one of the
new test cases for Release C.
modified:   docs/requirements/vswitchperf_ltd.rst
not sure if conf/01_testcases.conf also needs update,
or other conf files?

JIRA: VSPERF-241

Change-Id: Ib747c4ed729b5af96ae141493beb8f033e940ba5
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agodocs: update test summary list. 39/11539/2
Maryam Tahhan [Wed, 23 Mar 2016 13:57:31 +0000 (13:57 +0000)]
docs: update test summary list.

Update test summary list to include:
 * LTD.Scalability.VNF.RFC2544.PacketLossProfile
 * LTD.Scalability.VNF.RFC2544.PacketLossRatio
 * LTD.Stress.RFC2544.0PacketLoss

JIRA: VSPERF-238

Change-Id: I62ff23c00243cadc8c818d09079dcd38a587a922
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agoIETF Draft: Address last BMWG meeting Comments 43/11643/2
Al Morton [Sat, 26 Mar 2016 18:42:31 +0000 (14:42 -0400)]
IETF Draft: Address last BMWG meeting Comments

Final version submitted as -02
On branch IETF-95draft_1b
Changes to be committed:
new file:   docs/requirements/ietf_draft/draft-vsperf-bmwg-vswitch-opnfv-02.xml
new file:   docs/requirements/ietf_draft/draft-vsperf-bmwg-vswitch-opnf-02.txt

JIRA: VSPERF-246

Change-Id: I69262f3392cc9865be46ddff0f12ba85091d947d
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agosystems: Fix top level build_base_machine script to use ID 65/11465/6
Christian Trautman [Mon, 21 Mar 2016 16:15:23 +0000 (12:15 -0400)]
systems: Fix top level build_base_machine script to use ID

Modified top level build_base_machine.sh script to use ID
instead of Name from os-release file. Renamed folders to
adapt to this change.

* Modified ID variable assignment from echo to straight assignment.

JIRA: VSPERF-257

Change-Id: I22a7d5a1f191418cbc8fc9fd7d85b013e51b49bc
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoLTD: Add Rationale for 10^-7 % Loss Ratio 47/11647/2
Al Morton [Sat, 26 Mar 2016 20:49:20 +0000 (16:49 -0400)]
LTD: Add Rationale for 10^-7 % Loss Ratio

This expanded item in the Throughput RFC description
explains a choice we made in Release A.
modified:   docs/requirements/vswitchperf_ltd.rst

JIRA: VSPERF-2??  (having trouble with JIRA on 3/26)

Change-Id: Icf5132f55c8b00f99c41439ca644655dfcdf017d
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agoIETF Draft: Address IETF-94 BMWG meeting Comments 69/11269/3
Al Morton [Sat, 12 Mar 2016 18:11:46 +0000 (13:11 -0500)]
IETF Draft: Address IETF-94 BMWG meeting Comments

Several Comments from the IETF-94 meeting, many are captured in the meeting notes.
Section 6 of the meeting notes gives the comments:
https://www.ietf.org/proceedings/94/minutes/minutes-94-bmwg

JIRA: VSPERF-246

Change-Id: Ibe77b67789024ac48cce00147ce94cf2270d8106
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: Fix errors related to removal of kernel modules 51/11351/3
Martin Klozik [Tue, 15 Mar 2016 15:30:42 +0000 (15:30 +0000)]
bugfix: Fix errors related to removal of kernel modules

Internal module manager is responsible for removal of all vsperf
specific kernel modules. Order of modules has been changed
to respect possible dependencies among modules. Manager has been
improved to detect modules automatically loaded by modprobe
to solve dependecies. These modules are automatically removed.
Code of module manager has been refactored.

Change-Id: I4484f3bea7d9900db688f96edd5c3c6d4a304742
JIRA: VSPERF-259
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 agointegration: Support of integration testcases 63/11063/5
Martin Klozik [Tue, 23 Feb 2016 09:54:43 +0000 (09:54 +0000)]
integration: Support of integration testcases

Generic support for integration testcases with first
set of tests for vswitch testing.
New test option "TestSteps" has been introduced
to define test step by step directly in configuration
file.
In case that this concept will be accepted, there
are plenty of possibilities for future improvements.
For example:
* use it also for performance tests without explicit
call of validation methods
* introduce step macros for repetitive scenarios,
so new tests can be easily written
* further generalization, which would go beyond
usage of controllers and will operate directly
with vswitch, vnf and trafficgen objects

Change-Id: Ifad166c8ef9cfbda6694682fe6b3421e0e97bbf2
JIRA: VSPERF-212
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 agotunneling: Vanilla OVS decapsulation tests 91/10891/6
Dino Simeon Madarang [Tue, 2 Feb 2016 08:32:01 +0000 (08:32 +0000)]
tunneling: Vanilla OVS decapsulation tests

Add Vanilla OVS VXLAN/GRE/GENEVE decapsulation tests
Recent changes:
* Line wrap
* Fix GENEVE IP settings
* Add GRE and GENEVE steps to integration.rst
* Add DUT_NIC1_MAC and DUT_NIC2_MAC
* Remove unnecessary call to vswitch.set_tunnel_arp
* Move optional VXLAN/GRE/GENEVE decap settings to a different section
* Add tunnel type to report files md and rst
* Fix typo error: l4 to L4 in conf/integration/03_traffic.conf

Change-Id: I8a43521668d5870ec893aed1df49467f0a84a07d
JIRA: VSPERF-180
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoInstall: Adding RedHat 7.2 Installation bash scripts 67/11267/4
Christian Trautman [Fri, 11 Mar 2016 18:48:58 +0000 (13:48 -0500)]
Install: Adding RedHat 7.2 Installation bash scripts

Adding in prepare_python_env.sh and build_base_machine.sh
scripts to appropriate systems folder for installation on
Red Hat 7.2. Modified installation.rst to reflect these
changes.

* Fixed Header to add Red Hat
* Added myself as contributor

JIRA: VSPERF-214

Change-Id: I23a10316e77c3cec67b7f25176e8707de683af09
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobugfix: Eliminate error and warning messages 65/10965/4
Martin Klozik [Wed, 2 Mar 2016 10:54:50 +0000 (10:54 +0000)]
bugfix: Eliminate error and warning messages

Several issues have been fixed to decrease a number of warning
and error messages written to the standard output. Error and
warning messages causes false build failure report by Jenkins,
in case that internal parsing of job output is enabled.
Fixed issues:
* qemu makefile updated
* shared directories between host and guests are forcibly deleted
before vsperf execution
* nonstop_tsc cpu flag is exported from host to the guest
* vloop-vnf help has been updated and changelog added
* TCL scripts updated to print info instead of warning
* vloop-vnf image updated to avoid snmpd related warnings

Change-Id: Id9ca014bae8fa34772b67d1ebab3431682682931
JIRA: VSPERF-206
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobugfix: Cleanup of traffic gen api and default traffic values 89/10989/4
Martin Klozik [Mon, 7 Mar 2016 09:52:22 +0000 (09:52 +0000)]
bugfix: Cleanup of traffic gen api and default traffic values

Both documentation and traffic generator API are updated
to match current code logic. Additional default values
are added into TRAFFIC_DEFAULTS dictionary. Constructor
of TestCase class uses default values from TRAFFIC_DEFAULTS
instead of magic numbers.

Change-Id: Id2f4983945e4b123adddbc9a2a832f4a735b27f6
JIRA: VSPERF-253
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>