omnetpp.ini 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. [Config advanced]
  2. network = advanced
  3. **.arpType = "GlobalARP"
  4. *.server.numUdpApps = 1
  5. *.server.udpApp[0].typename = "UDPVideoStreamSvr"
  6. *.server.udpApp[*].localPort = 1001
  7. *.server.udpApp[*].packetLen = 1000Byte
  8. *.server.udpApp[*].videoSize = 1MiB
  9. *.server.udpApp[*].sendInterval = 0.1ms
  10. # TODO: explain this
  11. *.visualizer2.networkNodeVisualizerType = ""
  12. *.visualizer2.*.networkNodeVisualizerModule = "visualizer1.networkNodeVisualizer"
  13. *.visualizer1.statisticVisualizer.displayStatistics = true
  14. *.visualizer1.statisticVisualizer.signalName = "passedUpPk"
  15. *.visualizer1.statisticVisualizer.sourceFilter = "**.udp" # TODO: should be **.udp when the '-' problem is fixed
  16. *.visualizer1.statisticVisualizer.format = "UDP packets received: %v"
  17. # TODO: crash if format left on default because of %u
  18. # TODO: when the last value of the statistic is 0, '-' is displayed
  19. *.visualizer2.statisticVisualizer.displayStatistics = true
  20. *.visualizer2.statisticVisualizer.signalName = "rcvdPk"
  21. *.visualizer2.statisticVisualizer.statisticName = "rcvdBytes"
  22. *.visualizer2.statisticVisualizer.unit = "KiB"
  23. *.visualizer2.statisticVisualizer.sourceFilter = "**.tcpApp[*]"
  24. *.visualizer2.statisticVisualizer.format = "TCP data received: %v %u"
  25. *.visualizer*.statisticVisualizer.placementPriority = -1
  26. # in the udp client -> rcvdpk statistic
  27. # in the tcp client -> end-to-end-delay statistic
  28. # in the server as well
  29. # and maybe the server should have the rcvdpk statistic -> should be one, because of the video stream request
  30. # udp should be red and tcp should be blue
  31. # should be more hosts doing things
  32. # maybe even some pings as well
  33. # like one group of hosts streams udp
  34. # another group of hosts tcp
  35. # and some from each group pings sometimes, then again with a different color
  36. # maybe some hosts should talk to each other, not just the server
  37. # more organic network layout
  38. *.server.numTcpApps = 2
  39. *.server.tcpApp[*].typename = "TCPSessionApp"
  40. *.server.tcpApp[0].connectAddress = "10.0.0.27"
  41. *.server.tcpApp[0].connectPort = 1000
  42. *.server.tcpApp[1].connectAddress = "10.0.0.20"
  43. *.server.tcpApp[1].connectPort = 1001
  44. *.server.tcpApp[*].localAddress = "10.0.0.10"
  45. *.server.tcpApp[0].localPort = 1000
  46. *.server.tcpApp[1].localPort = 1001
  47. *.server.tcpApp[*].tOpen = 0s
  48. *.server.tcpApp[*].tSend = 0s
  49. *.server.tcpApp[*].active = true
  50. *.server.tcpApp[*].sendBytes = 1MiB
  51. *.host2.numUdpApps = 1
  52. *.host2.udpApp[0].typename = "UDPVideoStreamCli"
  53. *.host2.udpApp[*].localPort = 1000
  54. *.host2.udpApp[*].serverAddress = "server"
  55. *.host2.udpApp[*].serverPort = 1001
  56. *.host2.udpApp[*].startTime = 0s
  57. *.host4.numUdpApps = 1
  58. *.host4.udpApp[0].typename = "UDPVideoStreamCli"
  59. *.host4.udpApp[*].localPort = 1000
  60. *.host4.udpApp[*].serverAddress = "server"
  61. *.host4.udpApp[*].serverPort = 1001
  62. *.host4.udpApp[*].startTime = 0s
  63. *.visualizer1.networkRouteVisualizer.displayRoutes = true
  64. *.visualizer1.networkRouteVisualizer.packetFilter = "*tcp* or *ACK* or *SYN*"
  65. *.visualizer1.networkRouteVisualizer.lineColor = "blue"
  66. *.visualizer2.networkRouteVisualizer.displayRoutes = true
  67. *.visualizer2.networkRouteVisualizer.packetFilter = "*Video*"
  68. *.visualizer2.networkRouteVisualizer.lineColor = "red"
  69. *.visualizer1.transportConnectionVisualizer.displayTransportConnections = true
  70. *.visualizer1.transportConnectionVisualizer.iconColor = "green, yellow"
  71. # TCP connection to host3?
  72. # so its really useful -> easy to tell different connections apart
  73. #*.host4.numUdpApps = 1
  74. #*.host4.udpApp[0].typename = "UDPVideoStreamCli"
  75. #*.host4.udpApp[*].localPort = 1000
  76. #*.host4.udpApp[*].serverAddress = "server"
  77. #*.host4.udpApp[*].serverPort = 1001
  78. # maybe there should be more connections
  79. # tcp in the upper hosts and udp in the lower...so they are criss-crossing...but easy to identify them
  80. # because they are color coded
  81. *.host5.numTcpApps = 1
  82. *.host5.tcpApp[0].typename = "TCPSinkApp"
  83. *.host5.tcpApp[*].localAddress = "10.0.0.27"
  84. *.host5.tcpApp[*].localPort = 1000
  85. *.host3.numTcpApps = 1
  86. *.host3.tcpApp[0].typename = "TCPSinkApp"
  87. *.host3.tcpApp[*].localAddress = "10.0.0.20"
  88. *.host3.tcpApp[*].localPort = 1001
  89. #*.visualizer1.interfaceTableVisualizer.displayInterfaceTables = true
  90. [Config advanced2]
  91. network = advanced2
  92. description = "trying 3D"
  93. **.arpType = "GlobalARP"
  94. *.visualizer11.osgVisualizerType = "IntegratedOsgVisualizer" # TODO: remove when enabled by default
  95. *.visualizer22.osgVisualizerType = "IntegratedOsgVisualizer" # TODO: remove when enabled by default
  96. *.server.numUdpApps = 1
  97. *.server.udpApp[0].typename = "UDPVideoStreamSvr"
  98. *.server.udpApp[*].localPort = 1001
  99. *.server.udpApp[*].packetLen = 1000Byte
  100. *.server.udpApp[*].videoSize = 1MiB
  101. *.server.udpApp[*].sendInterval = 0.1ms
  102. # TODO: explain this
  103. *.visualizer22.*.networkNodeVisualizerType = ""
  104. *.visualizer22.canvasVisualizer.*.networkNodeVisualizerModule = "visualizer11.canvasVisualizer.networkNodeVisualizer"
  105. *.visualizer22.osgVisualizer.*.networkNodeVisualizerModule = "visualizer11.osgVisualizer.networkNodeVisualizer"
  106. *.visualizer22.*.sceneVisualizerType = ""
  107. *.visualizer11.*.statisticVisualizer.displayStatistics = true
  108. *.visualizer11.*.statisticVisualizer.signalName = "passedUpPk"
  109. *.visualizer11.*.statisticVisualizer.sourceFilter = "**.udp" # TODO: should be **.udp when the '-' problem is fixed
  110. *.visualizer11.*.statisticVisualizer.format = "UDP packets received: %v"
  111. # TODO: crash if format left on default because of %u
  112. # TODO: when the last value of the statistic is 0, '-' is displayed
  113. *.visualizer22.*.statisticVisualizer.displayStatistics = true
  114. *.visualizer22.*.statisticVisualizer.signalName = "rcvdPk"
  115. *.visualizer22.*.statisticVisualizer.statisticName = "rcvdBytes"
  116. *.visualizer22.*.statisticVisualizer.unit = "KiB"
  117. *.visualizer22.*.statisticVisualizer.sourceFilter = "**.tcpApp[*]"
  118. *.visualizer22.*.statisticVisualizer.format = "TCP data received: %v %u"
  119. *.visualizer*.statisticVisualizer.placementPriority = -1
  120. # in the udp client -> rcvdpk statistic
  121. # in the tcp client -> end-to-end-delay statistic
  122. # in the server as well
  123. # and maybe the server should have the rcvdpk statistic -> should be one, because of the video stream request
  124. # udp should be red and tcp should be blue
  125. # should be more hosts doing things
  126. # maybe even some pings as well
  127. # like one group of hosts streams udp
  128. # another group of hosts tcp
  129. # and some from each group pings sometimes, then again with a different color
  130. # maybe some hosts should talk to each other, not just the server
  131. # more organic network layout
  132. *.server.numTcpApps = 2
  133. *.server.tcpApp[*].typename = "TCPSessionApp"
  134. *.server.tcpApp[0].connectAddress = "10.0.0.27"
  135. *.server.tcpApp[0].connectPort = 1000
  136. *.server.tcpApp[1].connectAddress = "10.0.0.20"
  137. *.server.tcpApp[1].connectPort = 1001
  138. *.server.tcpApp[*].localAddress = "10.0.0.10"
  139. *.server.tcpApp[0].localPort = 1000
  140. *.server.tcpApp[1].localPort = 1001
  141. *.server.tcpApp[*].tOpen = 0s
  142. *.server.tcpApp[*].tSend = 0s
  143. *.server.tcpApp[*].active = true
  144. *.server.tcpApp[*].sendBytes = 1MiB
  145. *.host2.numUdpApps = 1
  146. *.host2.udpApp[0].typename = "UDPVideoStreamCli"
  147. *.host2.udpApp[*].localPort = 1000
  148. *.host2.udpApp[*].serverAddress = "server"
  149. *.host2.udpApp[*].serverPort = 1001
  150. *.host2.udpApp[*].startTime = 0s
  151. *.host4.numUdpApps = 1
  152. *.host4.udpApp[0].typename = "UDPVideoStreamCli"
  153. *.host4.udpApp[*].localPort = 1000
  154. *.host4.udpApp[*].serverAddress = "server"
  155. *.host4.udpApp[*].serverPort = 1001
  156. *.host4.udpApp[*].startTime = 0s
  157. *.visualizer11.*.networkRouteVisualizer.displayRoutes = true
  158. *.visualizer11.*.networkRouteVisualizer.packetFilter = "*tcp* or *ACK* or *SYN*"
  159. *.visualizer11.*.networkRouteVisualizer.lineColor = "blue"
  160. *.visualizer22.*.networkRouteVisualizer.displayRoutes = true
  161. *.visualizer22.*.networkRouteVisualizer.packetFilter = "*Video*"
  162. *.visualizer22.*.networkRouteVisualizer.lineColor = "red"
  163. *.visualizer11.*.transportConnectionVisualizer.displayTransportConnections = true
  164. *.visualizer11.*.transportConnectionVisualizer.iconColor = "blue"
  165. # TCP connection to host3?
  166. # so its really useful -> easy to tell different connections apart
  167. #*.host4.numUdpApps = 1
  168. #*.host4.udpApp[0].typename = "UDPVideoStreamCli"
  169. #*.host4.udpApp[*].localPort = 1000
  170. #*.host4.udpApp[*].serverAddress = "server"
  171. #*.host4.udpApp[*].serverPort = 1001
  172. # maybe there should be more connections
  173. # tcp in the upper hosts and udp in the lower...so they are criss-crossing...but easy to identify them
  174. # because they are color coded
  175. *.host5.numTcpApps = 1
  176. *.host5.tcpApp[0].typename = "TCPSinkApp"
  177. *.host5.tcpApp[*].localAddress = "10.0.0.27"
  178. *.host5.tcpApp[*].localPort = 1000
  179. *.host3.numTcpApps = 1
  180. *.host3.tcpApp[0].typename = "TCPSinkApp"
  181. *.host3.tcpApp[*].localAddress = "10.0.0.20"
  182. *.host3.tcpApp[*].localPort = 1001
  183. #*.visualizer1.interfaceTableVisualizer.displayInterfaceTables = true