Martin Klozik [Wed, 27 Jul 2016 17:08:21 +0000 (18:08 +0100)]
docs: Enhancement of IxNetwork configuration guide
Configuration guide has been updated with description of
IxNetwork specific configuration options. New section was added
with description of test results sharing between IxNetwork and
VSPERF.
Additional changes:
* wrong formatting inside installation.rst was fixed
* description of IxNetwork configuration was updated inside ixnet.py
JIRA: VSPERF-302
Change-Id: Ida0e086e69b82fd1f9821d16ea750b2dec1d5aa2
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Martin Klozik [Thu, 21 Jul 2016 13:52:49 +0000 (14:52 +0100)]
docs: Remove trailing whitespaces
Wrong whitespace characters breaks automatic generation of VSPERF
documentation. It is necessary to remove wrong characters before
merge of the draft into VSPERF doc, e.g. by filtering through
tr -d '\014'
JIRA: VSPERF-324
Change-Id: Ie280f5a443c89d4235cae5eb89fdceae74ea4213
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Maryam Tahhan [Wed, 20 Jul 2016 14:58:13 +0000 (14:58 +0000)]
Merge "pkt_gen: Moongen class name not consistent with name in conf files"
bmichalo [Tue, 19 Jul 2016 19:34:51 +0000 (15:34 -0400)]
pkt_gen: Moongen class name not consistent with name in conf files
Need to change naming to 'Moongen' for consistent naming
between conf files and class
JIRA: VSPERF-323
Change-Id: Ic580b68323a759b3c2ef7ca3c07006243a3acf7d
Signed-off-by: bmichalo <bmichalo@redhat.com>
Martin Klozik [Tue, 19 Jul 2016 12:22:09 +0000 (13:22 +0100)]
ci: CI report generation
Script for generation of documentation has been moved from releng
into new opnfvdocs repository. VSPERF script for a daily CI job is
calling this script for overall PDF report generation. Thus it must
be updated to use new script location.
JIRA: VSPERF-324
Change-Id: I173a2139c57c39acb25c14f7a082e0ff0a888b2f
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Maryam Tahhan [Tue, 19 Jul 2016 16:12:09 +0000 (16:12 +0000)]
Merge "conf/integration: Fix typo on Integration testcase example."
Maryam Tahhan [Tue, 19 Jul 2016 16:11:50 +0000 (16:11 +0000)]
Merge "ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately"
Maryam Tahhan [Tue, 19 Jul 2016 16:10:41 +0000 (16:10 +0000)]
Merge "New IETF Draft WG version"
Maryam Tahhan [Tue, 19 Jul 2016 16:09:37 +0000 (16:09 +0000)]
Merge "ovs/ofctl: Fix validation method for complex flows."
Christian Trautman [Tue, 19 Jul 2016 13:48:30 +0000 (09:48 -0400)]
ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately
ovs-appctl was broken due to a previous commit which changed the
location of the ovs-vswitchd pid file. This fixes it by placing
the pid back in the default location where ovs-appctl is looking
for.
JIRA: VSPERF-315
Change-Id: I4ae87ad566acb69ac9d565a3a77865f5a6861b93
Signed-off-by: MartinX Klozik <martinx.klozik@intel.com>
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Antonio Fischetti [Mon, 18 Jul 2016 12:06:23 +0000 (13:06 +0100)]
conf/integration: Fix typo on Integration testcase example.
This patch fixes a typo in the integration testcase example,
otherwise settings like
{"guest_loopback" : "linux_bridge"}
are ignored.
JIRA: ONP-6635
Change-Id: Iab61d36e70f96f4a6c1f98a506753dc7fa090140
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Al Morton [Fri, 15 Jul 2016 18:27:50 +0000 (14:27 -0400)]
New IETF Draft WG version
JIRA: VSPERF-??
Change-Id: I1f07a70bf3c8604df890defd8493f107550bf8f3
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Maryam Tahhan [Thu, 14 Jul 2016 11:44:54 +0000 (11:44 +0000)]
Merge "dpdk: Support of DPDK16.07"
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>
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>
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>
Antonio Fischetti [Fri, 8 Jul 2016 15:16:06 +0000 (16:16 +0100)]
ovs/ofctl: Fix validation method for complex flows.
The current validation method for 'add_flow' commands
does not work properly with complex flows, like UDP flows.
It always returns that the flow was not set, even though
the add_flow command was successful.
JIRA: ONP-6579
Change-Id: Iaad77551326ff495cb68a033e1303450a99386bd
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Maryam Tahhan [Mon, 11 Jul 2016 08:55:50 +0000 (08:55 +0000)]
Merge "Enable BURST_MODE for l2fwd"
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>
sridharkn [Fri, 8 Jul 2016 03:09:43 +0000 (03:09 +0000)]
Merge "Spirent-TestCenter: Code Cleanup."
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"
Christian Trautman [Fri, 8 Jul 2016 01:31:25 +0000 (01:31 +0000)]
Merge "Namespace_veth: Add funtionality for network namespace, veth ports"
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>
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>
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>
Christian Trautman [Fri, 1 Jul 2016 22:44:38 +0000 (22:44 +0000)]
Merge "multi-queue: Add basic multi-queue functionality"
Christian Trautman [Fri, 1 Jul 2016 18:36:54 +0000 (18:36 +0000)]
Merge "Spirent Support for Continuous Traffic"
Christian Trautman [Fri, 1 Jul 2016 16:58:21 +0000 (16:58 +0000)]
Merge "pkt_gen: Adding MoonGen traffic generator"
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>
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"
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>
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>
Christian Trautman [Wed, 29 Jun 2016 18:50:48 +0000 (18:50 +0000)]
Merge "xena_burst: Add Xena Burst traffic"
Christian Trautman [Wed, 29 Jun 2016 16:12:19 +0000 (16:12 +0000)]
Merge "Xena: Modify xena_json for back2back options"
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>
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>
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>
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>
Maryam Tahhan [Wed, 22 Jun 2016 10:56:50 +0000 (10:56 +0000)]
Merge "xena_bug: Fix throughput stats with bi-directional traffic"
Maryam Tahhan [Wed, 22 Jun 2016 10:56:14 +0000 (10:56 +0000)]
Merge "linux_bridge_guest: Modify packet structure for linux bridge tests"
Maryam Tahhan [Thu, 16 Jun 2016 15:25:46 +0000 (15:25 +0000)]
Merge "INFO: update committer list"
Maryam Tahhan [Thu, 16 Jun 2016 15:25:18 +0000 (15:25 +0000)]
Merge "xena_cont: Add Xena continuous traffic functionality"
Maryam Tahhan [Thu, 16 Jun 2016 15:24:54 +0000 (15:24 +0000)]
Merge "Throughput and Latency Profile Test: Clarify"
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>
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>
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>
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>
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>
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>
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>
Maryam Tahhan [Thu, 2 Jun 2016 14:57:10 +0000 (14:57 +0000)]
Merge "integration_doc: Update integration document"
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>
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>
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"
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>
Maryam Tahhan [Mon, 23 May 2016 08:36:29 +0000 (08:36 +0000)]
Merge "xena_multistream_fix: Fix multistream json config"
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>
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"
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>
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>
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>
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>
Maryam Tahhan [Thu, 12 May 2016 10:57:48 +0000 (10:57 +0000)]
Merge "docs: updated the added features list"
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>
Maryam Tahhan [Thu, 12 May 2016 10:55:43 +0000 (10:55 +0000)]
Merge "testcase: execution time"
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>
Maryam Tahhan [Wed, 11 May 2016 14:32:00 +0000 (14:32 +0000)]
Merge "ovs: update to OVS 2.5"
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>
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>
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>
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>
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>
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>
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>
Maryam Tahhan [Wed, 4 May 2016 13:59:42 +0000 (13:59 +0000)]
Merge "bugfix: Fix creation of vsperfenv in Ubuntu"
Maryam Tahhan [Wed, 4 May 2016 13:58:03 +0000 (13:58 +0000)]
Merge "bidirectional value: Fix inconsistency for bidir param"
Maryam Tahhan [Wed, 4 May 2016 13:56:31 +0000 (13:56 +0000)]
Merge "hugepage_doc: Add hugepage configuration info to installation doc"
Maryam Tahhan [Wed, 4 May 2016 13:53:49 +0000 (13:53 +0000)]
Merge "makefile: Remove obsolete copy operations"
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>
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>
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>
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>
Maryam Tahhan [Tue, 3 May 2016 13:59:16 +0000 (13:59 +0000)]
Merge "integration: Support of PVP and PVVP integration TCs"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>