summaryrefslogtreecommitdiffstats
path: root/nfvbench/traffic_client.py
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07NFVBENCH-158 Allow multiple UDP ports in traffic generation4.2.0Jules Boudaud1-19/+142
Change-Id: Id7c3ccad01fd9dda6c7cddb576735b429eb987a4 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-01-31MPLS support + loop_vm_arp test fix4.1.0mklyus1-10/+74
Change-Id: I17b1b2a97f0bc185d3906250d5f91b4c8fcb9686 Signed-off-by: Max Klyus <mklyus@cisco.com>
2019-12-09NFVBENCH-153 Add support for python34.0.0Michael S. Pedersen1-39/+37
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-1/+4
streams Change-Id: I9af56bf1b618a072adbc92b43e65e10b274d4f17 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-23NFVBENCH-152 Add service_mode method for debugging purposeLouin Pierrick1-2/+8
Change-Id: I17b70a26ea0df1b5b616db6039813c83a1efe799 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-23Merge "Add support for VXLAN latency"Alec Hothan1-6/+1
2019-10-21NFVBENCH-146 Add cache_size optionPierrick Louin1-2/+1
Change-Id: I99c1242198e40bd75cfd013c829d0d24dbafb5d9 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-10-21Add support for VXLAN latencyMichael Pedersen1-6/+1
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-07-13NFVBENCH-140 Retrieve High Dynamic Range latency histograms with TRex v2.593.5.0ahothan1-0/+1
Change-Id: I48ac8c0cf920139bad966cb477e8ba1ae0d0fd43 Signed-off-by: ahothan <ahothan@cisco.com>
2019-06-05Add L3 traffic management with Neutron routersFrançois-Régis MENGUY1-3/+18
Change-Id: Ic9bff87e0d78652de28b3a756f9ebc342983cfbb Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-03-11VxLAN per-chain counter supportMichael Pedersen1-3/+8
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-3/+3
Change-Id: I7781d7a76ec06162c56112e592a43bb5060ef8b1 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2019-02-24NFVBENCH-122 Allow config to have more dest MACs than chains requestedahothan1-2/+3
Change-Id: I887cf14e76ae59abfec6fea5bd2181d8b3238d4c Signed-off-by: ahothan <ahothan@cisco.com>
2019-02-18NFVBENCH-121 Add TRex parameters to tune performance and allocate ressourcesFrançois-Régis MENGUY1-1/+6
Change-Id: I3dd091575cce19a31e8aff3d56ed3ea7e930fe83 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2018-12-07NFVBENCH-118 VxLAN fixed rate: Trex far end port Rx counters are incorrectahothan1-2/+23
Change-Id: If3d0b199f4b97f8610dea360cb9e70fabec06601 Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-26NFVBENCH-113 Add direct support for trex cores as an cli/config option3.0.2ahothan1-1/+6
Change-Id: Ic930b605a0eb821487ca4620bc7231794b9add08 Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-20NFVBENCH-111 Add support for VxLAN3.0.0ahothan1-7/+93
Change-Id: I7d9d7ccb6be7445e625ec520d22c5f045b56d5ff Signed-off-by: ahothan <ahothan@cisco.com>
2018-11-01NFVBENCH-105 ARP not working with NFVbench 2.02.0.2ahothan1-1/+0
Fix type in arp record field. Remove unneeded code. Change-Id: I7a77f66c5e1c357907f4fd113f864708a351f152 Signed-off-by: ahothan <ahothan@cisco.com>
2018-10-11Perform strict src mac check on ensure end to endahothan1-13/+47
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 networksahothan1-261/+313
Includes complete refactoring of code Beta for NFVbench 2.0 Change-Id: I2997f0fb7722d5ac626cd11a68692ae458c7676e Signed-off-by: ahothan <ahothan@cisco.com>
2018-05-17Add a configurable pause between runs during NDR/PDR binary search1.4.2Michael Pedersen1-0/+1
JIRA: NFVBENCH-93 Change-Id: I4328d51c934b62acba7b300426c25469dd69e598 Signed-off-by: Michael Pedersen <michael.soelvkaer@gmail.com>
2018-05-16NFVBENCH-94 End to end traffic test triggers too early on chatty networkahothan1-3/+6
Change-Id: I995cf3209ec4ac8c324e2bc4bee202e0639bf0b3 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-24[NFVBENCH-88] Fixed rate run: reported RX rate should be swapped in Run ↵ahothan1-1/+3
Config Table swap the RX rates so that each direction has the far end RX rates Change-Id: Ib78b7721b07285f5173ca8d6f29f18873eb91df9 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-24[NFVBENCH-86] In case of lossy loopback device, packet drops are reported ↵1.4.0ahothan1-13/+23
incorrectly This is only for fixed rate runs, the chain analysis table at end of run may contain incorrect drops. Change-Id: I6656528ed695a60003c672132624a7284db60497 Signed-off-by: ahothan <ahothan@cisco.com>
2018-04-04[NFVBENCH-81]With some Intel X710 NIC cards, NFVbench reports erroneous RX ↵ahothan1-5/+3
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-03-23NFVBENCH-56 Multi-chaining traffic starts may be too early for some runsKerim Gokarslan1-28/+25
Change-Id: I332a53e3dd3e14e9cba4ad9f57bdfd094ffa4d3a Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2018-02-16[NFVBENCH-67] NFVbench should have same TX rate for different rate formatsYichen Wang1-0/+4
Change-Id: I55e03319efba353dd3067b8b946815b631a87896 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2018-01-17[NFVBENCH-58] Add option to specify dest MAC with EXT CHAIN when ARP isMichael Pedersen1-4/+16
disabled Change-Id: Ia605d7314d8047e84c5e17088ed5ce588a50e256 Signed-off-by: Michael Pedersen <michael.soelvkaer@gmail.com>
2017-12-21[NFVBENCH-59] Add Unit Testing of the NDR/PDR convergence algorithm using ↵ahothan1-7/+14
the dummy traffic gen [NFVBENCH-60] Fix pylint warnings Change-Id: I72deec060bf25774d1be33eaeefc74b42a576483 Signed-off-by: ahothan <ahothan@cisco.com>
2017-10-16NFVBENCH-40 Add pylint to toxKerim Gokarslan1-40/+40
Change-Id: Ic55a07145f27c4cfaa6df5523df3940ca4433af1 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-10-13NFVBENCH-5 NFVBENCH-39 Fix long prep time with large number of flowsahothan1-49/+82
Fix bad ip addr count with step>0.0.0.1 Add unit test code Change-Id: Ia1a3ae5188984aa0ed1f31954f17063a6f2925fd Signed-off-by: ahothan <ahothan@cisco.com>
2017-09-26NFVBENCH-33 STLError exception when the packet path drops all packetsKerim Gokarslan1-2/+7
Change-Id: Ibe48bb04e1e8a11e920c46792fda261855edc20d Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-21NFVBENCH-32 Check nan result values before integer castingKerim Gokarslan1-4/+8
Change-Id: Ia675672b40f93d7503ebe5a355896a084e3d0cbf Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-20NFVBENCH-30 check_traffic_time_sec not working as expectedKerim Gokarslan1-3/+4
Change-Id: I7d82b6b3c95df0ad5e1b95cb35e8f84d00717a3a Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-19NFVBENCH-28 Set result values for NDR/PDR if they cannot be found within the ↵Kerim Gokarslan1-0/+15
given epsilon Change-Id: Id8019c7f052c2b189f3ab6e39377f65fe00d9fee Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-19NFVBENCH-25 Send run results to fluentdKerim Gokarslan1-3/+3
Change-Id: I671a9297b90784bc30eee48ea9244a9c63a24e85 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-08-18[NFVBENCH-7] Return errors when unknown options are passedYichen Wang1-1/+2
1. Return errors when unknown options are passed 2. Fix pep8 warnings Change-Id: I1cbc86de93b4633bbf9bd66c1dc956ff8b3679a6 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2017-08-03Support to customize sport and dport for UDP trafficYichen Wang1-1/+10
Change-Id: I40f28f28dd105f18ab69c5b5a56086ff3a06f2f6 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2017-07-31Initial code drop from Cisco1.0.0ahothan1-0/+790
Change-Id: Ie2993886dc8e95c5f73ccdb871add8b96ffcc849 Signed-off-by: ahothan <ahothan@cisco.com>