aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-19ixia: Support of 1 NIC connection to trafficgenMartin Klozik4-2111/+471
For some testcases it is useful to have only one connection between traffic generator and DUT. Thus IxNet class was extended to support such connection. Feature is enabled if both IXIA ports are set to the same value. New integration testcase ixnet_pvp_tput_1nic was created to demonstrate this feature. Unused code was removed from 3rd_party/ixia/ixnetrfc2544.tcl to simplify introduction of new features and to speed up IXIA configuration. JIRA: VSPERF-503 Change-Id: I92ab24fa58eeb1ccb7f00ac7f3530ffca7b99241 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-04-18xena_verify: Add final verification option to XenaChristian Trautman4-3/+125
Adds final verification option to Xena traffic generator inside VSPerf. Works by running the Xena2544.exe again after the initial run is complete with modified values inside the json file. If the final verify fails it will revert the settings and continue the in a pattern based on if the smart search is enabled. JIRA: VSPERF-506 Change-Id: Ic272628c489b88989f67549bd020af7354dc9b91 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-04-13Fix for multi-stream configurationMarco Varlese1-0/+3
The multistream configuration is not passed to the remote host where the traffic generator (MoonGen) runs. Change-Id: I3e9862553b5b064272f3bfffb788c06ebd3740ca Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-04-12Merge "ixia: VLAN support without l3/l4 headers"Martin Klozik1-4/+0
2017-04-12Merge "jumbo_frame: Add jumbo frame support"Martin Klozik8-2/+125
2017-03-31Changes index depthTrevor Cooper2-16/+8
Change-Id: I9f83b22eebb61de7ab98040bd67f7dd7f3caf129 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-30ixia: VLAN support without l3/l4 headersMartin Klozik1-4/+0
Remove dependency of VLAN headers on L3 and L4 protocols. JIRA: VSPERF-499 Change-Id: Ic16dbbf2b503be7dd48a7bf55e45795bbb9f7e67 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-30jumbo_frame: Add jumbo frame supportChristian Trautman8-2/+125
Add jumbo frame support for all packet forwarding applications inside guest for pxp testing. Enable jumbo frame support for OvsVanilla, OvsDpdkVhostUser, and Packet forwarding. Add minor fix for missing method issue when running packet forwarding tests. The get_version method was missing in the packet_forwaring core module. JIRA: VSPERF-501 Change-Id: Ia99975f47c64259ed2566bde3c85b2779c309e80 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-03-29Removed white spaceTrevor Cooper1-1/+1
Change-Id: I4455ce38ca81ad1d5a028c626e3ac53d6d87db43 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-28Fixed indexes in user and developer documentationTrevor Cooper3-20/+13
Change-Id: Iad5c130936a815c41265b29053d2978808ff14bb Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-27Merge "ixia: Make L3 and L4 headers optional"Martin Klozik6-2777/+2835
2017-03-27Merge "ixia: Fix VLAN support by IxNet class"Martin Klozik1-8/+198
2017-03-27Merge "vpp: Reporting update related to VPP"Martin Klozik13-51/+159
2017-03-24ixia: Make L3 and L4 headers optionalMartin Klozik6-2777/+2835
During testing it is sometimes useful to generate pure L2 traffic without L3 or L4 related headers. IxNetwork TCL script was updated to support this option. Generic TRAFFIC array was enhanced by on/off switch for L3 and L4 headers. Thus it can be implemented by other traffic generators in the future, if this feature will prove itself useful. JIRA: VSPERF-500 Change-Id: I723c703e5d6ef609fd5b7db366871278a4730203 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-24ixia: Fix VLAN support by IxNet classMartin Klozik1-8/+198
IxNet class, which controls IXIA via IxNetwork TCL server, did not support VLAN configuration. Main TCL script 3rd_party/ixia/ixnetrfc2544.tcl was updated to support VLAN configuration. JIRA: VSPERF-499 Change-Id: I89b33dfc653fd59c2983e78a6532812a4c29bddf Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-24multistream: Support huge number of streamsMartin Klozik9-18/+32
Restriction of 64K streams was limited only to L4 stream type. In case of L3 and L2 stream type, it is possible to define unlimited number of streams to be simulated by traffic generator. JIRA: VSPERF-498 Change-Id: I4ce3253299473127d135c01543999a8593b9556f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-23Removed reference to POD 3 since VSPERF POD was moved to POD 12Trevor Cooper2-11/+7
Change-Id: Ic278ba90c3174b9f83766861981aeb66320c8963 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-23Added index files for user and dev doc dirsTrevor Cooper3-24/+68
Change-Id: I0ac84324be97de91c8d4730cd3cb73e994cf28a7 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-23Updates release note numberingTrevor Cooper2-13/+0
Change-Id: Id0510b96375033540fa80fe22b301fb1d0d20e40 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-22New doc structure changes for stable/danubeTrevor Cooper1-0/+1
Change-Id: I2e9b432a74ee22690fdb366de619dc3a5d2ad725 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-21Updated doc locations for new structureTrevor Cooper32-52/+60
Change-Id: I8d948bad350ec90618edac5fc451167c06e8baa5 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-22Merge "Revert "Moved doc files to testing document structure"Trevor Cooper32-65/+76
2017-03-22Revert "Moved doc files to testing document structureTrevor Cooper32-65/+76
This reverts commit 32a5263216d79ad34041dca55357278f092bb931. Change-Id: I641b967badffd52ffd9e249b75e67bb7c82a8150 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-22Revert "Corrected doc dir errors"Trevor Cooper1-15/+15
This reverts commit 255f58a8c64fcb2875f7616dfcbbfeef2173efcb. Change-Id: Iccaaf205da26a49744b06e019b000e824e4c45cd Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-21Corrected doc dir errorsTrevor Cooper1-15/+15
Change-Id: Iab221ca0ea22156830c2a106695e305f965d5226 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-21Moved doc files to testing document structure testing/user ... ↵Trevor Cooper32-76/+65
testing/developer and modified doc index to match dir structure Change-Id: I4b1a535808a48773505fa7874c61707cd349fced Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-20Renamed release notes file and added index file to release-notes dirTrevor Cooper2-0/+12
Change-Id: I448fd909a89103b2c11cb16f91b8c646fb5adee8 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-20vpp: Reporting update related to VPPMartin Klozik13-51/+159
VSPERF reports were updated to contain vSwitch name. In case of VPP, it is not possible to read its version if VPP is not running. Thus VSPERF was enhanced to support tool version check during its runtime. This mechanism can be enhanced to support e.g. VNF in the future. JIRA: VSPERF-496 Change-Id: I74b47505e35340eead165d9b588e9cc15c058bbf Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-20Merge "IXIA setup: Fix to create packets with the specified values."Martin Klozik2-24/+24
2017-03-16Merge "vpp: Initial support of VPP vSwitch"Martin Klozik17-65/+837
2017-03-15vpp: Initial support of VPP vSwitchMartin Klozik17-65/+837
Support of VPP was implemented into VSPERF. Initial implementation uses step driven testcases to configure P2P, PVP and PVVP network scenarios. These testcases were prepared for three RFC2544 traffic types, i.e. throughput, continuous stream and back to back. VPP configuration is driven by new configuration option VSWITCH_VPP_ARGS. It is possible to use three types of l2 port connection supported by VPP, i.e. l2 xconnect (default), l2patch and l2 bridge features. Configuration is driven by parameter VSWITCH_VPP_L2_CONNECT_MODE. JIRA: VSPERF-495 Change-Id: Idebef9b10fb0d70796adb3405fec77302de00a7e Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-15Fix fuel plugin installation issue in latest ISOGuo Ruijing1-2/+1
Change-Id: I8383b469f5350f4457cf234de2a4ff8f79151afe Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-03-08Merge "install: opensuse - fix non-utf8 characters issue in /etc/services"Martin Klozik1-6/+10
2017-03-08install: opensuse - fix non-utf8 characters issue in /etc/servicesMarco Varlese1-6/+10
The scapy python script (data.py) parses the file /etc/services using the default utf8 decoder. Unfortunately, there are some characters in that file which are non-utf8 hence the script stops prematurely. This patch addresses that issue. Change-Id: Ib5bd41d4fc60b4ce1072fe71b14769b02da7b724 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-03-07Changed "NEWS" to "Release Notes" and added openSUSETrevor Cooper1-3/+4
Change-Id: I55d50656930f386b55924ee23948b2e321d2745b Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-07Renamed NEWS.rst to vsperf-release.rst and moved into release dir per new ↵Trevor Cooper2-6/+0
doc structure Remove reference to NEWS.rst in index file ... release notes will be referenced in Release section Change-Id: I8f32c7cd23b0b2cd33703950a71cbb626c0c35fc Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-06Add support for openSUSE Leap 42.2Marco Varlese3-0/+118
This patch enables openSUSE Leap 42.2 systems to build and run VSPERF. Change-Id: I182cec8a11ee5f0d70670f1ae18dd35fcc257616 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-03-03Merge "Updated project description and license header"Trevor Cooper1-12/+18
2017-03-03bugfix: Remove typo from requirements.txtMartin Klozik1-1/+0
Wrong characters were inserted into requirements.txt during modification of file license header. This bug caused issues during installation of vsperf by installation scripts. Problematic line was removed to avoid installation failures. JIRA: VSPERF-489 Change-Id: I399eb8ecc7c42a9c42fb1e697dd6322fc9867951 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Marco Varlese <marco.varlese@suse.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-03-02Updated project description and license headerTrevor Cooper1-12/+18
Change-Id: I122bdec1a7fa9a9e3da51acb31b30a231eff7890 Signed-off-by: Trevor Cooper <trevor.cooper@intel.com>
2017-02-28Xena_pylint_fix: Fix param call to changes made by pylint patchChristian Trautman1-4/+4
Missed this small issue when calling continuous streams caused by the param name change from the pylint patch in XenaDriver.py ca9c9275ed6d5d852987c69a378e88a3502cb2ab. Change-Id: Ic8ad86358f72e91edea34cb37207d7dc583128b4 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-02-22pkt_gen: STC parameter reordering bug.Sridhar K. N. Rao2-5/+4
This patch fixes a bug caused due to wrong parameter ordering. stc_common_settings should come after rfc2544_common_settings. It also gets rid of 'Import' error for module 'conf' JIRA: VSPERF-491 Change-Id: I356294b4efdf9ebd0cea4492d3ed1cb8e04ec9b1 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2017-02-17license: Add license info to all project filesgoldammx36-34/+195
All files were updated with license header. In case of binary files is license stored in LICENSE file stored in the same directory. Packages.txt was removed, because file has not been used.List of packages differs according OS distribution, all of neccesary packages are include in instalation scripts JIRA: VSPERF-489 Change-Id: I6ecae21b8db2a0f22fa5a66f9525352080f1fcc0 Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-02-16Merge "ci: Add SRIOV TC to CI daily job"Martin Klozik1-0/+21
2017-02-16ci: Execute pylint checks by VERIFY and MERGE jobsMartin Klozik2-19/+82
Pylint should be executed automatically for every patch to assure, that new code meets vsperf coding standards. JIRA: VSPERF-114 Change-Id: Icb1000e207b2d728497ff3d349fb3cb8334baac7 Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
2017-02-14ci: Add SRIOV TC to CI daily jobMartin Klozik1-0/+21
SRIOV functionality should be regularly tested to detect any issues brought by new features. Testcase pvp_tput will be executed by daily job for several packet sizes. Testcase results will be reported and stored into artifactory, but they won't be stored into result database. JIRA: VSPERF-390 Change-Id: I9f6290b3be297a84c185681ce354bc7365b4036c Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-02-13pylint: Fixing pylint errors and warningsgoldammx38-215/+279
All python files must reach pylint score 10/10. This will be regularly verified by Jenkins jobs to keep constant code quality. VSPERF specific pylintrc file was updated according to the vsperf coding standards. Distro version included in reports will be slightly different, due to migration to new python package distro. Previously used platform.distro() will be deprecated since python 3.7. JIRA: VSPERF-487 Change-Id: I934120208b9624787a3567ccaa49e14d77d7a5bf Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-30docs: Remove hyperlinks to docs in artifactsMartin Klozik20-215/+172
It is possible to use sphinx cross referencing feature in case, that only one level of toctree is used. Thus documentation was reorganized to utilize just one top level index with toctree. After that it was possible to use rst native syntax to create a cross links among vsperf documentation chapters. As a result only 2 hyperlinks to the yardstick documentation are version specific. JIRA: VSPERF-442 Change-Id: I15c2f53922e88765506448de61af4a299f5d53c5 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-01-27Merge "pkt_gen: STC - RFC 2889 Address Learning and Caching Support"Martin Klozik6-93/+353
2017-01-27pkt_gen: STC - RFC 2889 Address Learning and Caching SupportSridhar K. N. Rao6-93/+353
This patch adds RFC-2889 address-learning-rate test and address-caching-capacity tests. The patch includes following changes 1. 01_testcases.conf: testcase definitions are added for new tests 2. results_constants.py: 3 new results constants are added, removed unsupported constants 3. testcenter-rfc2889-rest.py: Added support to these two new tests. Removed un-necessary synchronization of db-file. 5 new configuration parameters are added - which are explained in (4). 4. trafficgen.rst: Configuration description for rfc2889 tests are added. Stale information is removed. 5. testcenter.py: Support for two new tests are added. Separate functions for results analysis and parameter settings are added. 6. traffic_controller_rfc2889.py: Calls to functions in testcenter.py, based on the traffic_type, are added. Removed trailing whitespaces from trafficgen.rst JIRA: VSPERF-395 Change-Id: Ie6ca87519b7736e7410d7f0e60904579934af24a Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>