summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/services/scapy_server
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-09-04scapy service: added version handler, added packet reconstruct from binary, ↵itraviv2-39/+150
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:itraviv3-4/+84
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-18fixed issues with path to include VXLAN and MPLSitraviv1-15/+15
2016-08-18scapy_server_test:itraviv3-26/+78
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:itraviv2-73/+149
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-111)removed unnecessary files from repositoryitraviv3-364/+2
2)fixed bug in checking update of data-base
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_serviceitraviv2-0/+396
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
2016-08-04server was made as an object with execute functionitraviv1-34/+39
2016-08-041) made a class Scapy_server encapsulating scapy_wrapper and scapy_serviceitraviv2-65/+9
2) fixed some exception handling
2016-08-041) added build_pkt when calculating offsetsitraviv1-0/+1
2016-08-041) changed class name to 'scapy_service'itraviv3-15/+166
2) changed returned values to be dictionaries instead of arrays
2016-08-031) changed location. from examples to servicesitraviv1-0/+275
2) added wrapper scapy server class