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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC18Agenda/LabWikiAndOEDL/Experiment1

    v24 v25  
    1919[[Image(wiki:GENIExperimenter/Tutorials/Graphics:design_on.png, 76)]]
    2020
    21  For help on all actions regarding !LabWiki, please refer to the [wiki:GEC18Agenda/LabWikiAndOEDL/Introduction previous page]
     21For help on all actions regarding !LabWiki, please refer to the [wiki:GEC18Agenda/LabWikiAndOEDL/Introduction previous page]
     22
     23'''The OEDL experiment description'''
    2224
    2325 1. First, if you have not done it yet, login into !LabWiki
     
    98100    }}}
    99101
    100  4.  Here is a walk-through the above OEDL experiment description. For more details on each OEDL commands described below, please refer to the [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6 OEDL reference page]
    101     a. '''''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].
    102     b. '''''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]
    103     c. '''''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].
    104     d. '''''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].
    105     e. '''''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].
     102'''Walk-through the above OEDL experiment description'''
     103 1. For more details on each OEDL commands described below, please refer to the [http://mytestbed.net/projects/omf6/wiki/OEDLOMF6 OEDL reference page]
     104 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].
     105 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]
     106 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].
     107 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].
     108 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].
    106109
    107110