hostname
October 31, 2022 ยท View on GitHub
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
October 31, 2022 ยท View on GitHub
Provides hostname for device.
def test_fun(ptfhost):
hostname = ptfhost.hostname
This method takes no arguments.
A string representing the device hostname