Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 483 Bytes

is_supervisor_node.md

File metadata and controls

23 lines (17 loc) · 483 Bytes

is_supervisor_node

Overview

Checks if current node is a supervisor node. Used for multi-DUT setups.

Examples

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

    dut_sup = duthost.is_supervisor_node()

Arguments

Takes no arguments.

Expected Output

True if DUT is supervisor node, False otherwise