Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 443 Bytes

rand_one_dut_hostname.md

File metadata and controls

17 lines (13 loc) · 443 Bytes

rand_one_dut_hostname

Overview

A random hostname belonging to one of the DUT instances defined by the deployed testbed.

Examples

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

Expected Output

A random hostname. This hostname corresponds to one of the DUTs deployed by the current testbed.