Check tunnel UDP port configuration

Check that tunnel UDP port could be added and deleted correctly

The test confirms that tunnel UDP port configuration interface is reliable

  1. Prepare ethdev_state state

  2. Check that 'add' operation is available

  3. Check that 'delete' operation is available

  4. Add a handful of entries

  5. Make sure that existing entry duplicate is rejected

  6. Delete existing entries

  7. Make sure that an attempt to delete a nonexistent entry fails

Ivan Malov Ivan.Malov@oktetlabs.ru

Parameters:

ethdev_state

Ethernet device state

  • Possible values: INITIALIZED, CONFIGURED, RX_SETUP_DONE, TX_SETUP_DONE, RXTX_SETUP_DONE, STARTED, STOPPED, CLOSED, DETACHED

tunnel_type

Tunnel type

  • Possible values: NONE, VXLAN, GENEVE, TEREDO, NVGRE, IP_IN_GRE, L2_E_TAG, MAX

nb_entries

The number of UDP port entries