omnetpp.ini 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [General]
  2. network = RSVPTE4
  3. sim-time-limit = 5s
  4. #cpu-time-limit= 5800000s
  5. total-stack = 64MiB
  6. tkenv-plugin-path = ../../../etc/plugins
  7. **.host1.numUdpApps = 1
  8. **.host1.udpApp[*].typename = "UDPBasicApp"
  9. **.host1.udpApp[0].localPort = 100
  10. **.host1.udpApp[0].destPort = 100
  11. **.host1.udpApp[0].messageLength = 128 bytes
  12. **.host1.udpApp[0].sendInterval = 0.01s
  13. **.host1.udpApp[0].destAddresses = "host3"
  14. **.host2.numUdpApps = 1
  15. **.host2.udpApp[*].typename = "UDPBasicApp"
  16. **.host2.udpApp[0].localPort = 100
  17. **.host2.udpApp[0].destPort = 100
  18. **.host2.udpApp[0].messageLength = 128 bytes
  19. **.host2.udpApp[0].sendInterval = 0.01s
  20. **.host2.udpApp[0].destAddresses = "host4"
  21. **.host{3..4}.numUdpApps = 1
  22. **.host{3..4}.udpApp[*].typename = "UDPSink"
  23. **.host{3..4}.udpApp[0].localPort = 100
  24. # ip config
  25. **.host1.routingTable.routingFile = "host1.rt"
  26. **.host2.routingTable.routingFile = "host2.rt"
  27. **.host3.routingTable.routingFile = "host3.rt"
  28. **.host4.routingTable.routingFile = "host4.rt"
  29. **.host5.routingTable.routingFile = "host5.rt"
  30. # LSR configuration
  31. **.LSR1.classifier.config = xmldoc("LSR1_fec.xml")
  32. **.LSR1.rsvp.traffic = xmldoc("LSR1_rsvp.xml")
  33. **.LSR*.rsvp.helloInterval = 0.2s
  34. **.LSR*.rsvp.helloTimeout = 0.5s
  35. **.LSR1.routingTable.routingFile = "LSR1.rt"
  36. **.LSR2.routingTable.routingFile = "LSR2.rt"
  37. **.LSR3.routingTable.routingFile = "LSR3.rt"
  38. **.LSR4.routingTable.routingFile = "LSR4.rt"
  39. **.LSR5.routingTable.routingFile = "LSR5.rt"
  40. **.LSR6.routingTable.routingFile = "LSR6.rt"
  41. **.LSR7.routingTable.routingFile = "LSR7.rt"
  42. # NIC configuration
  43. **.ppp[*].queueType = "DropTailQueue" # in routers
  44. **.ppp[*].queue.frameCapacity = 10 # in routers
  45. # scenario
  46. **.scenarioManager.script = xmldoc("scenario.xml")