heat_integrationtests.common.remote_client
Module¶heat_integrationtests.common.remote_client.
Client
(host, username, password=None, timeout=300, pkey=None, channel_timeout=10, look_for_keys=False, key_filename=None)[source]¶Bases: object
exec_command
(cmd)[source]¶Execute the specified command on the server.
Note that this method is reading whole command outputs to memory, thus shouldn’t be used for large outputs.
Returns: | data read from standard output of the command. |
---|---|
Raises: | SSHExecCommandFailed if command returns nonzero status. The exception contains command status stderr content. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.