Changes between Version 2 and Version 3 of GEC20Agenda/LabWiki/ModuleE/Execute


Ignore:
Timestamp:
06/19/14 18:57:19 (10 years ago)
Author:
dbhat@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC20Agenda/LabWiki/ModuleE/Execute

    v2 v3  
    66
    77=== 3.1.1. The "Plan" Window ===
    8 Now you can use the original MD script and modify it with new information on the extended topology and the
    9 experiment you are executing on the extended topology.
     8Now you can use the original MD script and modify it with new information on the flow statistics and the
     9experiment that measures the flow statistics using the Trema controller API
    1010
    1111
    1212Look [wiki:GEC20Agenda/LabWiki/ModuleA/Execute here] if you have to refresh your memory on how to use the prepare window.
    13 
    14 TIP: To add images to your markdown script, please add a line similar to below into your .md file at the place where you want the image to appear:
    15 <img src="http://emmy9.casa.umass.edu/GEC-20/threenoderoute.png">.
    16 The image has to be hosted on a webserver.
    17 
    18 === 2.5 The complete OEDL script is given Below ===
    19 
     13=== 3.1.2 The "Prepare" Window ===
     14
     15This experiment will do the following
     161) Start Trema controllers on the two switch nodes in the topology shown in [http://groups.geni.net/geni/wiki/GEC20Agenda/LabWiki/ModuleC/DesignSetup ModuleC]
     17
     18{{{
     19defApplication('trema') do |app|
     20  app.description = 'This app runs trema from command line'
     21  app.binary_path = '/usr/bin/trema run /root/learning-switch.rb'
     22end
     23defGroup('Source2', property.source1,property.source2) do |node|
     24  node.addApplication("trema")
     25end
     26}}}
     27
     282) Start an Iperf server on nodef
     29
     30{{{
     31defApplication('iperfserv') do |app|
     32  app.description = "manually run Iperf server"
     33  app.binary_path = "/usr/bin/iperf -s"
     34end
     35defGroup('Receiver', property.theReceiver) do |node|
     36    node.addApplication("iperfserv") do |app|
     37    end
     38  end
     39}}}
     40
     41
     423) Start Iperf clients on nodea -nodee
     43
     44
     45{{{
     46defApplication('iperfclient') do |app|
     47  app.description = "manually run Iperf client"
     48  app.binary_path = "/usr/bin/iperf -c 192.168.1.15 -t 100 -P 2 -i 2"
     49end
     50
     51defGroup('Sender2', property.theSender2) do |node|
     52    node.addApplication("iperfclient") do |app|
     53    end
     54  end
     55}}}
     56
     57For reference, we show the Flow Statistics script here:
    2058OEDL script
    2159{{{
     
    144182That will automatically fill out the experiment relevant information in this window and allow you to start the actual experiment by clicking on the "Start Experiment" button.
    145183
    146 [[Image(LW-execute-extended.png, 80%)]]
     184[[Image(LW-execute-flowstats.png, 80%)]]
    147185
    148186Explanation of the fields in the Execute window: