Changes between Version 25 and Version 26 of GEC18Agenda/LabWikiAndOEDL/Introduction


Ignore:
Timestamp:
10/11/13 00:22:50 (10 years ago)
Author:
thierry.rakotoarivelo@nicta.com.au
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC18Agenda/LabWikiAndOEDL/Introduction

    v25 v26  
    8181A very simplistic OEDL experiment would look like this:
    8282
     83{{{
     84# Comment: This is the 1st section, where we declare resources and configurations
     85#
     86defProperty('my_resource', "leecher-player-1-gec18-tutorial-5", "ID of a resource")
     87defGroup('Actor', property.my_resource)
     88
     89# This is the 2nd part, where we define events and associated tasks
     90#
     91onEvent(: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
     97end
     98}}}
     99
     100The list and description of all OEDL commands are available on the OEDL Documentation Page for OMF6.
     101
    83102= Help & Additional Resources =
    84103