summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/services/scapy_server/field_engine.json
diff options
context:
space:
mode:
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.json14
1 files changed, 13 insertions, 1 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
index b5356eb0..85d10e65 100644
--- 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
@@ -99,7 +99,7 @@
"name": "Variable name",
"type": "ENUM",
"required": true,
- "editable": false
+ "editable": true
},
{
"id": "pkt_offset",
@@ -245,6 +245,18 @@
}
],
"supported_protocols": ["IP","TCP","UDP"],
+ "templates":[
+ {
+ "id": "simple_flow_var",
+ "name": "Simple variable",
+ "instructionIds": ["STLVmFlowVar", "STLVmWrFlowVar"]
+ },
+ {
+ "id": "rep_rand_var",
+ "name": "Repeatable random",
+ "instructionIds": ["STLVmFlowVarRepetableRandom", "STLVmWrFlowVar"]
+ }
+ ],
"global_params_meta":[
{
"id": "cache_size",