Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 445 Bytes

get_up_ip_ports.md

File metadata and controls

23 lines (17 loc) · 445 Bytes

get_up_ip_ports

Overview

Gets list of all up interfaces

Examples

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

    up_ports = duthost.get_up_ip_ports()

Arguments

Takes no arguments

Expected Output

List of port names corresponding to the ports that are up.