summaryrefslogtreecommitdiffstats
path: root/nfvbench/traffic_client.py
AgeCommit message (Collapse)AuthorFilesLines
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>