summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl
AgeCommit message (Collapse)AuthorFilesLines
2017-01-16capture module for consoleimarom1-0/+365
Signed-off-by: imarom <imarom@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-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-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-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>
2016-12-15documenation for neighboring protocolsimarom1-1/+2
Signed-off-by: imarom <imarom@cisco.com>
2016-12-13Merge branch 'master' into rx_phase_2imarom2-8/+42
2016-12-13startup issues with L2/L3imarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-13Major refactor - L2 / L3 modes for portsimarom6-116/+129
Signed-off-by: imarom <imarom@cisco.com>
2016-12-12grat ARPimarom4-79/+171
Signed-off-by: imarom <imarom@cisco.com>
2016-12-11IP src configuriation invalidates ARP resolutionimarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-11STL API: fix split batch to chunks - one packet not being sentYaroslav Brustinov1-4/+3
Change-Id: Id2e96f2fe6a6c1bb0438198675a61f3c73d53072 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-11few tweaksimarom3-7/+11
Signed-off-by: imarom <imarom@cisco.com>
2016-12-10Stateless API: send batches by chunksYaroslav Brustinov1-4/+27
Change-Id: If551b474c4b6be58dfc3ed19e5c14a4ccd387afd Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-10Limit ZMQ RPC requests to 999999 bytes at CPP side. TODO: split requests at ↵Yaroslav Brustinov2-4/+16
Python to smaller chunks. Change-Id: Ieaf477d2ed8264e30a8275a75d597fdc8858da79 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-12-06RX features phase 2 - ARP and ICMP self responseimarom5-34/+148
Signed-off-by: imarom <imarom@cisco.com>
2016-12-06breakage to flow ctrl - fixedimarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-12-04test breakage due to incorrect speed calculationimarom2-6/+5
Signed-off-by: imarom <imarom@cisco.com>