aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-09-10 08:54:30 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-09-10 08:54:30 +0000
commit7ff2687a523b15f9483bec521ebf7f89e0690e3a (patch)
treec6e05c1f3ce3cc8b94ab2141b084188ee02ad2ad
parentf363035eff30aa7e28ce2f561b7d7fd89a19f97f (diff)
downloadgnunet-7ff2687a523b15f9483bec521ebf7f89e0690e3a.tar.gz
gnunet-7ff2687a523b15f9483bec521ebf7f89e0690e3a.zip
updated configuration files
-rw-r--r--src/ats-tests/Makefile.am48
-rw-r--r--src/ats-tests/perf_ats.c3
-rw-r--r--src/ats-tests/perf_ats_mlp_bandwidth.conf4
-rw-r--r--src/ats-tests/perf_ats_mlp_delay.conf4
-rw-r--r--src/ats-tests/perf_ats_proportional_bandwidth.conf28
-rw-r--r--src/ats-tests/perf_ats_proportional_delay.conf10
-rw-r--r--src/ats-tests/perf_ats_ril_bandwidth.conf4
-rw-r--r--src/ats-tests/perf_ats_ril_delay.conf4
-rw-r--r--src/ats-tests/template_perf_ats.conf28
9 files changed, 95 insertions, 38 deletions
diff --git a/src/ats-tests/Makefile.am b/src/ats-tests/Makefile.am
index 79010f06d..3285143aa 100644
--- a/src/ats-tests/Makefile.am
+++ b/src/ats-tests/Makefile.am
@@ -13,13 +13,17 @@ if USE_COVERAGE
13endif 13endif
14 14
15if HAVE_LIBGLPK 15if HAVE_LIBGLPK
16 16 PERF_MLP_BANDWIDTH = perf_ats_mlp_bandwidth
17 PERF_MLP_DELAY = perf_ats_mlp_delay
17endif 18endif
18 19
19if HAVE_TESTING 20if HAVE_TESTING
20TESTING_TESTS = \ 21TESTING_TESTS = \
21 perf_ats_proportional_bandwidth \ 22 perf_ats_proportional_bandwidth \
22 perf_ats_proportional_delay 23 perf_ats_proportional_delay \
24 perf_ats_ril_bandwidth \
25 perf_ats_ril_delay \
26 $(PERF_MLP_BANDWIDTH) $(PERF_MLP_DELAY)
23endif 27endif
24 28
25check_PROGRAMS = \ 29check_PROGRAMS = \
@@ -44,7 +48,45 @@ perf_ats_proportional_delay_LDADD = \
44 $(top_builddir)/src/testbed/libgnunettestbed.la \ 48 $(top_builddir)/src/testbed/libgnunettestbed.la \
45 $(top_builddir)/src/ats/libgnunetats.la \ 49 $(top_builddir)/src/ats/libgnunetats.la \
46 $(top_builddir)/src/core/libgnunetcore.la 50 $(top_builddir)/src/core/libgnunetcore.la
51
52if HAVE_LIBGLPK
53perf_ats_mlp_bandwidth_SOURCES = \
54 perf_ats.c
55perf_ats_mlp_bandwidth_LDADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
57 $(top_builddir)/src/testbed/libgnunettestbed.la \
58 $(top_builddir)/src/ats/libgnunetats.la \
59 $(top_builddir)/src/core/libgnunetcore.la
60
61perf_ats_mlp_delay_SOURCES = \
62 perf_ats.c
63perf_ats_mlp_delay_LDADD = \
64 $(top_builddir)/src/util/libgnunetutil.la \
65 $(top_builddir)/src/testbed/libgnunettestbed.la \
66 $(top_builddir)/src/ats/libgnunetats.la \
67 $(top_builddir)/src/core/libgnunetcore.la
68endif
69
70perf_ats_ril_bandwidth_SOURCES = \
71 perf_ats.c
72perf_ats_ril_bandwidth_LDADD = \
73 $(top_builddir)/src/util/libgnunetutil.la \
74 $(top_builddir)/src/testbed/libgnunettestbed.la \
75 $(top_builddir)/src/ats/libgnunetats.la \
76 $(top_builddir)/src/core/libgnunetcore.la
77
78perf_ats_ril_delay_SOURCES = \
79 perf_ats.c
80perf_ats_ril_delay_LDADD = \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 $(top_builddir)/src/testbed/libgnunettestbed.la \
83 $(top_builddir)/src/ats/libgnunetats.la \
84 $(top_builddir)/src/core/libgnunetcore.la
47 85
48EXTRA_DIST = \ 86EXTRA_DIST = \
49 perf_ats_proportional_bandwidth.conf \ 87 perf_ats_proportional_bandwidth.conf \
50 perf_ats_proportional_delay.conf 88 perf_ats_proportional_delay.conf \
89 perf_ats_mlp_bandwidth.conf \
90 perf_ats_mlp_delay.conf \
91 perf_ats_ril_bandwidth.conf \
92 perf_ats_ril_delay.conf
diff --git a/src/ats-tests/perf_ats.c b/src/ats-tests/perf_ats.c
index 34334c643..c67933bd2 100644
--- a/src/ats-tests/perf_ats.c
+++ b/src/ats-tests/perf_ats.c
@@ -693,8 +693,6 @@ core_connect_cb (void *cls, const struct GNUNET_PeerIdentity * peer)
693 int c; 693 int c;
694 int cs; 694 int cs;
695 695
696 id = GNUNET_strdup (GNUNET_i2s (&p->id));
697
698 t = find_peer (peer); 696 t = find_peer (peer);
699 if (NULL == t) 697 if (NULL == t)
700 { 698 {
@@ -702,6 +700,7 @@ core_connect_cb (void *cls, const struct GNUNET_PeerIdentity * peer)
702 return; 700 return;
703 } 701 }
704 702
703 id = GNUNET_strdup (GNUNET_i2s (&p->id));
705 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 704 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
706 "%s %s connected to %s %s\n", 705 "%s %s connected to %s %s\n",
707 (p->master == GNUNET_YES) ? "Master": "Slave", 706 (p->master == GNUNET_YES) ? "Master": "Slave",
diff --git a/src/ats-tests/perf_ats_mlp_bandwidth.conf b/src/ats-tests/perf_ats_mlp_bandwidth.conf
new file mode 100644
index 000000000..175521c87
--- /dev/null
+++ b/src/ats-tests/perf_ats_mlp_bandwidth.conf
@@ -0,0 +1,4 @@
1@INLINE@ template_perf_ats.conf
2
3[ats]
4MODE = MLP \ No newline at end of file
diff --git a/src/ats-tests/perf_ats_mlp_delay.conf b/src/ats-tests/perf_ats_mlp_delay.conf
new file mode 100644
index 000000000..7bdf20182
--- /dev/null
+++ b/src/ats-tests/perf_ats_mlp_delay.conf
@@ -0,0 +1,4 @@
1@INLINE@ template_perf_ats.conf
2
3[ats]
4MODE = MLP
diff --git a/src/ats-tests/perf_ats_proportional_bandwidth.conf b/src/ats-tests/perf_ats_proportional_bandwidth.conf
index d83653d15..dc2f47313 100644
--- a/src/ats-tests/perf_ats_proportional_bandwidth.conf
+++ b/src/ats-tests/perf_ats_proportional_bandwidth.conf
@@ -1,28 +1,4 @@
1[hostlist] 1@INLINE@ template_perf_ats.conf
2SERVERS =
3
4[transport-udp]
5BROADCAST = NO
6
7[peerinfo]
8USE_INCLUDED_HELLOS = NO
9 2
10[ats] 3[ats]
11# Network specific inbound/outbound quotas 4MODE = PROPORTIONAL
12UNSPECIFIED_QUOTA_IN = 128 KiB
13UNSPECIFIED_QUOTA_OUT = 128 KiB
14# LOOPBACK
15LOOPBACK_QUOTA_IN = 128 KiB
16LOOPBACK_QUOTA_OUT = 128 KiB
17# LAN
18LAN_QUOTA_IN = 128 KiB
19LAN_QUOTA_OUT = 128 KiB
20# WAN
21WAN_QUOTA_IN = 128 KiB
22WAN_QUOTA_OUT = 128 KiB
23# WLAN
24WLAN_QUOTA_IN = 128 KiB
25WLAN_QUOTA_OUT = 128 KiB
26# BLUETOOTH
27BLUETOOTH_QUOTA_IN = 128 KiB
28BLUETOOTH_QUOTA_OUT = 128 KiB \ No newline at end of file
diff --git a/src/ats-tests/perf_ats_proportional_delay.conf b/src/ats-tests/perf_ats_proportional_delay.conf
index a5127d25f..dc2f47313 100644
--- a/src/ats-tests/perf_ats_proportional_delay.conf
+++ b/src/ats-tests/perf_ats_proportional_delay.conf
@@ -1,8 +1,4 @@
1[hostlist] 1@INLINE@ template_perf_ats.conf
2SERVERS =
3 2
4[transport-udp] 3[ats]
5BROADCAST = NO 4MODE = PROPORTIONAL
6
7[peerinfo]
8USE_INCLUDED_HELLOS = NO
diff --git a/src/ats-tests/perf_ats_ril_bandwidth.conf b/src/ats-tests/perf_ats_ril_bandwidth.conf
new file mode 100644
index 000000000..14eb9f68d
--- /dev/null
+++ b/src/ats-tests/perf_ats_ril_bandwidth.conf
@@ -0,0 +1,4 @@
1@INLINE@ template_perf_ats.conf
2
3[ats]
4MODE = RIL \ No newline at end of file
diff --git a/src/ats-tests/perf_ats_ril_delay.conf b/src/ats-tests/perf_ats_ril_delay.conf
new file mode 100644
index 000000000..40336a90d
--- /dev/null
+++ b/src/ats-tests/perf_ats_ril_delay.conf
@@ -0,0 +1,4 @@
1@INLINE@ template_perf_ats.conf
2
3[ats]
4MODE = RIL
diff --git a/src/ats-tests/template_perf_ats.conf b/src/ats-tests/template_perf_ats.conf
new file mode 100644
index 000000000..d83653d15
--- /dev/null
+++ b/src/ats-tests/template_perf_ats.conf
@@ -0,0 +1,28 @@
1[hostlist]
2SERVERS =
3
4[transport-udp]
5BROADCAST = NO
6
7[peerinfo]
8USE_INCLUDED_HELLOS = NO
9
10[ats]
11# Network specific inbound/outbound quotas
12UNSPECIFIED_QUOTA_IN = 128 KiB
13UNSPECIFIED_QUOTA_OUT = 128 KiB
14# LOOPBACK
15LOOPBACK_QUOTA_IN = 128 KiB
16LOOPBACK_QUOTA_OUT = 128 KiB
17# LAN
18LAN_QUOTA_IN = 128 KiB
19LAN_QUOTA_OUT = 128 KiB
20# WAN
21WAN_QUOTA_IN = 128 KiB
22WAN_QUOTA_OUT = 128 KiB
23# WLAN
24WLAN_QUOTA_IN = 128 KiB
25WLAN_QUOTA_OUT = 128 KiB
26# BLUETOOTH
27BLUETOOTH_QUOTA_IN = 128 KiB
28BLUETOOTH_QUOTA_OUT = 128 KiB \ No newline at end of file