omnetpp.ini 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. **.host{1..2,5}.numUdpApps = 1
  8. **.host{1..2,5}.udpApp[*].typename = "UDPBasicApp"
  9. **.host{1..2,5}.udpApp[0].localPort = 100
  10. **.host{1..2,5}.udpApp[0].destPort = 100
  11. **.host{1..2,5}.udpApp[0].messageLength = 128 bytes
  12. **.host{1..2,5}.udpApp[0].sendInterval = 0.01s
  13. **.host{1..2,5}.udpApp[0].destAddresses = "host3"
  14. **.host3.numUdpApps = 1
  15. **.host3.udpApp[*].typename = "UDPSink"
  16. **.host3.udpApp[0].localPort = 100
  17. # ip config
  18. **.host1.routingTable.routingFile = "host1.rt"
  19. **.host2.routingTable.routingFile = "host2.rt"
  20. **.host3.routingTable.routingFile = "host3.rt"
  21. **.host4.routingTable.routingFile = "host4.rt"
  22. **.host5.routingTable.routingFile = "host5.rt"
  23. # LSR configuration
  24. **.LSR1.classifier.config = xmldoc("LSR1_fec.xml")
  25. **.LSR1.rsvp.traffic = xmldoc("LSR1_rsvp.xml")
  26. **.LSR*.rsvp.helloInterval = 0.2s
  27. **.LSR*.rsvp.helloTimeout = 0.5s
  28. **.LSR1.routingTable.routingFile = "LSR1.rt"
  29. **.LSR2.routingTable.routingFile = "LSR2.rt"
  30. **.LSR3.routingTable.routingFile = "LSR3.rt"
  31. **.LSR4.routingTable.routingFile = "LSR4.rt"
  32. **.LSR5.routingTable.routingFile = "LSR5.rt"
  33. **.LSR6.routingTable.routingFile = "LSR6.rt"
  34. **.LSR7.routingTable.routingFile = "LSR7.rt"
  35. # NIC configuration
  36. **.ppp[*].queueType = "DropTailQueue" # in routers
  37. **.ppp[*].queue.frameCapacity = 10 # in routers
  38. # scenario
  39. **.scenarioManager.script = xml("<scenario/>")