diff options
author | Vyacheslav Ogai <vyacheslav.ogai@gmail.com> | 2016-09-30 19:18:46 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-12-19 16:04:06 +0200 |
commit | 82a9911f91c5190b3e76ab161d51a1b780fcbbb8 (patch) | |
tree | 61e3c4f626a876a737c5382d2df5f7d1e3dfc35a /scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json | |
parent | a28ff745cc2a45df81bb34a56ca0294ece0b4087 (diff) |
Added initial implementation of Field Engine support.
Signed-off-by: Vyacheslav Ogai <vyacheslav.ogai@gmail.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json b/scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json new file mode 100644 index 00000000..082a6f32 --- /dev/null +++ b/scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json @@ -0,0 +1,62 @@ +{ + "instruction_params_meta": [ + { + "id": "max_value", + "name": "Maximum value", + "type": "STRING", + "defaultValue": "0" + }, + { + "id": "min_value", + "name": "Minimum value", + "type": "STRING", + "defaultValue": "0" + }, + { + "id": "step", + "name": "Step", + "type": "NUMBER", + "defaultValue": "1" + }, + { + "id": "op", + "name": "Operation", + "type": "ENUM", + "defaultValue": "inc", + "dict": { + "dec": "Decrement", + "inc": "Increment", + "random": "Random" + } + } + ], + "protocol_fields": { + "IP": [ + "ttl", + "src", + "dst" + ], + "TCP": [ + "sport", + "dport" + ], + "UDP": [ + "sport", + "dport" + ] + }, + "global_params_meta":[ + { + "id": "split_by_field", + "name": "Split by", + "type": "ENUM" + }, + { + "id": "cache_size", + "name": "Cache size", + "type": "STRING", + "defaultValue": "1000" + } + ] +} + |