Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 698 Bytes

is_backend_portchannel.md

File metadata and controls

27 lines (20 loc) · 698 Bytes

is_backend_portchannel

Overview

Checks whether specified portchannel is a backend portchannel.

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)

    is_backend = sonic_asic.is_backend_portchannel("PortChannel0001")

Arguments

  • port_channel - name of portchannel to be checked
    • Required: True
    • Type: String

Expected Output

True if specified portchannel is a backend portchannel