omnetpp.ini 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. [General]
  2. *.visualizer.osgVisualizerType = "IntegratedOsgVisualizer" # TODO: remove when enabled by default
  3. ######################################################################################################
  4. [Config Visualization01]
  5. description = Enabling Visualization
  6. network = VisualizationA
  7. ######################################################################################################
  8. [Config Visualization02]
  9. description = Showing Boston Downtown
  10. network = VisualizationB
  11. # PARAMETERS
  12. # adding coordinate system
  13. *.coordinateSystem.playgroundLongitude = -71.070421deg
  14. *.coordinateSystem.playgroundLatitude = 42.357824deg
  15. *.coordinateSystem.playgroundAltitude = 0.5m
  16. *.coordinateSystem.playgroundHeading = 68.3deg
  17. # VISUALIZER
  18. # showing the map
  19. *.visualizer.osgVisualizer.sceneVisualizerType = "SceneOsgEarthVisualizer"
  20. *.visualizer.osgVisualizer.sceneVisualizer.mapFile = "boston.earth"
  21. ######################################################################################################
  22. [Config Visualization03]
  23. extends = Visualization02
  24. description = Showing the Playground
  25. network = VisualizationC
  26. # VISUALIZER
  27. # showing axis
  28. *.visualizer.osgVisualizer.sceneVisualizer.axisLength = 100m
  29. # customizing the playground on the map
  30. *.visualizer.osgVisualizer.sceneVisualizer.playgroundShading = false
  31. *.visualizer.osgVisualizer.sceneVisualizer.playgroundColor = "#000000"
  32. *.visualizer.osgVisualizer.sceneVisualizer.playgroundOpacity = 0.08
  33. ######################################################################################################
  34. [Config Visualization04] # Adding static 3D objects to the scene (WIP)
  35. extends = Visualization03
  36. description = Adding Static 3D Objects to the Scene (WIP)
  37. ######################################################################################################
  38. [Config Visualization05]
  39. extends = Visualization04
  40. description = Displaying Communication & Interference Range
  41. network = VisualizationD
  42. # PARAMETERS
  43. **.wlan[*].radio.transmitter.power = 1mW
  44. # VISUALIZER
  45. # displaying communication and interference ranges
  46. *.visualizer.*.mediumVisualizer.displayCommunicationRanges = true
  47. *.visualizer.*.mediumVisualizer.displayInterferenceRanges = true
  48. ######################################################################################################
  49. [Config Visualization06]
  50. extends = Visualization05
  51. description = Using 3D Models for Network Nodes
  52. # PARAMETERS
  53. # VISUALIZER
  54. # replacing cellphone icons with boxman models
  55. *.pedestrian0.osgModel = "boxman.osgb.(0.05).scale"
  56. *.pedestrian1.osgModel = "boxman.osgb.(0.05).scale"
  57. #*.pedestrian0.osgModelColor = "brown"
  58. #*.pedestrian1.osgModelColor = "red"
  59. ######################################################################################################
  60. [Config Visualization07]
  61. extends = Visualization06
  62. description = Displaying Recent Movement
  63. # PARAMETERS
  64. # common mobility setting
  65. *.**.mobility.initFromDisplayString = false
  66. *.pedestrian*.mobilityType = "MassMobility"
  67. *.pedestrian*.mobility.initialZ = 0.5m
  68. *.pedestrian*.mobility.constraintAreaMinZ = 0m
  69. *.pedestrian*.mobility.constraintAreaMaxZ = 1m
  70. *.pedestrian*.mobility.changeInterval = 0.5s
  71. *.pedestrian*.mobility.changeAngleBy = uniform(-10deg, 10deg)
  72. *.pedestrian*.mobility.speed = 1.3mps
  73. # pedestrian0 mobility
  74. *.pedestrian0.mobility.initialX = 395m
  75. *.pedestrian0.mobility.initialY = 65m
  76. *.pedestrian0.mobility.constraintAreaMinX = 390m
  77. *.pedestrian0.mobility.constraintAreaMinY = 63m
  78. *.pedestrian0.mobility.constraintAreaMaxX = 440m
  79. *.pedestrian0.mobility.constraintAreaMaxY = 230m
  80. # pedestrian1 mobility
  81. *.pedestrian1.mobility.initialX = 600m
  82. *.pedestrian1.mobility.initialY = 90m
  83. *.pedestrian1.mobility.constraintAreaMinX = 555m
  84. *.pedestrian1.mobility.constraintAreaMinY = 90m
  85. *.pedestrian1.mobility.constraintAreaMaxX = 605m
  86. *.pedestrian1.mobility.constraintAreaMaxY = 230m
  87. # accessPoint0 mobility
  88. *.accessPoint*.mobilityType = "StationaryMobility"
  89. *.accessPoint*.mobility.coordinateSystemModule = "coordinateSystem"
  90. *.accessPoint0.mobility.initialLatitude = 42.3542933deg
  91. *.accessPoint0.mobility.initialLongitude = -71.0663985deg
  92. *.accessPoint*.mobility.initialAltitude = 0.5m
  93. # VISUALIZER
  94. # displaying movements
  95. *.visualizer.*.mobilityVisualizer.displayVelocities = true
  96. #*.visualizer.*.mobilityVisualizer.velocityLineWidth = 3
  97. *.visualizer.*.mobilityVisualizer.velocityArrowScale = 20
  98. *.visualizer.*.mobilityVisualizer.displayMovementTrails = true
  99. #*.visualizer.*.mobilityVisualizer.movementTrailLineWidth = 3
  100. *.visualizer.*.mobilityVisualizer.displayOrientations = true
  101. #*.visualizer.*.mobilityVisualizer.orientationArcSize = 0.25
  102. #*.visualizer.*.mobilityVisualizer.orientationLineColor = "black"
  103. #*.visualizer.*.mobilityVisualizer.orientationLineWidth = 3
  104. ######################################################################################################
  105. [Config Visualization08]
  106. extends = Visualization07
  107. description = Showing IP Addresses
  108. # PARAMETERS
  109. # VISUALIZER
  110. # turning off visualizing velocity and orientation
  111. *.visualizer.*.mobilityVisualizer.displayVelocities = false
  112. *.visualizer.*.mobilityVisualizer.displayOrientations = false
  113. # showing pedestrians' wlan ip addresses
  114. *.visualizer.*.interfaceTableVisualizer.displayInterfaceTables = true
  115. *.visualizer.*.interfaceTableVisualizer.nodeFilter = "pedestrian*"
  116. *.visualizer.*.interfaceTableVisualizer.interfaceFilter = "wlan*"
  117. *.visualizer.*.interfaceTableVisualizer.backgroundColor = "yellow"
  118. *.visualizer.*.interfaceTableVisualizer.textColor = "black"
  119. # showing mac address
  120. #*.visualizer.*.interfaceTableVisualizer.nodeFilter = "**" # and comment the nodeFilter before this
  121. #*.visualizer.*.interfaceTableVisualizer.format = "%N %\\%m"
  122. ######################################################################################################
  123. [Config Visualization09]
  124. extends = Visualization08
  125. description = Showing Wifi Association
  126. # PARAMETERS
  127. # VISUALIZER
  128. # showing wifi association
  129. *.visualizer.*.ieee80211Visualizer.displayAssociations = true
  130. *.visualizer.*.ieee80211Visualizer.placementHint = "topCenter"
  131. ######################################################################################################
  132. [Config Visualization10]
  133. extends = Visualization09
  134. description = Displaying Transmissions & Receptions
  135. # PARAMETERS
  136. # VoIP application
  137. *.pedestrian0.numUdpApps = 1
  138. *.pedestrian1.numUdpApps = 1
  139. # VoIP sender settings
  140. *.pedestrian0.udpApp[0].typename = "SimpleVoIPSender"
  141. *.pedestrian0.udpApp[0].destAddress = "pedestrian1"
  142. *.pedestrian0.udpApp[0].localPort = 5000
  143. *.pedestrian0.udpApp[0].destPort = 5000
  144. # VoIP receiver settings
  145. *.pedestrian1.udpApp[0].typename = "SimpleVoIPReceiver"
  146. *.pedestrian1.udpApp[0].localPort = 5000
  147. *.pedestrian1.udpApp[0].adaptivePlayoutDelay = true
  148. # VISUALIZER
  149. # displaying transmissions & receptions
  150. *.visualizer.*.mediumVisualizer.displayTransmissions = true
  151. *.visualizer.*.mediumVisualizer.transmissionPlacementPriority = 10
  152. *.visualizer.*.mediumVisualizer.displayReceptions = true
  153. *.visualizer.*.mediumVisualizer.receptionPlacementPriority = 10
  154. # 3D view: animated icons added
  155. *.visualizer.osgVisualizer.mediumVisualizer.transmissionImage = "misc/transmission_anim.gif"
  156. *.visualizer.osgVisualizer.mediumVisualizer.receptionImage = "misc/reception_anim.gif"
  157. ######################################################################################################
  158. [Config Visualization11]
  159. extends = Visualization10
  160. description = Showing Propagating Signals
  161. # PARAMETERS
  162. # VISUALIZER
  163. # showing movements
  164. #*.visualizer.*.mobilityVisualizer.displayVelocities = false
  165. #*.visualizer.*.mobilityVisualizer.displayOrientations = false
  166. # showing propagating signals
  167. *.visualizer.*.mediumVisualizer.displaySignals = true
  168. #*.visualizer.osgVisualizer.mediumVisualizer.signalShape = "ring"
  169. #*.visualizer.osgVisualizer.mediumVisualizer.signalShape = "sphere"
  170. *.visualizer.osgVisualizer.mediumVisualizer.signalShape = "both"
  171. ######################################################################################################
  172. [Config Visualization12]
  173. extends = Visualization11
  174. description = Showing Physical Link Activity
  175. # PARAMETERS
  176. # VISUALIZER
  177. # turning off transmissions and receptions
  178. *.visualizer.*.mediumVisualizer.displayTransmissions = false
  179. *.visualizer.*.mediumVisualizer.displayReceptions = false
  180. # displaying physical links
  181. *.visualizer.*.physicalLinkVisualizer.displayLinks = true
  182. *.visualizer.*.physicalLinkVisualizer.packetFilter = "*VoIP*"
  183. *.visualizer.*.physicalLinkVisualizer.fadeOutTime = 20s
  184. *.visualizer.*.physicalLinkVisualizer.lineColor = "purple"
  185. *.visualizer.*.physicalLinkVisualizer.labelColor = "purple"
  186. ######################################################################################################
  187. [Config Visualization13]
  188. extends = Visualization12
  189. description = Showing Data Link Activity
  190. # PARAMETERS
  191. # VISUALIZER
  192. # turning off physical link activity
  193. *.visualizer.*.physicalLinkVisualizer.displayLinks = false
  194. # Showing VoIP Data Link Activity
  195. *.visualizer.*.dataLinkVisualizer.displayLinks = true
  196. *.visualizer.*.dataLinkVisualizer.packetFilter = "*VoIP*"
  197. *.visualizer.*.dataLinkVisualizer.fadeOutTime = 20s
  198. *.visualizer.*.dataLinkVisualizer.lineColor = "orange"
  199. *.visualizer.*.dataLinkVisualizer.labelColor = "orange"
  200. ######################################################################################################
  201. [Config Visualization14]
  202. extends = Visualization13
  203. description = Displaying End-to-End Delay Statistics
  204. # PARAMETERS
  205. # VISUALIZER
  206. # display end-to-end delay statistic
  207. *.visualizer.*.statisticVisualizer.signalName = "VoIPPacketDelay"
  208. *.visualizer.*.statisticVisualizer.statisticName = "endToEndDelay"
  209. *.visualizer.*.statisticVisualizer.sourceFilter = "*.pedestrian1.udpApp[0]"
  210. *.visualizer.*.statisticVisualizer.unit = "ms"
  211. *.visualizer.*.statisticVisualizer.textColor = "blue"
  212. *.visualizer.*.statisticVisualizer.backgroundColor = "grey"
  213. ######################################################################################################
  214. [Config Visualization15]
  215. extends = Visualization14
  216. description = Showing Routing Tables
  217. network = VisualizationE
  218. # PARAMETERS
  219. # initialize pedestrianVideo position
  220. *.pedestrianVideo.mobilityType = "StationaryMobility"
  221. *.pedestrianVideo.mobility.initialX = 468m
  222. *.pedestrianVideo.mobility.initialY = 130m
  223. # router0 mobility settings
  224. *.router*.mobilityType = "StationaryMobility"
  225. *.router*.mobility.coordinateSystemModule = "coordinateSystem"
  226. *.router0.mobility.initialLatitude = 42.35433deg
  227. *.router0.mobility.initialLongitude = -71.06550deg
  228. *.router*.mobility.initialAltitude = 0.5m
  229. #videoStreamServer mobility settings
  230. *.videoStreamServer.mobilityType = "StationaryMobility"
  231. *.videoStreamServer.mobility.coordinateSystemModule = "coordinateSystem"
  232. *.videoStreamServer.mobility.initialLatitude = 42.3554005deg
  233. *.videoStreamServer.mobility.initialLongitude = -71.0637636deg
  234. *.videoStreamServer.mobility.initialAltitude = 0.5m
  235. # videoStreamServer application settings
  236. *.videoStreamServer.numUdpApps = 1
  237. *.videoStreamServer.udpApp[0].typename = "UDPVideoStreamSvr"
  238. *.videoStreamServer.udpApp[0].localPort = 4000
  239. *.videoStreamServer.udpApp[0].sendInterval = exponential(5ms)
  240. *.videoStreamServer.udpApp[0].packetLen = 1000B
  241. *.videoStreamServer.udpApp[0].videoSize = 50000000B
  242. # pedestrianVideo wlan settings
  243. *.pedestrianVideo.wlan[*].radio.transmitter.power = 0.7mW
  244. # client (pedestrianVideo) video application settings
  245. *.pedestrianVideo.numUdpApps = 1
  246. *.pedestrianVideo.udpApp[0].typename = "UDPVideoStreamCli"
  247. *.pedestrianVideo.udpApp[0].localPort = 4000
  248. *.pedestrianVideo.udpApp[0].serverAddress = "videoStreamServer"
  249. *.pedestrianVideo.udpApp[0].serverPort = 4000
  250. # can be changed or can be omitted
  251. *.pedestrianVideo.udpApp[0].startTime = 5s
  252. # VISUALIZER VoIP: 1s-31s, video: 5s-
  253. # turning off communication and interface ranges
  254. *.visualizer.*.mediumVisualizer.displayCommunicationRanges = false
  255. *.visualizer.*.mediumVisualizer.displayInterferenceRanges = false
  256. # showing routing table entries towards videoStreamServer
  257. *.visualizer.*.routingTableVisualizer.displayRoutingTables = true
  258. *.visualizer.*.routingTableVisualizer.destinationFilter = "videoStreamServer"
  259. ######################################################################################################
  260. [Config Visualization16]
  261. extends = Visualization15
  262. description = Displaying 802.11 Channel Access State
  263. # PARAMETERS
  264. # VISUALIZER
  265. # Turning off Routing Table
  266. *.visualizer.*.routingTableVisualizer.displayRoutingTables = false
  267. # Info Visualizer Parameters: Showing Channel Access State
  268. *.visualizer.*.infoVisualizer.modules = "*.*.wlan[0].mac.dcf.channelAccess.contention"
  269. *.visualizer.*.infoVisualizer.format = "%d"
  270. *.visualizer.*.infoVisualizer.placementHint = "topCenter"
  271. ######################################################################################################
  272. [Config Visualization17] # Showing active network routes
  273. extends = Visualization16
  274. description = Showing Network Path Activity
  275. network = VisualizationF
  276. # PARAMETERS
  277. # Configuring IPv4 Addresses Manually
  278. *.configurator.config = xmldoc("configurationF.xml")
  279. # Configuring RIP
  280. *.router*.hasRIP = true
  281. *.configurator.optimizeRoutes = false
  282. # accessPoint1
  283. *.accessPoint1.mobility.initialLatitude = 42.35324deg
  284. *.accessPoint1.mobility.initialLongitude = -71.06530deg
  285. # router1 mobility
  286. *.router1.mobility.initialLatitude = 42.35351deg
  287. *.router1.mobility.initialLongitude = -71.06486deg
  288. # pedestrian1 Mobility Settings: Has been changed, because we placed a new access point
  289. *.pedestrian1.mobility.initialX = 615m
  290. *.pedestrian1.mobility.initialY = 115m
  291. *.pedestrian1.mobility.constraintAreaMinX = 590m
  292. *.pedestrian1.mobility.constraintAreaMinY = 110m
  293. *.pedestrian1.mobility.constraintAreaMaxX = 620m
  294. *.pedestrian1.mobility.constraintAreaMaxY = 230m
  295. # router0 dhcp
  296. *.router0.hasDHCP = true
  297. *.router0.dhcp.interface = "eth0"
  298. *.router0.dhcp.maxNumClients = 10
  299. *.router0.dhcp.numReservedAddresses = 11
  300. *.router0.dhcp.gateway = "192.168.0.1"
  301. *.router0.dhcp.leaseTime = 3600s
  302. #router1 dhcp
  303. *.router1.hasDHCP = true
  304. *.router1.dhcp.interface = "eth0"
  305. *.router1.dhcp.maxNumClients = 10
  306. *.router1.dhcp.numReservedAddresses = 11
  307. *.router1.dhcp.gateway = "192.168.1.1"
  308. *.router1.dhcp.leaseTime = 3600s
  309. # modify VoIP start time because of the dhcp
  310. *.pedestrian*.numUdpApps = 2
  311. *.pedestrian*.udpApp[1].typename = DHCPClient
  312. *.pedestrian0.udpApp[0].startTime = 10s
  313. *.pedestrian0.udpApp[0].stopTime = 40s
  314. # accesspoint & pedestrians wifi
  315. *.*.wlan[*].mgmt.numChannels = 2
  316. *.accessPoint0.wlan[0].mgmt.ssid = "inetwifi0"
  317. *.accessPoint0.wlan[*].radio.channelNumber = 0
  318. *.accessPoint1.wlan[0].mgmt.ssid = "inetwifi1"
  319. *.accessPoint1.wlan[*].radio.channelNumber = 1
  320. *.pedestrian0.wlan[0].agent.default_ssid = "inetwifi0"
  321. *.pedestrianVideo.wlan[0].agent.default_ssid = "inetwifi0"
  322. *.pedestrian1.wlan[0].agent.default_ssid = "inetwifi1"
  323. # VISUALIZER voip: 10-40, video: 5-
  324. # turn off channel access state
  325. *.visualizer.*.infoVisualizer.displayInfos = false
  326. # Showing pedestrians' Wlan IP Addresses
  327. *.visualizer.*.interfaceTableVisualizer.nodeFilter = "**"
  328. *.visualizer.*.interfaceTableVisualizer.interfaceFilter = "wlan*"
  329. # Showing VoIP Data Link Activity
  330. *.visualizer.*.dataLinkVisualizer.displayLinks = true
  331. # Showing Video Stream Network Path Activity
  332. *.visualizer.*.networkRouteVisualizer.displayRoutes = true
  333. *.visualizer.*.networkRouteVisualizer.packetFilter = "VideoStrmPk"
  334. *.visualizer.*.networkRouteVisualizer.lineColor = "Green"
  335. *.visualizer.*.networkRouteVisualizer.fadeOutTime = 5s
  336. ######################################################################################################
  337. [Config Visualization18] # Displaying physical environment
  338. extends = Visualization17
  339. description = Displaying Physical Environment
  340. network = VisualizationG
  341. # PARAMETERS
  342. # Physical Environment
  343. *.physicalEnvironment.coordinateSystemModule = "coordinateSystem"
  344. *.physicalEnvironment.spaceMinX = 0m
  345. *.physicalEnvironment.spaceMinY = 0m
  346. *.physicalEnvironment.spaceMinZ = 0m
  347. *.physicalEnvironment.spaceMaxX = 700m
  348. *.physicalEnvironment.spaceMaxY = 700m
  349. *.physicalEnvironment.spaceMaxZ = 100m
  350. *.physicalEnvironment.config = xmldoc("obstacle.xml")
  351. # radio medium parameters
  352. *.radioMedium.obstacleLossType = "DielectricObstacleLoss"
  353. # VISUALIZER
  354. # Showing Propagating Signals
  355. *.visualizer.*.mediumVisualizer.displaySignals = false
  356. ######################################################################################################
  357. [Config Visualization19] # Displaying obstacle loss
  358. extends = Visualization18
  359. description = Displaying Obstacle Loss
  360. # PARAMETERS
  361. # VISUALIZER
  362. # Displaying Obstacle Loss
  363. *.visualizer.*.obstacleLossVisualizer.displayIntersections = true
  364. *.visualizer.*.obstacleLossVisualizer.displayFaceNormalVectors = true
  365. *.visualizer.*.obstacleLossVisualizer.intersectionLineWidth = 2
  366. *.visualizer.*.obstacleLossVisualizer.faceNormalLineWidth = 2
  367. *.visualizer.*.obstacleLossVisualizer.fadeOutMode = "simulationTime"
  368. *.visualizer.*.obstacleLossVisualizer.fadeOutTime = 0.05s
  369. ######################################################################################################
  370. [Config Visualization20] # Showing packet drops
  371. extends = Visualization19
  372. description = Showing Packet Drops
  373. network = VisualizationH
  374. # PARAMETERS
  375. # Updating IPv4 Addresses
  376. *.configurator.config = xmldoc("configurationH.xml")
  377. # Car Appearance
  378. *.car.osgModel = "car.osgb.20.scale.0,0,180.rot"
  379. *.car.osgModelColor = "green"
  380. *.visualizer.*.obstacleLossVisualizer.displayIntersections = false
  381. *.visualizer.*.obstacleLossVisualizer.displayFaceNormalVectors = false
  382. # car mobility parameters
  383. *.car.mobilityType = "VehicleMobility"
  384. *.car.mobility.coordinateSystemModule = "coordinateSystem"
  385. *.car.mobility.updateInterval = 100ms
  386. *.car.mobility.waypointFile = "waypoint1.txt"
  387. *.car.mobility.waypointProximity = 4m
  388. *.car.mobility.speed = 12mps
  389. # car video stream settings
  390. *.car.numUdpApps = 3
  391. *.car.udpApp[0].typename = "DHCPClient"
  392. *.car.udpApp[1].typename = "UDPVideoStreamCli"
  393. *.car.udpApp[1].localPort = 4000
  394. *.car.udpApp[1].serverAddress = "videoStreamServer"
  395. *.car.udpApp[1].serverPort = 4000
  396. *.car.udpApp[1].startTime = 12s
  397. *.car.udpApp[2].typename = "UDPVideoStreamCli"
  398. *.car.udpApp[2].localPort = 3000
  399. *.car.udpApp[2].serverAddress = "videoStreamServer"
  400. *.car.udpApp[2].serverPort = 3000
  401. *.car.udpApp[2].startTime = 18s
  402. *.car.wlan[*].agent.default_ssid = ""
  403. # Modifying pedestrianVideo Video Stream Application
  404. *.pedestrianVideo.udpApp[0].startTime = 9s
  405. # videoStreamServer Application
  406. *.videoStreamServer.numUdpApps = 2
  407. *.videoStreamServer.udpApp[1].typename = "UDPVideoStreamSvr"
  408. *.videoStreamServer.udpApp[1].localPort = 3000
  409. *.videoStreamServer.udpApp[1].sendInterval = exponential(5ms)
  410. *.videoStreamServer.udpApp[1].packetLen = 1000B
  411. *.videoStreamServer.udpApp[1].videoSize = 500000B
  412. # accessPoint2 Mobility & Wlan
  413. *.accessPoint2.mobility.initialLatitude = 42.35606deg
  414. *.accessPoint2.mobility.initialLongitude = -71.06935deg
  415. *.accessPoint2.wlan[*].radio.transmitter.power = 1mW
  416. *.*.wlan[*].mgmt.numChannels = 4
  417. *.accessPoint2.wlan[0].mgmt.ssid = "inetwifi2"
  418. *.accessPoint2.wlan[*].radio.channelNumber = 2
  419. # accessPoint3 Mobility & Wlan
  420. *.accessPoint3.mobility.initialLatitude = 42.357007deg
  421. *.accessPoint3.mobility.initialLongitude = -71.0657737deg
  422. *.accessPoint3.wlan[*].radio.transmitter.power = 1mW
  423. *.accessPoint3.wlan[0].mgmt.ssid = "inetwifi3"
  424. *.accessPoint3.wlan[*].radio.channelNumber = 3
  425. # router2 mobility
  426. *.router2.mobility.initialLatitude = 42.3554667deg
  427. *.router2.mobility.initialLongitude = -71.0664122deg
  428. # router3 mobility
  429. *.router3.mobility.initialLatitude = 42.3558974deg
  430. *.router3.mobility.initialLongitude = -71.065796deg
  431. # router2 dhcp
  432. *.router2.hasDHCP = true
  433. *.router2.dhcp.interface = "eth0"
  434. #*.router2.dhcp.ipAddressStart = "192.168.2.11"
  435. #*.router2.dhcp.subnetMask = "255.255.255.0"
  436. *.router2.dhcp.maxNumClients = 10
  437. *.router2.dhcp.numReservedAddresses = 10
  438. *.router2.dhcp.gateway = "192.168.2.1"
  439. #*.router2.dhcp.dns = "192.168.2.1"
  440. *.router2.dhcp.leaseTime = 3600s
  441. # router3 dhcp
  442. *.router3.hasDHCP = true
  443. *.router3.dhcp.interface = "eth0"
  444. #*.router3.dhcp.ipAddressStart = "192.168.3.11"
  445. #*.router3.dhcp.subnetMask = "255.255.255.0"
  446. *.router3.dhcp.maxNumClients = 10
  447. *.router3.dhcp.numReservedAddresses = 10
  448. *.router3.dhcp.gateway = "192.168.3.1"
  449. #*.router3.dhcp.dns = "192.168.3.1"
  450. *.router3.dhcp.leaseTime = 3600s
  451. # tcp hosts mobility settings
  452. *.tcpHost[*].mobilityType = "StationaryMobility"
  453. *.tcpHost[*].mobility.coordinateSystemModule = "coordinateSystem"
  454. *.tcpHost[*].mobility.initialAltitude = 0.5m
  455. *.tcpHost[0].mobility.initialLatitude = 42.35552deg
  456. *.tcpHost[0].mobility.initialLongitude = -71.06399deg
  457. *.tcpHost[1].mobility.initialLatitude = 42.35332deg
  458. *.tcpHost[1].mobility.initialLongitude = -71.06455deg
  459. # VISUALIZER voip: 10-40, videoped: 9-, videocar0: 12-, videocar1: 18-
  460. # modify network route fade out
  461. *.visualizer.*.networkRouteVisualizer.fadeOuteMode = "simulationTime"
  462. *.visualizer.*.networkRouteVisualizer.fadeOutTime = 5ms
  463. # visualizer parameters
  464. *.visualizer.*.packetDropVisualizer.displayPacketDrops = true
  465. *.visualizer.*.packetDropVisualizer.iconTintColor = "red"
  466. *.visualizer.*.packetDropVisualizer.iconTintAmount = 1
  467. ######################################################################################################
  468. [Config Visualization21] # Displaying transport connections
  469. extends = Visualization20
  470. description = Displaying Transport Connections
  471. # PARAMETERS
  472. **.tcpHost[*].numTcpApps = 1
  473. **.tcpHost[0].tcpApp[0].typename = "TCPSessionApp"
  474. **.tcpHost[0].tcpApp[0].connectAddress = "tcpHost[1]"
  475. **.tcpHost[1].tcpApp[0].typename = "TCPSinkApp"
  476. # VISUALIZER
  477. # show VoIP data links
  478. *.visualizer.*.dataLinkVisualizer.packetFilter = "*tcp*"
  479. *.visualizer.*.dataLinkVisualizer.lineColor = "blue"
  480. # transport connection visualizer
  481. *.visualizer.*.transportConnectionVisualizer.displayTransportConnections = true
  482. ######################################################################################################
  483. [Config Visualization22] # Showing link breaks
  484. extends = Visualization21
  485. description = Showing Link Breaks
  486. # PARAMETERS
  487. # Turning off TCP App
  488. **.tcpHost[0].tcpApp[0].active = false
  489. # VISUALIZER
  490. #*.visualizer.*.mediumVisualizer.displayCommunicationRanges = true
  491. *.visualizer.*.packetDropVisualizer.displayPacketDrops = false
  492. # Showing VoIP Data Link Activity
  493. *.visualizer.*.dataLinkVisualizer.packetFilter = "*VoIP*"
  494. *.visualizer.*.dataLinkVisualizer.lineColor = "orange"
  495. # Link Break Visualizer Parameters
  496. *.visualizer.*.linkBreakVisualizer.displayLinkBreaks = true
  497. *.visualizer.*.linkBreakVisualizer.fadeOutTime = 5s
  498. ######################################################################################################
  499. [Config Visualization23] # Visualizing handovers
  500. extends = Visualization22
  501. description = Visualizing handovers
  502. # PARAMETERS
  503. # VISUALIZER
  504. ######################################################################################################
  505. [Config Visualization24] # Displaying changing routes
  506. extends = Visualization23
  507. description = Displaying changing routes
  508. # PARAMETERS
  509. # VISUALIZER
  510. ######################################################################################################
  511. [Config Visualization25]
  512. extends = Visualization24
  513. description = Summary
  514. # PARAMETERS
  515. # turn off tcp app
  516. **.tcpHost[0].tcpApp[0].active = true
  517. **.tcpHost[0].tcpApp[0].tClose = 0.03s
  518. # VISUALIZER
  519. # display communication and interface ranges
  520. *.visualizer.*.mediumVisualizer.displayCommunicationRanges = true
  521. *.visualizer.*.mediumVisualizer.displayInterferenceRanges = true
  522. # show movements
  523. *.visualizer.*.mobilityVisualizer.displayVelocity = true
  524. *.visualizer.*.mobilityVisualizer.velocityLineWidth = 2
  525. # show propagating signals
  526. *.visualizer.*.mediumVisualizer.displaySignals = true
  527. *.visualizer.*.mediumVisualizer.signalPropagationUpdateInterval = 50ns
  528. #*.visualizer.osgVisualizer.mediumVisualizer.signalShape = "ring"
  529. #*.visualizer.osgVisualizer.mediumVisualizer.signalShape = "sphere"
  530. *.visualizer.osgVisualizer.mediumVisualizer.signalShape = "both"
  531. # display physical links
  532. *.visualizer.*.physicalLinkVisualizer.packetFilter = "Beacon"
  533. *.visualizer.*.physicalLinkVisualizer.lineColor = "purple"
  534. *.visualizer.*.physicalLinkVisualizer.lineStyle = "solid"
  535. *.visualizer.*.physicalLinkVisualizer.lineWidth = 4
  536. *.visualizer.*.physicalLinkVisualizer.fadeOutMode = "simulationTime"
  537. *.visualizer.*.physicalLinkVisualizer.fadeOutHalfLife = 15ms
  538. # obstacle loss visualizer: shows obstacle loss
  539. *.visualizer.*.obstacleLossVisualizer.displayIntersectionTrail = true
  540. *.visualizer.*.obstacleLossVisualizer.displayFaceNormalVectorTrail = true