Unloading driver
Check that unloading network driver works fine.
Scenarios: X3-ST02, X3-STR01, X3-STR04, X3-STR05.
Do in a loop iters times:
Set IUT interface UP and/or DOWN as requested by if_status parameter.
Sleep for a short random period of time after bringing interface UP (and before bringing it DOWN again if it is required) if this is not the first iteration of the loop.
Unload the network driver on IUT.
Check that it is really unloaded.
Load the network driver on IUT.
Check that it is really loaded.
Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru
Parameters:
env |
Testing environment: |
if_status |
Interface status before unloading the driver:
|
iters |
How many times to unload/load the driver. |