History log of /trex/scripts/automation/trex_control_plane/client_utils/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
78c0502f 05-Feb-2017 Yaroslav Brustinov <ybrustin@cisco.com>

trex_daemon_server: check ZMQ port matches between the server and TRex platform config file.

Change-Id: I1a6d6dc45513e4ba5f7c50f11f4730c8996c7731
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

cfcbe7a0 02-Feb-2017 Yaroslav Brustinov <ybrustin@cisco.com>

fixed missing .so files due to ignored by .gitignore + fixed path

Change-Id: If014548f3d007f9eda6d54332ac04952ea91f751
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

79005906 02-Feb-2017 Yaroslav Brustinov <ybrustin@cisco.com>

replace yaml.load with yaml.safe_load in several places

Change-Id: I4ba8291acbb56ed3be58ad9bdfa1492892695458
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>

764ef2e7 24-Mar-2016 Yaroslav Brustinov <ybrustin@cisco.com>

return client_utils

59f00264 24-Mar-2016 Yaroslav Brustinov <ybrustin@cisco.com>

gather stateful client to stf folder, create trex_client package

9adfbada 10-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

validate_type for easier type checks, hltapi move to trex_stl_lib

0f03cc46 10-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

update hltapi + functional regression + remove old packet_builder tests

6107c1ca 08-Feb-2016 imarom <imarom@cisco.com>

huge refactor - again

995267db 08-Feb-2016 imarom <imarom@cisco.com>

first refactor

69e5a5c6 05-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

HLTAPI update + HLT packet builder functional tests (no simulation)

c8cd078f 03-Feb-2016 imarom <imarom@cisco.com>

integration issue

2887433c 03-Feb-2016 imarom <imarom@cisco.com>

integration with scapy

7447c920 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

scapy with random packet size

06facf16 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

tuple gen in python

54365341 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

remove old tests

189585f8 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

more scapy tests


dda9b08e 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

sanity check for var does not exists

2e8a6255 03-Feb-2016 Hanoh Haim <hhaim@cisco.com>

add fixup offset

04fecbc6 02-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

scapy builder typo

48889fac 02-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

scapy builder typo

cf7dc73b 02-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

typo

88bd6a73 02-Feb-2016 Yaroslav Brustinov <ybrustin@cisco.com>

Fix Dan's packet builder payload_gen reference to packet, HLTAPI updated for Scapy builder, Scapy builder style corrections

cce75776 02-Feb-2016 Hanoh Haim <hhaim@cisco.com>

add valn packet ad offset

14e69e93 01-Feb-2016 Hanoh Haim <hhaim@cisco.com>

some scapy cleanups

f7d24e3f 01-Feb-2016 Hanoh Haim <hhaim@cisco.com>

first scapy version

d4b2ae7d 28-Jan-2016 Yaroslav Brustinov <ybrustin@cisco.com>

HLTAPI updates, aggregated results tests count print

7351ddb5 27-Jan-2016 imarom <imarom@cisco.com>

API: example for bi-directional flows

db6254e3 26-Jan-2016 imarom <imarom@cisco.com>

packet is now base64 encoded

7294d7f1 24-Jan-2016 imarom <imarom@cisco.com>

fixed issue trex-172: Console -m 100% is L2 and no L1
http://trex-tgn.cisco.com/youtrack/issue/trex-172

cc75f3f7 21-Jan-2016 imarom <imarom@cisco.com>

phase 4

b726b568 20-Jan-2016 imarom <imarom@cisco.com>

draft #3

c93acc26 19-Jan-2016 imarom <imarom@cisco.com>

draft #2

2d9d5e14 18-Jan-2016 imarom <imarom@cisco.com>

highly draft - just backing up

9932ff8d 18-Jan-2016 imarom <imarom@cisco.com>

async publish now

11d328d3 17-Jan-2016 imarom <imarom@cisco.com>

draft of test API for stateless

7baa5bda 13-Jan-2016 imarom <imarom@cisco.com>

-a is not mandatory anymore for every port's commands
the default is all ports

862ec9b8 13-Jan-2016 imarom <imarom@cisco.com>

TUI now writes to a string buffer and then to screen
(should be faster, like double buffering and switch)

fdc01234 13-Jan-2016 imarom <imarom@cisco.com>

added 'total' line to stats

ed203f30 13-Jan-2016 Yaroslav Brustinov <ybrustin@cisco.com>

update pkt builder vm

816e2e3b 11-Jan-2016 imarom <imarom@cisco.com>

small problem in the stl simulation

8e037c2b 08-Jan-2016 Dan Klein <danklein10@gmail.com>

Merge branch 'dan_stateless'

Added the support for "streams" command

Missing:
1. "--full" output
2. sync with server after crash
3. merging output for identical port streams


9fc980b8 07-Jan-2016 Dan Klein <danklein10@gmail.com>

Working version of streams view in TRex console.
TODO: sync when console crashes isn't integrated yet

823b8294 05-Jan-2016 Yaroslav Brustinov <ybrustin@cisco.com>

move regression to trex-core
slight fixes of hltapi + vm in packet builder
update yaml lib version from 3.01 to 3.11

aec3c8f4 27-Dec-2015 imarom <imarom@cisco.com>

provide a CEL 5.9 a way to run trex-console

ba297ed1 24-Dec-2015 imarom <imarom@cisco.com>

some TUI tweaks

fb46a173 23-Dec-2015 imarom <imarom@cisco.com>

connected control plane to split

a7967979 16-Dec-2015 Dan Klein <danklein10@gmail.com>

cleaned the code a little, added load_packet_from_pcap into packet builder functionality.

bfb15053 15-Dec-2015 imarom <imarom@cisco.com>

moved all return code values to RC types (better for batch rc)
also few fixes

bae48d6c 14-Dec-2015 imarom <imarom@cisco.com>

TUI v2.0 - now no flickering, state machine for lost of connectivity
and TUI can be started in xterm using tui -x

7567166c 10-Dec-2015 imarom <imarom@cisco.com>

removed session id - not necessary

24b895f6 07-Dec-2015 imarom <imarom@cisco.com>

Merge branch 'dan_stateless' into a test branch

Conflicts:
scripts/automation/trex_control_plane/client/trex_async_client.py
scripts/automation/trex_control_plane/client/trex_stateless_client.py
scripts/automation/trex_control_plane/client_utils/parsing_opts.py
scripts/automation/trex_control_plane/console/trex_console.py


026f949f 06-Dec-2015 imarom <imarom@cisco.com>

ZMQ bug - connect / disconnect fron another thread on pyhton (not safe !)
fixed and more hardening

a48cd647 01-Dec-2015 imarom <imarom@cisco.com>

1. fixed ZMQ message limitation
2. added some scale yamls for IMIX (300 streams, 1000 streams)
3. return objects are always complex objects (not strings) - for backward compatability
4. some minor adjustments to ZMQ socket timeouts

4486f986 26-Nov-2015 Dan Klein <danklein10@gmail.com>

Merge branch 'master' into dan_stateless

# Conflicts (solved):
# scripts/automation/trex_control_plane/client_utils/parsing_opts.py


91f6c24f 26-Nov-2015 Dan Klein <danklein10@gmail.com>

Initial implementation of stats prompting

56becbc1 15-Nov-2015 imarom <imarom@cisco.com>

few fixes to ZMQ client (timeout values)

78c6593c 12-Nov-2015 imarom <imarom@cisco.com>

DRAFT - only for internal purpose

0ceddc74 03-Nov-2015 Dan Klein <danklein10@gmail.com>

first commit for advnaced options

0c2b3c83 28-Oct-2015 Dan Klein <danklei@cisco.com>

updated more HLTAPI functionality and fixed found bugs.
Working: Start/stop traffic, traffic config (semi), connect, clean
Missing: stats
Next: boost console

a39e4416 27-Oct-2015 Dan Klein <danklei@cisco.com>

more hltapi progress
connect working

ebb0b48f 25-Oct-2015 Dan Klein <danklein10@gmail.com>

HLTAPI progress...

5abe21ff 20-Oct-2015 Dan Klein <danklei@cisco.com>

+ Added traffic options at stl directory
+ updated console to support multiplier on loading
+ fixed minor issues at yaml_utils and trex_streams objects
+ console not stable, YET

cf753587 20-Oct-2015 Dan Klein <danklei@cisco.com>

Merge branch 'master' into master-demo +
working demo of loading a YAML, and attaching it to server


d09df997 20-Oct-2015 Dan Klein <danklei@cisco.com>

Major progress in console, yaml utils, and trex_streams
basically done, minor changes remianing
BIG ISSUE LEFT: rewire console to work with trexstateless client module

80bd7895 18-Oct-2015 Dan Klein <danklei@cisco.com>

Progress in trex_streams and in yaml_utils.
Next, start working on StreamList object

4a8d34c7 18-Oct-2015 Dan Klein <danklein10@gmail.com>

more yaml utils, better streams handling

2c38ad7f 16-Oct-2015 Dan Klein <danklei@cisco.com>

Updated YAMLutils and rpc_defaults with relevant progress

0c5a4348 15-Oct-2015 Dan Klein <danklein10@gmail.com>

updated yaml utils and stream object

2dd1a4d8 14-Oct-2015 Dan Klein <danklei@cisco.com>

merged jsonrpc client for mock compatibility

508703e1 13-Oct-2015 Dan Klein <danklei@cisco.com>

Fixed trex bugs in Ubuntu disctribution (Firing trex-daemon server) and unresolved domain name handling.

0951a3e7 12-Oct-2015 Dan Klein <danklei@cisco.com>

merged with master

e6bf8498 12-Oct-2015 Dan Klein <danklei@cisco.com>

named with nametuples the returnvalue of the "send_raw_msg" method.

a9f60d36 11-Oct-2015 Dan Klein <danklei@cisco.com>

Updated handlers of getter methods and stats (Global, port, stream).
Also, set return values of RPC commands as namedtuples

086dac98 07-Oct-2015 Dan Klein <danklein10@gmail.com>

More progress in stateless client.
Mainly more mature approach to handling results

4f286bfe 07-Oct-2015 Dan Klein <danklein10@gmail.com>

progress in TRexStatelessClient module

mainly at batching support

c27d9bf5 06-Oct-2015 Dan Klein <danklein10@gmail.com>

Incorporating batch commands in stateless client

2b5c0e9f 06-Oct-2015 Dan Klein <danklei@cisco.com>

progress in stateless client, added trex_stats

54fb5cd6 05-Oct-2015 Dan Klein <danklei@cisco.com>

Merge branch 'master' into dan_stateless


ada8c62d 05-Oct-2015 Dan Klein <danklei@cisco.com>

Removed any "T-Rex" string out of the code and documentation, using GREP!

9629c995 06-Oct-2015 Dan Klein <danklein10@gmail.com>

Commiting last night progress

1c43d1c6 04-Oct-2015 Dan Klein <danklei@cisco.com>

Updated implementation for packet_builder module

7e1bf360 04-Oct-2015 Dan Klein <danklei@cisco.com>

Replaced "outer_packages" with "external_packages" to avoid naming collision

4651405f 24-Sep-2015 Dan Klein <danklei@cisco.com>

Basically finished (minor touches remaining) all VM instructions implementation

46d15e62 23-Sep-2015 Dan Klein <danklei@cisco.com>

cosmetics...

ed46f126 23-Sep-2015 Dan Klein <danklei@cisco.com>

Cosmetics over packet builder module

186ca35e 23-Sep-2015 Dan Klein <danklein10@gmail.com>

Finished implementing the ranging VM of IP Eth and custom fields

281e2eaa 23-Sep-2015 Dan Klein <danklein10@gmail.com>

Progress in ip_range methods

fb408d1f 23-Sep-2015 Dan Klein <danklein10@gmail.com>

Finished writing infra layer of all VM instructions

b3ac7fac 22-Sep-2015 Dan Klein <danklei@cisco.com>

updated packet builder and stateless client modules

52e2ab74 21-Sep-2015 imarom <imarom@cisco.com>

some minor fixes

14006b51 21-Sep-2015 imarom <imarom@cisco.com>

Merge branch 'master' into rpc

Conflicts:
scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py


d9e1cc14 21-Sep-2015 imarom <imarom@cisco.com>

more refinments on the console

3f4249b2 21-Sep-2015 imarom <imarom@cisco.com>

some python console modifications

30c686d5 21-Sep-2015 imarom <imarom@cisco.com>

checkpoint - added stats and some python code

20a7b8ed 20-Sep-2015 Dan Klein <danklei@cisco.com>

minor updated to client API library, adding the CRxStats class

28fef018 20-Sep-2015 Dan Klein <danklei@csi-kiwi-03.cisco.com>

Pushed Stateless progress (along with Packet Builder module)


56dbd342 17-Sep-2015 Dan Klein <danklei@cisco.com>

Major progress in the packet builder module.
Now able to create packets, dump them to JSON of pcap and more features added

dd99c389 16-Sep-2015 imarom <imarom@cisco.com>

added many tests to the RPC server
also, few tweaks for handling RPC server errors

ef520c7e 10-Sep-2015 Dan Klein <danklei@cisco.com>

Major progress in Packet building module and VM instruction sets.
added dot1q into dpkt lib
First abstractino of HLTAPI layer

c625b6e4 06-Sep-2015 imarom <imarom@cisco.com>

trex stateless changed to singleton.
added some more commands (remove all, get list of streams)

166e1b63 01-Sep-2015 imarom <imarom@cisco.com>

draft

580a81e3 01-Sep-2015 imarom <imarom@cisco.com>

added some colors

76071086 30-Aug-2015 Dan Klein <danklei@cisco.com>

another stateless progress

68df86e2 27-Aug-2015 Dan Klein <danklei@cisco.com>

progress in packet builder module

f8ac9d14 26-Aug-2015 Dan Klein <danklei@cisco.com>

Merge branch 'master' into dan_stateless


fc46f261 26-Aug-2015 Dan Klein <danklei@cisco.com>

Rearranged files and external libraries in two different locations, one for cpp (trex-core/external_libs) and one for python (trex-core/scripts/external_libs)

cdcc6297 26-Aug-2015 Dan Klein <danklei@cisco.com>

added dpkt package, initial stateless client implementation

7d3be8c6 24-Aug-2015 Dan Klein <danklei@cisco.com>

Changes location of console and fixed dependencies

8b52a31e 24-Jun-2015 Hanoh Haim <hhaim@cisco.com>

first version