Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases body Expr Str Assign NameStore Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr BoolOpOr BoolOpAnd CompareEq NameLoad Str Num NameLoad Assign AttributeStore NameLoad attr BoolOpOr BoolOpAnd CompareEq NameLoad Str Str NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad NameLoad BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str CompareNotEq NameLoad Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr CompareNotIn NameLoad ListLoad Str Str Str Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad NameLoad BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str CompareNotIn NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad NameLoad Assign NameStore BoolOpOr BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num Str NameLoad NameLoad body Assign NameStore BoolOpOr BoolOpAnd CompareEq NameLoad Str Num Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Str AugAssignAdd NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd BinOpMult Str Call NameLoad NameLoad Str If Call AttributeLoad NameLoad attr body TryExcept body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Raise orelse AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num While NameLoad body TryExcept body AugAssignAdd NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str handlers ExceptHandler type NameLoad body Return NameLoad orelse If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIn AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr While CompareLt BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore ListComp IfExp Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad If SubscriptLoad NameLoad Index Num body Return TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str Str Str body Return NameLoad If UnaryOpNot NameLoad body Return NameLoad Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareNotEq NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A telnetlib N/A time N/A re N/A inspect robot.version get_version robot utils Telnet N/A N/A N/A A test library providing communication over Telnet connections.

    `Telnet` is Robot Framework's standard library that makes it
    possible to connect to Telnet servers and execute commands on the
    opened connections.

    See `Open Connection` and `Switch Connection` for details on how
    to handle multiple simultaneous connections. The responses are
    expected to be ASCII encoded and all non-ASCII characters are
    silently ignored.
     N/A ROBOT_LIBRARY_SCOPE TEST_SUITE N/A ROBOT_LIBRARY_VERSION N/A get_version __init__ N/A N/A self timeout newline prompt prompt_is_regexp N/A 3.0 CRLF None False N/A N/A Telnet library can be imported with optional arguments.

        Initialization parameters are used as default values when new
        connections are opened with `Open Connection` keyword. They can also be
        set after opening the connection using the `Set Timeout`, `Set Newline` and
        `Set Prompt` keywords. See these keywords for more information.

        Examples (use only one of these):

        | *Setting* | *Value* | *Value* | *Value* | *Value* | *Value* | *Comment* |
        | Library | Telnet |     |    |     |    | # default values                |
        | Library | Telnet | 0.5 |    |     |    | # set only timeout              |
        | Library | Telnet |     | LF |     |    | # set only newline              |
        | Library | Telnet | 2.0 | LF |     |    | # set timeout and newline       |
        | Library | Telnet | 2.0 | CRLF | $ |    | # set also prompt               |
        | Library | Telnet | 2.0 | LF | ($|~) | True | # set prompt with simple regexp |
         N/A N/A self _timeout N/A N/A N/A timeout 3.0 timeout N/A N/A self _newline N/A N/A N/A newline CRLF newline N/A N/A self _prompt N/A prompt prompt_is_regexp N/A N/A self _cache N/A N/A utils ConnectionCache N/A N/A self _conn None N/A N/A self _conn_kws N/A self _lib_kws None N/A get_keyword_names N/A N/A self N/A N/A N/A N/A N/A N/A self _get_library_keywords N/A N/A self _get_connection_keywords N/A _get_library_keywords N/A N/A self N/A N/A N/A N/A N/A self _lib_kws None N/A N/A N/A self _lib_kws N/A name N/A name N/A dir self N/A N/A N/A N/A name startswith _ N/A name get_keyword_names N/A N/A inspect ismethod N/A getattr self name N/A N/A self _lib_kws N/A _get_connection_keywords N/A N/A self N/A N/A N/A N/A N/A self _conn_kws None N/A N/A conn N/A N/A self _get_connection N/A excluded N/A name N/A name N/A dir N/A N/A telnetlib Telnet N/A name N/A write read read_until N/A N/A self _conn_kws N/A name N/A name N/A dir conn N/A N/A N/A N/A name startswith _ N/A name excluded N/A N/A inspect ismethod N/A getattr conn name N/A N/A self _conn_kws N/A __getattr__ N/A N/A self name N/A N/A N/A N/A name N/A N/A self _get_connection_keywords N/A N/A N/A AttributeError name N/A conn N/A N/A N/A N/A self _conn None N/A N/A self _get_connection N/A self _conn N/A N/A getattr conn name N/A open_connection N/A N/A self host alias port timeout newline prompt prompt_is_regexp N/A None 23 None None None False N/A N/A Opens a new Telnet connection to the given host and port.

        Possible already opened connections are cached.

        Returns the index of this connection, which can be used later
        to switch back to the connection. The index starts from 1 and
        is reset back to it when the `Close All Connections` keyword
        is used.

        The optional `alias` is a name for the connection, and it can
        be used for switching between connections, similarly as the
        index. See `Switch Connection` for more details about that.

        The `timeout`, `newline`, `prompt` and `prompt_is_regexp` arguments get
        default values when the library is taken into use, but setting them
        here overrides those values for this connection. See `importing` for
        more information.
         N/A N/A N/A timeout None N/A timeout N/A N/A timeout N/A self _timeout N/A N/A newline None N/A N/A newline N/A self _newline N/A N/A prompt None N/A N/A N/A prompt prompt_is_regexp N/A self _prompt N/A N/A *INFO* Opening connection to %s:%s with prompt: %s N/A host port N/A self _prompt N/A N/A self _conn N/A N/A self _get_connection host port timeout newline prompt prompt_is_regexp N/A N/A N/A N/A self _cache register N/A self _conn alias N/A _get_connection N/A N/A self N/A args N/A N/A Can be overridden to use a custom connection. N/A N/A TelnetConnection args N/A switch_connection N/A N/A self index_or_alias N/A N/A N/A Switches between active connections using an index or alias.

        The index is got from `Open Connection` keyword, and an alias
        can be given to it.

        Returns the index of previously active connection.

        Example:
        | Open Connection   | myhost.net        |          |          |
        | Login             | john              | secret   |          |
        | Write             | some command      |          |          |
        | Open Connection   | yourhost.com      | 2nd conn |          |
        | Login             | root              | password |          |
        | Write             | another cmd       |          |          |
        | ${old index}=     | Switch Connection | 1        | # index  |
        | Write             | something         |          |          |
        | Switch Connection | 2nd conn          | # alias  |          |
        | Write             | whatever          |          |          |
        | Switch Connection | ${old index}      | # back to original again |
        | [Teardown]        | Close All Connections   |            |

        The example above expects that there were no other open
        connections when opening the first one, because it used index
        '1' when switching to the connection later. If you are not
        sure about that, you can store the index into a variable as
        shown below.

        | ${id} =            | Open Connection | myhost.net |
        | # Do something ... |                 |            |
        | Switch Connection  | ${id}           |            |
         N/A old_index N/A N/A self _cache current_index N/A N/A self _conn N/A N/A N/A self _cache switch index_or_alias N/A old_index N/A close_all_connections N/A N/A self N/A N/A N/A Closes all open connections and empties the connection cache.

        After this keyword, new indexes got from the `Open Connection`
        keyword are reset to 1.

        This keyword should be used in a test or suite teardown to
        make sure all connections are closed.
         N/A N/A self _conn N/A N/A N/A self _cache close_all N/A N/A TelnetConnection N/A N/A telnetlib Telnet N/A __init__ N/A N/A self host port timeout newline prompt prompt_is_regexp N/A None 23 3.0 CRLF None False N/A N/A port N/A N/A N/A port 23 N/A int port N/A N/A N/A N/A telnetlib Telnet __init__ self host port N/A N/A N/A self set_timeout timeout N/A N/A N/A self set_newline newline N/A N/A N/A self set_prompt prompt prompt_is_regexp N/A N/A self _default_log_level INFO N/A N/A N/A self set_option_negotiation_callback N/A self _negotiate_echo_on N/A set_timeout N/A N/A self timeout N/A N/A N/A Sets the timeout used in read operations to the given value.

        `timeout` is given in Robot Framework's time format
        (e.g. 1 minute 20 seconds) that is explained in the User Guide.

        Read operations that expect some output to appear (`Read
        Until`, `Read Until Regexp`, `Read Until Prompt`) use this
        timeout and fail if the expected output has not appeared when
        this timeout expires.

        The old timeout is returned and can be used to restore it later.

        Example:
        | ${tout} = | Set Timeout | 2 minute 30 seconds |
        | Do Something |
        | Set Timeout | ${tout} |
         N/A old N/A getattr self _timeout 3.0 N/A N/A self _timeout N/A N/A utils timestr_to_secs timeout N/A N/A N/A utils secs_to_timestr old N/A set_newline N/A N/A self newline N/A N/A N/A Sets the newline used by the `Write` keyword.

        Newline can be given either in escaped format using '\n' and
        '\r', or with special 'LF' and 'CR' syntax.

        Examples:
        | Set Newline | \n  |
        | Set Newline | CRLF |

        Correct newline to use depends on the system and the default
        value is 'CRLF'.

        The old newline is returned and can be used to restore it later.
        See `Set Prompt` or `Set Timeout` for an example.
         N/A old N/A getattr self _newline CRLF N/A N/A self _newline N/A N/A N/A N/A N/A N/A newline upper replace LF replace CR N/A old N/A close_connection N/A N/A self loglevel N/A None N/A N/A Closes the current Telnet connection and returns any remaining output.

        See `Read` for more information on `loglevel`.
         N/A N/A N/A N/A telnetlib Telnet close self N/A ret N/A N/A N/A N/A self read_all decode ASCII ignore N/A N/A N/A self _log ret loglevel N/A ret N/A login N/A N/A self username password login_prompt password_prompt N/A login:  Password:  N/A N/A Logs in to the Telnet server with the given user information.

        The login keyword reads from the connection until login_prompt
        is encountered and then types the user name. Then it reads
        until password_prompt is encountered and types the
        password. The rest of the output (if any) is also read, and
        all the text that has been read is returned as a single
        string.

        If a prompt has been set to this connection, either with `Open
        Connection` or `Set Prompt`, this keyword reads the output
        until the prompt is found. Otherwise, the keyword sleeps for a
        second and reads everything that is available.
         N/A ret N/A N/A N/A N/A self read_until login_prompt TRACE decode ASCII ignore N/A N/A N/A self write_bare N/A username N/A self _newline N/A ret N/A username N/A ret N/A N/A N/A N/A self read_until password_prompt TRACE decode ASCII ignore N/A N/A N/A self write_bare N/A password N/A self _newline N/A ret N/A N/A * N/A len password N/A N/A N/A self _prompt_is_set N/A N/A N/A N/A ret N/A N/A self read_until_prompt TRACE N/A N/A N/A AssertionError N/A N/A N/A N/A self _verify_login ret N/A N/A N/A ret N/A N/A self _verify_login ret N/A N/A N/A self _log ret N/A ret N/A _verify_login N/A N/A self ret N/A N/A N/A N/A N/A time sleep 1 N/A True N/A N/A N/A N/A ret N/A N/A N/A N/A self read_until TRACE decode ASCII ignore N/A N/A N/A AssertionError N/A N/A ret N/A N/A N/A Login incorrect ret N/A N/A N/A N/A self _log ret N/A N/A AssertionError Login incorrect N/A write N/A N/A self text loglevel N/A None N/A N/A Writes the given text over the connection and appends a newline.

        Consumes the written text (until the appended newline) from
        the output and returns it. The given text must not contain
        newlines.

        Note: This keyword does not return the possible output of the
        executed command. To get the output, one of the `Read XXX`
        keywords must be used.

        See `Read` for more information on `loglevel`.
         N/A N/A N/A self _newline text N/A N/A N/A RuntimeError Write cannot be used with string containing newlines. Use 'Write Bare' instead. N/A text N/A self _newline N/A N/A N/A self write_bare text N/A N/A N/A self read_until N/A self _newline loglevel N/A write_bare N/A N/A self text N/A N/A N/A Writes the given text over the connection without appending a newline.

        Does not consume the written text.
         N/A N/A N/A text N/A str text N/A N/A N/A UnicodeError N/A N/A N/A ValueError N/A Only ASCII characters are allowed in Telnet. Got: %s text N/A N/A N/A N/A telnetlib Telnet write self text N/A write_until_expected_output N/A N/A self text expected timeout retry_interval loglevel N/A None N/A N/A Writes the given text repeatedly, until `expected` appears in the output.

        `text` is written without appending a
        newline. `retry_interval` defines the time waited before
        writing `text` again. `text` is consumed from the output
        before `expected` is tried to be read.

        If `expected` does not appear in the output within `timeout`,
        this keyword fails.

        See `Read` for more information on `loglevel`.

        Example:
        | Write Until Expected Output | ps -ef| grep myprocess\n | myprocess |
        | ...                         | 5s                        | 0.5s      |

        This writes the 'ps -ef | grep myprocess\n', until
        'myprocess' appears on the output. The command is written
        every 0.5 seconds and the keyword ,fails if 'myprocess' does
        not appear in the output in 5 seconds.
         N/A timeout N/A N/A utils timestr_to_secs timeout N/A retry_interval N/A N/A utils timestr_to_secs retry_interval N/A starttime N/A N/A time time N/A N/A N/A N/A N/A time time starttime timeout N/A N/A N/A N/A self write_bare text N/A N/A N/A self read_until text loglevel N/A ret N/A N/A N/A N/A N/A telnetlib Telnet read_until self expected retry_interval decode ASCII ignore N/A N/A N/A self _log ret loglevel N/A N/A N/A ret endswith expected N/A N/A ret N/A N/A AssertionError N/A No match found for '%s' in %s N/A expected N/A N/A utils secs_to_timestr timeout N/A read N/A N/A self loglevel N/A None N/A N/A Reads and returns/logs everything that is currently available in the output.

        The read message is always returned and logged. The default
        log level is either 'INFO', or the level set with `Set Default
        Log Level`.  `loglevel` can be used to override the default
        log level, and the available levels are TRACE, DEBUG, INFO,
        and WARN.
         N/A ret N/A N/A N/A N/A self read_very_eager decode ASCII ignore N/A N/A N/A self _log ret loglevel N/A ret N/A read_until N/A N/A self expected loglevel N/A None N/A N/A Reads from the current output, until expected is encountered.

        Text up to and including the match is returned. If no match is
        found, the keyword fails.

        See `Read` for more information on `loglevel`.
         N/A ret N/A N/A N/A N/A N/A telnetlib Telnet read_until self expected N/A self _timeout decode ASCII ignore N/A N/A N/A self _log ret loglevel N/A N/A N/A N/A ret endswith expected N/A N/A N/A AssertionError N/A No match found for '%s' in %s N/A expected N/A N/A utils secs_to_timestr N/A self _timeout N/A ret N/A read_until_regexp N/A N/A self N/A expected N/A N/A Reads from the current output, until a match to a regexp in expected.

        Expected is a list of regular expression patterns as strings,
        or compiled regular expressions. The keyword returns the text
        up to and including the first match to any of the regular
        expressions.

        If the last argument in `*expected` is a valid log level, it
        is used as `loglevel` in the keyword `Read`.

        Examples:
        | Read Until Regexp | (#|$) |
        | Read Until Regexp | first_regexp | second_regexp |
        | Read Until Regexp | some regexp  | DEBUG |
         N/A expected N/A list expected N/A N/A N/A self _is_valid_log_level N/A expected N/A -1 N/A N/A loglevel N/A expected N/A -1 N/A expected N/A expected N/A -1 N/A N/A loglevel INFO N/A N/A N/A N/A index _ ret N/A N/A self expect expected N/A self _timeout N/A N/A N/A TypeError N/A N/A N/A index ret N/A -1 N/A ret N/A N/A ret decode ASCII ignore N/A N/A N/A self _log ret loglevel N/A N/A index -1 N/A N/A expected N/A N/A N/A isinstance exp basestring exp N/A exp pattern N/A exp expected N/A N/A AssertionError N/A No match found for %s in %s N/A N/A N/A utils seq2str expected lastsep  or  N/A N/A utils secs_to_timestr N/A self _timeout N/A ret N/A read_until_prompt N/A N/A self loglevel N/A None N/A N/A Reads from the current output, until a prompt is found.

        The prompt must have been set, either in the library import or
        at login time, or by using the `Set Prompt` keyword.

        See `Read` for more information on `loglevel`.
         N/A N/A N/A N/A self _prompt_is_set N/A N/A N/A RuntimeError Prompt is not set N/A N/A prompt regexp N/A self _prompt N/A regexp N/A N/A N/A N/A self read_until_regexp prompt loglevel N/A N/A N/A self read_until prompt loglevel N/A execute_command N/A N/A self command loglevel N/A None N/A N/A Executes given command and reads and returns everything until prompt.

        This is a convenience keyword; following two are functionally
        identical:

        | ${out} = | Execute Command   | Some command |

        | Write    | Some command      |
        | ${out} = | Read Until Prompt |

        This keyword expects a prompt to be set, see `Read Until
        Prompt` for details.

        See `Read` for more information on `loglevel`.
         N/A N/A N/A self write command loglevel N/A N/A N/A self read_until_prompt loglevel N/A set_prompt N/A N/A self prompt prompt_is_regexp N/A False N/A N/A Sets the prompt used in this connection to `prompt`.

        If `prompt_is_regexp` is a non-empty string, the given prompt is
        considered to be a regular expression.

        The old prompt is returned and can be used to restore it later.

        Example:
        | ${prompt} | ${regexp} = | Set Prompt | $ |
        | Do Something |
        | Set Prompt | ${prompt} | ${regexp} |
         N/A old N/A N/A N/A hasattr self _prompt N/A self _prompt N/A None False N/A prompt_is_regexp N/A N/A N/A self _prompt N/A N/A N/A re compile prompt True N/A N/A N/A self _prompt N/A prompt False N/A N/A old N/A 1 N/A N/A N/A N/A N/A old N/A 0 pattern True N/A old N/A _prompt_is_set N/A N/A self N/A N/A N/A N/A N/A N/A self _prompt N/A 0 None N/A set_default_log_level N/A N/A self level N/A N/A N/A Sets the default log level used by all read keywords.

        The possible values are TRACE, DEBUG, INFO and WARN. The default is
        INFO. The old value is returned and can be used to restore it later,
        similarly as with `Set Timeout`.
         N/A N/A N/A self _is_valid_log_level level raise_if_invalid True N/A old N/A self _default_log_level N/A N/A self _default_log_level N/A N/A level upper N/A old N/A _log N/A N/A self msg level N/A None N/A N/A N/A N/A self _is_valid_log_level level raise_if_invalid True N/A msg N/A N/A msg strip N/A N/A level None N/A N/A level N/A self _default_log_level N/A N/A msg N/A N/A N/A *%s* %s N/A N/A N/A level upper msg N/A _is_valid_log_level N/A N/A self level raise_if_invalid N/A False N/A N/A N/A level None N/A N/A True N/A N/A N/A isinstance level basestring N/A N/A N/A level upper N/A TRACE DEBUG INFO WARN N/A N/A True N/A N/A raise_if_invalid N/A N/A False N/A N/A AssertionError N/A Invalid log level '%s' level N/A _negotiate_echo_on N/A N/A self sock cmd opt N/A N/A N/A N/A N/A opt N/A telnetlib ECHO N/A cmd N/A N/A telnetlib WILL N/A telnetlib WONT N/A N/A N/A N/A N/A self sock sendall N/A N/A N/A telnetlib IAC N/A telnetlib DO opt N/A N/A N/A opt N/A telnetlib NOOPT N/A N/A N/A cmd N/A N/A telnetlib DO N/A telnetlib DONT N/A N/A N/A N/A N/A self sock sendall N/A N/A N/A telnetlib IAC N/A telnetlib WONT opt N/A N/A N/A cmd N/A N/A telnetlib WILL N/A telnetlib WONT N/A N/A N/A N/A N/A self sock sendall N/A N/A N/A telnetlib IAC N/A telnetlib DONT opt N/A N/A