diff options
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" + } + ] +} + |