diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 08:55:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-11 08:55:04 +0000 |
commit | f65a1270609f4cc37f023a0a61788e014a7f85b0 (patch) | |
tree | c3db9477a34c7d1b8f3f1cac0e9c571f53bfb06e /src/ats/experiments | |
parent | c45d65f668cf599ff9fa47a96823d18b30a2df47 (diff) | |
download | gnunet-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.exp | 43 |
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 | ||
11 | duration = 2 s | 12 | duration = 2 s |
12 | op-0-operation = address_add | 13 | op-0-operation = address_add |
13 | op-0-address-id = 0 | 14 | op-0-address-id = 0 |
@@ -17,28 +18,31 @@ op-0-address-network = 0 | |||
17 | op-0-address = 0_0_udp | 18 | op-0-address = 0_0_udp |
18 | op-0-plugin = udp | 19 | op-0-plugin = udp |
19 | 20 | ||
20 | op-1-operation = start_set_preference | 21 | #op-1-operation = start_set_preference |
21 | op-1-address-id = 1 | 22 | #op-1-address-id = 1 |
22 | op-1-peer-id = 1 | 23 | #op-1-peer-id = 1 |
23 | # constant, linear, sinus, random | 24 | # constant, linear, sinus, random |
24 | op-1-gen-type = constant | 25 | #op-1-gen-type = constant |
25 | op-1-base-rate= 10000 | 26 | #op-1-base-rate= 10000 |
26 | op-1-max-rate = 100000 | 27 | #op-1-max-rate = 100000 |
27 | op-1-frequency = 500 ms | 28 | #op-1-frequency = 500 ms |
28 | # BANDWIDTH, LATENCY | 29 | # BANDWIDTH, LATENCY |
29 | op-1-pref = BANDWIDTH | 30 | #op-1-pref = BANDWIDTH |
30 | 31 | ||
31 | #op-2-operation = start_set_property | 32 | op-1-operation = start_set_property |
32 | #op-2-address-id = 0 | 33 | op-1-address-id = 0 |
33 | #op-2-peer-id = 0 | 34 | op-1-peer-id = 0 |
34 | # constant, linear, sinus, random | 35 | # constant, linear, sinus, random |
35 | #op-2-gen-type = linear | 36 | op-1-gen-type = random |
36 | #op-2-base-rate= 10000 | 37 | op-1-base-rate= 10000 |
37 | #op-2-max-rate = 10000 | 38 | op-1-max-rate = 100000 |
38 | #op-2-frequency = 100 ms | 39 | op-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 | 42 | op-1-property = UTILIZATION_UP |
43 | |||
44 | op-2-operation = start_request | ||
45 | op-2-peer-id = 0 | ||
42 | 46 | ||
43 | [episode-1] | 47 | [episode-1] |
44 | duration = 2 s | 48 | duration = 2 s |
@@ -59,4 +63,7 @@ op-1-pref = BANDWIDTH | |||
59 | op-2-operation = stop_set_property | 63 | op-2-operation = stop_set_property |
60 | op-2-address-id = 0 | 64 | op-2-address-id = 0 |
61 | op-2-peer-id = 0 | 65 | op-2-peer-id = 0 |
62 | op-2-property = UTILIZATION_UP \ No newline at end of file | 66 | op-2-property = UTILIZATION_UP |
67 | |||
68 | op-3-operation = stop_request | ||
69 | op-3-peer-id = 0 \ No newline at end of file | ||