summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/services/scapy_server/unit_tests/test_scapy_service.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-14scapy_server: skip uninitialized/unsupported field_desc._offsetAnton Kiselev1-3/+49
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-07scapy_server: add build_pkt_details test with offset & length verificationAnton Kiselev1-2/+28
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-03-07scapy_server: fix template testsAnton Kiselev1-27/+25
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2017-01-05Add support for predefined packet templates.ichebyki1-0/+40
Change-Id: Ib2bdcbe6ea18933394527f06be001607344c75e4 Signed-off-by: Igor Chebykin <igrche@gmail.com>
2016-12-19Merge branch 'payload_gen_total_size_ether_chksum' of ↵Hanoh Haim1-4/+5
git://github.com/kisel/trex-core into field_engine
2016-12-19Support autocompletion for VM instruction parameters.Vyacheslav Ogai1-20/+2
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Update field engine defs. Generation vm instrucions from updated model.Vyacheslav Ogai1-17/+38
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Add instrucitons meta. Delete split_by_field field engine global parameter.Vyacheslav Ogai1-3/+23
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-12-19Added initial implementation of Field Engine support.Vyacheslav Ogai1-2/+18
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
2016-11-18scapy_service: take into account Ether.chksum when building payload with ↵Anton Kiselev1-4/+5
total_size Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04add access to scapy.all from eval, tests to IPOptions, TCPOptionsAnton Kiselev1-0/+22
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04scapy_service: support total_bytes for BYTES payload generatorAnton Kiselev1-0/+29
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04scapy_service: support {vtype: BYTES, generate: ↵Anton Kiselev1-1/+25
ascii/bytes/template/template code } Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-11-04add protocol definition json for scapy serverAnton Kiselev1-0/+21
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>
2016-10-21preserve abstract model structure, calculate values and show structure changesAnton Kiselev1-0/+50
2016-10-18add unit tests for scapy serviceAnton Kiselev1-0/+105
Signed-off-by: Anton Kiselev <anton.kisel@gmail.com>