Gets information about interfaces associated with the ASIC calling the method.
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()
up_ports
- All ports expected to be at link up status- Required:
False
- Type:
List
- Element-Type:
String
- Element-Type:
- Required:
See the interface_facts Ansible module for example output.