Gets the auto negotiation status for a provided interface
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
eth0_auto_neg = duthost.get_auto_negotiation_mode("Ethernet0")
interface_name
- name of interface- Required:
True
- Type:
String
- Required:
True
if auto-negotiation is on, False
otherwise. Returns None
is auto negotiation is not compatible with interface.