summaryrefslogtreecommitdiffstats
path: root/nfvbench/traffic_gen
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09NFVBENCH-153 Add support for python34.0.0Michael S. Pedersen4-44/+35
JIRA: NFVBENCH-153 Done using 2to3-3.6 with additional changes to fix data parsing and testing (tox) Signed-off-by: Michael S. Pedersen <michael.soelvkaer@gmail.com> Change-Id: I242902f800da543d780507828c9bd1fbf409da6d
2019-12-02NFVBENCH-155 Add options to disable extra stats, latency stats and latency ↵PY27_BASE3.7.0py27Pierrick Louin1-6/+16
streams Change-Id: I9af56bf1b618a072adbc92b43e65e10b274d4f17 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-23NFVBENCH-152 Add service_mode method for debugging purposeLouin Pierrick2-2/+15
Change-Id: I17b70a26ea0df1b5b616db6039813c83a1efe799 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-23Merge "Add support for VXLAN latency"Alec Hothan1-4/+9
2019-10-21NFVBENCH-146 Add cache_size optionPierrick Louin1-1/+2
Change-Id: I99c1242198e40bd75cfd013c829d0d24dbafb5d9 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-21Add support for VXLAN latencyMichael Pedersen1-4/+9
JIRA: NFVBENCH-150 Removes previous limitations added due to missing support for latency with VXLAN offloading in TRex Signed-off-by: Michael Pedersen <michael.soelvkaer@gmail.com> Change-Id: I7de5b4d1e338ca3c2f3f3bde456aae0dcabace4d
2019-06-23NFVBENCH-95 Add HdrHistogram encodes returned by TRex to JSON resultsahothan2-1/+65
Change-Id: Id80da949f7b1f3736558facd0128a0bd82b35010 Signed-off-by: ahothan <ahothan@cisco.com>
2019-06-20[NFVBENCH-137] NFVbench generates wrong L4 checksums for VxLAN traffic3.4.1Yichen Wang1-4/+7
Change-Id: Id0197f1f2ae0022a6e94755ab0b9fbfc434d5b8b Signed-off-by: Yichen Wang <yicwang@cisco.com>
2019-05-24NFVBENCH-135 Enhance VxLAN UDP src port entropyahothan1-3/+12
Change-Id: Idaaf1952548ec2531a574b9a583304821beed00f Signed-off-by: ahothan <ahothan@cisco.com>
2019-03-28Add possibility to restart TRex in case of config change or forced it with ↵fmenguy1-22/+58
config flag Change-Id: I40473eac355b76655220d48062eff851cc4eebc3 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-03-11VxLAN per-chain counter supportMichael Pedersen3-12/+42
Re-commit following upgrade of TRex. Adds support for per-chain counter statistics. Due to a TRex limitation this does not work for latency streams. Change-Id: I5c764820b9269fda3df2f0aaa293996cb06fb19a Signed-off-by: Michael Pedersen <michael.soelvkaer@gmail.com>
2019-02-28NFVBENCH-124 Upgrade TRex to v2.533.1.0fmenguy1-34/+34
Change-Id: I7781d7a76ec06162c56112e592a43bb5060ef8b1 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-02-18NFVBENCH-121 Add TRex parameters to tune performance and allocate ressourcesFrançois-Régis MENGUY1-1/+2
Change-Id: I3dd091575cce19a31e8aff3d56ed3ea7e930fe83 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2018-11-20NFVBENCH-111 Add support for VxLAN3.0.0ahothan1-15/+63
Change-Id: I7d9d7ccb6be7445e625ec520d22c5f045b56d5ff Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-13NFVBENCH-108 Adjust exact frame size to take into account FCS field2.0.5ahothan3-28/+39
Minimum L2 frame size is now set to 64 bytes. If VLAN tagging, min frame size for the latency stream is 68 bytes. Also fix issue with interface baseline. Change-Id: If6ff7515c0112ab419070c86f7094ff88930d33b Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-07NFVBENCH-107 NFVbench 2.0 ValueError at end of fixed rate run2.0.4stable/gambiaahothan1-3/+9
Change-Id: I16181a530d040f0ff9348a7b4c1764fec5f73d69 Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-02NFVBENCH-106 IndexError exception while resolving ARP (EXT)2.0.3ahothan1-4/+4
Change-Id: Id3699849810ec16706ff1cdd7f05b6912583cf21 Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-01NFVBENCH-105 ARP not working with NFVbench 2.02.0.2ahothan1-31/+8
Fix type in arp record field. Remove unneeded code. Change-Id: I7a77f66c5e1c357907f4fd113f864708a351f152 Signed-off-by: ahothan <ahothan@cisco.com>
2018-10-14NFVBENCH-103 Add --hypervisor cli options and fix vm placement for multi-chain2.0.0ahothan1-1/+1
Change-Id: I80ab8b7c39221132ff43b95cd453dbfd4edd580c Signed-off-by: ahothan <ahothan@cisco.com>
2018-10-11Perform strict src mac check on ensure end to endahothan3-38/+27
This is required when shared net is used and there are more VMs running than requested in the -scc Change-Id: I7599169739e6bb9b3e2377473377d5332ef2b68a Signed-off-by: ahothan <ahothan@cisco.com>
2018-10-082.0 beta NFVBENCH-91 Allow multi-chaining with separate edge networksahothan4-169/+425
Includes complete refactoring of code Beta for NFVbench 2.0 Change-Id: I2997f0fb7722d5ac626cd11a68692ae458c7676e Signed-off-by: ahothan <ahothan@cisco.com>
2018-05-16NFVBENCH-94 End to end traffic test triggers too early on chatty networkahothan1-1/+8
Change-Id: I995cf3209ec4ac8c324e2bc4bee202e0639bf0b3 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-26[NFVBENCH-89] Fix exception losing original tracebacksahothan1-1/+1
Change-Id: I7e94d6209603c622fc0a0ea22fdd21ea09f1bbaa Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-23[NFVBENCH-87] In case of asymmetric actual Tx rate, total drops is ↵ahothan1-1/+10
calculated incorrectly Use far end TX counter to calculate dropped packets at given RX port. Change-Id: Icfffb390e2e557f0bad2e9ddf685510decc25b27 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-04Merge "NFVBENCH-80 latency stream for IMIX uses 1518B frames"Alec Hothan1-0/+1
2018-04-04[NFVBENCH-81]With some Intel X710 NIC cards, NFVbench reports erroneous RX ↵ahothan1-25/+11
counters Work around this NIC FW issue by using port level stats for packets/bytes ALso fix mutliple calls to get_stats() Change-Id: Id19086d0db6bcc4417adff4ed4ce9606ffb30fe2 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-03NFVBENCH-80 latency stream for IMIX uses 1518B framesKerim Gokarslan1-0/+1
Change-Id: Ie37202001816ec0b9a8f3ecc08c7ec8c097a5d61 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2018-04-03NFVBENCH-79 TRex latency stats requires at least 18B payload sizeKerim Gokarslan2-14/+16
Change-Id: I4add34e853d5b5a37efc877eb183a1fdc622d78a Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2018-03-23NFVBENCH-56 Multi-chaining traffic starts may be too early for some runsKerim Gokarslan2-0/+34
Change-Id: I332a53e3dd3e14e9cba4ad9f57bdfd094ffa4d3a Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2018-03-23NFVBENCH-78 TRex requires at least 16 payload bytesKerim Gokarslan1-4/+6
Change-Id: Iacdafc624857698c8c9ac481daa050a42c1995b6 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2018-03-20NFVBENCH-73 vlan_tagging parameter cause exceptionmortenhillbom1-1/+1
Change-Id: Ia2f091dfd05004806637e3e15076e04aa31bd433 Signed-off-by: mortenhillbom <mhillbom@cisco.com>
2018-03-16[NFVBENCH-74] packet payload length without vlanlouie.long1-2/+5
fix packet playload length without vlan tag, ensure that the minimum packet size is 64 bytes with or without the vlan tag Change-Id: Iabea46756905e3b16791436642cdca58ec8fed6f Signed-off-by: louie.long <longyu805@163.com>
2018-03-02[NFVBENCH-72] ARP retry log may cause exceptionahothan1-1/+1
Fix exception - use proper type May happen when retrying wait for ARP replies Change-Id: Idc33926306268b662117deba499a35eac66affc4 Signed-off-by: ahothan <ahothan@cisco.com>
2018-02-09[NFVBENCH-65] 1.2.2: AttributeError: 'RunningTrafficProfile' object has no ↵ahothan1-1/+1
attribute 'software_mode' Fix exception Change-Id: Id95c31d8ba999e0da39fa07c4e31e696da89d98e Signed-off-by: ahothan <ahothan@cisco.com>
2018-01-16[NFVBENCH-62] Add support for non-openstack environmentsahothan1-0/+10
Add Unit test to validate non-openstack with dummy traffic gen Change-Id: I359ddb7d43169f706d8262842af975d5b4675a3a Signed-off-by: ahothan <ahothan@cisco.com>
2017-12-21[NFVBENCH-59] Add Unit Testing of the NDR/PDR convergence algorithm using ↵ahothan2-10/+120
the dummy traffic gen [NFVBENCH-60] Fix pylint warnings Change-Id: I72deec060bf25774d1be33eaeefc74b42a576483 Signed-off-by: ahothan <ahothan@cisco.com>
2017-10-30NFVBENCH-45 Fix typo on imix_avg_l2_sizeKerim Gokarslan1-2/+1
Change-Id: I124ca18b717220dd7f74f14c213c3a2ca3b81c60 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-10-16NFVBENCH-40 Add pylint to toxKerim Gokarslan4-58/+48
Change-Id: Ic55a07145f27c4cfaa6df5523df3940ca4433af1 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-21NFVBENCH-32 Check nan result values before integer castingKerim Gokarslan2-13/+16
Change-Id: Ia675672b40f93d7503ebe5a355896a084e3d0cbf Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-19NFVBENCH-25 Send run results to fluentdKerim Gokarslan2-18/+19
Change-Id: I671a9297b90784bc30eee48ea9244a9c63a24e85 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-08-03Support to customize sport and dport for UDP trafficYichen Wang1-1/+6
Change-Id: I40f28f28dd105f18ab69c5b5a56086ff3a06f2f6 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2017-07-31Initial code drop from Cisco1.0.0ahothan5-0/+800
Change-Id: Ie2993886dc8e95c5f73ccdb871add8b96ffcc849 Signed-off-by: ahothan <ahothan@cisco.com>