From fe521f4679ed0caa068f3825869796001b29fc40 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Thu, 4 May 2017 17:28:01 +0200 Subject: [ct_netconfc] Update documentation * Remove edoc comments in ct_netconfc.erl * Rewrite ct_netconfc.xml to use specs for functions and types * Add documentation of new functions in ct_netconfc --- lib/common_test/doc/src/ct.xml | 74 +++++++++++++++++++++++++++++++++++------- 1 file changed, 63 insertions(+), 11 deletions(-) (limited to 'lib/common_test/doc/src/ct.xml') diff --git a/lib/common_test/doc/src/ct.xml b/lib/common_test/doc/src/ct.xml index 82fcd80375..1a3cfdb0c5 100644 --- a/lib/common_test/doc/src/ct.xml +++ b/lib/common_test/doc/src/ct.xml @@ -70,17 +70,69 @@ - handle() = pid() - -

The identity (handle) of a connection.

- - target_name() = atom() - -

A name and association to configuration data introduced - through a require statement, or a call to - ct:require/2, - for example, - ct:require(mynodename,{node,[telnet]}).

+ + + handle() = pid() + + +

The identity (handle) of a connection.

+
+ + + + config_key() = atom() + + +

A configuration key which exists in a configuration file

+
+ + + target_name() = atom() + + +

A name and association to configuration data introduced + through a require statement, or a call to + ct:require/2, + for example, + ct:require(mynodename,{node,[telnet]}).

+
+ + + + key_or_name() = config_key() | target_name() + + + + + + conn_log_options() = [conn_log_option()] + + +

Options that can be given to the cth_conn_log hook, + which is used for logging of NETCONF and Telnet + connections. See + ct_netconfc + or ct_telnet + for description and examples of how to use this hook.

+
+ + + + conn_log_option() = {log_type,conn_log_type()} | {hosts,[key_or_name()]} + + + + + + conn_log_type() = raw | pretty | html | silent + + + + + + conn_log_mod() = ct_netconfc | ct_telnet + +
-- cgit v1.2.3