8 | | As explained in the previous [wiki:NodeHandler/Testbed overview] page, to run an experiment on the testbed a user needs to first describe the experiment in a ''script''. This ''script'' is then passed on to a '''Node Handler''', which will use it to run and control the experiment execution. This process is illustrated in figure 1. |
| 8 | This tutorial presents a simple example, which shows you all the basic steps to quickly develop, run, and access the result of an experiment with OMF. Subsequent tutorials will build on this one to show you how to use other OMF features. |
| 9 | |
| 10 | If you are a new OMF users, you may want to read the short [http://mytestbed.net/projects/omf/wiki/An_Introduction_to_OMF OMF System Overview] and/or [http://mytestbed.net/projects/omf/wiki/UsageOverview the Experiment Life-cycle Overview]. To run an experiment on the ORBIT testbed, in addtion to all the steps from [wiki:Documentation/GettingStarted getting started], a user needs to first describe the experiment in a ''script''. This ''script/experiment description'' is then passed on to a '''Experiment Controller''', which will use it to run and control the experiment execution. This process is illustrated in figure 1. |
82 | | |
83 | | if property.graph.value |
84 | | addTab(:defaults) |
85 | | addTab(:graph2) do |tab| |
86 | | opts = { :postfix => %{This graph shows the Sequence Number from the UDP traffic.}, :updateEvery => 1 } |
87 | | tab.addGraph("Sequence_Number", opts) do |g| |
88 | | dataOut = Array.new |
89 | | dataIn = Array.new |
90 | | mpOut = ms('udp_out') |
91 | | mpIn = ms('udp_in') |
92 | | mpOut.project(:oml_ts_server, :seq_no).each do |sample| |
93 | | dataOut << sample.tuple |
94 | | end |
95 | | mpIn.project(:oml_ts_server, :seq_no).each do |sample| |
96 | | dataIn << sample.tuple |
97 | | end |
98 | | g.addLine(dataOut, :label => "Sender (outgoing UDP)") |
99 | | g.addLine(dataIn, :label => "Receiver (incoming UDP)") |
100 | | end |
101 | | end |
102 | | end |
103 | | }}} |
104 | | |
105 | | [[BR]] |
106 | | [[BR]] |
| 81 | }}} |
| 82 | |