summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-25docs: update links in LTD and doc versioningMaryam Tahhan1-6/+12
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>
2016-01-25docs: fix links in the quickstart guide.Maryam Tahhan1-3/+15
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>
2016-01-25bugfix: set default framerate/iload to 100%Martin Klozik1-3/+4
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>
2016-01-22report: add rst template for results reportingMartin Klozik4-21/+224
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>
2016-01-22pkt_gen: support of standalone execution of traffic generatorMartin Klozik6-134/+226
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>
2016-01-21docs: installation guide updateMartin Klozik1-12/+33
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>
2016-01-21bugfix: mount hugepages for PVP and PVVP scenariosMartin Klozik3-78/+127
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>
2016-01-21bugfix: remove QEMU warning during mount of shared directoryMartin Klozik1-1/+1
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>
2016-01-21Add testpmd as vswitch classRobert Wojciechowicz13-100/+631
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>
2016-01-21testcase: scalability - configurable installation of flows to the vswitchMartin Klozik8-14/+102
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>
2016-01-20fuel-plugin: Initial version targeting Fuel8Billy O'Mahony11-0/+136
Change-Id: I21b24527da480c713899bffdaec8381752354e53 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
2016-01-19reporting: add vswitch, vnf and trafficgen version into the reportMartin Klozik5-39/+162
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>
2016-01-19ci: show TC results inside Jenkins job console outputMartin Klozik1-0/+12
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>
2016-01-13test_spec: LTD: RFC.WorstN-BestN testMiroslav Miklus1-0/+91
- 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>
2016-01-13test_spec: LTD: UpdatesMiroslav Miklus1-13/+20
- 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>
2016-01-12vswitches: Remove datapath after stopping OVSDino Simeon Madarang3-1/+76
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>
2016-01-11CI: terminate hanging vsperf before its executionMartin Klozik1-0/+27
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>
2016-01-08update docs build dir names in .gitignoreRyota MIBU1-1/+2
Change-Id: Ie153c504b390dc68911a8f1d9a82c7a2e1901ec4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-07src: fix ovs and qemu versionMaryam Tahhan1-2/+2
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>
2016-01-06CI: bugfix of build-vsperf.sh scriptMartin Klozik1-1/+1
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>
2016-01-05conf: modify core mask formatCiara Loftus1-2/+3
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>
2016-01-05system: add build support for Fedora 20Mark Kavanagh2-0/+95
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>
2016-01-04docs: fix all/ index.rst links.Maryam Tahhan1-4/+4
JIRA: VSPERF-160 Change-Id: I5722fd8340e009cb1885981e6e40468df4d9216c Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com>
2016-01-04docs: update release docs after reviewingMaryam Tahhan1-17/+5
Review and update release documentation for Release B. JIRA: VSPERF-160 Change-Id: I43c85639ed010f950dc3c85eecfe2ff47b65214d Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-01-04Code checkerMartin Klozik1-0/+143
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>
2016-01-04CI: update build-vsperf.sh scriptMartin Klozik1-1/+165
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>
2016-01-04bugfix: Vanilla OVS kernel module broken dependenciesMartin Klozik1-1/+1
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>
2015-12-23vnf: support of vloop_vnf VMMartin Klozik3-41/+65
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>
2015-12-23docs: update design docs after reviewingMaryam Tahhan1-13/+13
Review and update design documentation for Release B. JIRA: VSPERF-160 Change-Id: I2c2167b5ac9161e30aacd277060da22a559dd0c2 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-12-23docs: update userguides after reviewingMaryam Tahhan3-105/+136
Review and update userguides for Release B. JIRA: VSPERF-160 Change-Id: I54c4dd37fa5951cab9d0e17bb2f3a4d273741cb0 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-12-21docs: updates and move traffic gens to separate docMaryam Tahhan22-404/+754
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>
2015-12-16Back2Back: update default paramsMaryam Tahhan4-10/+17
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>
2015-12-15CI: Create simple Hello world build-vsperf.shRadek Zetik1-0/+3
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>
2015-12-15INFO: remove inactive committersMaryam Tahhan1-5/+0
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>
2015-12-14Results: Integrate with opnfv_test_dashboardRadek Zetik4-3/+28
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>
2015-12-14bugfix: Fix failure caused by unset localeMartin Klozik7-14/+40
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>
2015-12-14bugfix: Support paths with user's home shortcutMartin Klozik3-5/+6
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>
2015-12-14Fix: OS name detection error by build scriptsAbdul Halim1-3/+6
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>
2015-12-11test_spec: LTD: new topologyMiroslav Miklus1-1/+47
- Physical port → VNF → vSwitch → VNF → physical port updated topology with pNIC-VF this provides us ability to fill up the box with multiple VNFs JIRA: VSPERF-123 Change-Id: Iea991b2cd2973c07ecbc300bb6d413a182cae992 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
2015-12-11updates to use new doc toolchainRyota MIBU3-27/+5
Change-Id: I5009a996b2e581638f159ed37a1c56ac53c0c71f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-09testcase: scalability testcase enhancementsMartin Klozik6-36/+83
Streams used by scalability testcases can be simulated at different network layers by modification of destination MAC address (L2), destination IP address (L3) or destination UDP port (L4). It is possible to define number and type of the streams by testcase definition by options "MultiStream" and "Stream Type" or by CLI parameters "multistream" and "stream_type". CLI options override testcase definition. Number of streams, their types, used transport protocol and indication of pre-installed flows are written to both result CSV file and MD file with test report. Default transport protocol was changed to UDP because IxNetwork configuration script doesn't support TCP yet. Change-Id: I1ff9ab7756d38f65b1a7730397507c5a5ff5a3d1 JIRA: VSPERF-81 JIRA: VSPERF-82 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-12-08pkt_gen: rename throughput_tx_* to tx_rate_*Maryam Tahhan5-21/+21
Change throughput_tx_* references to tx_rate_* so the results won't be confusing as part of the opnfv test dashboard when they become publicly available. Change-Id: Ie8cfae99a75497f15eb09d097c72c8a35df3b5f9 JIRA: VSPERF-135 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: Al Morton <acmorton@att.com>
2015-12-08Results: Integrate with opnfv_test_dashboardRadek Zetik5-0/+148
All the test projects generate results in different format. The goal of a testing dashboard is to provide a consistent view of the different tests from the different projects. We need to enable the data collection for VSPERF, in other words VSPERF pushes data using a REST API. 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" JIRA: VSPERF-112 Change-Id: I37255414eebcc2ff0c12109c508dcd984663a830 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>
2015-12-02Add some error checking to F21 installBilly O'Mahony3-9/+11
Make the install fail fast and obviously on error rather than continuing on. This can be used as a template for adding error checking on the other systems. JIRA: VSPERF-141 Change-Id: I1892db661a56ab2012e26c6720e0851fabbb51d9 Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com>
2015-12-02vnfs: configurable loopback application support inside VMMartin Klozik11-204/+269
For PVP and PVVP deployments, traffic inside virtual machines must be forwarded between its interfaces. There are several forwarding options supported by VSPERF, including DPDK testpmd, Huawei l2fwd kernel module and linux bridge. Another option is, that VM image has built in forwarding functionality and vsperf doesn't configure it itself. User can select VM loopback application by configuration option GUEST_LOOPBACK (per VM) or by SCALAR cli option guest_loopback (global settings). Selected guest loopback application(s) will be written into test results CSV file and test report MD file. Default wildcarded guest login prompt was added. Guest startup guarding timer can be configured. Path to OVS kernel module has been fixed. Change-Id: If738da1ea09112f9cf2267afcbc99a6797f3a03a JIRA: VSPERF-130 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-12-02pkt_gen: add duration to all send functionsMaryam Tahhan8-42/+41
Allow a configurable duration for all send functions. JIRA: VSPERF-125 Change-Id: I7c6f5d136a7d7100e3990f7fdc00121b07081a80 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> Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com> Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
2015-11-26docs: update installation guide and gsg.Maryam Tahhan2-11/+73
Update installation guide and gsg to include latest updates to vsperf build and installation. JIRA: VSPERF-127 Change-Id: I773ea240eb90e191f4f53ed977651056817413f1 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>
2015-11-26Adding install scripts for Ubuntu14.04Abdul Halim4-2/+133
System build scripts for Ubuntu14.04 are added. DPDK mkdir hugepage fails to create /dev/hugepages with permission error. Workaround for that is added so that /dev/hugepages dir is created when OS specific scripts is run with sudo privilege. Also adding missing packages kernel-modules-extra, pixman-devel and openssl-devel for Fedora systems. JIRA: VSPERF-128 Signed-off-by: Abdul Halim <abdul.halim@intel.com> Change-Id: Ie805c094df4a3f9446b09ea2d7e4dfb2f5324544 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: Eugene Snider <Eugene.Snider@huawei.com> Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com> Reviewed-by: Tv Rao <tv.rao@freescale.com>
2015-11-26doc: update template and conf filesRyota MIBU6-103/+26
JIRA: RELENG-16 Change-Id: I0aaac15c1d1a1031cbc113db594a342c60b7eb1d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-12Adding system build scripts for Fedora 21 and Fedora 22Abdul Halim5-13/+200
Scripts are added for Fedora 21 and 22 to install system requirements and python packages on these systems. Also modified root build_base_machine.sh so that it can handle directory structures for version specific scripts if available. JIRA: VSPERF-93 Change-Id: If6a311bc7bb1116979faabff5e9097e39f2f5495 Signed-off-by: Abdul Halim <abdul.halim@intel.com> Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com>