Sets the auto negotiation mode for a provided interface
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
success = duthost.set_auto_negotiation_mode("Ethernet0", "True")
interface_name
- name of interface to set auto negotation for- Required:
True
- Type:
String
- Required:
mode
- Whether or not to enable auto negotation.- Required:
True
- Type:
Boolean
- Required:
False
if operation was not supported, else True