From: Jeremy Spewock <jspew...@iol.unh.edu> This version addresses comments from the last and adds an additional improvement to the logging output that comes from interactive shells. The new way of handling logging allows for not only specification of the host that the command is being sent to like before, but also the type of shell that you are addressing. This is beneficial for 2 reasons:
1. Less ambiguity on if a command is being sent to the host directly or into an interactive shell 2. Ability to name shells so that there is distinction in the logs between two different interactive shells of the same type that serve a different purpose (e.g. a python shell and a python shell that is serving and XML-RPC server for scapy interactions) Jeremy Spewock (3): dts: Improve output gathering in interactive shells dts: Add missing docstring from XML-RPC server dts: Improve logging for interactive shells dts/framework/exception.py | 66 ++++++++++++------- .../remote_session/interactive_shell.py | 54 ++++++++++----- dts/framework/testbed_model/node.py | 7 ++ dts/framework/testbed_model/os_session.py | 6 +- dts/framework/testbed_model/sut_node.py | 7 +- .../testbed_model/traffic_generator/scapy.py | 48 +++++++++++++- 6 files changed, 145 insertions(+), 43 deletions(-) -- 2.44.0