I am trying to implement ranges in my p4 runtime shell but am unable to do so. Here is one short example which really want to do with some fields from a header named custom and contains those fields.
To the field te.match['my_field_name'] you must assign a string that is of the form “<min_value>…<max_value>”, with two dots between the values.
In the special case that min_value is 0 and max_value is the maximum possible value for the field, e.g. 255 for an 8-bit field, you must not assign anything to te.match['my_field_name'] at all, or else the P4Runtime server will return an error.