Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 434 Bytes

hostname.md

File metadata and controls

25 lines (18 loc) · 434 Bytes

hostname

property

Overview

Provides hostname for device.

Examples

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

    hostname = duthost.hostname

Arguments

This method takes no arguments.

Expected Output

A string representing the device hostname