trex.git
8 years agoregression: fix gtests in functional can't run on b94
Yaroslav Brustinov [Sun, 30 Oct 2016 22:34:41 +0000 (00:34 +0200)]
regression: fix gtests in functional can't run on b94

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agosyntax sugar on GA + fill ActionNumber with dummy value
Yaroslav Brustinov [Sun, 30 Oct 2016 20:48:43 +0000 (22:48 +0200)]
syntax sugar on GA + fill ActionNumber with dummy value

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoregression STL: first configure router, then start TRex for IP resolve to work.
Yaroslav Brustinov [Sun, 30 Oct 2016 20:16:49 +0000 (22:16 +0200)]
regression STL: first configure router, then start TRex for IP resolve to work.

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd gtests as functional test
Yaroslav Brustinov [Sun, 30 Oct 2016 19:13:52 +0000 (21:13 +0200)]
add gtests as functional test

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoadd ifdef guard to .h file
Yaroslav Brustinov [Sun, 30 Oct 2016 14:10:59 +0000 (16:10 +0200)]
add ifdef guard to .h file
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 <[email protected]>
8 years agoIncreased number of ARP retries at start to 10
Ido Barnea [Sun, 30 Oct 2016 17:01:00 +0000 (19:01 +0200)]
Increased number of ARP retries at start to 10

Signed-off-by: Ido Barnea <[email protected]>
8 years agofor now shutdown stateful GA
imarom [Sun, 30 Oct 2016 16:28:40 +0000 (18:28 +0200)]
for now shutdown stateful GA

Signed-off-by: imarom <[email protected]>
8 years agoadded action name to differ between same tests on different times
itraviv [Sun, 30 Oct 2016 16:19:10 +0000 (18:19 +0200)]
added action name to differ between same tests on different times

Signed-off-by: itraviv <[email protected]>
8 years agoperformance integration with GA
imarom [Sun, 30 Oct 2016 14:52:36 +0000 (16:52 +0200)]
performance integration with GA

Signed-off-by: imarom <[email protected]>
8 years agoAdded goldenMin and GoldenMax metrics for Google Analytics regression testing report
itraviv [Sun, 30 Oct 2016 14:06:26 +0000 (16:06 +0200)]
Added goldenMin and GoldenMax metrics for Google Analytics regression testing report

Signed-off-by: itraviv <[email protected]>
8 years agoAdded inet_pton.cpp
Ido Barnea [Sun, 30 Oct 2016 13:00:30 +0000 (15:00 +0200)]
Added inet_pton.cpp

Signed-off-by: Ido Barnea <[email protected]>
8 years agoUpdated Google Analytics Manager for regression
itraviv [Sun, 30 Oct 2016 04:25:02 +0000 (06:25 +0200)]
Updated Google Analytics Manager for regression

Signed-off-by: itraviv <[email protected]>
8 years agorebase merge typo
Yaroslav Brustinov [Fri, 28 Oct 2016 13:55:40 +0000 (15:55 +0200)]
rebase merge typo

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agomove port_attr from driver class to physical port class + small fixes according to...
Yaroslav Brustinov [Fri, 28 Oct 2016 12:32:05 +0000 (14:32 +0200)]
move port_attr from driver class to physical port class + small fixes according to code review

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoconsole: rearrange lines at "stats --ps"
Yaroslav Brustinov [Tue, 25 Oct 2016 14:46:47 +0000 (16:46 +0200)]
console: rearrange lines at "stats --ps"
in case of start traffic with link down, return error with link state

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoconsole "stats --ps" move link status to another line
Yaroslav Brustinov [Tue, 25 Oct 2016 05:44:24 +0000 (07:44 +0200)]
console "stats --ps" move link status to another line

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agostl port attr event: show exactly what was changed
Yaroslav Brustinov [Tue, 25 Oct 2016 04:27:54 +0000 (06:27 +0200)]
stl port attr event: show exactly what was changed

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agotypo
Yaroslav Brustinov [Sun, 23 Oct 2016 08:15:48 +0000 (10:15 +0200)]
typo

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agodisable fc change if not supported
Yaroslav Brustinov [Sun, 23 Oct 2016 07:32:06 +0000 (09:32 +0200)]
disable fc change if not supported

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoAdd method name to "Method not registered" error
Yaroslav Brustinov [Sun, 23 Oct 2016 05:56:10 +0000 (07:56 +0200)]
Add method name to "Method not registered" error

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agodpdk_setup_ports.py: fix add of help in case of "t-rex-64 --help"
Yaroslav Brustinov [Sat, 22 Oct 2016 08:38:27 +0000 (10:38 +0200)]
dpdk_setup_ports.py: fix add of help in case of "t-rex-64 --help"
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 <[email protected]>
8 years agonew port attr commands: flow control, link status, led status
Yaroslav Brustinov [Thu, 13 Oct 2016 03:53:19 +0000 (06:53 +0300)]
new port attr commands: flow control, link status, led status
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 <[email protected]>
8 years agoFix to functional tests
Ido Barnea [Thu, 27 Oct 2016 14:02:51 +0000 (17:02 +0300)]
Fix to functional tests

Signed-off-by: Ido Barnea <[email protected]>
8 years agoPutting back MAC config in IPv6 regression tests
Ido Barnea [Thu, 27 Oct 2016 13:20:00 +0000 (16:20 +0300)]
Putting back MAC config in IPv6 regression tests

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff add commits
Yaroslav Brustinov [Thu, 27 Oct 2016 11:21:52 +0000 (13:21 +0200)]
signoff add commits

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agofix scapy_service ARP issue and add more layers in the service
Hanoh Haim [Thu, 27 Oct 2016 08:43:17 +0000 (11:43 +0300)]
fix scapy_service ARP issue and add more layers in the service

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoperformance - more tolerant values
imarom [Thu, 27 Oct 2016 08:39:48 +0000 (10:39 +0200)]
performance - more tolerant values

Signed-off-by: imarom <[email protected]>
8 years agoregression: fix for python3 client test
Yaroslav Brustinov [Thu, 27 Oct 2016 07:58:16 +0000 (09:58 +0200)]
regression: fix for python3 client test

8 years agotypo
Yaroslav Brustinov [Wed, 26 Oct 2016 15:15:53 +0000 (17:15 +0200)]
typo

8 years agoregression: stateless rx_check allow 0.1% errors
Yaroslav Brustinov [Wed, 26 Oct 2016 13:45:05 +0000 (15:45 +0200)]
regression: stateless rx_check allow 0.1% errors

8 years agofixed performance issue (moved STRECH case to low priority cases)
imarom [Wed, 26 Oct 2016 13:00:50 +0000 (15:00 +0200)]
fixed performance issue (moved STRECH case to low priority cases)

Signed-off-by: imarom <[email protected]>
8 years agoregression: fix client pkg test to configure the dut interfaces
Yaroslav Brustinov [Wed, 26 Oct 2016 13:21:35 +0000 (15:21 +0200)]
regression: fix client pkg test to configure the dut interfaces

8 years agoChanged trex25 config to be IP based
Ido Barnea [Wed, 26 Oct 2016 12:12:17 +0000 (15:12 +0300)]
Changed trex25 config to be IP based

Signed-off-by: Ido Barnea <[email protected]>
8 years agochanged simple_cfg.yaml to be IP based
Ido Barnea [Wed, 26 Oct 2016 08:46:42 +0000 (11:46 +0300)]
changed simple_cfg.yaml to be IP based

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAdded support for router IP based config in regression, and changed TRex Dan to use it
Ido Barnea [Tue, 25 Oct 2016 17:28:00 +0000 (20:28 +0300)]
Added support for router IP based config in regression, and changed TRex Dan to use it

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRemove useless print in server stateless mode
Ido Barnea [Tue, 25 Oct 2016 14:35:39 +0000 (17:35 +0300)]
Remove useless print in server stateless mode

Signed-off-by: Ido Barnea <[email protected]>
8 years agoMerge from master
Hanoh Haim [Tue, 25 Oct 2016 13:42:29 +0000 (16:42 +0300)]
Merge from master

8 years agoMerge branch 'scapy_service_for_gui' of git://github.com/kisel/trex-core into kisel...
Hanoh Haim [Tue, 25 Oct 2016 13:38:27 +0000 (16:38 +0300)]
Merge branch 'scapy_service_for_gui' of git://github.com/kisel/trex-core into kisel-scapy_service_for_gui

8 years agoperformance test did disconnect after end of tests
imarom [Tue, 25 Oct 2016 13:02:41 +0000 (15:02 +0200)]
performance test did disconnect after end of tests

Signed-off-by: imarom <[email protected]>
8 years agoadded performance test (starting with trex09)
imarom [Tue, 25 Oct 2016 09:47:47 +0000 (12:47 +0300)]
added performance test (starting with trex09)

Signed-off-by: imarom <[email protected]>
8 years agosignoff
Anton Kiselev [Mon, 24 Oct 2016 10:05:45 +0000 (17:05 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agopreserve abstract model structure, calculate values and show structure changes
Anton Kiselev [Thu, 20 Oct 2016 07:49:44 +0000 (14:49 +0700)]
preserve abstract model structure, calculate values and show structure changes

8 years agofix dpdk_setup_ports.py for Python3
Yaroslav Brustinov [Thu, 20 Oct 2016 03:58:17 +0000 (06:58 +0300)]
fix dpdk_setup_ports.py for Python3

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agoSmall fix to dpdk_setup_ports.py
Ido Barnea [Thu, 20 Oct 2016 10:01:48 +0000 (13:01 +0300)]
Small fix to dpdk_setup_ports.py

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAdded support for ip based config generation to dpdk_setup_ports.py
Ido Barnea [Thu, 20 Oct 2016 08:40:46 +0000 (11:40 +0300)]
Added support for ip based config generation to dpdk_setup_ports.py

Signed-off-by: Ido Barnea <[email protected]>
8 years agoMerge branch 'master' of https://github.com/danklein10/trex-core
Ido Barnea [Thu, 20 Oct 2016 07:47:17 +0000 (10:47 +0300)]
Merge branch 'master' of https://github.com/danklein10/trex-core

Signed-off-by: Ido Barnea <[email protected]>
8 years ago-s
Dan Klein [Wed, 19 Oct 2016 19:54:37 +0000 (22:54 +0300)]
-s

8 years agosevere crash when time strech push a node in the top of the priority queue
imarom [Tue, 18 Oct 2016 17:31:12 +0000 (19:31 +0200)]
severe crash when time strech push a node in the top of the priority queue
between TOP and POP
it was obsereved during execution of the command

push -r -f /auto/avc-devtest/CS-NBAR/SR_639103737/PcapPerIp.pcap -a -n 10000000 -s 1000

when two adject ports exists

Signed-off-by: imarom <[email protected]>
8 years agoHelp message fixes + removing unused command line options
Ido Barnea [Tue, 18 Oct 2016 14:28:19 +0000 (17:28 +0300)]
Help message fixes + removing unused command line options

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
Anton Kiselev [Tue, 18 Oct 2016 12:46:59 +0000 (19:46 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agoadd unit tests for scapy service
Anton Kiselev [Tue, 18 Oct 2016 12:46:06 +0000 (19:46 +0700)]
add unit tests for scapy service

Signed-off-by: Anton Kiselev <[email protected]>
8 years agosignoff
Anton Kiselev [Tue, 18 Oct 2016 07:48:41 +0000 (14:48 +0700)]
signoff

Signed-off-by: Anton Kiselev <[email protected]>
8 years agoupdate scapy_service for gui usage.
Anton Kiselev [Mon, 17 Oct 2016 07:16:16 +0000 (14:16 +0700)]
update scapy_service for gui usage.

- 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

8 years agoMerge branch 'master' of csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo/...
vakalapa [Fri, 14 Oct 2016 13:58:45 +0000 (06:58 -0700)]
Merge branch 'master' of csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core

8 years agosigningoff vakalapa
vakalapa [Fri, 14 Oct 2016 13:57:42 +0000 (06:57 -0700)]
signingoff vakalapa

Signed-off-by: vakalapa <[email protected]>
8 years agoadded signedoff file
imarom [Fri, 14 Oct 2016 13:48:22 +0000 (15:48 +0200)]
added signedoff file

Signed-off-by: imarom <[email protected]>
8 years agoremoving signedoff/imarom
imarom [Fri, 14 Oct 2016 13:47:47 +0000 (15:47 +0200)]
removing signedoff/imarom

Signed-off-by: imarom <[email protected]>
8 years ago-s
imarom [Thu, 13 Oct 2016 18:48:22 +0000 (20:48 +0200)]
-s

8 years ago-s
vakalapa [Thu, 13 Oct 2016 17:54:44 +0000 (10:54 -0700)]
-s

8 years agosignoff
Ido Barnea [Thu, 13 Oct 2016 13:57:27 +0000 (16:57 +0300)]
signoff

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRevert "signedoff files"
Ido Barnea [Thu, 13 Oct 2016 13:52:58 +0000 (16:52 +0300)]
Revert "signedoff files"

This reverts commit 13295736ea586f46879291f8ce5986b369bedfe0.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRevert "Fix bundeling in file names to bundling"
Ido Barnea [Thu, 13 Oct 2016 13:52:56 +0000 (16:52 +0300)]
Revert "Fix bundeling in file names to bundling"

This reverts commit 9ed37dfeed71c3adac59f02e08ee08627bd7924c.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoRevert "Another small fix to regression"
Ido Barnea [Thu, 13 Oct 2016 13:52:33 +0000 (16:52 +0300)]
Revert "Another small fix to regression"

This reverts commit cf40f4d078a847eb05de1c880f349c8dcb20fb29.

Signed-off-by: Ido Barnea <[email protected]>
8 years agoAnother small fix to regression
Ido Barnea [Thu, 13 Oct 2016 12:18:38 +0000 (15:18 +0300)]
Another small fix to regression

Signed-off-by: Ido Barnea <[email protected]>
8 years agoFix bundeling in file names to bundling
Ido Barnea [Thu, 13 Oct 2016 11:20:01 +0000 (14:20 +0300)]
Fix bundeling in file names to bundling

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
itraviv [Thu, 13 Oct 2016 08:23:34 +0000 (11:23 +0300)]
signoff

Signed-off-by: itraviv <[email protected]>
8 years agosignedoff by DavidBlock
DavidBlock [Thu, 13 Oct 2016 08:13:33 +0000 (11:13 +0300)]
signedoff by DavidBlock

Signed-off-by: DavidBlock <[email protected]>
8 years agosignoff
Yaroslav Brustinov [Thu, 13 Oct 2016 07:49:04 +0000 (10:49 +0300)]
signoff

Signed-off-by: Yaroslav Brustinov <[email protected]>
8 years agosignedoff files
Ido Barnea [Thu, 13 Oct 2016 07:45:54 +0000 (10:45 +0300)]
signedoff files

Signed-off-by: Ido Barnea <[email protected]>
8 years agosignoff
Hanoh Haim [Thu, 13 Oct 2016 07:26:57 +0000 (10:26 +0300)]
signoff

Signed-off-by: Hanoh Haim <[email protected]>
8 years agoadd STLVmWrFlowVar to doc
Hanoh Haim [Sun, 9 Oct 2016 13:40:42 +0000 (16:40 +0300)]
add STLVmWrFlowVar to doc

8 years agoput back --vlan option for stateless 82599
Ido Barnea [Thu, 6 Oct 2016 11:29:56 +0000 (14:29 +0300)]
put back --vlan option for stateless 82599

8 years agoChanged ipv6 test on trex09 to use 3 cores instead of 4
Ido Barnea [Thu, 6 Oct 2016 10:40:27 +0000 (13:40 +0300)]
Changed ipv6 test on trex09 to use 3 cores instead of 4

8 years agoFix to set_rcv_all off on xl710
Ido Barnea [Thu, 6 Oct 2016 07:08:44 +0000 (10:08 +0300)]
Fix to set_rcv_all off on xl710

8 years agoFix issue with set_rcv_all in 1G
Ido Barnea [Wed, 5 Oct 2016 13:18:39 +0000 (16:18 +0300)]
Fix issue with set_rcv_all in 1G

8 years agopre test: Code review fixes
Ido Barnea [Tue, 27 Sep 2016 11:24:32 +0000 (14:24 +0300)]
pre test: Code review fixes

8 years agopre test: Some small fixes
Ido Barnea [Mon, 26 Sep 2016 13:26:37 +0000 (16:26 +0300)]
pre test: Some small fixes

8 years agopre test: Periodically send gratuitous ARP in stateful
Ido Barnea [Sun, 25 Sep 2016 13:58:02 +0000 (16:58 +0300)]
pre test: Periodically send gratuitous ARP in stateful

8 years agopre test: Send grat ARP, and resolve gateway addresses
Ido Barnea [Thu, 22 Sep 2016 12:15:29 +0000 (15:15 +0300)]
pre test: Send grat ARP, and resolve gateway addresses

8 years agoImplementation of Ipv6Header::getl4Proto + cleanup in Ipv6 files
Ido Barnea [Wed, 5 Oct 2016 07:30:34 +0000 (10:30 +0300)]
Implementation of Ipv6Header::getl4Proto + cleanup in Ipv6 files

8 years agov2.09
Hanoh Haim [Fri, 30 Sep 2016 12:49:23 +0000 (15:49 +0300)]
v2.09

8 years agofix parsing tunables, add support for separate -t in console, add benchmark profile
Yaroslav Brustinov [Fri, 30 Sep 2016 09:52:29 +0000 (12:52 +0300)]
fix parsing tunables, add support for separate -t in console, add benchmark profile

8 years agorefactor limit split
Hanoh Haim [Fri, 30 Sep 2016 09:27:25 +0000 (12:27 +0300)]
refactor limit split

8 years agoadd hw_cs Python API doc
Hanoh Haim [Thu, 29 Sep 2016 14:39:03 +0000 (17:39 +0300)]
add hw_cs Python API doc

8 years agominor fix hw_cs in case of random pkt size
Hanoh Haim [Thu, 29 Sep 2016 14:29:49 +0000 (17:29 +0300)]
minor fix hw_cs in case of random pkt size

8 years agominor fix to hw_cs inst
Hanoh Haim [Thu, 29 Sep 2016 13:47:41 +0000 (16:47 +0300)]
minor fix to hw_cs inst

8 years agoadd a way to dump packet as K12 format for debug
Hanoh Haim [Thu, 29 Sep 2016 13:35:26 +0000 (16:35 +0300)]
add a way to dump packet as K12 format for debug

8 years agoadd mode example to hw cs profile
Hanoh Haim [Thu, 29 Sep 2016 13:34:26 +0000 (16:34 +0300)]
add mode example to hw cs profile

8 years ago add simple example for FixHwChecksum instruction
Hanoh Haim [Thu, 29 Sep 2016 11:00:35 +0000 (14:00 +0300)]
 add simple example for FixHwChecksum instruction

8 years agoAdd FE Instruction to fix TCP/UDP Payload checksum using hardware offload engine
Hanoh Haim [Thu, 29 Sep 2016 10:59:46 +0000 (13:59 +0300)]
Add FE Instruction to fix TCP/UDP Payload checksum using hardware offload engine

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-249
imarom [Thu, 29 Sep 2016 12:12:08 +0000 (15:12 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-249

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-243
imarom [Thu, 29 Sep 2016 07:45:54 +0000 (10:45 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-243

8 years agohttps://trex-tgn.cisco.com/youtrack/issue/trex-247
imarom [Thu, 29 Sep 2016 06:13:06 +0000 (09:13 +0300)]
https://trex-tgn.cisco.com/youtrack/issue/trex-247

8 years agoperformance measurements - class fix checksum does not work well
imarom [Wed, 28 Sep 2016 13:58:05 +0000 (16:58 +0300)]
performance measurements - class fix checksum does not work well

8 years agoperformance tweak - faster checksum
imarom [Wed, 28 Sep 2016 11:57:43 +0000 (14:57 +0300)]
performance tweak - faster checksum

8 years agocpp arg parser changes argv, on second iteration data might be not valid => copy...
Yaroslav Brustinov [Wed, 28 Sep 2016 11:32:21 +0000 (14:32 +0300)]
cpp arg parser changes argv, on second iteration data might be not valid => copy the argv before each call.

8 years agotrex-console: add print of Python error in case of error loading profile in TUI
Yaroslav Brustinov [Wed, 28 Sep 2016 11:22:31 +0000 (14:22 +0300)]
trex-console: add print of Python error in case of error loading profile in TUI

8 years agostl api - importing profile: use given directory as first path, not last
Yaroslav Brustinov [Wed, 28 Sep 2016 10:37:09 +0000 (13:37 +0300)]
stl api - importing profile: use given directory as first path, not last

8 years agofind_python.sh by default find any available Python, allow 3.5 too.
Yaroslav Brustinov [Wed, 28 Sep 2016 09:23:17 +0000 (12:23 +0300)]
find_python.sh by default find any available Python, allow 3.5 too.
t-rex-64 fix case of no $USER when not in tty

8 years agofix regression issues with step/init values
imarom [Tue, 27 Sep 2016 06:08:41 +0000 (09:08 +0300)]
fix regression issues with step/init values
TODO: random limit currently does not support limit less than core
count - it is possible to solve this by giving redundant cores
the same seed and limit (currently it is blocked)