summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-02-15bugfix: Blank lines are required to join RST templatesMartin Klozik1-0/+4
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>
2016-02-05docs: fix link to the page with test resultsMartin Klozik2-2/+2
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>
2016-02-05docs: add missing license to trafficgen.rstMaryam Tahhan1-0/+4
The previous patch missed one file on Brahmaputra, this patch adds a license to the file. Change-Id: I56d7e377f34edfbd3f5a9090ff802ac41a6773b7 JIRA: VSPERF-239 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>
2016-02-05docs: adding license to all rst files.Maryam Tahhan12-0/+47
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>
2016-02-05fuel-plugin: Remove use of plugin-defined roleBilly O'Mahony2-23/+8
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> (cherry picked from commit 4064fc0e839c26c38a38ee71e63673ed59d8547b)
2016-01-29docs: Add a note on pidstat and unknown results.Maryam Tahhan1-3/+10
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>
2016-01-28docs: Final report conclusions and recommendationsMaryam Tahhan3-10/+12
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>
2016-01-28bugfix: do not report DPDK version for vanilla OVS vswitchMartin Klozik3-1/+7
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> (cherry picked from commit 8744bcc583c734caf006116b033362e01022f7b8)
2016-01-25results: update test dashboard urlMaryam Tahhan1-1/+1
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: Brian Castelli <brian.castelli@spirent.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Radek Zetik <radekx.zetik@intel.com>
2016-01-25docs: updates and final fixesMaryam Tahhan8-49/+118
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>
2016-01-25VSPERF docs: Patches for Design DocumentRadek Zetik1-2/+11
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> (cherry picked from commit 11ea896d3dee85a79316c57838adef8807784359)
2016-01-25report: create test report for all executed TCsMaryam Tahhan4-111/+127
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: Iee9466825cab35c96e36238f7e03d9da15c583e6 JIRA: VSPERF-181 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> > (cherry picked from commit da081ab2603eb34baf7d7fe7b61f681ef15d865e)
2016-01-25VSPERF docs: Review userguide docs for BrahmaputraRadek Zetik1-36/+15
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> > (cherry picked from commit e840131eef8e493a1b0a4bd4ed2885c958b481f9)
2016-01-25fuel-plugin: Initial version targeting Fuel8Billy O'Mahony11-0/+136
Change-Id: I21b24527da480c713899bffdaec8381752354e53 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> (cherry picked from commit 2a3ff071bd08ff02610286a5ad4ba46690b6bc6b)
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> (cherry picked from commit b6b3b362d6c5a46d7f4eddd7c38062c0e6b78a0a)
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> (cherry picked from commit a844a969d48f2294e639350f5eca82bf8ef81623)
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> (cherry picked from commit e4718a97deafdb853335b13d472de0e273e191af)
2016-01-22reporting: 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> (cherry picked from commit 6da6b66a1affe7a79180a49534602a02e7994c7f)
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> (cherry picked from commit 2a2baf3f5f348539b50194a456b49b4ccb32b775)
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> (cherry picked from commit c28daf3e37f38ec570b70f33e9ce18a8e6b24f61)
2016-01-15vswitches: 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> (cherry picked from commit 76aba6f4fcb5e2a030893c01a3103bf8e94aa288)
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> (cherry picked from commit b2b11bf301bbe37befdda23e2a0f1501c079405f)
2016-01-08src: 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> (cherry picked from commit 2bf86efc582cc13b95533c17828b9db210b1057b) Change-Id: Id59065a76340d8e8e8834a656b6e9922966e4018
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> (cherry picked from commit 462d632c48906fa0a28b185f287f5ea3f5f29516)
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>