summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
AgeCommit message (Collapse)AuthorFilesLines
2017-01-26code review - few cleanupsimarom6-68/+92
Signed-off-by: imarom <imarom@cisco.com>
2017-01-25capture - personal code reviewimarom2-10/+27
Signed-off-by: imarom <imarom@cisco.com>
2017-01-24code review cleanups - C++imarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2017-01-22fix VMXNET3 regreesion issueHanoh Haim1-1/+8
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-22Merge branch 'master' into captureimarom18-51/+269
Signed-off-by: imarom <imarom@cisco.com> Conflicts: scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py src/main_dpdk.cpp
2017-01-22few tweaksimarom4-48/+89
Signed-off-by: imarom <imarom@cisco.com>
2017-01-19fine tuneimarom2-39/+142
Signed-off-by: imarom <imarom@cisco.com>
2017-01-18many capture modes in Python consoleimarom5-156/+250
Signed-off-by: imarom <imarom@cisco.com>
2017-01-16capture module for consoleimarom1-0/+365
Signed-off-by: imarom <imarom@cisco.com>
2017-01-15add elkHanoh Haim1-0/+51
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-15STF API: fix latency check after it was not checked in previous runYaroslav Brustinov1-2/+1
Change-Id: Ic8cd116bc29c991abff9837e9da4ef0ea37bb497 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-12Add help message for --no-scapy-server flagYaroslav Brustinov3-31/+34
Python API: fix arp resolve console message Python API: retry ZMQ send/recv only for push_pcap Console: portattr fix for readonly mode Change-Id: I69587987deb4edfbe192ee422ce6aad74b1ecaf3 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-11capture - draft commitimarom4-26/+189
Signed-off-by: imarom <imarom@cisco.com>
2017-01-11scapy_server: add try-catch on determining self IPYaroslav Brustinov1-1/+4
Change-Id: Ibda7ba66a08385cfd8d73717e4c0fa257aa38436 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-05Add support for predefined packet templates.ichebyki11-1/+147
Change-Id: Ib2bdcbe6ea18933394527f06be001607344c75e4 Signed-off-by: Igor Chebykin <igrche@gmail.com>
2017-01-05Update docs with info about Field Engine and predefined templates.Vyacheslav Ogai1-1/+1
Change-Id: Ia9480a21c982d2d245aef75908e248ecf0573053 Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2017-01-05add not accurate timer wheel for better performanceHanoh Haim1-3/+4
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2017-01-04draft - unreviewedimarom5-99/+82
Signed-off-by: imarom <imarom@cisco.com>
2017-01-04console: move show_intro into try-finally to ensure release of portsYaroslav Brustinov1-9/+8
Change-Id: Icfe30379a24560cf0807edd239d3eb07d81a492f Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-03STL Console: fix crash in case of no supported speeds reported by DPDKYaroslav Brustinov1-2/+2
Regression: update stl performance kiwi benchmark (was my typo) Change-Id: I0ea615d2511ea0339665e8fa5c8621eec9ebcb1e Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2017-01-03Stateless API: increase delay in remove rx filters to 100ms in case of ↵Yaroslav Brustinov2-3/+18
virtual NICs. Regression: increase delay in remove rx filters in trex07 to 100ms in test_all_profiles test. Change-Id: Ia7dda25c94aeadcaae0b16023f6ea2957a99906f Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-26add tw appendix for many active of flowsHanoh Haim1-0/+69
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-12-25regression breakageimarom1-0/+2
Signed-off-by: imarom <imarom@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-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-22Less strict check on end of warmup state in Stateful API (96% of expected)Yaroslav Brustinov1-3/+3
Regression: (stateful) check that the BW is less than expected + 5%. Change-Id: Ie181a970d81fbca30a17d17ee98d0228603db11c 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-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-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-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-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>
2016-12-18Fix trex-310 get_active_pgids() does not workIdo Barnea1-0/+2
Signed-off-by: Ido Barnea <ibarnea@cisco.com>