Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 777 Bytes

interface_facts.md

File metadata and controls

28 lines (21 loc) · 777 Bytes

interface_facts

Overview

Gets information about interfaces associated with the ASIC calling the method.

Examples

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

    sonic_asic = duthost.asic_instance(asic_index=enum_frontend_asic_index)

    intf_info = sonic_asic.interface_facts()

Arguments

  • up_ports - All ports expected to be at link up status
    • Required: False
    • Type: List
      • Element-Type: String

Expected Output

See the interface_facts Ansible module for example output.