hostname Overview Examples Arguments Expected Output Overview Provides hostname for device. Examples def test_fun(ptfhost): hostname = ptfhost.hostname Arguments This method takes no arguments. Expected Output A string representing the device hostname