Changes between Version 28 and Version 29 of GEC20Agenda/LabWiki/ModuleA/Execute


Ignore:
Timestamp:
06/22/14 13:59:21 (5 years ago)
Author:
dbhat@bbn.com
Comment:

--

Legend:

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

    v28 v29  
    2222For reference, we show the experiment script here:
    2323{{{
    24 defProperty('source1', "nodea-gimitest1", "ID of a resource")
    25 defProperty('source2', "switch-gimitest1", "ID of a resource")
     24
     25defProperty('source1', "nodea-dbhattesteg", "ID of a resource")
     26defProperty('source2', "switch-dbhattesteg", "ID of a resource")
    2627
    2728
     
    3031
    3132defProperty('sinkaddr21', '192.168.1.9', "Ping destination address")
    32 defProperty('sinkaddr23', '192.168.1.10', "Ping destination address")
     33
    3334
    3435defApplication('ping') do |app|
     
    5556defApplication('trema') do |app|
    5657  app.description = 'This app runs trema from command line'
    57   app.binary_path = '/usr/bin/trema run /root/learning-switch.rb'
     58  app.binary_path = '/bin/sh /root/ovs-setup2.sh'
    5859end
    59 
    6060defGroup('Source2', property.source2) do |node|
    6161  node.addApplication("trema")
    6262end
    63 
    6463defGroup('Source1', property.source1) do |node|
    6564  node.addApplication("ping") do |app|
     
    8180    app.measure('ping', :samples => 1)
    8281  end
    83    node.addApplication("ping") do |app|
    84     app.setProperty('target', property.sinkaddr23)
    85     app.setProperty('count', 30)
    86     #app.setProperty('interval', 1)
    87     app.measure('ping', :samples => 1)
    88   end
    8982end
     83
    9084
    9185onEvent(:ALL_UP_AND_INSTALLED) do |event|
    9286  info "Starting the ping"
    93   after 2 do
     87  after 1 do
    9488    group('Source2').startApplications
    9589  end
    96   after 10 do
     90  after 30 do
    9791    group('Source1').startApplications
    9892  end
     
    112106  g.yaxis :legend => 'rtt', :ticks => {:format => 's'}
    113107end
     108
    114109}}}
    115110