| 83 | {{{ |
| 84 | # Comment: This is the 1st section, where we declare resources and configurations |
| 85 | # |
| 86 | defProperty('my_resource', "leecher-player-1-gec18-tutorial-5", "ID of a resource") |
| 87 | defGroup('Actor', property.my_resource) |
| 88 | |
| 89 | # This is the 2nd part, where we define events and associated tasks |
| 90 | # |
| 91 | onEvent(:ALL_NODES_UP) do |event| |
| 92 | info "This is my first OEDL experiment" |
| 93 | group('Actor').exec('/bin/hostname') |
| 94 | after 5.seconds do |
| 95 | Experiment.done |
| 96 | end |
| 97 | end |
| 98 | }}} |
| 99 | |
| 100 | The list and description of all OEDL commands are available on the OEDL Documentation Page for OMF6. |
| 101 | |