diff options
author | Siri Hansen <siri@erlang.org> | 2012-05-07 12:21:02 +0200 |
---|---|---|
committer | Siri Hansen <siri@erlang.org> | 2012-08-17 11:14:37 +0200 |
commit | cfff69a3a181f2092bc4a085ca677b1b5735bda7 (patch) | |
tree | 23170e8a476cd285f9adaa7a646bba87bd6efa97 /lib/common_test/src/common_test.app.src | |
parent | 68e0078eb58803dc4a7e0bfd801f32c2c92b7f26 (diff) | |
download | otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.tar.gz otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.tar.bz2 otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.zip |
[common_test] Add netconf client, ct_netconfc
The netconf client supports basic netconf functionality over SSH. In
order to allow testing of both success and failure cases, it is
intentionally written to allow non-standard behavior.
In order for the netconf client to use the generic connection
mechanism in common_test, ct_gen_conn has been updated to be more
flexible:
Added options:
{reconnect,bool()}
{forward_messages,bool()}
{use_existing_connection,bool()}
Allow handle_msg to return
{reply,Reply,State} |
{noreply,State} |
{stop,Reply,State}
If forward_messages==true, the ct_gen_conn callback must also
implement:
handle_msgs(Msg,State) -> {noreply,State} | {stop,State}
Diffstat (limited to 'lib/common_test/src/common_test.app.src')
-rw-r--r-- | lib/common_test/src/common_test.app.src | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common_test/src/common_test.app.src b/lib/common_test/src/common_test.app.src index ae9a51faeb..18c1dec784 100644 --- a/lib/common_test/src/common_test.app.src +++ b/lib/common_test/src/common_test.app.src @@ -33,6 +33,8 @@ ct_master_event, ct_master_logs, ct_master_status, + ct_netconfc, + ct_conn_log_h, ct_repeat, ct_rpc, ct_run, @@ -49,6 +51,7 @@ ct_config_xml, ct_slave, cth_log_redirect, + cth_conn_log, cth_surefire ]}, {registered, [ct_logs, |