property
Provides hostname for device.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
hostname = duthost.hostname
This method takes no arguments.
A string representing the device hostname
property
Provides hostname for device.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
hostname = duthost.hostname
This method takes no arguments.
A string representing the device hostname