omnetpp.ini 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # ----------------------------------------------------------------------------
  2. #
  3. # HttpTools Project
  4. #
  5. # This file is a part of the HttpTools project. The project was created at
  6. # Reykjavik University, the Laboratory for Dependable Secure Systems (LDSS).
  7. # Its purpose is to create a set of OMNeT++ components to simulate browsing
  8. # behaviour in a high-fidelity manner along with a highly configurable
  9. # Web server component.
  10. #
  11. # Maintainer: Kristjan V. Jonsson (LDSS) kristjanvj@gmail.com
  12. # Project home page: code.google.com/p/omnet-httptools
  13. #
  14. # ----------------------------------------------------------------------------
  15. #
  16. # This program is free software; you can redistribute it and/or
  17. # modify it under the terms of the GNU General Public License version 3
  18. # as published by the Free Software Foundation.
  19. #
  20. # This program is distributed in the hope that it will be useful,
  21. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. # GNU General Public License for more details.
  24. #
  25. # You should have received a copy of the GNU General Public License
  26. # along with this program; if not, write to the Free Software
  27. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  28. #
  29. # ----------------------------------------------------------------------------
  30. #
  31. # Ini file for the 10-servers test scenario.
  32. #
  33. [General]
  34. network = Http10Servers
  35. cmdenv-express-mode = true
  36. tkenv-plugin-path = ../../../../etc/plugins
  37. # tkenv-default-run = 1
  38. # Controller
  39. **.controller.events = ""
  40. **.controller.eventsSection = ""
  41. # Common client/server parameters
  42. **.numTcpApps = 1
  43. **.tcpApp[0].httpProtocol = 11
  44. # udp app (off)
  45. **.numUdpApps = 0
  46. # Servers
  47. **.server*.tcpApp[0].typename="HttpServer"
  48. **.server*.tcpApp[0].hostName=""
  49. **.server*.tcpApp[0].port=80
  50. **.server*.tcpApp[0].logFile=""
  51. **.server*.tcpApp[0].siteDefinition=""
  52. **.server*.tcpApp[0].config=xmldoc("../../server_cfg.xml","//server-profile[@id='normal']")
  53. **.server*.tcpApp[0].activationTime=0.0
  54. # Clients
  55. **.client[*].tcpApp[0].typename="HttpBrowser"
  56. **.client[*].tcpApp[0].hostName="" # Not applicable
  57. **.client[*].tcpApp[0].port=-1
  58. **.client[*].tcpApp[0].logFile=""
  59. **.client[*].tcpApp[0].scriptFile="" # Free running
  60. **.client[*].tcpApp[0].config=xmldoc("../../browser_cfg.xml","//user-profile[@id='normal']")
  61. **.client[*].tcpApp[0].activationTime=0.0
  62. #
  63. # TCP stuff starts here
  64. #
  65. # tcp settings
  66. **.tcp.mss = 1024
  67. **.tcp.advertisedWindow = 14336 # 14*mss
  68. **.tcp.tcpAlgorithmClass = "TCPReno"
  69. **.tcp.recordStats = true
  70. # ip settings
  71. **.ip.procDelay = 10000us
  72. **.forwarding = false
  73. # ARP configuration
  74. **.arp.retryTimeout = 1s
  75. **.arp.retryCount = 3
  76. **.arp.cacheTimeout = 100s
  77. **.networkLayer.proxyARP = true # Host's is hardwired "false"
  78. # NIC configuration
  79. **.ppp[*].queueType = "DropTailQueue" # in routers
  80. **.ppp[*].queue.frameCapacity = 10 # in routers
  81. # hook names
  82. **.qosBehaviorClass = "EnqueueWithoutQoS"
  83. # nam trace
  84. **.nam.logfile = "trace.nam"
  85. **.nam.prolog = ""
  86. **.namid = -1 # auto
  87. [Config uniform]
  88. **.controller.config = xmldoc("10servers_controller_cfg.xml","//controller-profile[@id='uniform']")
  89. [Config histogram]
  90. **.controller.config = xmldoc("10servers_controller_cfg.xml","//controller-profile[@id='histogram']")