omnetpp.ini 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #
  2. # OSPFv2 test network.
  3. #
  4. [General]
  5. description = "OSPF area tests"
  6. tkenv-plugin-path = ../../../etc/plugins
  7. #record-eventlog = true
  8. sim-time-limit = 1500s
  9. **.ospf.helloInterval = 10s
  10. **.ospf.retransmissionInterval = 5s
  11. **.ospf.interfaceTransmissionDelay = 1
  12. **.ospf.routerDeadInterval = 40s
  13. **.ospf.authenticationType = "NullType"
  14. **.ospf.authenticationKey = "0x00"
  15. **.H[*].numUdpApps = 2
  16. **.udpApp[0].typename = "UDPEchoApp"
  17. **.udpApp[0].localPort = 1234
  18. **.udpApp[1..].typename = "UDPBasicApp"
  19. **.udpApp[1..].destPort = 1234
  20. **.udpApp[1..].messageLength = 32 bytes
  21. **.udpApp[1..].sendInterval = 0.1s
  22. **.udpApp[1..].startTime = 10s
  23. **.arp.cacheTimeout = 1s
  24. [Config backbone]
  25. network = OSPF_BackboneTest
  26. **.ospf.ospfConfig = xmldoc("ASConfig1.xml")
  27. #*.scenarioManager.script = xmldoc("scenario1.xml")
  28. *.scenarioManager.script = xml("<empty/>")
  29. **.H[0].udpApp[1].destAddresses = "Backbone.H[5]"
  30. #**.H[1].udpApp[1].destAddresses = "Backbone.H[6]"
  31. #**.H[2].udpApp[1].destAddresses = "Backbone.H[7]"
  32. #**.H[3].udpApp[1].destAddresses = "Backbone.H[8]"
  33. #**.H[4].udpApp[1].destAddresses = "Backbone.H[9]"
  34. **.H[5].udpApp[1].destAddresses = "Backbone.H[0]"
  35. #**.H[6].udpApp[1].destAddresses = "Backbone.H[1]"
  36. #**.H[7].udpApp[1].destAddresses = "Backbone.H[2]"
  37. #**.H[8].udpApp[1].destAddresses = "Backbone.H[3]"
  38. #**.H[9].udpApp[1].destAddresses = "Backbone.H[4]"
  39. [Config backboneandonestub]
  40. network = OSPF_BackboneAndOneStubTest
  41. **.ospf.ospfConfig = xmldoc("ASConfig2.xml")
  42. *.scenarioManager.script = xml("<empty/>")
  43. #*.scenarioManager.script = xmldoc("scenario2.xml")
  44. *.Stub1.H[0].udpApp[1].destAddresses = "Backbone.H[0]"
  45. *.Stub1.H[1].udpApp[1].destAddresses = "Backbone.H[1]"
  46. *.Stub1.H[2].udpApp[1].destAddresses = "Backbone.H[2]"
  47. *.Backbone.H[0].udpApp[1].destAddresses = "Stub1.H[0]"
  48. *.Backbone.H[1].udpApp[1].destAddresses = "Stub1.H[1]"
  49. *.Backbone.H[2].udpApp[1].destAddresses = "Stub1.H[2]"
  50. [Config backboneandtwostubs]
  51. network = OSPF_BackboneAndTwoStubsTest
  52. **.ospf.ospfConfig = xmldoc("ASConfig3.xml")
  53. #*.scenarioManager.script = xmldoc("scenario3.xml")
  54. *.scenarioManager.script = xml("<empty/>")
  55. *.Stub1.H[0].udpApp[1].destAddresses = "Stub2.H[0]"
  56. *.Stub1.H[1].udpApp[1].destAddresses = "Stub2.H[1]"
  57. *.Stub1.H[2].udpApp[1].destAddresses = "Stub2.H[2]"
  58. *.Stub2.H[0].udpApp[1].destAddresses = "Stub1.H[0]"
  59. *.Stub2.H[1].udpApp[1].destAddresses = "Stub1.H[1]"
  60. *.Stub2.H[2].udpApp[1].destAddresses = "Stub1.H[2]"
  61. **.mtu = 60000B
  62. [Config mininet-A]
  63. network = OSPF_mininet
  64. **.ospf.ospfConfig = xmldoc("ASConfigMininet.xml")
  65. #*.scenarioManager.script = xmldoc("scenario3.xml")
  66. *.scenarioManager.script = xml("<empty/>")
  67. *.S*H[*].numUdpApps = 2
  68. *.S1H[0].udpApp[1].destAddresses = "S2H[0]"
  69. *.S2H[0].udpApp[1].destAddresses = "S1H[0]"
  70. *.S1H[1].udpApp[1].destAddresses = "S2H[1]"
  71. *.S2H[1].udpApp[1].destAddresses = "S1H[1]"
  72. *.BBR[0].routingTable.routerId = "10.0.0.0"
  73. *.BBR[1].routingTable.routerId = "10.0.0.1"
  74. *.S1toBBR.routingTable.routerId = "10.0.0.101"
  75. *.S2toBBR.routingTable.routerId = "10.0.0.202"
  76. *.S1R[0].routingTable.routerId = "10.0.1.110"
  77. *.S2R[0].routingTable.routerId = "10.0.1.220"
  78. *.S1R[1].routingTable.routerId = "10.0.1.111"
  79. *.S2R[1].routingTable.routerId = "10.0.1.221"
  80. **.mtu = 60000B
  81. [Config mininet-B]
  82. network = OSPF_mininet
  83. **.ospf.ospfConfig = xmldoc("ASConfigMininet.xml")
  84. #*.scenarioManager.script = xmldoc("scenario3.xml")
  85. *.scenarioManager.script = xml("<empty/>")
  86. *.S*H[*].numUdpApps = 2
  87. *.S1H[0].udpApp[1].destAddresses = "S2H[0]"
  88. *.S2H[0].udpApp[1].destAddresses = "S1H[0]"
  89. *.S1H[1].udpApp[1].destAddresses = "S2H[1]"
  90. *.S2H[1].udpApp[1].destAddresses = "S1H[1]"
  91. *.BBR[0].routingTable.routerId = "10.0.0.10"
  92. *.BBR[1].routingTable.routerId = "10.0.0.11"
  93. *.BBRtoS1.routingTable.routerId = "10.0.1.101"
  94. *.BBRtoS2.routingTable.routerId = "10.0.1.202"
  95. *.S1R[0].routingTable.routerId = "10.0.0.110"
  96. *.S2R[0].routingTable.routerId = "10.0.0.220"
  97. *.S1R[1].routingTable.routerId = "10.0.1.111"
  98. *.S2R[1].routingTable.routerId = "10.0.1.221"
  99. **.mtu = 60000B