Check for decreasing TTL value for DEC_TTL actionΒΆ

Check that flow API DEC_TTL action is executed correctly

  1. Prepare TEST_ETHDEV_STARTED state

  2. Initiate DPDK and net transceivers

  3. Make flow rule pattern and prepare matching template

  4. Add DEC_TTL flow rule action

  5. Add flow rule fate action, "PORT_REPRESENTOR"

  6. Validate and create the flow rule

  7. Fill required fields in match template

  8. Ensure that interface is UP on Tester side

  9. Specify the transformations template and pattern

  10. Commit transfer of a packet from one transceiver to another and match the received packet

Pavel Martynov Pavel.Martynov@arknetworks.am

Parameters:

flow_rule_pattern

Flow rule pattern

transfer

Set transfer attribute to flow rule if TRUE

ttl

Basic TTL value