| 178 | 4. Walk-through the above OEDL experiment description: |
| 179 | {{{ |
| 180 | defProperty('slice', 'oedl-', "slice name") |
| 181 | ... |
| 182 | |
| 183 | tracker = property.tracker.to_s.split(',').map { |x| "#{x}-#{property.slice}" } |
| 184 | ... |
| 185 | }}} |
| 186 | * Here we define some experiment properties, which will allow us to parameterize the values for the slice, the resources, and the application settings used in the experiment. As mentioned earlier, these values may be customized for each experiment run. We further declare variables (internal to the experiment descriptions), which facilitate our specific use of properties within this given experiment example. |
| 187 | |
| 188 | |
| 189 | {{{ |
| 190 | defApplication('clean_all') do |app| |
| 191 | ... |
| 192 | end |
| 193 | |
| 194 | defApplication('clean_leechers') do |app| |
| 195 | ... |
| 196 | end |
| 197 | |
| 198 | defApplication('bttrack') do |app| |
| 199 | .. |
| 200 | end |
| 201 | |
| 202 | defApplication('transmission_daemon') do |app| |
| 203 | ... |
| 204 | end |
| 205 | |
| 206 | defApplication('vlc') do |app| |
| 207 | ... |
| 208 | end |
| 209 | }}} |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | |
| 216 | |
| 217 | |
| 218 | |
| 219 | |
| 220 | |