adding and deleting address from solver
[oweals/gnunet.git] / src / ats / experiments / example.exp
1 [experiment]
2  name = test
3  masters = 1
4  slaves = 2
5  max_duration = 15 s
6  log_freq = 1000 ms
7  cfg_file = gnunet_ats_sim_default.conf
8  
9 [episode-0]
10 # operations = address_add, address_del, start_set_property, stop_set_property, 
11 # start_set_preference, stop_preference, start_request, stop_request
12 duration = 2 s
13 op-0-operation = address_add
14 op-0-address-id = 0
15 op-0-peer-id = 0
16 op-0-address-session = 0
17 op-0-address-network = 0
18 op-0-address = 0_0_udp
19 op-0-plugin = udp
20
21 #op-1-operation = start_set_preference
22 #op-1-address-id = 1
23 #op-1-peer-id = 1
24 # constant, linear, sinus, random
25 #op-1-gen-type = constant
26 #op-1-base-rate= 10000
27 #op-1-max-rate = 100000
28 #op-1-frequency = 500 ms
29 # BANDWIDTH, LATENCY
30 #op-1-pref = BANDWIDTH  
31
32 #op-1-operation = start_set_property
33 #op-1-address-id = 0
34 #op-1-peer-id = 0
35 # constant, linear, sinus, random
36 #op-1-gen-type = random
37 #op-1-base-rate= 10000
38 #op-1-max-rate = 100000
39 #op-1-frequency = 100 ms
40 # bandwidth, latency
41 # "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN"
42 #op-1-property = UTILIZATION_UP  
43
44 op-1-operation = start_request
45 op-1-peer-id = 0
46
47 [episode-1]
48 duration = 2 s
49
50 op-0-operation = address_del
51 op-0-address-id = 0
52 op-0-peer-id = 0
53 op-0-address-session = 0
54 op-0-address-network = 0
55 op-0-address = 0_0_udp
56 op-0-plugin = udp
57
58 op-1-operation = stop_set_preference
59 op-1-address-id = 1
60 op-1-peer-id = 1
61 op-1-pref = BANDWIDTH  
62
63 op-2-operation = stop_set_property
64 op-2-address-id = 0
65 op-2-peer-id = 0
66 op-2-property = UTILIZATION_UP
67
68 op-3-operation = stop_request
69 op-3-peer-id = 0