- give out run handle through which master controller's handle can be retrieved
[oweals/gnunet.git] / src / testbed / testbed.conf.in
1 [testbed]
2 AUTOSTART = NO
3 @UNIXONLY@ PORT = 2101
4 HOSTNAME = localhost
5 HOME = $SERVICEHOME
6 BINARY = gnunet-service-testbed
7
8 # How long should operations wait?
9 OPERATION_TIMEOUT = 30 s
10
11 # Set this to the path where the testbed helper is installed.  By default the
12 # helper binary is searched in @prefix@/lib/gnunet/libexec/
13 # HELPER_BINARY_PATH = @prefix@/lib/gnunet/libexec/gnunet-helper-testbed
14
15 # Add your local network address here. For example, if you want to running
16 # testbed on a group of hosts connected to network 192.168.1.0/24, then set
17 #   ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
18 # Multiple network addresses can be given.  They should be separated by `;'
19 ACCEPT_FROM = 127.0.0.1;
20 ACCEPT_FROM6 = ::1;
21
22 UNIXPATH = /tmp/gnunet-service-testbed.sock
23 UNIX_MATCH_UID = YES
24 UNIX_MATCH_GID = YES
25
26 # How many maximum number of operations can be run in parallel.  This number
27 # should be decreased if the system is getting overloaded and to keep reduce the
28 # load of testbed.
29 MAX_PARALLEL_OPERATIONS = 1000
30 MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1
31
32 # What topology should be generated by the helper functions GNUNET_TESTBED_run()
33 # and GNUNET_TESTBED_test_run().  This option has no effect if testbed is
34 # initialized with other functions.  Valid values can be found at:
35 # https://gnunet.org/content/supported-topologies
36 OVERLAY_TOPOLOGY = NONE
37
38 # Number of random links to be included to the generate the above topology.
39 # Note that not all topologies require this option and ignore it.  Topologies
40 # requiring this option are RANDOM, SMALL_WORLD and SMALL_WORLD ring.
41 # OVERLAY_RANDOM_LINKS =
42
43 # If the OVERLAY_TOPOLOGY is set to FROM_FILE.  This option is ignored for all
44 # other topology values.  This option should contain the path to the file
45 # containing the topology information.  The format of the file is presented at:
46 # https://gnunet.org/content/topology-file-format
47 # OVERLAY_TOPOLOGY_FILE = /path/to/topology-file
48
49 # How many maximum number of handles to peers' services should be kept open at
50 # any time.  This number also keeps a check on the number of open descriptors as
51 # opening a service connection results in opening a file descriptor.
52 MAX_PARALLEL_SERVICE_CONNECTIONS = 256
53
54 # Size of the internal testbed cache.  It is used to cache handles to peers
55 # while trying to connect them.
56 CACHE_SIZE = 30
57
58 # Maximum number of file descriptors a testbed controller is permitted to keep
59 # open.
60 MAX_OPEN_FDS = 512
61
62 # How long should we wait for testbed to setup while using helper functions
63 # GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run()
64 SETUP_TIMEOUT = 5 m
65
66 # Where should testbed write load statistics data
67 # STATS_DIR = /tmp/load
68
69 # What services should be shared among peers.  
70 # Format is "[<service:share>] [<service:share>] ...".  The shared services are
71 # started standalone without any other peer services or a hostkey.  For this
72 # reason, only services which doesn't depend on other services can only be
73 # shared.  Example: To share peerinfo among every 10 peers.  The following spec
74 # will start 5 peerinfo services when 50 peers are started:
75 #
76 #   SHARED_SERVICES = peerinfo:10
77 #
78 # To share multiple services
79 #
80 #   SHARED_SERVICES = service1:n_share1 service2:n_share2 ...
81 #
82 # Default is to share no services
83 SHARED_SERVICES =
84
85
86 [testbed-logger]
87 AUTOSTART = NO
88 @UNIXONLY@ PORT = 2102
89 HOSTNAME = localhost
90 BINARY = gnunet-service-testbed-logger
91 UNIXPATH = /tmp/gnunet-gnunet-testbed-logger.sock
92 DIR = /tmp
93 UNIX_MATCH_UID = YES
94 UNIX_MATCH_GID = YES