summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2016-12-26add tw appendix for many active of flowsHanoh Haim4-6/+127
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-26Regression: update stateful benchmark at kiwi02Yaroslav Brustinov1-3/+3
Change-Id: I2e987c32b6dd77360cddd5ee8afd098caff49cd0 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-26add --active-flows option to scale the active flowsHanoh Haim1-0/+21
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25Regression: verify connectivity to trex_daemon_serverYaroslav Brustinov1-14/+22
Change-Id: Ie83ebb7bfc08fef6060b7e61f865c5fa00530cac Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-25regression breakageimarom1-0/+2
Signed-off-by: imarom <imarom@cisco.com>
2016-12-25Regression: handle exceptions during mapping to skip other testsYaroslav Brustinov1-10/+14
Change-Id: Icbb0a2469be5c90248b80eb46c1c80355b48acb1 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-25Update STL API version to 3.0Yaroslav Brustinov1-1/+1
Change-Id: Ib00cdc8f960522e54414cfda5ae7778887a9d0ec Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-25add a way to change tw configurationHanoh Haim1-0/+27
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25bug: ICMP ping did not ping the correct addressimarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-25refactor layer config on prot attributesimarom8-83/+84
added guard against unconfigured MAC when going up with empty config file Signed-off-by: imarom <imarom@cisco.com>
2016-12-25Regression: adapt IMIX stateful benchmark to removal of mbuf optimizationYaroslav Brustinov5-14/+14
Change-Id: I5a8b3912cad47070cc78658762d98aefe68085c4 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-24add a http short avg pkt size profileHanoh Haim3-0/+47
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-23Regression stateful: division by zero due to rounding of small numbers, only ↵Yaroslav Brustinov1-8/+7
warn for too high BW, not fail. (will be noticed by failured of queue full etc.) Change-Id: I4ecfb13032a3d8cb27fb224fb5ed8dd4e10f68a2 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-22Fix IP based creation of config in case of interactive tooYaroslav Brustinov1-2/+2
Change-Id: I870cc2a3f982dc57b437abf3c8a14ce65264f165 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-22Config creation script (IP based): wrong IP in case of 10+ interfacesYaroslav Brustinov1-2/+2
Change-Id: I71e861b9dcbc838d6344fa051cebacaa16e1fc54 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-22Less strict check on end of warmup state in Stateful API (96% of expected)Yaroslav Brustinov2-6/+18
Regression: (stateful) check that the BW is less than expected + 5%. Change-Id: Ie181a970d81fbca30a17d17ee98d0228603db11c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-22Revert "stateful repeat flows is no accurate - filter tests for now until it ↵Hanoh Haim4-33/+32
will be fixed" This reverts commit 1eea3fc8a3721b10e062401f7e47ccf18e59fbe5.
2016-12-22stateful scheduler cleanupHanoh Haim15-0/+28
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-22UDP NAT --learn mode 1,3 support - doc + regression testsIdo Barnea4-5/+18
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
2016-12-22stateful repeat flows is no accurate - filter tests for now until it will be ↵Hanoh Haim4-32/+33
fixed Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-21master_daemon: failure if directory in package is not in format v1.11Yaroslav Brustinov1-6/+11
Change-Id: Ieb8a0438826148296600a5ab1783376e03df1459 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-21RX services - general API to allow addition of new featuresimarom8-267/+376
see trex_stl_lib/rx_services/trex_stl_rx_service_api.py Signed-off-by: imarom <imarom@cisco.com>
2016-12-21Add affinity for scapy_daemon_server to master thread from config fileYaroslav Brustinov2-8/+12
Change-Id: I83d3138b713f3448bbc649e6d7a5fabe3860285c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-21watchdog disable for time capabilityimarom1-7/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-21minor error checks refinementsimarom4-30/+25
Signed-off-by: imarom <imarom@cisco.com>
2016-12-21improve Stateful schedulerHanoh Haim54-0/+45
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-20Fix the way root user is being determined in Python; Running ↵Yaroslav Brustinov5-16/+15
scapy_daemon_server and stl_rpc_proxy now should work without tty; Change-Id: Id70be83956a9b8279197c68dd58b674e972fc1a9 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-20trex-190 - Shutting down server and restarting with different config - ↵imarom1-3/+3
console out of sync Signed-off-by: imarom <imarom@cisco.com>
2016-12-20scapy_server fix Python3 issueYaroslav Brustinov1-1/+1
Change-Id: I39c0590673fd481fd6cf01ea6c0657a586c3e0a8 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-20STL profile bench.py: add 'imix' option to tunable 'size'Yaroslav Brustinov1-5/+12
Change-Id: I55dd86d69a6fb49cd349c79be966b6c3415ccc1d Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-20scapy launcherYaroslav Brustinov3-15/+281
Change-Id: Iafe0365e82c5386e87dbf7abd0f0982c3ff95d80 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-20Check OS version for Mellanox NICs; More detailed args error prints; 40G and ↵Yaroslav Brustinov2-17/+23
Mellanox driver classes inherit from Base, not 10G. Change-Id: I55f7833078ca9d7bfcda211ad165a656ce5014c5 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-19Merge branch 'payload_gen_total_size_ether_chksum' of ↵Hanoh Haim2-5/+7
git://github.com/kisel/trex-core into field_engine
2016-12-19Add check for cache_size parameter input.Vyacheslav Ogai1-0/+2
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Added a workaround for Ether.fieldsVyacheslav Ogai1-13/+27
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Add field engine instructions templates metadata.Vyacheslav Ogai2-2/+18
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Added autocompletion support for offset parameter.Vyacheslav Ogai1-7/+15
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Update _existed_flow_var_names. Now it returns all Flow var names.Vyacheslav Ogai2-2/+9
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Add more VM insructions.Vyacheslav Ogai1-27/+115
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Support autocompletion for VM instruction parameters.Vyacheslav Ogai2-28/+76
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Fix minor bugs in VM instructions.Vyacheslav Ogai1-43/+44
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Update field engine defs. Generation vm instrucions from updated model.Vyacheslav Ogai3-112/+125
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Add instrucitons meta. Delete split_by_field field engine global parameter.Vyacheslav Ogai3-21/+88
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Added initial implementation of Field Engine support.Vyacheslav Ogai4-6/+255
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19PYZMQ memory leakage:imarom6-66/+54
see this: https://github.com/zeromq/pyzmq/issues/767 and this: https://github.com/minrk/pyzmq/commit/51bbb2d2e3197343d7cfe0aa6d500b61e63c7b01 Signed-off-by: imarom <imarom@cisco.com>
2016-12-19changes from code reviewYaroslav Brustinov4-72/+48
Change-Id: I628608643d902bd6310b04b8036fc5f1fcc42309 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-191) limit number of streams per port to 20kYaroslav Brustinov4-13/+40
2) fix showing error in TUI 3) represensation of STLError: show only errors if error, limit by 10 entries Change-Id: Ib8de9222e7fc09dd67275283857d0d7e9cb5988c Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-19STL API: fix split batch to chunks - don't stop at chunk with error, return ↵Yaroslav Brustinov1-8/+2
all the result, not just error in case of error. Change-Id: I50162301054500585ecfffcdaad78992cfda9b0e Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-19add min_ipg to push_pcapsYaroslav Brustinov4-91/+154
Change-Id: I353f8903c40963517fd2fed721cc0671d9f6dc4b Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-19verify L2/L3 configuration cannot be done under trafficimarom2-9/+4
also ping and arp Signed-off-by: imarom <imarom@cisco.com>