aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench
AgeCommit message (Collapse)AuthorFilesLines
2023-11-30Cleanup requirements & tox config, update pylintHEADmasterGwenael Lambrouin1-1/+1
- remove useless Python packages - make the purpose of each requirements.txt file explicit - don't overlap between requirements.txt files - fix requirements so that the "new" pip dependency resolver (enabled by default since pip 20.3) work. Consequently, it is not necessary to pin pip version to 20.2.4 and we can drop tox-pip-version - remove unused tox environments - skip the installation of nfvbench in the tox environments where this is not necessary - update pylint 2.10.2 => 2.15.9 (that was necessary to fix some requirement conflicts): - disable some of new checkers: consider-using-f-string,consider-using-generator,unnecessary-lambda-assignment,implicit-str-concat,global-variable-not-assigned - remove many obsolete checkers from the disable list - apply a simple refactor suggestion in nfvbench code - upgrade to Python 3.8 some remaining references to Python 3.6 Change-Id: I55c0fb144b9199681962f396582590aba89ed02c Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
2022-10-17Fix Jenkins buildGwenael Lambrouin1-1/+1
- docs: fix broken link - pep8: fix missing space Change-Id: I421d5a8e10b4e63c379c99f306813ade15f1f7a2 Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
2021-08-24Be explicit about text file encodingGwenael Lambrouin7-10/+10
Python PEP 597 (https://www.python.org/dev/peps/pep-0597) recommends to use an explicit encoding for text files instead of the default locale encoding. Pylint 2.10 adds a new checker named unspecified-encoding for that. The present patch adds explicit utf-8 encoding to open() calls in nfvbench and fixes pylint unspecified-encoding warnings. Remark: this patch does not change nfvbench behaviour on systems where utf-8 is the locale encoding, which is generally the case on Linux systems. Change-Id: Ic4dfb37e1ea958452a0173f7630a68f0d95071ae Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
2021-07-08NFVBENCH-215 Fix wrong throughput ratio in latency testsfmenguy5-9/+11
Change-Id: I5c976dd49a2c17b47559b1d6a565a6e78f7cfd0e Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-06-04NFVBENCH-212 Add clouds.yaml file as a config file to use for openstack API ↵fmenguy4-54/+92
access Change-Id: If855ffda1070ed9c9c4544230e4efec185a93f45 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-04-28NFVBENCH-206 Fix TRex patches remaining codefmenguy1-15/+0
Change-Id: Ifebb89d9d0aa2a21257c8e925cd51faa07b88353 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-04-27NFVBENCH-190: Add a 'i40e_mixed' option, trex accepts other i40e driven ↵Pierrick Louin3-2/+52
ports to run in kernel mode on the same board Change-Id: I33b1d848f409e0431bd4e247456b1d697d8b9d04 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2021-04-27NFVBENCH-205 - Add behave tests for characterization and non-regressionfmenguy2-11/+10
Change-Id: I708eee21a9fd11e7a276707fb0b43d8598381ce7 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-30NFVBENCH-163: Add gratuitous ARP in case of L3 router modefmenguy7-9/+117
Change-Id: Iec2b186176285f723eb2685319c55e6cd6d33a8a Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-05NFVBENCH-204 Remove some piece of code depending on a non merged patch ↵Pierrick Louin1-3/+1
(NFVBENCH-190) Signed-off-by: Pierrick Louin <pierrick.louin@orange.com> Change-Id: I34476f743f9ab0620f866e93ac068941a3a031af
2021-03-05NFVBENCH-203: Make --show-config really print the actual running configPierrick Louin2-8/+25
Add a --show-pre-config cmd to print the config before CLI override. Signed-off-by: Pierrick Louin <pierrick.louin@orange.com> Change-Id: I708498cf10eee043242cd975ab05bc44883bca4e
2021-03-05NFVBENCH-202: Generalize auto T-Rex restart on every command line related ↵Pierrick Louin1-14/+25
parameter change. Signed-off-by: Pierrick Louin <pierrick.louin@orange.com> Change-Id: Ia8e572e8ebea37bb7fb2c898d6a311b522dec0b4 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-04NFVBENCH-201 Fix port creation with accurate subnet_idfmenguy1-0/+18
Change-Id: I419cfeb82d16ff1ac1145df5d52fe6f88d890a49 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-04NFVBENCH-200 Cleanup refactoringfmenguy4-34/+54
Change-Id: I380a9efecdce8d525a9ae41949828c73e9cdac5f Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-04NFVBENCH-199 add exception to avoid API locked with pending runfmenguy1-3/+9
Change-Id: I12635d3f002bbac38e6c063ed3ca972ad02685ce Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2021-03-03NFVBENCH-198 Error in File logger management (REST API)fmenguy1-6/+7
Change-Id: I9c798b3bcbf416c0d3f107856aca0872c650a580 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-11-24NFVBENCH-194 Fix too many headers in NFVBenchSummarizer using server modefmenguy1-29/+29
Change-Id: I5c2394bc87c845caa2b322c30ed9dbf4feb20e86 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-11-16NFVBENCH-193: Correct a critical bug introduced in commit NFVBENCH-1924.4.0Pierrick Louin1-3/+5
Signed-off-by: Pierrick Louin <pierrick.louin@orange.com> Change-Id: Ia22008181fa7af63af68baed7e793ca7dab25a11
2020-11-16Merge "NFVBENCH-192: Complete/fix hdrh related processings to consider all ↵Fran�ois-R�gis Menguy5-56/+88
cases (multiple service chains, distribution n/a with intel VFs)"
2020-11-09NFVBENCH-192: Complete/fix hdrh related processings to consider all casesPierrick Louin8-76/+110
(multiple service chains, distribution n/a with intel VFs) Signed-off-by: Pierrick Louin <pierrick.louin@orange.com> Change-Id: I80e38601292a7777d37ed05959c8ef205505c2ac
2020-11-09NFVBENCH-187: Augment --l2-loopback command line option capabilitiesPierrick Louin6-93/+178
[vlan(s)|no-tag|true|false] - Update documentation Clarify some fuzzy coding in options processing [nfvbench.py] Change-Id: Ie6eec7722bfa557924f435f268b852c300e160df Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-11-05NFVBENCH-189: Add a fix to work around the i40e_VF port initialization issuePierrick Louin1-4/+96
Change-Id: I170292e0871b1ff00aa5c7e1136b3b14b143bee1 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-11-05NFVBENCH-188: Add an option for dumping the TRex log filePierrick Louin1-0/+14
Change-Id: Icd48638a5d789ea780ef8c39bc3a2cb963b8bc8a Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-19NFVBENCH-186: Fix a bug: NDR mode now fully supports 'intf_speed' overridingPierrick Louin1-3/+16
Change-Id: I43453b5790474324ec0db6e98311bb864ee00ec4 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-19NFVBENCH-184: Add a feature (+ options) allowing to change ownership of ↵Pierrick Louin3-5/+60
shared log & result files Change-Id: Id77426dade28aed48986ce6c18db6a193da5b6ed Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-17NFVBENCH-181: Make T-Rex restart on 'cores' or 'vlan_tagging' parameter ↵Pierrick Louin1-1/+16
value change Change-Id: Ibd4e03f79699b811f7a245609c2cf45603796842 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-17NFVBENCH-180: Add a 'no_e2e_check' option to skip "end to end" connectivity ↵Pierrick Louin3-3/+20
check Change-Id: Ic4ed852752a542f958f9ccb74369825bc85ddadb Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-17NFVBENCH-182: Cap the cache size to 10000 (maximum admitted)Pierrick Louin1-12/+14
Change-Id: Ia63fd9689bccbd6c5230efaaf2d3060d38de4fce Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-17NFVBENCH-183: Correct a very old bug - revealed with python3 - when traffic ↵Pierrick Louin1-6/+11
is unidirectional (while checking pps rate) Change-Id: I55fd64915c647a3a6b2b85bf30ecc69af620f420 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-16NFVBENCH-178: Add a 'debug_mask' configuration parameter for development needsPierrick Louin2-0/+15
Change-Id: I3752085cdd97105f24dfdde65a0c3beee46badb1 Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
2020-10-16NFVBENCH-171 Not accurate flow count with some IP and UDP ranges combinationsfmenguy3-153/+389
Change-Id: Ic68db4ee54c508ebb24ca2e605dcec2a6b2fb3bf Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-10-05NFVBENCH-177: Add a config item 'user_info' and theoretical max rate valuefmenguy7-10/+164
Change-Id: If96ccbffab67cfc0a08279d94cf7a5e81d958044 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-09-10NFVBENCH-176 Cannot run service mode with flow statsahothan1-1/+3
Change-Id: Iac920f75ea95c8d53afceeebf6445a4416d089d8 Signed-off-by: ahothan <ahothan@cisco.com>
2020-08-24NFVBENCH-175 pylint w0707 correctionfmenguy6-11/+13
Change-Id: I16927f051f80c540ffc1989f5311e47e68b14a73 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-07-31NFVBENCH-172: Add quartiles and 99 percentile latency valuesfmenguy8-31/+161
Change-Id: If223a47bbb039e4565924a49259c07cede356373 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-05-29Merge "NFVBENCH-169: UDP port random step correction"Alec Hothan2-8/+13
2020-05-29NFVBENCH-169: UDP port random step correctionfmenguy2-8/+13
Change-Id: I1ff96c02ea5b3abd126f303e3197dbcaf60e7dc3 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-05-27[NFVBENCH-168] Improve config properties managed after a REST callfmenguy7-28/+51
Change-Id: I20973c1c405dec8cce58f984e1fb84e345013b25 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-04-27Merge "NFVBENCH-166 Fixed rate interval reporting should show running drop rate"4.3.0Alec Hothan1-15/+18
2020-04-27NFVBENCH-166 Fixed rate interval reporting should show running drop rateahothan1-15/+18
Change-Id: I3dfaed88c0b37fa3b5e70b606dbfb00358fa6910 Signed-off-by: ahothan <ahothan@cisco.com>
2020-04-27l3-router fixesmklyus3-4/+15
Change-Id: I025c97af8003e797b8cd3133e0b2d64694fe4b58 Signed-off-by: mklyus <mklyus@cisco.com>
2020-04-27Merge "Auto PCI picking issue fix"Alec Hothan1-6/+8
2020-04-26[NFVBENCH-165] Use STLVmFixIpv4 to fix inner IP/UDP payloadYichen Wang1-4/+8
Change-Id: Ib9a5defcf06a32dbd30215635778abcb438785b1 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2020-04-07Auto PCI picking issue fixmklyus1-6/+8
Change-Id: I2492baf4deffff2d11cf04ab9b79711ea5dd2f16 Signed-off-by: Max Klyus <mklyus@cisco.com>
2020-04-07NFVBENCH-161 NFVbench --force-cleanup deletes more ports than needed4.2.3ahothan1-3/+3
Change-Id: Id2c015248df6ef161b57192e1691a70af9bc2c9b Signed-off-by: ahothan <ahothan@cisco.com>
2020-02-27[NFVBENCH-137] Fix L4 checksums for VxLAN (again)4.2.2mklyus1-3/+4
Change-Id: I65a9c81a2f7dcc84c3a1c11bff9cc16185d2664e Signed-off-by: Yichen Wang <yicwang@cisco.com>
2020-02-24[NFVBENCH-159] Python3 fix for get_intel_pci()4.2.1mklyus1-3/+2
Change-Id: I09d1f1180b0e80a34a0eec1acf4a1681b15d3e34 Signed-off-by: Yichen Wang <yicwang@cisco.com>
2020-02-07NFVBENCH-158 Allow multiple UDP ports in traffic generation4.2.0Jules Boudaud3-39/+225
Change-Id: Id7c3ccad01fd9dda6c7cddb576735b429eb987a4 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
2020-01-31MPLS support + loop_vm_arp test fix4.1.0mklyus8-47/+222
Change-Id: I17b1b2a97f0bc185d3906250d5f91b4c8fcb9686 Signed-off-by: Max Klyus <mklyus@cisco.com>
2020-01-23NFVBENCH-157 Add possibility to not use the ARP static configuration for VPP ↵fmenguy4-3/+19
loop VM Change-Id: Ifd3f183345e21c7866e9e9898c7bbda601793b2c Signed-off-by: fmenguy <francoisregis.menguy@orange.com>