def __init__(self, hostname, username, password, timeout=60,
optional_args=None):
"""
CTOR for the device.
"""
pdb.set_trace()
if optional_args is None:
optional_args = {}
self.device = None
self.hostname = hostname
self.username = username
self.password = password
self.timeout = timeout
self.port = optional_args.get('port', 22)
评论列表
文章目录