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