Shuts down a specified interface
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
shut = duthosts.shutdown("Ethernet0")
ifname
- Name of interface to be shut down- Required:
True
- Type:
String
- Required:
This method does not provide much useful info.