omnetpp.ini 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. # Initialization file for the flashcrowd simulaton example.
  32. #
  33. #
  34. [General]
  35. sim-time-limit = 100d
  36. #debug-on-errors = true
  37. network = HttpDirectFlash
  38. cmdenv-express-mode = false
  39. tkenv-plugin-path = ../../../../etc/plugins
  40. # tkenv-default-run = 1
  41. #*.num_browsers = 1000
  42. #*.num_servers = 1000
  43. # Controller
  44. **.controller.config = xmldoc("../../controller_cfg.xml","//controller-profile[@id='uniform']")
  45. **.controller.events = "events.cfg" # The popularity modification event is defined here
  46. **.controller.eventsSection = "flash" # Use "default" to disable
  47. # Common client/server parameters
  48. **.numTcpApps = 1
  49. **.tcpApp[0].linkSpeed = 10Mbps
  50. **.tcpApp[0].httpProtocol = 11
  51. # Clients
  52. **.client[*].tcpApp[0].typename = "HttpBrowserDirect"
  53. **.client[*].tcpApp[0].logFile = "browser.log"
  54. **.client[*].tcpApp[0].scriptFile = "" # Script file disabled
  55. **.client[*].tcpApp[0].config = xmldoc("../../browser_cfg.xml","//user-profile[@id='normal']")
  56. **.client[*].tcpApp[0].activationTime = 0.0
  57. # Servers
  58. **.server*.tcpApp[0].typename = "HttpServerDirect"
  59. **.server*.tcpApp[0].hostName = ""
  60. **.server*.tcpApp[0].port = 80
  61. **.server*.tcpApp[0].logFile = "servers.log"
  62. **.server*.tcpApp[0].siteDefinition = ""
  63. **.server*.tcpApp[0].config = xmldoc("../../server_cfg.xml","//server-profile[@id='normal']")
  64. **.server*.tcpApp[0].activationTime = 0.0
  65. **.abc.tcpApp[0].typename = "HttpServerDirect"
  66. **.abc.tcpApp[0].hostName = "www.abc.com"
  67. **.abc.tcpApp[0].port = 80
  68. **.abc.tcpApp[0].logFile = "servers.log"
  69. **.abc.tcpApp[0].siteDefinition = ""
  70. **.abc.tcpApp[0].config = xmldoc("../../server_cfg.xml","//server-profile[@id='normal']")
  71. **.abc.tcpApp[0].activationTime = 0.0