~comnets/openwns-systemtest-wimac/systemtest-wimac--main--1.0

« back to all changes in this revision

Viewing changes to configBase/config.py

  • Committer: Maciej Muehleisen
  • Date: 2010-09-15 18:34:35 UTC
  • mfrom: (78 WiMAC-Tests--main--1.2)
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: mue@comnets.rwth-aachen.de-20100915183435-1gsozhhud8e1d1cf
Merged from internal WNS

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    noIPHeader = True #Set to true to set IP header to 0
50
50
    probeWindowSize = 0.01 # Probe per frame
51
51
    scheduler = "RoundRobin" # "PropFair"
 
52
    
 
53
    settlingTime = 0.0
52
54
 
53
55
# General Setup
54
56
WNS = openwns.Simulator(simulationModel = openwns.node.NodeSimulationModel())
78
80
 
79
81
wimac.support.helper.setupPhy(WNS, Config, "LoS_Test")
80
82
 
81
 
# Set the scheduler
 
83
# begin example "wimac.tutorial.experiment2.staticFactory.substrategy.ProportionalFair.config.py"
82
84
wimac.support.helper.setupScheduler(WNS, Config.scheduler)
 
85
# end example
83
86
 
84
87
# Set IP Header to 0 (else it is 20 byte)
85
88
if Config.noIPHeader:
110
113
for node in utNodes + bsNodes:    
111
114
    loggingStationIDs.append(node.dll.stationID)
112
115
 
113
 
wimac.evaluation.default.installDebugEvaluation(WNS, loggingStationIDs, "Moments")
 
116
wimac.evaluation.default.installDebugEvaluation(WNS, loggingStationIDs, Config.settlingTime, "Moments")
114
117
 
115
118
#wimac.evaluation.default.installOverFrameOffsetEvaluation(WNS, 
116
119
#                                                          Config.parametersPhy.symbolsFrame,