omnetpp.ini 1.7 KB

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