Changes between Version 13 and Version 14 of GEC17Agenda/AdvancedOpenFlow/Procedure/Appendices


Ignore:
Timestamp:
12/04/14 13:18:25 (4 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC17Agenda/AdvancedOpenFlow/Procedure/Appendices

    v13 v14  
    66
    77{{{
    8 defProperty('slice', 'testloadbal3', "slice name")
     8
    99defProperty('intervalcol',"1", "Interval to Tail")
    10 defProperty('theSender', "outside", "ID of sender node")
    11 defProperty('theReceiver', "inside", "ID of receiver node")
    12 defProperty('theSwitch',"switch", "ID of switch node")
     10defProperty('resourcetheSender', "outside", "ID of sender node")
     11defProperty('resourcetheReceiver', "inside", "ID of receiver node")
     12defProperty('resourcetheSwitch',"switch", "ID of switch node")
    1313defProperty('pathfile', "/tmp/flowstats.out", "Path to file")
    14 
    15 theSender = property.theSender.to_s.split(',').map { |x| "#{x}-#{property.slice}" }
    16 theReceiver = property.theReceiver.to_s.split(',').map { |x| "#{x}-#{property.slice}" }
    17 theSwitch = property.theSwitch.value.to_s.split(',').map { |x| "#{x}-#{property.slice}" }
    18 iperfNodes = theSender + theReceiver
    1914
    2015defApplication('clean_iperf') do |app|
     
    4641end
    4742
    48 defGroup('iperf_nodes', *iperfNodes) do |g|
     43defGroup('iperf_nodes', property.resourcetheSender, property.resourcetheReceiver) do |g|
    4944  g.addApplication("clean_iperf") do |app|
    5045  end
    5146end
    5247
    53 defGroup('Source1', *theSwitch) do |node|
     48defGroup('Source1', property.resourcetheSwitch) do |node|
    5449  node.addApplication("ofstats") do |app|
    5550    app.setProperty('target', property.pathfile)
     
    5954end
    6055
    61   defGroup('Sender1', *theSender) do |node|
     56defGroup('Sender1', property.resourcetheSender) do |node|
    6257    node.addApplication("iperfclient") do |app|
    6358    end
    6459  end
    65   defGroup('Sender2', *theSender) do |node|
     60defGroup('Sender2', property.resourcetheSender) do |node|
    6661    node.addApplication("iperfclient") do |app|
    6762    end
    6863  end
    69   defGroup('Sender3', *theSender) do |node|
     64defGroup('Sender3', property.resourcetheSender) do |node|
    7065    node.addApplication("iperfclient") do |app|
    7166    end
    7267  end
    73   defGroup('Receiver', *theReceiver) do |node|
     68defGroup('Receiver', property.resourcetheReceiver) do |node|
    7469    node.addApplication("iperfserv") do |app|
    7570    end
     
    116111  g.yaxis :legend => 'Average per Flow [bps]', :ticks => {:format => 's'}
    117112end
     113
    118114
    119115}}}