Changes between Version 12 and Version 13 of GEC20Agenda/LabWiki/ModuleE/Execute


Ignore:
Timestamp:
06/22/14 17:24:55 (10 years ago)
Author:
dbhat@bbn.com
Comment:

--

Legend:

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

    v12 v13  
    6262{{{
    6363
    64 defProperty('source1', "switch1-rspecforMax", "ID of a resource")
    65 defProperty('source2', "switch2-rspecforMax", "ID of a resource")
    66 defProperty('source3', "switch1-rspecforMax", "ID of a resource")
    67 defProperty('theSender1', "nodeb-rspecforMax", "ID of a resource")
    68 defProperty('theSender2', "nodec-rspecforMax", "ID of a resource")
    69 defProperty('theSender3', "noded-rspecforMax", "ID of a resource")
    70 defProperty('theSender4', "nodec-rspecforMax", "ID of a resource")
    71 defProperty('theSender5', "nodee-rspecforMax", "ID of a resource")
    72 defProperty('theReceiver', "nodef-rspecforMax", "ID of a resource")
     64defProperty('source1', "switch1-egtest7", "ID of a resource")
     65defProperty('theSender1', "nodeb-egtest7", "ID of a resource")
     66defProperty('theSender2', "nodec-egtest7", "ID of a resource")
     67defProperty('theSender3', "noded-egtest7", "ID of a resource")
     68defProperty('theSender4', "nodea-egtest7", "ID of a resource")
     69defProperty('theSender5', "nodee-egtest7", "ID of a resource")
     70defProperty('theReceiver', "nodef-egtest7", "ID of a resource")
    7371
    7472defProperty('intervalcol',"1", "Interval to Tail")
     
    8785  end
    8886end
    89 defApplication('trema') do |app|
    90   app.description = 'This app runs trema from command line'
    91   app.binary_path = '/usr/bin/trema run /root/learning-switch.rb'
    92 end
    9387
    9488defApplication('iperfserv') do |app|
     
    9892defApplication('iperfclient') do |app|
    9993  app.description = "manually run Iperf client"
    100   app.binary_path = "/usr/bin/iperf -c 192.168.1.15 -t 800 -P 2 -i 2"
     94  app.binary_path = "/usr/bin/iperf -c 192.168.1.15 -t 200 -P 5 -i 2"
    10195end
    10296defApplication('clean_iperf') do |app|
     
    10498  app.binary_path = 'killall -s9 iperf'
    10599  app.quiet = true
    106 end
    107 defGroup('Source2', property.source1,property.source2) do |node|
    108   node.addApplication("trema")
    109100end
    110101defGroup('Source3', property.source1) do |node|
     
    144135  info "Starting the collect"
    145136  after 2 do
    146     group('Source2').startApplications
    147137    group('Receiver').startApplications
    148138  end
    149139  after 10 do
    150140    group('Sender1').startApplications
     141    group('Source3').startApplications
    151142  end
    152143  after 20 do
    153     group('Sender2').startApplications
    154     group('Source3').startApplications
     144    group('Sender2').startApplications
    155145  end
    156146  after 40 do
     
    178168  g.yaxis :legend => 'Throughput', :ticks => {:format => 's'}
    179169end
     170
    180171
    181172}}}