def __init__(self, hostname, username, password, timeout=<NUM_LIT>, optional_args=None):
self.device = None<EOL>self.hostname = hostname<EOL>self.username = username<EOL>self.password = password<EOL>self.timeout = timeout<EOL>self.config_session = None<EOL>self.locked = False<EOL>self.platform = "<STR_LIT>"<EOL>self.profile = [self.platform]<EOL>self._process_optional_args(optional_args or {})<EOL>
Constructor.