imarom [Mon, 5 Sep 2016 10:36:07 +0000 (13:36 +0300)]
ERF reader missing rewind
imarom [Mon, 5 Sep 2016 07:32:08 +0000 (10:32 +0300)]
dual mode : code review fixes
imarom [Mon, 5 Sep 2016 07:22:03 +0000 (10:22 +0300)]
dual mode - tests
imarom [Mon, 5 Sep 2016 06:47:36 +0000 (09:47 +0300)]
dual mode - refinement
imarom [Sun, 4 Sep 2016 14:42:48 +0000 (17:42 +0300)]
dual mode - check for ERF only
imarom [Sun, 4 Sep 2016 12:25:42 +0000 (15:25 +0300)]
DUAL mode - phase #1
Yaroslav Brustinov [Mon, 5 Sep 2016 20:55:02 +0000 (23:55 +0300)]
fix dpdk_nic_bind.py for virtio interfaces @ OpenStack
Yaroslav Brustinov [Sun, 4 Sep 2016 12:29:00 +0000 (15:29 +0300)]
update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3
itraviv [Sun, 4 Sep 2016 10:24:07 +0000 (13:24 +0300)]
scapy service: added version handler, added packet reconstruct from binary, added support for building packet from dictionary, added support for scapy field enhancement. scapy_zmq_server: fixed some path issues, changed minor argument parsing
Yaroslav Brustinov [Wed, 31 Aug 2016 14:02:06 +0000 (17:02 +0300)]
generation of native code: fix imports
Yaroslav Brustinov [Mon, 29 Aug 2016 12:51:17 +0000 (15:51 +0300)]
regression: lower multiplier on asymmetric imix at trex17
Yaroslav Brustinov [Mon, 29 Aug 2016 05:45:02 +0000 (08:45 +0300)]
trex-cfg typo
Yaroslav Brustinov [Sun, 28 Aug 2016 15:25:32 +0000 (18:25 +0300)]
add /sbin to path in trex-cfg (for cases like running without shell)
Yaroslav Brustinov [Sun, 28 Aug 2016 05:54:56 +0000 (08:54 +0300)]
regression: lower requirement on output packets, at 9k and quick cpu stabilization it can be few
Yaroslav Brustinov [Wed, 24 Aug 2016 17:09:43 +0000 (20:09 +0300)]
regression: fix case of division by zero in cpu benchmark calculation
Yaroslav Brustinov [Wed, 24 Aug 2016 17:09:43 +0000 (20:09 +0300)]
regression: fix case of division by zero in cpu benchmark calculation
itraviv [Wed, 24 Aug 2016 12:58:57 +0000 (15:58 +0300)]
added logging mechanism with --log argument
itraviv [Sun, 21 Aug 2016 15:00:29 +0000 (18:00 +0300)]
scapy_service:
supported_methods now returns all functions when invoked with parameter 'all'
zmq_client:
added simple console to interact with server
scapy_zmq_server:
added verbosity feature
Hanoh Haim [Wed, 24 Aug 2016 13:34:00 +0000 (16:34 +0300)]
add example for pin cores
Hanoh Haim [Wed, 24 Aug 2016 13:30:03 +0000 (16:30 +0300)]
v2.08
Yaroslav Brustinov [Wed, 24 Aug 2016 07:07:48 +0000 (10:07 +0300)]
better logger for master_daemon
verify root priveleges in dpdk_* scripts
call to functions of show status instead of calling process
Yaroslav Brustinov [Tue, 23 Aug 2016 22:07:14 +0000 (01:07 +0300)]
hltapi example: add example command of removing all streams from port
Yaroslav Brustinov [Tue, 23 Aug 2016 17:53:58 +0000 (20:53 +0300)]
fixes to create config script: in case of error input, ask again.
Yaroslav Brustinov [Mon, 22 Aug 2016 19:16:27 +0000 (22:16 +0300)]
interactive creation of config, finish returning DPDK interfaces to Linux command.
Yaroslav Brustinov [Sun, 21 Aug 2016 20:22:19 +0000 (23:22 +0300)]
Check if interfaces are in use at binding/unbinding/starting TRex.
itraviv [Sun, 21 Aug 2016 15:00:29 +0000 (18:00 +0300)]
scapy_service:
supported_methods now returns all functions when invoked with parameter 'all'
zmq_client:
added simple console to interact with server
scapy_zmq_server:
added verbosity feature
Yaroslav Brustinov [Fri, 19 Aug 2016 09:18:12 +0000 (12:18 +0300)]
dpdk_setup_ports: better error if no MAC determined
Yaroslav Brustinov [Fri, 19 Aug 2016 06:58:36 +0000 (09:58 +0300)]
update multiplier in stl benchmark, shorten title in NIC's table
Yaroslav Brustinov [Thu, 18 Aug 2016 21:56:09 +0000 (00:56 +0300)]
add --ignore-numa argument to config creation
Yaroslav Brustinov [Thu, 18 Aug 2016 21:31:56 +0000 (00:31 +0300)]
disable scapy_server test
Yaroslav Brustinov [Thu, 18 Aug 2016 20:33:07 +0000 (23:33 +0300)]
revert mmain_dpdk.h commited by mistake code
add create config functional test
change order of cores in config file
Yaroslav Brustinov [Thu, 18 Aug 2016 17:34:13 +0000 (20:34 +0300)]
TRex argument --dump-interfaces <list of PCI> (by default will take interfaces from /etc/trex_cfg.yaml if exists, if does not exists, will show all DPDK interfaces)
get interface speed from DPDK instead of using constants per driver
add script to generate config file /etc/trex_cfg.yaml: sudo ./dpdk_setup_ports.py -c <list of PCI>
show table of interfaces in sudo ./dpdk_setup_ports.py -t
itraviv [Thu, 18 Aug 2016 14:02:51 +0000 (17:02 +0300)]
fixed path issue to resolve path for VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 14:02:19 +0000 (17:02 +0300)]
fixed issues with path to include VXLAN and MPLS
itraviv [Thu, 18 Aug 2016 12:24:21 +0000 (15:24 +0300)]
Merge branch 'scapy_server'
imarom [Thu, 18 Aug 2016 12:47:58 +0000 (15:47 +0300)]
core_mask backward compatability (for GUI)
itraviv [Thu, 18 Aug 2016 12:23:01 +0000 (15:23 +0300)]
scapy_server_test:
skiping python3 tests
scapy_service.py:
minor changes to protocol_struct function
zmq_client:
added
zmq_server:
minor changes in exception handling
imarom [Thu, 18 Aug 2016 11:25:57 +0000 (14:25 +0300)]
previous commit was missing a file change
imarom [Thu, 18 Aug 2016 10:49:59 +0000 (13:49 +0300)]
CPU util. measurements fix (more accurate and steady)
see #trex-246
Hanoh Haim [Mon, 15 Aug 2016 15:18:11 +0000 (18:18 +0300)]
add another ko
imarom [Tue, 16 Aug 2016 11:34:04 +0000 (14:34 +0300)]
regression failure due to previous commit
imarom [Tue, 16 Aug 2016 07:42:31 +0000 (10:42 +0300)]
simulator breakage fix
imarom [Mon, 15 Aug 2016 13:59:17 +0000 (16:59 +0300)]
personal code review tweaks
itraviv [Mon, 15 Aug 2016 15:15:45 +0000 (18:15 +0300)]
fixed an issue in exception handling
itraviv [Mon, 15 Aug 2016 14:52:38 +0000 (17:52 +0300)]
scapy_server_test:
added cases for testing: GRE, VXML, DNS, IPv6
changed test functions to include only the testted object and created other functions as testing engines.
scapy_service:
added api class.
added documentry for api class
changed method functions to include underscore
imarom [Mon, 15 Aug 2016 12:33:51 +0000 (15:33 +0300)]
TUI screen buffer
imarom [Wed, 10 Aug 2016 14:45:36 +0000 (17:45 +0300)]
core mask - first phase
Ido Barnea [Sun, 14 Aug 2016 11:28:46 +0000 (14:28 +0300)]
Exit if x710 firmware version is too old
itraviv [Thu, 11 Aug 2016 13:59:29 +0000 (16:59 +0300)]
1)removed unnecessary files from repository
2)fixed bug in checking update of data-base
Ido Barnea [Thu, 11 Aug 2016 08:22:34 +0000 (11:22 +0300)]
IPv6 Latency/flow stats on x710 - supporting all packet types
itraviv [Wed, 10 Aug 2016 13:09:04 +0000 (16:09 +0300)]
***this is an example for a JSON-RPC (over ZMQ) client.***
started with -s for server IP address (default is local-host)
started with -p for port number
itraviv [Wed, 10 Aug 2016 12:53:30 +0000 (15:53 +0300)]
move 'main' function to bottom of file
itraviv [Wed, 10 Aug 2016 12:29:10 +0000 (15:29 +0300)]
1)added feature: running the entire test via RPC (over ZMQ) on a "remote" scapy server.
2) the mentioned above server is implemented as a thread running on the local machine,so in this commit a thread mechanism is added
itraviv [Wed, 10 Aug 2016 12:12:58 +0000 (15:12 +0300)]
1) fixed "main function": mechanism for running this script as a stand-alone program and running it from another python script
2) added closure of sockets and context explicitly (counting on python garbage-collector caused errors)
3) added support for 'remote shutdown' feature. now the server can be shut-down using 'shut_down' method as RPC from client
Ido Barnea [Wed, 10 Aug 2016 12:09:45 +0000 (15:09 +0300)]
Better flow stat parser unit tests, including IPv6
itraviv [Tue, 9 Aug 2016 08:29:52 +0000 (11:29 +0300)]
added wrapper class to support testing of scapy_server, this class wraps server interaction.
added test of offsets versus actual packet dump
itraviv [Tue, 9 Aug 2016 08:27:49 +0000 (11:27 +0300)]
changed file name from scapy_server to scapy_service
changed file for scapy_zmq_server
changed functionality for scapy_server, added support for port with -s flag.
scapy_service now functions as a service for the server wrapper
Ido Barnea [Mon, 8 Aug 2016 12:21:41 +0000 (15:21 +0300)]
Fix to stateless latency test
Ido Barnea [Mon, 8 Aug 2016 12:01:17 +0000 (15:01 +0300)]
change default to not run rte_eth_dev_stop/close
Ido Barnea [Mon, 8 Aug 2016 10:18:36 +0000 (13:18 +0300)]
Changing DPDK latency patch, so we can easily merge it for next DPDK version
Ido Barnea [Mon, 8 Aug 2016 10:07:20 +0000 (13:07 +0300)]
removed dpdk22 files
Ido Barnea [Mon, 8 Aug 2016 08:01:51 +0000 (11:01 +0300)]
Adding --no-close option
Ido Barnea [Mon, 8 Aug 2016 07:35:40 +0000 (10:35 +0300)]
IPv6 x710 flow stats work. Still not supported: Flow stats for UDP/TCP IPv6 packets with extension header.
Yaroslav Brustinov [Mon, 8 Aug 2016 05:48:05 +0000 (08:48 +0300)]
master_daemon: run the Stateless RPC proxy without superuser privileges
Yaroslav Brustinov [Sun, 7 Aug 2016 11:09:06 +0000 (14:09 +0300)]
regression: compare pcaps in functional tests robust to order of packets with same timestamp
imarom [Sun, 7 Aug 2016 08:42:40 +0000 (11:42 +0300)]
generated code on PCAP should be fixed to support default MACs
imarom [Sun, 7 Aug 2016 07:58:07 +0000 (10:58 +0300)]
random tests are now provided with seed
imarom [Thu, 4 Aug 2016 11:13:10 +0000 (14:13 +0300)]
fix for #trex-240
https://trex-tgn.cisco.com/youtrack/issue/trex-240
Yaroslav Brustinov [Sat, 6 Aug 2016 17:45:53 +0000 (20:45 +0300)]
typo in master_daemon
itraviv [Thu, 4 Aug 2016 14:45:55 +0000 (17:45 +0300)]
server was made as an object with execute function
itraviv [Thu, 4 Aug 2016 14:44:50 +0000 (17:44 +0300)]
1) made a class Scapy_server encapsulating scapy_wrapper and scapy_service
2) fixed some exception handling
Hanoh Haim [Thu, 4 Aug 2016 13:41:18 +0000 (16:41 +0300)]
v2.07
itraviv [Thu, 4 Aug 2016 13:07:45 +0000 (16:07 +0300)]
1) added build_pkt when calculating offsets
itraviv [Thu, 4 Aug 2016 13:07:04 +0000 (16:07 +0300)]
1) changed class name to 'scapy_service'
2) changed returned values to be dictionaries instead of arrays
Ido Barnea [Thu, 4 Aug 2016 12:53:30 +0000 (15:53 +0300)]
Added IPv6 router config to stateless tests
Ido Barnea [Thu, 4 Aug 2016 07:40:16 +0000 (10:40 +0300)]
remove 10G setups from ipv6 latency tests
imarom [Thu, 4 Aug 2016 07:35:13 +0000 (10:35 +0300)]
fix for failing test
Hanoh Haim [Wed, 3 Aug 2016 17:19:36 +0000 (20:19 +0300)]
remove old VSI patch
Yaroslav Brustinov [Wed, 3 Aug 2016 16:12:33 +0000 (19:12 +0300)]
master_daemon: create working directory if it was deleted
Yaroslav Brustinov [Wed, 3 Aug 2016 15:54:14 +0000 (18:54 +0300)]
revert typo
Ido Barnea [Wed, 3 Aug 2016 14:37:54 +0000 (17:37 +0300)]
Fix compilation error on ubuntu
Yaroslav Brustinov [Wed, 3 Aug 2016 14:24:59 +0000 (17:24 +0300)]
stf daemon: add support for zipped zmq
Hanoh Haim [Wed, 3 Aug 2016 13:50:51 +0000 (16:50 +0300)]
add -m bpsl1
imarom [Wed, 3 Aug 2016 13:36:58 +0000 (16:36 +0300)]
fix for https://trex-tgn.cisco.com/youtrack/issue/trex-226
commit #trex-226
Ido Barnea [Wed, 3 Aug 2016 13:28:37 +0000 (16:28 +0300)]
IPv6 latency tests and --rx-check tests
Ido Barnea [Tue, 2 Aug 2016 10:45:19 +0000 (13:45 +0300)]
IPv6 XL710 stateless support and stateful --rx-check
Ido Barnea [Wed, 20 Jul 2016 13:50:33 +0000 (16:50 +0300)]
ipv6 flow stat i350
Ido Barnea [Wed, 20 Jul 2016 07:19:11 +0000 (10:19 +0300)]
ipv6 flow stat on vm working
Yaroslav Brustinov [Wed, 3 Aug 2016 13:21:12 +0000 (16:21 +0300)]
Merge remote-tracking branch 'origin/master'
Yaroslav Brustinov [Wed, 3 Aug 2016 13:18:50 +0000 (16:18 +0300)]
set default stateful duration 1 hour, forbid duration in stateless
add "add_profile"stateless Python API command
fix trex_perf.py
Hanoh Haim [Wed, 3 Aug 2016 12:36:44 +0000 (15:36 +0300)]
trex-214 another small optimization- move to 0x407 AQ command
imarom [Wed, 3 Aug 2016 11:01:06 +0000 (14:01 +0300)]
push_remote with all packet times zero sends only one packet
fix for #trex-235
imarom [Wed, 3 Aug 2016 09:01:51 +0000 (12:01 +0300)]
async compressed - https://trex-tgn.cisco.com/youtrack/issue/trex-232
Hanoh Haim [Wed, 3 Aug 2016 11:58:07 +0000 (14:58 +0300)]
another latency improvment - see trex-214. remove old workaround and add TX QSet with strict priorty
itraviv [Wed, 3 Aug 2016 08:36:14 +0000 (11:36 +0300)]
fixed path after relocation of scapy_server
itraviv [Wed, 3 Aug 2016 08:35:42 +0000 (11:35 +0300)]
1) changed location. from examples to services
2) added wrapper scapy server class
Ido Barnea [Tue, 2 Aug 2016 11:50:16 +0000 (14:50 +0300)]
Remove call to rte_eth_dev_stop. See trex-237 for details
Ido Barnea [Tue, 2 Aug 2016 10:54:04 +0000 (13:54 +0300)]
Fix error in move of X710 latency patch to DPDK 16.07
Yaroslav Brustinov [Tue, 2 Aug 2016 06:47:26 +0000 (09:47 +0300)]
Merge branch 'dpdk_ports_reorder'
Yaroslav Brustinov [Mon, 1 Aug 2016 23:51:20 +0000 (02:51 +0300)]
stf daemon another python3 fix