Changes between Version 17 and Version 18 of GENIFIRE/Labwiki/Part0/DesignSetup


Ignore:
Timestamp:
07/07/14 19:13:40 (7 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

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

    v17 v18  
    173173
    174174{{{
    175 defProperty('source1', "client-lwtest6", "ID of a resource")
    176 defProperty('thelistener', "server-lwtest6", "ID of a resource")
    177 defProperty('thesender', "client-lwtest6", "ID of a resource")
    178 defProperty('thesender2', "client-lwtest6", "ID of a resource")
    179 defProperty('interfaceServer', "eth3", 'server interface to modify')
     175defProperty('source1', "nodeb-divpart0", "ID of a resource")
     176defProperty('thelistener', "nodea-divpart0", "ID of a resource")
     177defProperty('thesender', "nodeb-divpart0", "ID of a resource")
     178defProperty('thesender2', "nodeb-divpart0", "ID of a resource")
     179defProperty('interfaceServer', "wlan0", 'server interface to modify')
    180180defProperty('capacity', 10000000, 'in bits per second')
    181181
    182 defProperty('sinkaddr11', '10.0.5.102', "Ping destination address")
    183 defProperty('sinkaddr12', '10.0.5.101', "Ping destination address")
     182defProperty('sinkaddr11', '192.168.1.7', "Ping destination address")
     183defProperty('sinkaddr12', '192.168.1.6', "Ping destination address")
    184184
    185185defApplication('iperf') do |app|
     
    244244  node.addApplication("iperf") do |app|
    245245    app.setProperty('server', true)
     246   # app.measure('transfer', :samples => 1)
     247   # app.measure('connection', :samples => 1)
     248  end
     249end
     250
     251defGroup('theSender', property.thesender) do |node|
     252  node.addApplication("iperf") do |app|
     253    app.setProperty('client', property.sinkaddr12)
     254    app.measure('transfer', :samples => 1)   
     255  end
     256end
     257defGroup('theSender2', property.thesender2) do |node|
     258  node.addApplication("iperf") do |app|
     259    app.setProperty('client', property.sinkaddr12)
    246260    app.measure('transfer', :samples => 1)
    247     app.measure('connection', :samples => 1)
    248   end
    249 end
    250 
    251 defGroup('theSender', property.thesender) do |node|
    252   node.addApplication("iperf") do |app|
    253     app.setProperty('client', property.sinkaddr12)
    254     #app.measure('transfer', :samples => 1)
    255   end
    256 end
    257 defGroup('theSender2', property.thesender2) do |node|
    258   node.addApplication("iperf") do |app|
    259     app.setProperty('client', property.sinkaddr12)
    260     #app.measure('transfer', :samples => 1)
    261261  end
    262262end
     
    311311  g.type 'line_chart3'
    312312  g.mapping :x_axis => :oml_seq, :y_axis => :size, :group_by => :connection_id
    313   g.xaxis :legend => 'oml_ts [s]'
     313  g.xaxis :legend => 'oml_seq [s]'
    314314  g.yaxis :legend => 'size [Bytes]', :ticks => {:format => 's'}
    315315end