tobiko/tobiko/shell/ping
Federico Ressi 91adc50f8d Improve shell command execution verbosity
To improve framework usability refactor the verbosity of
SSH command execution removing that lines from the log
which only purpouse was to debug patamiko integration.

This also facilitate debugging the result of command
execution with always printing command execution outcome
hiding such values that aren't relevant (empty strings
or None).

Because of that ping command integration has been reviewd
too to avoid printing out ping command output twice if
no herror appeared.

It also introduces new fields to execution result:
 - login: a friendly string used to specify on which
          'user@host' pair has been used for connecting
          to remote host (none for local commands).
 - status: according the way the command has been executed
           helps detecting if the outcome is the one expected
           by telling if the command execution has succeeded,
           has failed, was timedout or simply it was impossible
	   to wait for its termination (for example because
           of a conectivity problem).
 - timeout: tells wich timeout value has been passed to the
            command
 - details: a nice string containing relevant values
            to describe to human beens what has been the
            result of command execution

Change-Id: I2bde89fb9a1fa089a2188f86a4522f7692c9b65e
2020-02-04 08:35:39 +01:00
..
__init__.py Update ping wrapper 2019-11-01 10:29:34 +01:00
_assert.py Update ping wrapper 2019-11-01 10:29:34 +01:00
_exception.py Handle multiple ping commands dialects 2019-09-30 20:50:33 +02:00
_interface.py Improve shell command execution verbosity 2020-02-04 08:35:39 +01:00
_parameters.py Pass mypy type verifications 2019-11-04 13:46:52 +01:00
_ping.py Improve shell command execution verbosity 2020-02-04 08:35:39 +01:00
_statistics.py Create OpenStack topology API to interact with cloud nodes 2019-10-05 10:27:14 +02:00
config.py Handle multiple ping commands dialects 2019-09-30 20:50:33 +02:00