| 1.2 | Hanoch Haim (hhaim)
|
- add tuple generator command
-
+| 1.3 | Hanoch Haim (hhaim)
+|
+- update VM instructions
|=================
| next_stream_id | int | next stream to start after this stream. -1 means stop after this stream
| packet | object | object of type xref:packet_obj['packet']
| mode | object | object of type xref:mode_obj['mode']
-| vm | array | array of objects of type xref:vm_obj['vm']
+| vm | object | array of objects of type xref:vm_obj['vm']
| rx_stats | object | object of type xref:rx_stats_obj['rx_stats']
|=================
|=================
===== Object type 'vm' anchor:vm_obj[]
-Array of VM instruction objects to be used with this stream
+an Object that include instructions array and properties of the field engine program
+
+.Object type 'packet'
+[options="header",cols="1,1,3"]
+|=================
+| Field | Type | Description
+| Instructions | array | list of instructional objects
+| split_by_var | string | name of the field by which to split into threads
+| Restart | boolean | restart the field engine program when stream moving from inactive->active
+|=================
+
+
+Array of VM instruction objects to be used with this stream
Any element in the array can be one of the following object types:
.Object type 'vm - fix_checksum_ipv4'
| name | string | flow var name - this should be a unique identifier
| size | [1,2,4,8] | size of the flow var in bytes
| op | ['inc', 'dec', 'random'] | operation type to perform on the field
-| init value | uint64_t as string | init value for the field
-| min value | uint64_t as string | minimum value for the field
-| max value | uint64_t as string | maximum value for the field
+| init_value | uint64_t as string | init value for the field
+| min_value | uint64_t as string | minimum value for the field
+| max_value | uint64_t as string | maximum value for the field
|=================
.Object type 'vm - write_flow_var'