port_restart_config_persistency Test Suite

Port config persistency test suite.

Changes configuration of ports and verifies that the configuration persists after a port is restarted.

class TestPortRestartConfigPersistency

Bases: TestSuite

Port config persistency test suite.

restart_port_and_verify(id, testpmd, changed_value) None

Fetch port config, restart and verify persistency.

port_configuration_persistence() None

Port restart configuration persistency test.

Steps:

For each port set the port MTU, VLAN filter, mac address, and promiscuous mode.

Verify:

The configuration persists after the port is restarted.

flow_ctrl_port_configuration_persistence() None

Flow control port configuration persistency test.

Steps:

For each port enable flow control for RX and TX individually.

Verify:

The configuration persists after the port is restarted.