omnetpp.ini 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [Config with_externalqueue]
  2. description = "with external queue"
  3. [Config with_internalQueue]
  4. description = "with internal queue"
  5. **.ppp[*].queueType = ""
  6. ###################################################################
  7. [General]
  8. network = ClientServerWithSM
  9. total-stack = 7MiB
  10. tkenv-plugin-path = ../../../etc/plugins
  11. #debug-on-errors = true
  12. #record-eventlog = true
  13. #**.server.tcpdump.dumpFile = "results/server.pcap"
  14. #**.client1.tcpdump.dumpFile = "results/client1.pcap"
  15. **.server.numPcapRecorders = 1
  16. **.server.pcapRecorder[0].pcapFile = "results/server.pcap"
  17. **.client1.numPcapRecorders = 1
  18. **.client1.pcapRecorder[0].pcapFile = "results/client1.pcap"
  19. **.scenarioManager.script = xmldoc("scenario.xml")
  20. ## tcp apps
  21. **.numTcpApps = 1
  22. **.client*.tcpApp[*].typename = "TCPSessionApp"
  23. **.client*.tcpApp[0].active = true
  24. #**.client*.tcpApp[0].localAddress = "10.0.0.1"
  25. #**.client*.tcpApp[0].localAddress = "192.168.1.1"
  26. **.client*.tcpApp[0].localPort = -1
  27. **.client*.tcpApp[0].connectAddress = "server"
  28. **.client*.tcpApp[0].connectPort = 1000
  29. **.client*.tcpApp[0].tOpen = 0.2s
  30. **.client*.tcpApp[0].tSend = 0.4s
  31. **.client*.tcpApp[0].sendBytes = 2000000B
  32. **.client*.tcpApp[0].sendScript = ""
  33. **.client*.tcpApp[0].tClose = 25s
  34. # tcp apps
  35. #**.numTcpApps = 1
  36. #**.client*.tcpApp[*].typename = "TCPBasicClientApp"
  37. #**.client*.tcpApp[0].active = true
  38. ##**.client*.tcpApp[0].localAddress = "10.0.0.1"
  39. ##**.client*.tcpApp[0].localAddress = "192.168.1.1"
  40. #**.client*.tcpApp[0].localPort = -1
  41. #**.client*.tcpApp[0].connectAddress = "server"
  42. #**.client*.tcpApp[0].connectPort = 1000
  43. #**.client*.tcpApp[0].tOpen = 0.2s
  44. #**.client*.tcpApp[0].tSend = 0.4s
  45. #**.client*.tcpApp[0].sendBytes = 1000000B
  46. #**.client*.tcpApp[0].idleInterval = 3s
  47. #**.client*.tcpApp[0].thinkTime = 0s
  48. #**.server*.tcpApp[*].typename="TCPSinkApp"
  49. **.server*.tcpApp[*].typename = "TCPEchoApp"
  50. #**.server*.tcpApp[0].localAddress = "10.0.0.2"
  51. #**.server*.tcpApp[0].localAddress = "192.168.1.2"
  52. **.server*.tcpApp[0].localPort = 1000
  53. **.server*.tcpApp[0].echoFactor = 2.0
  54. **.server*.tcpApp[0].echoDelay = 0
  55. # NIC configuration
  56. **.ppp[*].queueType = "DropTailQueue" # in routers
  57. **.ppp[*].queue.frameCapacity = 10 # in routers
  58. *.configurator.config=xml("<config><interface hosts='*' address='192.168.1.x' netmask='255.255.255.0'/></config>")