Shuts down multiple specified interfaces.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
ret_code = duthost.shutdown_multiple(["Ethernet0", "Ethernet4", "Ethernet14"])
ifnames
- list of interface names corresponding the interfaces that should be shut down- Required:
True
- Type:
List
- Element-Type:
String
- Element-Type:
- Required:
Returns return code for the config
command.