summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08scapy_service payload gen: allow template_code without size propertyAnton Kiselev2-7/+20
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-08fixup template_code payload generationAnton Kiselev2-2/+2
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-07scapy_service: payload generator upper limit and null checkAnton Kiselev1-11/+14
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04scapy server python 3 compatibility fixes(file and pseudo-random generator)Anton Kiselev2-5/+10
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04add access to scapy.all from eval, tests to IPOptions, TCPOptionsAnton Kiselev2-1/+23
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04scapy_service: support total_bytes for BYTES payload generatorAnton Kiselev3-16/+60
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04scapy_service: support {vtype: BYTES, generate: ↵Anton Kiselev3-2/+130
ascii/bytes/template/template code } Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04add protocol definition json for scapy serverAnton Kiselev4-9/+254
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-10-30syntax sugar on GA + fill ActionNumber with dummy valueYaroslav Brustinov1-6/+6
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-30add ifdef guard to .h fileYaroslav Brustinov3-5/+7
remove UUID from TUI STF Python API: show newlines instead of "\n\n\n" in Exception message STF Python API: remove "During handling of the above exception, another exception occurred:" in Python3.3+ dpdk_nic_bind.py: ensure needed PATH exists for lspci etc. t-rex-64: remove "stty: standard input: Inappropriate ioctl for device" t-rex-64: remove "cat: write error: Broken pipe" Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-30added action name to differ between same tests on different timesitraviv1-4/+5
Signed-off-by: itraviv <itraviv@cisco.com>
2016-10-30Added goldenMin and GoldenMax metrics for Google Analytics regression ↵itraviv1-3/+7
testing report Signed-off-by: itraviv <itraviv@cisco.com>
2016-10-30Updated Google Analytics Manager for regressionitraviv1-84/+18
Signed-off-by: itraviv <itraviv@cisco.com>
2016-10-28move port_attr from driver class to physical port class + small fixes ↵Yaroslav Brustinov3-19/+5
according to code review Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28console: rearrange lines at "stats --ps"Yaroslav Brustinov3-6/+11
in case of start traffic with link down, return error with link state Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28console "stats --ps" move link status to another lineYaroslav Brustinov2-5/+7
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28stl port attr event: show exactly what was changedYaroslav Brustinov1-12/+23
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28typoYaroslav Brustinov1-1/+2
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28dpdk_setup_ports.py: fix add of help in case of "t-rex-64 --help"Yaroslav Brustinov9-92/+280
dpdk_setup_ports.py: fix warning of TRex is already running if different NICs are being used singleton_daemon.py: fix error socket in use immediately after check if in use trex-console: fix crash in case of "tui --help" trex-console: try-catch commands instead of crashing add async notification on port status/atttibutes change add port xstats support add description of interfaces main_dpdk.cpp: fix --client_cfg not working with Python API Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-28new port attr commands: flow control, link status, led statusYaroslav Brustinov4-34/+138
add user friendly description to ports add xstats enable start with link down at stateless. in CPP status will update itself upon link up, in Python need to restart client at this phase. Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
2016-10-27fix scapy_service ARP issue and add more layers in the serviceHanoh Haim1-2/+16
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
2016-10-25Merge from masterHanoh Haim1-1/+1
2016-10-25added performance test (starting with trex09)imarom1-1/+1
Signed-off-by: imarom <imarom@cisco.com>
2016-10-21preserve abstract model structure, calculate values and show structure changesAnton Kiselev3-6/+87
2016-10-18add unit tests for scapy serviceAnton Kiselev2-0/+175
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-10-17update scapy_service for gui usage.Anton Kiselev2-91/+421
- build_pkt, reconstruct_pkt and corresponding data structures changed in order to support nested protocols and correct field ordering - binary packet editing capabilities with reconstruct_pkt - added read_pcap, write_pcap for working with pcap files - added get_definitions for retrieving scapy_service definitions for GUI - added get_payload_classes for retrieving available payload classes - python2, python3 support squash-merge of kisel / 196d638
2016-10-09add STLVmWrFlowVar to docHanoh Haim1-0/+8
2016-09-30fix parsing tunables, add support for separate -t in console, add benchmark ↵Yaroslav Brustinov2-28/+40
profile
2016-09-29add hw_cs Python API docHanoh Haim2-3/+15
2016-09-29Add FE Instruction to fix TCP/UDP Payload checksum using hardware offload engineHanoh Haim1-0/+74
2016-09-29https://trex-tgn.cisco.com/youtrack/issue/trex-249imarom1-13/+76
2016-09-29https://trex-tgn.cisco.com/youtrack/issue/trex-243imarom1-13/+23
2016-09-29https://trex-tgn.cisco.com/youtrack/issue/trex-247imarom2-4/+23
2016-09-28trex-console: add print of Python error in case of error loading profile in TUIYaroslav Brustinov1-3/+7
2016-09-28stl api - importing profile: use given directory as first path, not lastYaroslav Brustinov1-1/+1
2016-09-26update stl docHanoh Haim1-0/+36
2016-09-25merge issues with rand limitimarom2-20/+12
2016-09-25split multicore - all tests passimarom2-20/+7
2016-09-25Splitter - padding for non circular VMsimarom2-9/+13
2016-09-25draft: new split algorithmimarom1-8/+48
2016-09-13typoYaroslav Brustinov1-6/+8
2016-09-13fix random_limit max valueHanoh Haim1-3/+3
2016-09-13add repetable_random example profileHanoh Haim1-0/+3
2016-09-13add python testHanoh Haim1-12/+52
2016-09-13add min/max to repeatable random instHanoh Haim1-0/+60
2016-09-13dpdk Python scripts small fixesYaroslav Brustinov7-50/+70
ensure log dir exists for trex daemon regression: add trex24 setup Sphinx docs remove "capture" tag for compatibility with 1.2 version
2016-09-07support for DUAL mode on small PCAPsimarom2-17/+261
2016-09-07dual mode : code review fixesimarom2-3/+9
2016-09-07dual mode - refinementimarom1-4/+16
2016-09-07dual mode - check for ERF onlyimarom2-1/+4