vswitchperf.git
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>
8 years agodpdk: enable vfio_pci support 63/10963/11
Maryam Tahhan [Wed, 2 Mar 2016 13:01:41 +0000 (13:01 +0000)]
dpdk: enable vfio_pci support

Enable vfio_pci support for DPDK in the case where the end user
doesn't want to use igb_uio.
Changes:
* Use generic functions to strip the path and .ko extension from the
  module to be inserted/removed.
* Removed debug line in Modules_Manager.
* Removed commented code.
* Fixed all pylint issues.
JIRA: VSPERF-249

Change-Id: I69c9077735879bcbf7ce5c970c1ec53c219e9f90
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 agobugfix: Fix link to the artifactory 55/10955/2
Martin Klozik [Tue, 1 Mar 2016 12:29:20 +0000 (12:29 +0000)]
bugfix: Fix link to the artifactory

Test report PDF publishes the link to the logs collected
during CI build. Link has been fixed to point to the right
file.

Change-Id: I3d482d3934874af69f9630b95c7813736ae94afe
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 agodocs: add Scalability Tests for VMs in Series 39/10939/6
Maryam Tahhan [Wed, 2 Mar 2016 15:27:42 +0000 (15:27 +0000)]
docs: add Scalability Tests for VMs in Series

Add LTD.Scalability.VNF.RFC2544.PacketLossProfile and
LTD.Scalability.VNF.RFC2544.PacketLossRatio to LTD.

JIRA: VSPERF-238

Change-Id: I26e2b9e06d7bdaf4cc5ab8de7d6ecf261e0a03d4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agodocs: update LTD.CPU.RFC2544.0PacketLoss 41/10941/3
Maryam Tahhan [Wed, 2 Mar 2016 15:45:48 +0000 (15:45 +0000)]
docs: update LTD.CPU.RFC2544.0PacketLoss

Rename and update LTD.CPU.RFC2544.0PacketLoss to
LTD.Stress.RFC2544.0PacketLoss and adding the memory
stressing app also.

JIRA: VSPERF-252

Change-Id: Ib79249f5cfeb304e03ce7f21b5c97a8030edade3
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agoAltering the heading levels to fit into the composite docs user guide. 31/10631/1
ChristopherPrice [Wed, 24 Feb 2016 17:52:19 +0000 (18:52 +0100)]
Altering the heading levels to fit into the composite docs user guide.

Is required or it leaves the context of the document segment in the userguide.

Change-Id: Idb476b7926ba0fce11ed3be54eaa6837e34bff66
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoResults: Report percentage frameloss from Dummy 03/10303/4
Maryam Tahhan [Fri, 19 Feb 2016 17:04:26 +0000 (17:04 +0000)]
Results: Report percentage frameloss from Dummy

This patch adds the frameloss % result reporting to the dummy traffic
gen and fixes incorrect calculations in the past for mbps that don't
convert packet sizes to bits.
JIRA: VSPERF-201

Change-Id: Ic4fc64a981ecbed0ab956f1cb94c7d76e7868def
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agobugfix: Parameter duration does not work 77/10477/4
Martin Klozik [Thu, 18 Feb 2016 12:00:12 +0000 (12:00 +0000)]
bugfix: Parameter duration does not work

Vswitchperf help describes two different options, which will
set lenght of the test or duration of its iteration. It can be set
either by parameter --duration or by --test-params CLI option
duration. However only the second option is implemented. It is
enough to support only one option and thus --duration parameter
has been removed.

Change-Id: Icfa40ec25f50bd090229b0761fa968567d8d3553
JIRA: VSPERF-196
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agosystems: Dependency package additions for Fedora 22 05/10405/4
Christian Trautman [Mon, 22 Feb 2016 18:06:02 +0000 (13:06 -0500)]
systems: Dependency package additions for Fedora 22

Added in sysstat and glib2-devel to Fedora build_base_machine.sh for
proper build and execution of VSPerf. QEMU make would fail because of
missing dependencies and VSPerf would error on pidstat execution. Installing
these two packages resolves those issues when building VSPerf on a fresh
install of Fedora 22.

JIRA: VSPerf-221

Change-Id: Icf2f96ce9e2305928cbb1f3811171ed0821d6f2d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoCI: Generate test report and push logs and report to the artifactory 77/10277/5
Martin Klozik [Thu, 11 Feb 2016 14:13:59 +0000 (14:13 +0000)]
CI: Generate test report and push logs and report to the artifactory

Script for CI job execution automatically generates final test
report, collects log files and pushes these results into artifactory.
Support for branch specific configuration file has been added.

Change-Id: Ifdf13b1c4c389f8d20dbc8e0ed99f43273e0820b
JIRA: VSPERF-181
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotrafficgen: pause trafficgenerator 41/10341/3
Maryam Tahhan [Sun, 21 Feb 2016 14:29:32 +0000 (14:29 +0000)]
trafficgen: pause trafficgenerator

Add a mode to pause the traffic generator before transmission to bypass
manual setup if required.

Change-Id: Iad62a5e7cb83a311e2814d8a9ee2bc9b2d2ed4de
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: Fixing typo in testusage.rst for port name example. 89/10289/4
Christian Trautman [Fri, 19 Feb 2016 14:07:20 +0000 (09:07 -0500)]
docs: Fixing typo in testusage.rst for port name example.

JIRA: VSPERF-222

Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agopktgen: docstring fix 13/10313/2
Christian Trautman [Fri, 19 Feb 2016 20:50:54 +0000 (15:50 -0500)]
pktgen: docstring fix

Fixed docstring to correctly reflect python output from using
merge_spec function.

JIRA: VSPERF-210

Change-Id: Ie3bf2a3d148aa9823bafafe8c61c4c94f00ccc87
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agodocs: results explain the dashboard results 09/10209/2
Maryam Tahhan [Thu, 18 Feb 2016 12:41:54 +0000 (12:41 +0000)]
docs: results explain the dashboard results

Add some more details on the test names used by the dashboard as well as
the test metrics plotted in the graphs.

Change-Id: I6c780a292937622e03fd8af4b9396add82e89bf8
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoVSPERF: Report percentage frameloss from IXIA/IXNET 23/10123/2
Radek Zetik [Wed, 3 Feb 2016 11:28:51 +0000 (11:28 +0000)]
VSPERF: Report percentage frameloss from IXIA/IXNET

The patch introduces frame_loss_percent result value.
The implementation is done for Ixia and IxNet
traffic generators. The value is visible in list
of result values at the end of the test, in csv,
rst and md files.

JIRA: VSPERF-201

Change-Id: I9b6795d427b199cb62ed66b7a137e412e36dc757
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
8 years agodocs: add release information 65/10065/5
Maryam Tahhan [Tue, 16 Feb 2016 14:00:22 +0000 (14:00 +0000)]
docs: add release information

Add the release information to NEWS.rst.

Change-Id: I12baf8098c7ea1c45075a99fdaf031f1bd63f905
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christopher Price <christopher.price@ericsson.com>
8 years agosrc: update make install for DPDK 77/10077/2
Maryam Tahhan [Thu, 28 Jan 2016 10:59:21 +0000 (10:59 +0000)]
src: update make install for DPDK

Update make install for DPDK to install to the appropriate DESTDIR.

Change-Id: I6e4f0707038c05eeb2e2849ce34300149d8c5410
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Ian Stokes <ian.stokes@intel.com>
Reviewed-by: Antonio Fischetti<antonio.fischetti@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com
8 years agodocs: results documentation 61/10061/4
Maryam Tahhan [Tue, 16 Feb 2016 13:52:04 +0000 (13:52 +0000)]
docs: results documentation

Add a results directory and relevant rst files for vsperf brahmaputra
results.

Change-Id: I99ea7b4246b801054d2582933f7d25b7f36abe5d
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christopher Price <christopher.price@ericsson.com>
8 years agoAltering the filename for autogeneration 47/10047/1
ChristopherPrice [Tue, 16 Feb 2016 09:41:19 +0000 (10:41 +0100)]
Altering the filename for autogeneration

Updated the heading and moved to a new filename for composite docs.
Added a link to the vsp  userguide at the end of the doc.

Change-Id: I416228be9347275bcd4c90e394678e4eb93198d4
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agobugfix: Blank lines are required to join RST templates 97/9797/1
Martin Klozik [Thu, 11 Feb 2016 13:57:03 +0000 (13:57 +0000)]
bugfix: Blank lines are required to join RST templates

Blank lines are required to correctly join multiple RST templates.
Otherwise their text will be merged into one paragraph and formatting
tags will be ignored.

Change-Id: I6885019f7af2fd2201b9f30496d78200a0432e8e
JIRA: VSPERF-181
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agodocs: adding license to rest of rst files 25/9425/4
Maryam Tahhan [Fri, 5 Feb 2016 16:22:31 +0000 (16:22 +0000)]
docs: adding license to rest of rst files

Add Creative Commons Creative Commons license to missed documentation
in vsperf. One of these files is not on the stable Brahmaputra branch.
JIRA: VSPERF-239

Change-Id: If1420c3b84ba5ba9e1b4c1f9d75347f1b6e6117f
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agodocs: fix link to the page with test results 33/9433/2
Martin Klozik [Fri, 5 Feb 2016 16:53:50 +0000 (16:53 +0000)]
docs: fix link to the page with test results

Test report publishes link to the page with test results. Link
has been fixed to point to the correct page.

Change-Id: I12f2959dffdc081dda9ef15333f9ea937b56eb35
JIRA: VSPERF-181
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agogitignore: include src dirs that can be ignored 19/9419/2
Maryam Tahhan [Fri, 5 Feb 2016 16:08:34 +0000 (16:08 +0000)]
gitignore: include src dirs that can be ignored

Change-Id: I571c09fbe2b8c83b4012bcff92377ef32253770b
JIRA: VSPERF-240
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agodocs: adding license to all rst files. 15/9415/1
Maryam Tahhan [Fri, 5 Feb 2016 13:56:21 +0000 (13:56 +0000)]
docs: adding license to all rst files.

Add Creative Commons Creative Commons license to all documentation in
vsperf.
JIRA: VSPERF-239

Change-Id: I88721205a36078f6e0d4a4c5dd842907729d2b6b
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agofuel-plugin: Remove use of plugin-defined role 81/9381/1
Billy O'Mahony [Fri, 5 Feb 2016 11:41:41 +0000 (11:41 +0000)]
fuel-plugin: Remove use of plugin-defined role

The use of a fuel plugin-defined role not working since rebase
to Fuel8 so work around this by removing dependecy on this feature
for imminent Rel/B.

Change-Id: Icd1ee1c8f05a1c26e8da7f80d2d7206374099a93
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Michal Skalski <mskalski@mirantis.com>
Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agopkt_gen: Add support for generating GENEVE frames 41/8141/3
Dino Simeon Madarang [Fri, 29 Jan 2016 13:55:53 +0000 (13:55 +0000)]
pkt_gen: Add support for generating GENEVE frames

Add option to generate GENEVE frames for decapsulation
tests.
IxNet 7.3X does not have a native support of GENEVE protocol. The
template, GeneveIxNetTemplate.xml_ClearText.xml, should be imported
into IxNET for this testcase to work.

Recent changes:
* Updated dependency
* Updated userguide
* Move inner frame variables & srcport/dstport to L4

Change-Id: I90f5fb256b51ae44bc1bc7983c599c9dbbffea08
JIRA: VSPERF-192
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agopkt_gen: Add IxNet support for GRE frames 01/7101/8
Dino Simeon Madarang [Thu, 28 Jan 2016 15:51:22 +0000 (15:51 +0000)]
pkt_gen: Add IxNet support for GRE frames

Add option to generate GRE frames for testing GRE decapsulation
tests.

Recent changes:
* Fix merge conflict
* Updated userguides
* Complete set of fields and working decap
* Move GRE ixnet calls to if statement to reuse inner frame settings

Change-Id: I0cf9243953a72a464ae4701a858e76aecbdb8528
JIRA: VSPERF-191
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoAdd simple VxLAN decapsulation performance test 97/7097/9
Dino Simeon Madarang [Tue, 26 Jan 2016 13:49:59 +0000 (13:49 +0000)]
Add simple VxLAN decapsulation performance test

Measure OVS DPDK VXLAN decapsulation performance.
The DUT is configured as a VTEP (VXLAN Tunnel Endpoint)
which performs decapsulation of frames and sends traffic to
the 2nd traffic generator port.

This test is unidirectional.

Recent changes:
* Userguide update
* Move src/dstport from L2 to L4 (conf, TCL)
* Fix 'TestCase' object has no attribute '_tunnel_operation' error when
  running non overlay tests
* Fix merge conflict
* Move doc to docs/userguide/integration.rst
* Add setting of DUT_NIC1_MAC and setting of other
  variables to docs/userguide/integration.rst

Change-Id: Ia44f8888ef727831543c80f5c98c866686c5c92c
JIRA: VSPERF-190
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Signed-off-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com>
Signed-off-by: Timo Puha <timox.puha@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com
8 years agoAdd OVS tunnel encapsulation performance test 53/6553/9
Dino Simeon Madarang [Mon, 19 Oct 2015 13:55:06 +0000 (14:55 +0100)]
Add OVS tunnel encapsulation performance test

Measure OVS DPDK and native VXLAN/GRE/GENEVE encapsulation performance.
This patch creates a new deployment scenario, Overlay_P2P.
The DUT is configured as a TEP (Tunnel Endpoint)
which performs encapsulation of frames and sends traffic to
the 2nd traffic generator port. The traffic generator in this
case receives an encapsulated frame. No decapsulation is performed
in this testcase.

Introduce a vsperf param, --run-integration, to filter tests to
integration tests. When running integration tests, variables defined
in the directory conf/integration/*conf as well as the conf/*.conf
are available.

This test case requires DPDK 2.1.0 and OVS master - 6bb4a18 or newer.

Change-Id: Ide2f418909d647119388df9b30d0d0a3656b4e53
JIRA: VSPERF-180
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: Add a note on pidstat and unknown results. 53/8353/1
Maryam Tahhan [Thu, 28 Jan 2016 20:00:11 +0000 (20:00 +0000)]
docs: Add a note on pidstat and unknown results.

Add a Note on why %CPU and %USER > 100%, as well as a note regarding the
"unkown" results.

Change-Id: I7e173c91a549932301645c9344648c9b73da4a70
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agodocs: Final report conclusions and recommendations 27/8327/3
Maryam Tahhan [Thu, 28 Jan 2016 15:48:06 +0000 (15:48 +0000)]
docs: Final report conclusions and recommendations

Remove TODO sections from the Release B report.

Change-Id: I4520c23ad9cbb980c9f1c1ee14cc7e91060933a4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agobugfix: do not report DPDK version for vanilla OVS vswitch 47/8247/2
Martin Klozik [Tue, 26 Jan 2016 14:32:01 +0000 (14:32 +0000)]
bugfix: do not report DPDK version for vanilla OVS vswitch

DPDK version check has been removed in case that OVS
does not use DPDK.

Change-Id: I78560a72e4fde3d7113165d88eb81d80f6399af8
JIRA: VSPERF-209
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 agodocs: traffic generator integration guide 43/8043/4
Martin Klozik [Mon, 25 Jan 2016 13:33:14 +0000 (13:33 +0000)]
docs: traffic generator integration guide

Simple guide with description of integration
of new traffic generator into the VSPERF.

Change-Id: Iab84d1356dbf3ef3405817606c094ffe31355b9f
JIRA: VSPERF-174
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agosrc: dpdk and ovs version update. 79/8079/3
Maryam Tahhan [Tue, 26 Jan 2016 15:11:03 +0000 (15:11 +0000)]
src: dpdk and ovs version update.

Update vsperf to use DPDK 2.2 and the OVS patch that enables DPDK 2.2
support.

Change-Id: Ibe9702b2934bc87fbcd91b941ae31a7295a65f4f
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Ian Stokes <ian.stokes@intel.com>
Reviewed-by: Antonio Fischetti<antonio.fischetti@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoresults: update test dashboard url 23/7923/3
Maryam Tahhan [Mon, 25 Jan 2016 16:52:54 +0000 (16:52 +0000)]
results: update test dashboard url

Update test dashboard url to http://testresults.opnfv.org/testapi.

JIRA: VSPERF-112

Change-Id: I2402aaff846229c78fa1f4d3d9e409d931886b4f
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Morgan Richomme <morgan.richomme@orange.com
8 years agodocs: updates and final fixes 17/7917/2
Maryam Tahhan [Mon, 25 Jan 2016 10:58:47 +0000 (10:58 +0000)]
docs: updates and final fixes

Migrate the installation guide for vsperf to a configguide directory,
update the links to the installation guide. Re-add top level index.rst
and remove the all directory. Update release documentation with vsperf
Rel B support.

Change-Id: Ib643b9d3581d8109b85c377027c8cc6be4b797fc
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoVSPERF docs: Patches for Design Document 11/7911/2
Radek Zetik [Mon, 25 Jan 2016 12:22:46 +0000 (12:22 +0000)]
VSPERF docs: Patches for Design Document

Routing Table Figure has an odd description
for the table#1 description.
Connectivity to the DUT is assumed, could provide
example directions. Suggest a new section.

JIRA: VSPERF-178
JIRA: VSPERF-179

Change-Id: I38e48034a9029d4a8969affdddef5b281dc8eba3
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoreport: create test report for all executed TCs 75/7875/3
Martin Klozik [Mon, 25 Jan 2016 10:34:27 +0000 (10:34 +0000)]
report: create test report for all executed TCs

Every testcase generates report with its results into separate file.
It is required to merge all partial reports into final overall
report for whole set of TCs executed by VSPERF.
Hugepages are mounted also for TestPMD packet forwarder.

Change-Id: Iaa1ab4e08d1637106da804e06b7f30100d609cd6
JIRA: VSPERF-181
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoVSPERF docs: Review userguide docs for Brahmaputra 71/7871/2
Radek Zetik [Thu, 21 Jan 2016 12:26:53 +0000 (12:26 +0000)]
VSPERF docs: Review userguide docs for Brahmaputra

Since 'make' builds all three OVS variants,
WITH_LINUX and VHOST_USER are not used anymore on cli.
The fix removes them from quickstart.rst

JIRA: VSPERF-177

Change-Id: I7efe49f638f1234da0d84c5eb62624f543134efc
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
>

8 years agodocs: update links in LTD and doc versioning 83/7583/6
Maryam Tahhan [Tue, 19 Jan 2016 17:02:27 +0000 (17:02 +0000)]
docs: update links in LTD and doc versioning

JIRA: VSPERF-60
Change-Id: I2c04faa13a2182e3e28619d23ec68ac52c7a7be9
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
8 years agodocs: fix links in the quickstart guide. 85/7585/6
Maryam Tahhan [Tue, 19 Jan 2016 17:11:25 +0000 (17:11 +0000)]
docs: fix links in the quickstart guide.

Fix installation and Traffic gen guide links in
http://artifacts.opnfv.org/vswitchperf/docs/userguides/quickstart.html
to
http://artifacts.opnfv.org/vswitchperf/docs/userguides/installation.html
and
http://artifacts.opnfv.org/vswitchperf/docs/userguides/trafficgen.html.
Also added where vloop_vnf can be downloaded from.

JIRA: VSPERF-186
Change-Id: I585367b1c717fdbb0b56b7f0312fe9c70f51594f
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
8 years agobugfix: set default framerate/iload to 100% 59/7459/3
Martin Klozik [Mon, 18 Jan 2016 10:30:21 +0000 (10:30 +0000)]
bugfix: set default framerate/iload to 100%

Continuous testcases should be executed with 100% of frame rate
by default. Thus iLoad parameter of all continuous testcases
was updated to the value of 100.

Change-Id: Ia1c5a49c274d96a25ab7d9b8378ae7be6dc0b10c
JIRA: VSPERF-189
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoreport: add rst template for results reporting 81/7581/5
Martin Klozik [Thu, 21 Jan 2016 09:33:30 +0000 (09:33 +0000)]
report: add rst template for results reporting

Add a template that can be used for reporting vsperf release B results.
This patch also fixes the line length issues in the markdown template.

Change-Id: Id03f5c7eb84536697deca73d3fb397629b647a85
JIRA: VSPERF-181
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
8 years agopkt_gen: support of standalone execution of traffic generator 25/6825/5
Martin Klozik [Wed, 13 Jan 2016 14:57:07 +0000 (14:57 +0000)]
pkt_gen: support of standalone execution of traffic generator

Support for multiple modes of VSPERF operation has been added.
These modes can be used for standalone execution of traffic
generator or for manual testing or for execution of unsupported
traffic generator. Supported modes are: "normal" - execute vSwitch,
VNF and traffic generator; "trafficgen" - execute only traffic
generator; "trafficgen-off" - execute vSwitch and VNF.
Normal mode is selected by default.
In case that trafficgen mode is selected, then various
--test-params could be specified to affect traffic generator
configuration. These parameters include traffic type, frame rate,
bidirectional and scalability settings. Selection of transport
protocol is not supported by IxNet yet (UDP is enforced), thus
modification of transport protocol from command line is not
supported too.
Fixes of testpmd and qemu warning patches are inclduded.

Change-Id: Idac10fe03e724075268a01ec3eb0817fba830aec
JIRA: VSPERF-173
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: installation guide update 61/7461/3
Martin Klozik [Tue, 19 Jan 2016 14:17:05 +0000 (14:17 +0000)]
docs: installation guide update

Installation guide should be OS agnostic.

Change-Id: Idba63925a27fd204c6542ca886381a56c0415dab
JIRA: VSPERF-150
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agobugfix: mount hugepages for PVP and PVVP scenarios 89/6889/4
Martin Klozik [Fri, 15 Jan 2016 08:06:20 +0000 (08:06 +0000)]
bugfix: mount hugepages for PVP and PVVP scenarios

Hugepages are used by both DPDK and Qemu. However they were mounted
only in case, that OVS with DPDK support was detected. Thus code
has been modified to mount hugepages in case that either DPDK usage
or QEMU usage is detected.

Change-Id: I662a6f0918b7b8d4fc38c2ce3d0d82bba0b8b2b0
JIRA: VSPERF-170
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agobugfix: remove QEMU warning during mount of shared directory 95/6895/4
Martin Klozik [Fri, 15 Jan 2016 10:50:57 +0000 (10:50 +0000)]
bugfix: remove QEMU warning during mount of shared directory

Qemu 2.3.0 requires image type to be explicitly set to 'raw'
for shared directories with FAT. Required option "type=raw"
is compatible with older QEMU versions, so it can be passed
to QEMU by default.

Change-Id: Icca5e4249cc2c05c0b9609d7bd34368b4b86f492
JIRA: VSPERF-187
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoAdd testpmd as vswitch class 81/7081/4
Robert Wojciechowicz [Wed, 9 Dec 2015 10:07:38 +0000 (10:07 +0000)]
Add testpmd as vswitch class

The purpose of using testpmd instead of OVS is to get the baseline
of the DUT when performing hardware offloading operations.
There are supported different checksum calculation
and txq flags settings.

Change-Id: I93c9b45dcb31eaa1f610b7e061f3dd5936b0e6ec
JIRA: VSPERF-193
Signed-off-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agotestcase: scalability - configurable installation of flows to the vswitch 49/6849/3
Martin Klozik [Fri, 11 Dec 2015 14:29:18 +0000 (14:29 +0000)]
testcase: scalability - configurable installation of flows to the vswitch

Stream specific flows can be pre-installed into the vswitch
based on the value of testcase specific configuration option
"Pre-installed Flows". In case, it is set to 'Yes', then
specific flow for each stream will be inserted into the switch.
Otherwise only generic flows will be installed. Default value
of "Pre-installed Flows" is set to 'No'. Its value can be
overridden by CLI parameter pre-installed_flows.
This configuration parameter is an enhancement of "MultiSream"
feature and it is ignored if "MultiStream" is disabled.
Python module 'netaddr' is required by this implementation
and it has been added to requirements.txt file.

Change-Id: I8a17577a702bf2be2753134eb203b936a87fc2e5
JIRA: VSPERF-83
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agofuel-plugin: Initial version targeting Fuel8 77/7277/4
Billy O'Mahony [Tue, 19 Jan 2016 12:05:46 +0000 (12:05 +0000)]
fuel-plugin: Initial version targeting Fuel8

Change-Id: I21b24527da480c713899bffdaec8381752354e53
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
8 years agoreporting: add vswitch, vnf and trafficgen version into the report 25/6725/2
Martin Klozik [Mon, 11 Jan 2016 16:56:45 +0000 (17:56 +0100)]
reporting: add vswitch, vnf and trafficgen version into the report

Final test report MD file should contain information about version
of vswitch, vnf, VM loopback forwarding application and traffic
generator used during the test. In case that component is cloned
from GIT repository, then hash of its recent commit should be
part of the report too.

Change-Id: I4eb398bc95bc5030d0852d08bcf9febbf17640d4
JIRA: VSPERF-172
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoci: show TC results inside Jenkins job console output 75/7275/3
Martin Klozik [Tue, 19 Jan 2016 11:27:22 +0000 (11:27 +0000)]
ci: show TC results inside Jenkins job console output

It is required to show detailed result figures together
with OK/FAILED status. CI script has been modified
to show formatted results from test report MD files.

Change-Id: I9e3724c5aac517dc493f0cf57fc8292434c0bfe8
JIRA: VSPERF-184
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agotest_spec: LTD: RFC.WorstN-BestN test 95/3195/6
Miroslav Miklus [Tue, 10 Nov 2015 19:50:39 +0000 (20:50 +0100)]
test_spec: LTD: RFC.WorstN-BestN test

 - Test ID: LTD.Throughput.RFC2544.WorstN-BestN

JIRA: VSPERF-123

Change-Id: Ief04d8c415a77f4a9b77ba0d2a52653376b37ff1
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agotest_spec: LTD: Updates 91/3191/7
Miroslav Miklus [Tue, 10 Nov 2015 19:35:36 +0000 (20:35 +0100)]
test_spec: LTD: Updates

 - document updates

JIRA: VSPERF-123

Change-Id: Ic156bb43dbb04e8895ac3e194c0f485517af93ef
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agovswitches: Remove datapath after stopping OVS 77/6177/3
Dino Simeon Madarang [Fri, 8 Jan 2016 15:31:36 +0000 (15:31 +0000)]
vswitches: Remove datapath after stopping OVS

Remove the datapath that OVS creates, ovs-system, (can be viewed by ip link)
after running OVS vanilla tests.

Change-Id: I087c7b3f5afa546258227939ffcb38f0192f0d98
JIRA: VSPERF-175
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
8 years agoCI: terminate hanging vsperf before its execution 53/6153/1
Martin Klozik [Mon, 11 Jan 2016 12:58:28 +0000 (12:58 +0000)]
CI: terminate hanging vsperf before its execution

In case that vsperf terminates unexpectedly, then vsperf itself
or any of executed applications might remain active. It is essential
to terminate any hanging instance of vsperf, ovs, qemu, etc.
before re-execution of vsperf itself. Otherwise vsperf will fail
again.

Change-Id: Idd65288a5171d19fcbfb907a156347eb4b645a88
JIRA: VSPERF-155
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
8 years agoupdate docs build dir names in .gitignore 49/5849/1
Ryota MIBU [Fri, 8 Jan 2016 02:43:15 +0000 (11:43 +0900)]
update docs build dir names in .gitignore

Change-Id: Ie153c504b390dc68911a8f1d9a82c7a2e1901ec4
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agosrc: fix ovs and qemu version 77/5777/2
Maryam Tahhan [Fri, 27 Nov 2015 11:16:59 +0000 (11:16 +0000)]
src: fix ovs and qemu version

Qemu 2.2 doesn't compile on Fedora 22 and ovs was set to track the head
of master. We need to fix this for OPNFV builds.
Change-Id: I05823f96b9347ac322831a0dd3f3d63dcf726beb

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agoCI: bugfix of build-vsperf.sh script 33/5633/2
Martin Klozik [Wed, 6 Jan 2016 06:31:51 +0000 (06:31 +0000)]
CI: bugfix of build-vsperf.sh script

Vanilla version of OVS was enforced also for set of test, which should
be executed with DPDK version of OVS. Value of --vswitch parameter
was fixed.

Change-Id: I3c486454ff5093436ddc64847e29e55e23764a92
JIRA: VSPERF-155
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agoconf: modify core mask format 61/5561/4
Ciara Loftus [Fri, 20 Nov 2015 14:10:18 +0000 (14:10 +0000)]
conf: modify core mask format

The pmd-cpu-core mask flag does not accept a hexmask with a
leading '0x'. Remove these characters from the VSWITCH_PMD_CPU_MASK
variable.

JIRA: VSPERF-139

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agosystem: add build support for Fedora 20 17/5517/2
Mark Kavanagh [Tue, 17 Nov 2015 14:15:38 +0000 (14:15 +0000)]
system: add build support for Fedora 20

The most recent version of virtualenv available through installer tools
on Fedora 20 is 3.3; existing build scripts for Fedora 21 and 22
reference version 3.4. Add relevant scripts to enable installation and
build on F20.

Change-Id: I87324fe55df0af687b616fd2e3f6419046a23e46
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agodocs: fix all/ index.rst links. 59/5459/4
Maryam Tahhan [Mon, 4 Jan 2016 10:09:35 +0000 (10:09 +0000)]
docs: fix all/ index.rst links.

JIRA: VSPERF-160
Change-Id: I5722fd8340e009cb1885981e6e40468df4d9216c
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
8 years agodocs: update release docs after reviewing 69/4669/4
Maryam Tahhan [Wed, 16 Dec 2015 14:18:01 +0000 (14:18 +0000)]
docs: update release docs after reviewing

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

JIRA:

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

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

JIRA: VSPERF-157

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

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

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

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

JIRA: VSPERF-112

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

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

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

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

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

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

Change-Id: Ic840788875e9b486b20608a9b9e523cbd4530e31
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <Brian.Castelli@spirent.com>