Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 736 Bytes

get_queue_oid.md

File metadata and controls

30 lines (23 loc) · 736 Bytes

get_queue_oid

Overview

Get the queue OID of given port and queue number.

Examples

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

    sonic_asic = duthost.asic_instance(asic_index=enum_frontend_asic_index)

    queue_oid = sonic_asic.get_queue_oid("Ethernet0", 4)

Arguments

  • port - port to check queue OID for
    • Required: True
    • Type: String
  • queue_num - queue number for port provided
    • Required: True
    • Type: Integer

Expected Output

The queue OID corresponding to given port and queue_num