close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 7 and Version 8 of WiMAX/TeltonikaOmfDriver


Ignore:
Timestamp:
Mar 15, 2013, 3:38:46 AM (11 years ago)
Author:
ffund01
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WiMAX/TeltonikaOmfDriver

    v7 v8  
    278278class NodeSetPath < MObject
    279279  attr_reader :nodeSet, :path
    280  
     280
    281281  # List of valid 'PATHS' for a NodeSet
    282282  VALID_PATHS_WITH_VALUES = {
     
    289289    "essid=" => %r{net/[ew][01]},
    290290    "ip=" => %r{net/[ewxt][01]},
     291    "dynip=" => %r{net/[t][01]},
    291292    "channel=" => %r{net/[ewt][01]},
    292293    "tx_power=" => %r{net/[ew][01]},
     
    309310    /[ewxt][01]/ => /net/
    310311  }
     312
    311313}}}
    312314
     
    327329
    328330== Usage: Sample Scripts ==
    329 === With Dynamic Addressing ===
    330 
    331 {{{
    332 defProperty('runtime',20,"Time in second for the experiment is to run")
    333 defProperty('client',"128.238.66.220","IP address of iperf server")
    334 defProperty('interval', 1, "Interval of Iperf measurements")
    335 defProperty('sender', 'omf.witest.node10', "ID of sender node")
    336  
    337 defGroup('Group', property.sender) do |node|
    338   node.net.t0.channel = "2595000,10"
    339   node.net.t0.mtu=1470
    340   node.addApplication("test:app:iperf") do |app|
    341     app.setProperty('client', property.client)
    342     app.setProperty('interval', property.interval)
    343     app.setProperty('time', property.runtime)
    344     app.measure('TCP_Info', :samples =>1)
    345   end
    346 end
    347  
    348 onEvent(:ALL_UP_AND_INSTALLED) do |event|
    349   wait 50
    350   info "This is an iperf  experiment using a teltonika modem"
    351   allGroups.startApplications
    352   wait property.runtime
    353   wait 2
    354   allGroups.stopApplications
    355   wait 2
    356   Experiment.done
    357 end
    358 }}}
    359 
    360331
    361332=== With Static Addressing ===