omnetpp.ini 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # This ini file runs Telnet sessions on the NClients network, using
  3. # TelnetApp+TCPGenericSrvApp.
  4. #
  5. # See also fileTransfer.ini and basicHTTP.ini for different kinds of
  6. # network traffic.
  7. #
  8. [General]
  9. network = NClients
  10. #debug-on-errors = true
  11. tkenv-plugin-path = ../../../etc/plugins
  12. # number of client computers
  13. *.n = 4
  14. # tcp apps
  15. **.cli[*].numTcpApps = 0
  16. **.cli[*].tcpApp[*].typename = "TelnetApp"
  17. **.cli[*].tcpApp[0].localAddress = ""
  18. **.cli[*].tcpApp[0].localPort = -1
  19. **.cli[*].tcpApp[0].connectAddress = "srv"
  20. **.cli[*].tcpApp[0].connectPort = 1000
  21. **.cli[*].tcpApp[0].startTime = exponential(5s)
  22. **.cli[*].tcpApp[0].numCommands = exponential(10)
  23. **.cli[*].tcpApp[0].commandLength = exponential(10B)
  24. **.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
  25. **.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
  26. **.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
  27. **.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
  28. **.cli[*].tcpApp[0].reconnectInterval = 30s
  29. **.srv.numTcpApps = 0
  30. **.srv.tcpApp[*].typename = "TCPGenericSrvApp"
  31. **.srv.tcpApp[0].localAddress = ""
  32. **.srv.tcpApp[0].localPort = 1000
  33. **.srv.tcpApp[0].replyDelay = 0
  34. **.cli[*].numSctpApps = 1
  35. **.cli[*].sctpApp[*].typename = "SCTPClient"
  36. **.cli[*].sctpApp[0].localAddress = ""
  37. **.cli[*].sctpApp[0].connectAddress = "srv"
  38. **.cli[*].sctpApp[0].connectPort = 1000
  39. **.cli[*].sctpApp[0].startTime = exponential(1s)
  40. **.cli[*].sctpApp[0].numRequestsPerSession = 30
  41. **.cli[*].sctpApp[0].requestLength = 1000
  42. **.cli[*].sctpApp[0].thinkTime = exponential(1s)
  43. **.cli[*].sctpApp[0].queueSize = 0
  44. **.srv.numSctpApps = 1
  45. **.srv.sctpApp[*].typename = "SCTPServer"
  46. **.srv.sctpApp[*].localAddress = ""
  47. **.srv.sctpApp[0].localPort = 1000
  48. **.srv.sctpApp[0].numPacketsToReceivePerClient = 30
  49. # tcp settings
  50. **.tcpApp[*].dataTransferMode = "object"
  51. # NIC configuration
  52. **.ppp[*].queueType = "DropTailQueue" # in routers
  53. **.ppp[*].queue.frameCapacity = 10 # in routers