omnetpp.ini 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [General]
  2. network = LDPTEST
  3. #debug-on-errors = true
  4. sim-time-limit = 15s
  5. #cpu-time-limit= 5800000s
  6. total-stack = 64MiB
  7. tkenv-plugin-path = ../../../etc/plugins
  8. **.host1.numUdpApps = 1
  9. **.host1.udpApp[*].typename = "UDPBasicApp"
  10. **.host1.udpApp[0].localPort = 100
  11. **.host1.udpApp[0].destPort = 100
  12. **.host1.udpApp[0].messageLength = 128 bytes
  13. **.host1.udpApp[0].sendInterval = 0.01s
  14. **.host1.udpApp[0].destAddresses = "host2"
  15. **.host3.numUdpApps = 1
  16. **.host3.udpApp[*].typename = "UDPBasicApp"
  17. **.host3.udpApp[0].localPort = 100
  18. **.host3.udpApp[0].destPort = 100
  19. **.host3.udpApp[0].messageLength = 128 bytes
  20. **.host3.udpApp[0].sendInterval = 0.01s
  21. **.host3.udpApp[0].destAddresses = "host4"
  22. **.host{2..4}.numUdpApps = 1
  23. **.host{2..4}.udpApp[*].typename = "UDPSink"
  24. **.host{2..4}.udpApp[0].localPort = 100
  25. **.numUdpApps = 0
  26. **.udpApp[*].typename = "UDPBasicApp"
  27. # tcp apps
  28. **.host*.numTcpApps = 0
  29. **.host*.tcpApp[*].typename = "TCPGenericSrvApp"
  30. **.host*.tcpApp[0].localAddress = ""
  31. **.host*.tcpApp[0].localPort = 1000
  32. **.host*.tcpApp[0].replyDelay = 0
  33. # tcp config
  34. **.tcpApp[*].dataTransferMode = "object"
  35. **.ldp.dataTransferMode = "object"
  36. # ip config
  37. **.host1.routingTable.routingFile = "host1.rt"
  38. **.host2.routingTable.routingFile = "host2.rt"
  39. **.host3.routingTable.routingFile = "host3.rt"
  40. **.host4.routingTable.routingFile = "host4.rt"
  41. # LSR configuration
  42. **.LSR1.routingTable.routingFile = "LSR1.rt"
  43. **.LSR2.routingTable.routingFile = "LSR2.rt"
  44. **.LSR3.routingTable.routingFile = "LSR3.rt"
  45. **.LSR4.routingTable.routingFile = "LSR4.rt"
  46. **.LSR5.routingTable.routingFile = "LSR5.rt"
  47. # NIC configuration
  48. **.ppp[*].queueType = "DropTailQueue" # in routers
  49. **.ppp[*].queue.frameCapacity = 10 # in routers
  50. # LDP, MPLS settings
  51. **.LSR*.holdTime = 6s
  52. **.LSR*.helloInterval = 2s
  53. # scenario
  54. **.scenarioManager.script = xmldoc("scenario.xml")