diff options
Diffstat (limited to 'src/ats/experiments/set_preference.exp')
-rw-r--r-- | src/ats/experiments/set_preference.exp | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/src/ats/experiments/set_preference.exp b/src/ats/experiments/set_preference.exp deleted file mode 100644 index 34f9af296..000000000 --- a/src/ats/experiments/set_preference.exp +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | # Example setting up two peers | ||
2 | |||
3 | [experiment] | ||
4 | name = test | ||
5 | max_duration = 15 s | ||
6 | log_freq = 1000 ms | ||
7 | log_prefix = set_preference | ||
8 | cfg_file = experiments/gnunet_ats_sim_default.conf | ||
9 | |||
10 | [episode-0] | ||
11 | # Setup addresses | ||
12 | |||
13 | # operations = address_add, address_del, start_set_property, stop_set_property, | ||
14 | # start_set_preference, stop_preference, start_request, stop_request | ||
15 | duration = 1 s | ||
16 | |||
17 | op-0-operation = address_add | ||
18 | op-0-address-id = 0 | ||
19 | op-0-peer-id = 0 | ||
20 | op-0-address-session = 0 | ||
21 | op-0-address-network = lan | ||
22 | op-0-address = 0_0_test | ||
23 | op-0-plugin = test | ||
24 | |||
25 | op-1-operation = address_add | ||
26 | op-1-address-id = 1 | ||
27 | op-1-peer-id = 1 | ||
28 | op-1-address-session = 0 | ||
29 | op-1-address-network = lan | ||
30 | op-1-address = 1_1_test | ||
31 | op-1-plugin = test | ||
32 | |||
33 | op-2-operation = start_request | ||
34 | op-2-peer-id = 0 | ||
35 | |||
36 | op-3-operation = start_request | ||
37 | op-3-peer-id = 1 | ||
38 | |||
39 | [episode-1] | ||
40 | # Set delay | ||
41 | duration = 20 s | ||
42 | |||
43 | op-0-operation = start_set_preference | ||
44 | op-0-address-id = 0 | ||
45 | op-0-peer-id = 0 | ||
46 | op-0-client-id = 1 | ||
47 | # constant, linear, sinus, random | ||
48 | op-0-gen-type = linear | ||
49 | op-0-base-rate= 1000 | ||
50 | op-0-max-rate = 10000 | ||
51 | op-0-period = 10 s | ||
52 | op-0-frequency = 500 ms | ||
53 | op-0-feedback_delay = 500 ms | ||
54 | # BANDWIDTH, LATENCY | ||
55 | op-0-pref = BANDWIDTH | ||
56 | |||
57 | |||
58 | op-1-operation = start_set_preference | ||
59 | op-1-address-id = 1 | ||
60 | op-1-peer-id = 1 | ||
61 | op-1-client-id = 1 | ||
62 | # constant, linear, sinus, random | ||
63 | op-1-gen-type = constant | ||
64 | op-1-base-rate= 1000 | ||
65 | op-1-max-rate = 1000 | ||
66 | op-1-period = 10 s | ||
67 | op-1-frequency = 500 ms | ||
68 | # BANDWIDTH, LATENCY | ||
69 | op-1-pref = BANDWIDTH | ||
70 | |||
71 | [episode-2] | ||
72 | # Shutdown | ||
73 | duration = 2 s | ||
74 | |||
75 | op-0-operation = stop_request | ||
76 | op-0-peer-id = 0 | ||
77 | |||
78 | op-1-operation = stop_request | ||
79 | op-1-peer-id = 1 | ||
80 | |||
81 | op-2-operation = address_del | ||
82 | op-2-address-id = 0 | ||
83 | op-2-peer-id = 0 | ||
84 | op-2-address-session = 0 | ||
85 | op-2-address-network = 0 | ||
86 | op-2-address = 0_0_test | ||
87 | op-2-plugin = test | ||
88 | |||
89 | op-3-operation = address_del | ||
90 | op-3-address-id = 1 | ||
91 | op-3-peer-id = 1 | ||
92 | op-3-address-session = 0 | ||
93 | op-3-address-network = 0 | ||
94 | op-3-address = 1_1_test | ||
95 | op-3-plugin = test | ||