Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 523 Bytes

get_speed.md

File metadata and controls

25 lines (19 loc) · 523 Bytes

get_speed

Overview

Gets configured speed for a given interface.

Examples

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

    eth0_speed = duthost.get_speed("Ethernet0")

Arguments

  • interface_name - name of interface to get speed for
    • Required: True
    • Type: String

Expected Output

Returns speed as String in 10G format.