diff options
author | Siri Hansen <[email protected]> | 2017-03-27 11:54:07 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-05-08 10:30:42 +0200 |
commit | 63d63920f3f68f1d3cc62184e9f1a5c51da17088 (patch) | |
tree | f6bee65a455eabee07bb832dd17f49b876d548f1 /lib/common_test/src/cth_conn_log.erl | |
parent | 9ac8bdb19f55c593b8b4b10a5d72032e33bef406 (diff) | |
download | otp-63d63920f3f68f1d3cc62184e9f1a5c51da17088.tar.gz otp-63d63920f3f68f1d3cc62184e9f1a5c51da17088.tar.bz2 otp-63d63920f3f68f1d3cc62184e9f1a5c51da17088.zip |
[ct_netconfc] Start multiple sessions per SSH connection
The following new functions are added to ct_netconfc:
* connect/1,2 - open an SSH connection to a netconf server
* disconnect/1 - close the given SSH connectoin
* session/1,2,3 - open an SSH channel on the give connection and send
'hello' to start a netconf session.
This allows running multiple channels on on SSH connection, realizing
one netconf session per channel. The existing ct_netconfc:open will
always run one channel(session) per SSH connection.
Diffstat (limited to 'lib/common_test/src/cth_conn_log.erl')
-rw-r--r-- | lib/common_test/src/cth_conn_log.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/cth_conn_log.erl b/lib/common_test/src/cth_conn_log.erl index ef92532969..a37cc76d32 100644 --- a/lib/common_test/src/cth_conn_log.erl +++ b/lib/common_test/src/cth_conn_log.erl @@ -24,11 +24,11 @@ %% %% suite() -> %% [{ct_hooks, [{cth_conn_log, -%% [{ct_netconfc:conn_mod(),ct_netconfc:hook_options()}]}]}]. +%% [{conn_mod(),hook_options()}]}]}]. %% %% or specified in a configuration file: %% -%% {ct_conn_log,[{ct_netconfc:conn_mod(),ct_netconfc:hook_options()}]}. +%% {ct_conn_log,[{conn_mod(),hook_options()}]}. %% %% The conn_mod() is the common test module implementing the protocol, %% e.g. ct_netconfc, ct_telnet, etc. This module must log by calling |