From f54cf6c01e2dac998c64249d72eb92dbf5d056db Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 22 Oct 2012 11:44:04 +0000 Subject: option for disabling auto retry --- src/include/gnunet_testbed_service.h | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'src/include/gnunet_testbed_service.h') diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h index ed7251ed3..e63030fbd 100644 --- a/src/include/gnunet_testbed_service.h +++ b/src/include/gnunet_testbed_service.h @@ -908,7 +908,8 @@ GNUNET_TESTBED_underlay_configure_link (void *op_cls, /** - * Topologies supported for testbeds. + * Topologies and topology options supported for testbeds. Options should always + * end with GNUNET_TESTBED_TOPOLOGY_OPTION_END */ enum GNUNET_TESTBED_TopologyOption { @@ -940,9 +941,8 @@ enum GNUNET_TESTBED_TopologyOption GNUNET_TESTBED_TOPOLOGY_2D_TORUS, /** - * Random graph. Followed by the link density, that is the - * percentage of links present in relation to a clique - * (float). + * Random graph. Followed by the number of random links to be established + * (unsigned int) */ GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI, @@ -971,7 +971,23 @@ enum GNUNET_TESTBED_TopologyOption /** * Read a topology from a given file. Followed by the name of the file (const char *). */ - GNUNET_TESTBED_TOPOLOGY_FROM_FILE + GNUNET_TESTBED_TOPOLOGY_FROM_FILE, + + /** + * The options should always end with this + */ + GNUNET_TESTBED_TOPOLOGY_OPTION_END, + + /* The following are not topologies but influence how the topology has to be + setup. These options should follow the topology specific options (if + required by the chosen topology). Note that these should be given before + GNUNET_TESTBED_TOPOLOGY_OPTION_END */ + + /** + * Disable automatic retrying for failed overlay connections. The default is + * to always retry failed overlay connections. This parameter takes no options. + */ + GNUNET_TESTBED_TOPOLOGY_DISABLE_AUTO_RETRY }; -- cgit v1.2.3