Setting interface DOWN

Check that network interface can be set DOWN.

Scenarios: X3-ST06.

  1. If check_socket is TRUE, create UDP socket on IUT and its peer on Tester. Check that data can be sent and received over the IUT socket.

  2. Set the IUT network interface DOWN.

  3. Wait for a while and check that interface is reported as being DOWN in configuration tree.

  4. If check_socket is TRUE, check that new data can now be neither sent nor received via the IUT socket.

Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru

Parameters:

env

Testing environment:

check_socket

Whether to check that data cannot be sent and received via a socket.