diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-06-14 12:17:19 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-06-14 12:17:19 +0000 |
commit | cc3a0bc78da6f3d29003e1f84c57742e9cf3da3c (patch) | |
tree | 3dfe5bf9df64627cba5f2a66ccd7ed27fa232ced /src/testing | |
parent | dd512c67d981ba52f7eba429c36d126095bbdf93 (diff) | |
download | gnunet-cc3a0bc78da6f3d29003e1f84c57742e9cf3da3c.tar.gz gnunet-cc3a0bc78da6f3d29003e1f84c57742e9cf3da3c.zip |
change to configs, use readable names for topologies and connect options instead of cryptic numbers
Diffstat (limited to 'src/testing')
12 files changed, 18 insertions, 17 deletions
diff --git a/src/testing/test_testing_data_topology_2d_torus.conf b/src/testing/test_testing_data_topology_2d_torus.conf index 820ce8ad5..f67510069 100644 --- a/src/testing/test_testing_data_topology_2d_torus.conf +++ b/src/testing/test_testing_data_topology_2d_torus.conf | |||
@@ -32,5 +32,5 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 5 | 33 | NUM_PEERS = 5 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 4 | 35 | TOPOLOGY = 2D_TORUS |
36 | F2F = YES | 36 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_blacklist.conf b/src/testing/test_testing_data_topology_blacklist.conf index b4bfe801d..d37331aea 100644 --- a/src/testing/test_testing_data_topology_blacklist.conf +++ b/src/testing/test_testing_data_topology_blacklist.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | SERVICEHOME = /tmp/test-gnunet-testing/ | 2 | SERVICEHOME = /tmp/test-gnunet-testing/ |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_blacklist.conf |
4 | 4 | ||
5 | [resolver] | 5 | [resolver] |
6 | PORT = 2564 | 6 | PORT = 2564 |
@@ -43,7 +43,7 @@ PORT = 2570 | |||
43 | [testing] | 43 | [testing] |
44 | NUM_PEERS = 4 | 44 | NUM_PEERS = 4 |
45 | WEAKRANDOM = YES | 45 | WEAKRANDOM = YES |
46 | TOPOLOGY = 0 | 46 | TOPOLOGY = CLIQUE |
47 | BLACKLIST_TOPOLOGY = 3 | 47 | BLACKLIST_TOPOLOGY = RING |
48 | BLACKLIST_TRANSPORTS = tcp udp http | 48 | BLACKLIST_TRANSPORTS = tcp udp http |
49 | F2F = YES | 49 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_clique.conf b/src/testing/test_testing_data_topology_clique.conf index 6c0ee9320..114364da2 100644 --- a/src/testing/test_testing_data_topology_clique.conf +++ b/src/testing/test_testing_data_topology_clique.conf | |||
@@ -11,6 +11,7 @@ PLUGINS = tcp | |||
11 | #PREFIX = xterm -e xterm -T transport -e gdb --args | 11 | #PREFIX = xterm -e xterm -T transport -e gdb --args |
12 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/transport/.libs/gnunet-service-transport | 12 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/transport/.libs/gnunet-service-transport |
13 | #PREFIX = valgrind --tool=memcheck --log-file=logs%p | 13 | #PREFIX = valgrind --tool=memcheck --log-file=logs%p |
14 | #PREFIX = valgrind --tool=callgrind --log-file=callgrind.%p | ||
14 | #DEBUG = YES | 15 | #DEBUG = YES |
15 | 16 | ||
16 | [arm] | 17 | [arm] |
@@ -42,6 +43,6 @@ PORT = 2570 | |||
42 | [testing] | 43 | [testing] |
43 | NUM_PEERS = 4 | 44 | NUM_PEERS = 4 |
44 | WEAKRANDOM = YES | 45 | WEAKRANDOM = YES |
45 | TOPOLOGY = 0 | 46 | TOPOLOGY = CLIQUE |
46 | F2F = YES | 47 | F2F = YES |
47 | #DEBUG = YES | 48 | #DEBUG = YES |
diff --git a/src/testing/test_testing_data_topology_clique_dfs.conf b/src/testing/test_testing_data_topology_clique_dfs.conf index fa4579b28..b83b6d9d6 100644 --- a/src/testing/test_testing_data_topology_clique_dfs.conf +++ b/src/testing/test_testing_data_topology_clique_dfs.conf | |||
@@ -42,7 +42,7 @@ PORT = 2570 | |||
42 | [testing] | 42 | [testing] |
43 | NUM_PEERS = 7 | 43 | NUM_PEERS = 7 |
44 | WEAKRANDOM = YES | 44 | WEAKRANDOM = YES |
45 | TOPOLOGY = 0 | 45 | TOPOLOGY = CLIQUE |
46 | CONNECT_TOPOLOGY_OPTION = 3 | 46 | CONNECT_TOPOLOGY_OPTION = CONNECT_DFS |
47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = 2.0 | 47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = 2.0 |
48 | F2F = YES | 48 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_clique_minimum.conf b/src/testing/test_testing_data_topology_clique_minimum.conf index 699d66abc..c8b056e98 100644 --- a/src/testing/test_testing_data_topology_clique_minimum.conf +++ b/src/testing/test_testing_data_topology_clique_minimum.conf | |||
@@ -42,7 +42,7 @@ PORT = 2570 | |||
42 | [testing] | 42 | [testing] |
43 | NUM_PEERS = 5 | 43 | NUM_PEERS = 5 |
44 | WEAKRANDOM = YES | 44 | WEAKRANDOM = YES |
45 | TOPOLOGY = 0 | 45 | TOPOLOGY = CLIQUE |
46 | CONNECT_TOPOLOGY_OPTION = 2 | 46 | CONNECT_TOPOLOGY_OPTION = CONNECT_MINIMUM |
47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = 1.0 | 47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = 1.0 |
48 | F2F = YES | 48 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_clique_random.conf b/src/testing/test_testing_data_topology_clique_random.conf index 6bf33d12c..c79698ac1 100644 --- a/src/testing/test_testing_data_topology_clique_random.conf +++ b/src/testing/test_testing_data_topology_clique_random.conf | |||
@@ -42,7 +42,7 @@ PORT = 2570 | |||
42 | [testing] | 42 | [testing] |
43 | NUM_PEERS = 5 | 43 | NUM_PEERS = 5 |
44 | WEAKRANDOM = YES | 44 | WEAKRANDOM = YES |
45 | TOPOLOGY = 0 | 45 | TOPOLOGY = CLIQUE |
46 | CONNECT_TOPOLOGY_OPTION = 1 | 46 | CONNECT_TOPOLOGY_OPTION = CONNECT_RANDOM_SUBSET |
47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = .5 | 47 | CONNECT_TOPOLOGY_OPTION_MODIFIER = .5 |
48 | F2F = YES | 48 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_erdos_renyi.conf b/src/testing/test_testing_data_topology_erdos_renyi.conf index b5a716b48..b2a98bc52 100644 --- a/src/testing/test_testing_data_topology_erdos_renyi.conf +++ b/src/testing/test_testing_data_topology_erdos_renyi.conf | |||
@@ -32,5 +32,5 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 5 | 33 | NUM_PEERS = 5 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 5 | 35 | TOPOLOGY = ERDOS_RENYI |
36 | F2F = YES | 36 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_internat.conf b/src/testing/test_testing_data_topology_internat.conf index 8dc768cd4..806bd47a0 100644 --- a/src/testing/test_testing_data_topology_internat.conf +++ b/src/testing/test_testing_data_topology_internat.conf | |||
@@ -32,5 +32,5 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 5 | 33 | NUM_PEERS = 5 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 6 | 35 | TOPOLOGY = INTERNAT |
36 | F2F = YES | 36 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_ring.conf b/src/testing/test_testing_data_topology_ring.conf index d5672cc2a..c3621d259 100644 --- a/src/testing/test_testing_data_topology_ring.conf +++ b/src/testing/test_testing_data_topology_ring.conf | |||
@@ -32,6 +32,6 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 5 | 33 | NUM_PEERS = 5 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 3 | 35 | TOPOLOGY = RING |
36 | F2F = YES | 36 | F2F = YES |
37 | BLACKLISTING = YES | 37 | BLACKLISTING = YES |
diff --git a/src/testing/test_testing_data_topology_scale_free.conf b/src/testing/test_testing_data_topology_scale_free.conf index 5cb3eddb4..456a81baa 100644 --- a/src/testing/test_testing_data_topology_scale_free.conf +++ b/src/testing/test_testing_data_topology_scale_free.conf | |||
@@ -42,5 +42,5 @@ PORT = 2570 | |||
42 | [testing] | 42 | [testing] |
43 | NUM_PEERS = 500 | 43 | NUM_PEERS = 500 |
44 | WEAKRANDOM = YES | 44 | WEAKRANDOM = YES |
45 | TOPOLOGY = 7 | 45 | TOPOLOGY = SCALE_FREE |
46 | F2F = YES | 46 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_small_world_ring.conf b/src/testing/test_testing_data_topology_small_world_ring.conf index 062601eee..2b98bf5af 100644 --- a/src/testing/test_testing_data_topology_small_world_ring.conf +++ b/src/testing/test_testing_data_topology_small_world_ring.conf | |||
@@ -32,5 +32,5 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 25 | 33 | NUM_PEERS = 25 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 2 | 35 | TOPOLOGY = SMALL_WORLD_RING |
36 | F2F = YES | 36 | F2F = YES |
diff --git a/src/testing/test_testing_data_topology_small_world_torus.conf b/src/testing/test_testing_data_topology_small_world_torus.conf index bb3c8ca22..fec198881 100644 --- a/src/testing/test_testing_data_topology_small_world_torus.conf +++ b/src/testing/test_testing_data_topology_small_world_torus.conf | |||
@@ -32,5 +32,5 @@ PORT = 2570 | |||
32 | [testing] | 32 | [testing] |
33 | NUM_PEERS = 5 | 33 | NUM_PEERS = 5 |
34 | WEAKRANDOM = YES | 34 | WEAKRANDOM = YES |
35 | TOPOLOGY = 1 | 35 | TOPOLOGY = SMALL_WORLD |
36 | F2F = YES | 36 | F2F = YES |