aboutsummaryrefslogtreecommitdiff
path: root/src/ats/experiments
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-02-11 08:55:04 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-02-11 08:55:04 +0000
commitf65a1270609f4cc37f023a0a61788e014a7f85b0 (patch)
treec3db9477a34c7d1b8f3f1cac0e9c571f53bfb06e /src/ats/experiments
parentc45d65f668cf599ff9fa47a96823d18b30a2df47 (diff)
downloadgnunet-f65a1270609f4cc37f023a0a61788e014a7f85b0.tar.gz
gnunet-f65a1270609f4cc37f023a0a61788e014a7f85b0.zip
improved episode parsing
added request support
Diffstat (limited to 'src/ats/experiments')
-rw-r--r--src/ats/experiments/example.exp43
1 files changed, 25 insertions, 18 deletions
diff --git a/src/ats/experiments/example.exp b/src/ats/experiments/example.exp
index 289a3701b..1d94c212a 100644
--- a/src/ats/experiments/example.exp
+++ b/src/ats/experiments/example.exp
@@ -7,7 +7,8 @@
7 cfg_file = gnunet_ats_sim_default.conf 7 cfg_file = gnunet_ats_sim_default.conf
8 8
9[episode-0] 9[episode-0]
10# operations = address_add, address_del, start_set_property, stop_set_property, start_set_preference, stop_preference 10# operations = address_add, address_del, start_set_property, stop_set_property,
11# start_set_preference, stop_preference, start_request, stop_request
11duration = 2 s 12duration = 2 s
12op-0-operation = address_add 13op-0-operation = address_add
13op-0-address-id = 0 14op-0-address-id = 0
@@ -17,28 +18,31 @@ op-0-address-network = 0
17op-0-address = 0_0_udp 18op-0-address = 0_0_udp
18op-0-plugin = udp 19op-0-plugin = udp
19 20
20op-1-operation = start_set_preference 21#op-1-operation = start_set_preference
21op-1-address-id = 1 22#op-1-address-id = 1
22op-1-peer-id = 1 23#op-1-peer-id = 1
23# constant, linear, sinus, random 24# constant, linear, sinus, random
24op-1-gen-type = constant 25#op-1-gen-type = constant
25op-1-base-rate= 10000 26#op-1-base-rate= 10000
26op-1-max-rate = 100000 27#op-1-max-rate = 100000
27op-1-frequency = 500 ms 28#op-1-frequency = 500 ms
28# BANDWIDTH, LATENCY 29# BANDWIDTH, LATENCY
29op-1-pref = BANDWIDTH 30#op-1-pref = BANDWIDTH
30 31
31#op-2-operation = start_set_property 32op-1-operation = start_set_property
32#op-2-address-id = 0 33op-1-address-id = 0
33#op-2-peer-id = 0 34op-1-peer-id = 0
34# constant, linear, sinus, random 35# constant, linear, sinus, random
35#op-2-gen-type = linear 36op-1-gen-type = random
36#op-2-base-rate= 10000 37op-1-base-rate= 10000
37#op-2-max-rate = 10000 38op-1-max-rate = 100000
38#op-2-frequency = 100 ms 39op-1-frequency = 100 ms
39# bandwidth, latency 40# bandwidth, latency
40# "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN" 41# "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN"
41#op-2-property = UTILIZATION_UP 42op-1-property = UTILIZATION_UP
43
44op-2-operation = start_request
45op-2-peer-id = 0
42 46
43[episode-1] 47[episode-1]
44duration = 2 s 48duration = 2 s
@@ -59,4 +63,7 @@ op-1-pref = BANDWIDTH
59op-2-operation = stop_set_property 63op-2-operation = stop_set_property
60op-2-address-id = 0 64op-2-address-id = 0
61op-2-peer-id = 0 65op-2-peer-id = 0
62op-2-property = UTILIZATION_UP \ No newline at end of file 66op-2-property = UTILIZATION_UP
67
68op-3-operation = stop_request
69op-3-peer-id = 0 \ No newline at end of file