omnetpp.ini 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [General]
  2. network = DYMONetwork
  3. #record-eventlog = true
  4. # debug-on-errors = true
  5. *.numHosts = 20
  6. num-rngs = 3
  7. **.mobility.rng-0 = 1
  8. **.wlan[*].mac.rng-0 = 2
  9. tkenv-plugin-path = ../../../etc/plugins
  10. # mobility
  11. #**.host[*].mobilityType = "MassMobility"
  12. **.host[*].mobilityType = "StationaryMobility"
  13. **.mobility.constraintAreaMinZ = 0m
  14. **.mobility.constraintAreaMaxZ = 0m
  15. **.mobility.constraintAreaMinX = 0m
  16. **.mobility.constraintAreaMinY = 0m
  17. **.mobility.constraintAreaMaxX = 600m
  18. **.mobility.constraintAreaMaxY = 600m
  19. # ping app (host[0] pinged by others)
  20. *.host[0].numPingApps = 1
  21. *.host[0].pingApp[0].startTime = uniform(1s,5s)
  22. *.host[0].pingApp[0].printPing = true
  23. # nic settings
  24. **.wlan[*].bitrate = 2Mbps
  25. **.wlan[*].mgmt.frameCapacity = 10
  26. **.wlan[*].mac.address = "auto"
  27. **.wlan[*].mac.maxQueueSize = 14
  28. **.wlan[*].mac.rtsThresholdBytes = 3000B
  29. **.wlan[*].mac.retryLimit = 7
  30. **.wlan[*].mac.cwMinData = 7
  31. **.wlan[*].mac.cwMinMulticast = 31
  32. **.wlan[*].radio.transmitter.power = 2mW
  33. [Config IPv4]
  34. description = network layer for IPv4 network protocol only (default)
  35. *.host[0].pingApp[0].destAddr = "host[1](ipv4)"
  36. [Config IPv6]
  37. description = network layer for IPv6 network protocol only
  38. **.networkLayerType = "IPv6NetworkLayer"
  39. **.routingTableType = "IPv6RoutingTable"
  40. **.dymo.networkProtocolModule = "^.networkLayer.ipv6"
  41. *.host[0].pingApp[0].destAddr = "host[1](ipv6)"
  42. [Config Generic]
  43. description = network layer for generic network protocol only
  44. **.networkLayerType = "GenericNetworkLayer"
  45. **.routingTableType = "GenericRoutingTable"
  46. **.dymo.networkProtocolModule = "^.networkLayer.gnp"
  47. *.host[0].pingApp[0].destAddr = "host[1](modulepath)"
  48. [Config AbstractMulti]
  49. description = network layer for multiple network protocols
  50. **.networkLayerType = "MultiNetworkLayer"
  51. **.routingTableType = "MultiRoutingTable"
  52. **.dymoType = "MultiDYMO"
  53. [Config MultiIPv4]
  54. extends = AbstractMulti
  55. *.host[0].pingApp[0].destAddr = "host[1](ipv4)"
  56. [Config MultiIPv6]
  57. extends = AbstractMulti
  58. *.host[0].pingApp[0].destAddr = "host[1](ipv6)"
  59. [Config MultiGeneric]
  60. extends = AbstractMulti
  61. *.host[0].pingApp[0].destAddr = "host[1](modulepath)"
  62. [Config Dynamic]
  63. description = some nodes are shut down and restarted trigger route changes
  64. *.host[*].hasStatus = true
  65. *.host[0].status.initialStatus = "down"
  66. *.scenarioManager.script = xmldoc("scenario.xml")
  67. [Config DynamicIPv4]
  68. extends = Dynamic
  69. *.host[0].pingApp[0].destAddr = "host[1](ipv4)"
  70. [Config DynamicIPv6]
  71. extends = Dynamic
  72. **.networkLayerType = "IPv6NetworkLayer"
  73. **.routingTableType = "IPv6RoutingTable"
  74. **.dymo.networkProtocolModule = "^.networkLayer.ipv6"
  75. *.host[0].pingApp[0].destAddr = "host[1](ipv6)"
  76. [Config DynamicGeneric]
  77. extends = Dynamic
  78. **.networkLayerType = "GenericNetworkLayer"
  79. **.routingTableType = "GenericRoutingTable"
  80. **.dymo.networkProtocolModule = "^.networkLayer.gnp"
  81. *.host[0].pingApp[0].destAddr = "host[1](modulepath)"