aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/experiments/test.exp
blob: 636139f89cec7ad0caefbca7ecd0ed39590b1282 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[experiment]
 name = test
 masters = 1
 slaves = 2
 max_duration = 15 s
 log_freq = 100 ms
 cfg_file = gnunet_ats_sim_default.conf
 
[episode-0]
# operations = start_send, stop_send, start_preference, stop_preference
duration = 10 s
op-0-operation = start_send
op-0-src = 0
op-0-dest = 0
op-0-type = constant
op-0-base-rate= 10000
op-0-max-rate = 10000

op-1-operation = start_send
op-1-src = 0
op-1-dest = 1
op-1-type = sinus
op-1-period = 5 s
op-1-base-rate= 10000
op-1-max-rate = 15000

op-2-operation = start_preference
op-2-src = 0
op-2-dest = 0
op-2-type = constant
op-2-period = 5 s
op-2-base-rate= 10
op-2-max-rate = 5
op-2-pref = latency
op-2-frequency = 2 s

op-3-operation = start_preference
op-3-src = 0
op-3-dest = 1
op-3-type = linear
op-3-period = 5 s
op-3-base-rate= 40
op-3-max-rate = 50
op-3-pref = bandwidth
op-3-frequency = 750 ms

[episode-1]
duration = 5 s
op-0-operation = stop_preference
op-0-src = 0
op-0-dest = 0

op-1-operation = stop_preference
op-1-src = 0
op-1-dest = 1