From f65a1270609f4cc37f023a0a61788e014a7f85b0 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 11 Feb 2014 08:55:04 +0000 Subject: improved episode parsing added request support --- src/ats/experiments/example.exp | 43 ++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 18 deletions(-) (limited to 'src/ats/experiments/example.exp') 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 @@ cfg_file = gnunet_ats_sim_default.conf [episode-0] -# operations = address_add, address_del, start_set_property, stop_set_property, start_set_preference, stop_preference +# operations = address_add, address_del, start_set_property, stop_set_property, +# start_set_preference, stop_preference, start_request, stop_request duration = 2 s op-0-operation = address_add op-0-address-id = 0 @@ -17,28 +18,31 @@ op-0-address-network = 0 op-0-address = 0_0_udp op-0-plugin = udp -op-1-operation = start_set_preference -op-1-address-id = 1 -op-1-peer-id = 1 +#op-1-operation = start_set_preference +#op-1-address-id = 1 +#op-1-peer-id = 1 # constant, linear, sinus, random -op-1-gen-type = constant -op-1-base-rate= 10000 -op-1-max-rate = 100000 -op-1-frequency = 500 ms +#op-1-gen-type = constant +#op-1-base-rate= 10000 +#op-1-max-rate = 100000 +#op-1-frequency = 500 ms # BANDWIDTH, LATENCY -op-1-pref = BANDWIDTH +#op-1-pref = BANDWIDTH -#op-2-operation = start_set_property -#op-2-address-id = 0 -#op-2-peer-id = 0 +op-1-operation = start_set_property +op-1-address-id = 0 +op-1-peer-id = 0 # constant, linear, sinus, random -#op-2-gen-type = linear -#op-2-base-rate= 10000 -#op-2-max-rate = 10000 -#op-2-frequency = 100 ms +op-1-gen-type = random +op-1-base-rate= 10000 +op-1-max-rate = 100000 +op-1-frequency = 100 ms # bandwidth, latency # "TERMINATOR", "UTILIZATION_UP", "UTILIZATION_DOWN", "UTILIZATION_PAYLOAD_UP", "UTILIZATION_PAYLOAD_DOWN", "NETWORK_TYPE", "DELAY", "DISTANCE", "COST_WAN", "COST_LAN", "COST_WLAN" -#op-2-property = UTILIZATION_UP +op-1-property = UTILIZATION_UP + +op-2-operation = start_request +op-2-peer-id = 0 [episode-1] duration = 2 s @@ -59,4 +63,7 @@ op-1-pref = BANDWIDTH op-2-operation = stop_set_property op-2-address-id = 0 op-2-peer-id = 0 -op-2-property = UTILIZATION_UP \ No newline at end of file +op-2-property = UTILIZATION_UP + +op-3-operation = stop_request +op-3-peer-id = 0 \ No newline at end of file -- cgit v1.2.3