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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC18Agenda/LabWikiAndOEDL/Experiment1

    v25 v26  
    101101
    102102'''Walk-through the above OEDL experiment description'''
     103
    103104 1. For more details on each OEDL commands described below, please refer to the [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6 OEDL reference page]
     105
    104106 2. '''''defProperty.''''' This command is used to define experiment properties (aka variables), you can set the values of these properties as parameters for each experiment instances, and access them throughout the entire experiment run. In this example, we are defining 2 properties, to hold the names of each of the resources that we will use. Its syntax is available [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6#defProperty-38-property here].
     107
    105108 3. '''''defApplication.''''' This command declares the details of an application that we would like to use in this experiment. The application may be already installed on the resources or may be deployed as part of the experiment's execution. The information declared via this command are generic attributes of the application (e.g. the path to its binary), the parameters that it accepts (e.g. 'target' in this example), and the measurements that it provides (e.g. "rtt_stats" in this example). This command's syntax is available [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6#defApplication here]
     109
    106110 4. '''''defGroup.''''' This command is used to define a group of resources which we will use in this experiment. A group may contain many resources and a resource may be included in many groups. This commands may also be used to associate a set of configurations and applications to all resources in a group. In this example, we are defining 2 groups (First_Peer and Second_Peer), each with only one resource, then we are configuring the IP addresses of these resources, and associating the previously declared application to them. Its syntax is available [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6#defGroup here].
     111
    107112 5. '''''onEvent.''''' This command declares the set of actions to perform when some specific event is triggered. In this example, the event is "ALL_UP_AND_INSTALLED", i.e. when all node resources are ready to receive commands and all applications associated to them are installed. The actions to perform when such event triggers are: print some message, start the applications associated to each group with some delay, wait some time and then stop the experiment. The syntax for this is available [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6#onEvent here].
     113
    108114 6. '''''defGraph.''''' This commands defines the graph that we would like to generate while the application is running. In this example, we are defining 2 graphs, one is a line chart and the other a pie chart. These graphs will be drawn using measurements declared in the previous defApplication command, and requested in the previous defGroup commands. The syntax for this is available [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6#defGraph here].
    109115