getasicids

October 31, 2022 ยท View on GitHub

  • Overview
  • Examples
  • Arguments
  • Expected Output

Overview

Provides all ASIC indexes for the ASICs on the Multi-ASIC device.

Examples

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

    all_asic_ids = duthost.get_asic_ids()

Arguments

Takes no arguments

Expected Output

List of ASIC indexes, one for each ASIC on the Multi-ASIC device

Contents

  1. 1Overview
  2. 2Examples
  3. 3Arguments
  4. 4Expected Output