Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 633 Bytes

get_auto_negotiation_mode.md

File metadata and controls

25 lines (19 loc) · 633 Bytes

get_auto_negotiation_mode

Overview

Gets the auto negotiation status for a provided interface

Examples

def test_fun(duthosts, rand_one_dut_hostname):
    duthost = duthosts[rand_one_dut_hostname]

    eth0_auto_neg = duthost.get_auto_negotiation_mode("Ethernet0")

Arguments

  • interface_name - name of interface
    • Required: True
    • Type: String

Expected Output

True if auto-negotiation is on, False otherwise. Returns None is auto negotiation is not compatible with interface.