Changes between Version 12 and Version 13 of GENIFIRE/Labwiki/Part0/DesignSetup


Ignore:
Timestamp:
07/07/14 17:34:39 (5 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIFIRE/Labwiki/Part0/DesignSetup

    v12 v13  
    1010
    1111http://mytestbed.net/projects/omlapp/wiki/OML-instrumented_Applications
    12 == 2. Write OEDL Application ==
    13 
    14 For this tutorial, Sec 2.1 - Sec 2.3 are for understanding the OEDL script that '''we have preloaded into !LabWiki for you'''. When you write your own applications it is advised to open and editor of your choice and define your experiment scripts similar to the procedure described here.
     12== 2. Write OEDL/LabWiki Script ==
     13
     14For this tutorial, Sec 2.1 - Sec 2.3 are for understanding the OEDL script that '''we have preloaded into !LabWiki for you'''. When you write your own scripts it is advised to open an editor of your choice and define your experiment scripts similar to the procedure described here.
    1515
    1616=== 2.1 Define Property ===
    1717
    18 An experiment property maybe described as any variable entity you wish to define for your experiment. Generally this would be the name of your resources (hostname-slicename) that you will use but it can also include IP addresses, Port numbers and so on. Properties defined within quotes are treated as strings.
     18Any property of your experiment maybe described as a variable entity. Generally this would be the name of your resources (hostname-slicename) that you will use but it can also include IP addresses, Port numbers and so on. Properties defined within quotes are treated as strings.
    1919
    2020{{{
     
    3232
    3333
    34 === 2.2 Define Application ===
    35 
    36 The entire application definition for OML-Iperf is given [http://mytestbed.net/projects/omlapp/repository/iperf/entry/oml/iperf.rb.in?rev=oml%2Fmaster here]
    37 
    38 Select the definition you will use in your experiment. The Application definition includes the experiment properties and measurement parameters.
    39 For an Iperf, the properties would be similar to what you run on the command line, i.e, select whether server or client, TCP or UDP and so on. The measurement parameters would be throughput, packet loss, jitter and so on.
     34=== 2.2 Define Application for OEDL Script ===
     35In your OEDL scripts, you are required to define applications that you would like to run. The Application definition includes the experiment properties and measurement parameters.
     36
     37In this example, we show how to use an Iperf. [[BR]]
     38For an Iperf, the properties would be similar to what you run on the command line, i.e, select whether server or client, TCP or UDP and so on. The measurement parameters would be throughput, packet loss, jitter and so on. [[BR]]
     39All possible parameters for running an Iperf in OEDL, are described in the complete application definition given [http://mytestbed.net/projects/omlapp/repository/iperf/entry/oml/iperf.rb.in?rev=oml%2Fmaster here]. [[BR]]
     40
     41We are only required to select the properties and applications we will run. For example, here we only measure TCP throughput and therefore, do not include UDP related properties and measurement parameters in our script.
    4042
    4143
     
    7173}}}
    7274
    73 We follow the same for the ping application. The entire definition is given [https://github.com/mytestbed/oml4r/blob/master/omf/ping-oml2.app.rb here]
    74 
    75 === 2.3 Define Group and add Applications ===
     75We follow the same for the ping application. The entire definition is given [https://github.com/mytestbed/oml4r/blob/master/omf/ping-oml2.app.rb here]. Please find the entire OEDL script definition [ here].
     76
     77=== 2.3 Define Group and add Applications on nodes ===
    7678
    7779A Group is a set of resources on which you want to run your experiment. Here, we see a group definition with just one resource but we can run the same set of applications on a set of resources.