summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_zmq_server.py
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-10-17update scapy_service for gui usage.Anton Kiselev1-5/+14
- 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-09-04scapy service: added version handler, added packet reconstruct from binary, ↵itraviv1-11/+10
added support for building packet from dictionary, added support for scapy field enhancement. scapy_zmq_server: fixed some path issues, changed minor argument parsing
2016-08-24added logging mechanism with --log argumentitraviv1-11/+31
2016-08-21scapy_service:itraviv1-0/+8
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
2016-08-18scapy_server_test:itraviv1-13/+11
skiping python3 tests scapy_service.py: minor changes to protocol_struct function zmq_client: added zmq_server: minor changes in exception handling
2016-08-15fixed an issue in exception handlingitraviv1-8/+7
2016-08-15scapy_server_test:itraviv1-4/+4
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
2016-08-10move 'main' function to bottom of fileitraviv1-19/+14
2016-08-101) fixed "main function": mechanism for running this script as a stand-alone ↵itraviv1-17/+29
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
2016-08-09changed file name from scapy_server to scapy_serviceitraviv1-0/+148
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