omnetpp.ini 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. [General]
  2. sim-time-limit = 200s
  3. tkenv-plugin-path = ../../../etc/plugins
  4. **.vector-recording = false
  5. **.visualize = true
  6. **.agingTime = 1s
  7. **.connectionColoring = false
  8. network = SwitchNetwork
  9. **.switch1.**.address="AAAAAA000001"
  10. **.switch2.**.address="AAAAAA000002"
  11. **.switch3.**.address="AAAAAA000003"
  12. **.switch4.**.address="AAAAAA000004"
  13. **.switch5.**.address="AAAAAA000005"
  14. **.switch6.**.address="AAAAAA000006"
  15. **.switch7.**.address="AAAAAA000007"
  16. [Config LargeNet]
  17. network = LargeNet
  18. **.switch8.**.address="AAAAAA000008"
  19. **.switch9.**.address="AAAAAA000009"
  20. **.switch10.**.address="AAAAAA00000A"
  21. **.switch11.**.address="AAAAAA00000B"
  22. **.host2.cli.destAddress = "LargeNet.host1"
  23. **.host3.cli.destAddress = "LargeNet.host1"
  24. **.host4.cli.destAddress = "LargeNet.host6"
  25. **.host5.cli.destAddress = "LargeNet.host3"
  26. **.host6.cli.destAddress = "LargeNet.host3"
  27. **.host*.cli.startTime = 10ms
  28. [Config RSTP]
  29. **.spanningTreeProtocol = "RSTP"
  30. [Config STP]
  31. **.spanningTreeProtocol = "STP"
  32. [Config Switch3RootByPriority]
  33. **.switch3.**.bridgePriority = 1 #Default is 32768
  34. [Config Switch7to4BySrcPriority]
  35. **.switch1.**.bridgePriority = 1 #Better than switch7's
  36. **.switch4.**.bridgePriority = 5
  37. [Config TopologyChange]
  38. **.hasStatus=true
  39. **.script = xmldoc("Events.xml")
  40. [Config LinkReconnect]
  41. **.hasStatus=true
  42. **.script = xmldoc("Events2.xml")
  43. [Config RSTP-Switch1RootByMAC]
  44. extends = RSTP
  45. [Config STP-Switch1RootByMAC]
  46. extends = STP
  47. [Config RSTP-Switch3RootByPriority]
  48. extends = Switch3RootByPriority, RSTP
  49. [Config STP-Switch3RootByPriority]
  50. extends = Switch3RootByPriority, STP
  51. [Config RSTP-Switch7to4BySrcPriority]
  52. extends = Switch7to4BySrcPriority, RSTP
  53. [Config STP-Switch7to4BySrcPriority]
  54. extends = Switch7to4BySrcPriority, STP
  55. [Config RSTP-LargeNet]
  56. extends = LargeNet, TopologyChange, RSTP
  57. [Config STP-LargeNet]
  58. extends = LargeNet, TopologyChange, STP
  59. [Config RSTP-LinkReconnect]
  60. extends = LargeNet, LinkReconnect, RSTP
  61. [Config STP-LinkReconnect]
  62. extends = LargeNet, LinkReconnect, STP