omnetpp.ini 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [Config EnablingVisualization]
  2. network = InterfaceTableVisualizationEnablingVisualizationShowcase
  3. description = "Enabling the visualization"
  4. *.visualizer.*.interfaceTableVisualizer.displayInterfaceTables = true
  5. [Config AdvancedFeatures]
  6. network = InterfaceTableVisualizationAdvancedFeaturesShowcase
  7. description = "Advanced features"
  8. # the most important feature is the content
  9. # others could be the appearance stuff
  10. *.configurator.config = xmldoc("config.xml")
  11. *.visualizer.*.interfaceTableVisualizer.displayInterfaceTables = true
  12. #*.visualizer.*.interfaceTableVisualizer.format = "%N %\\%n"
  13. *.visualizer.*.interfaceTableVisualizer.interfaceFilter = "not lo* and not ipv4Address(<unspec>)"
  14. #*.visualizer.*.interfaceTableVisualizer.interfaceFilter = "eth* or wlan*"
  15. #*.visualizer.*.interfaceTableVisualizer.nodeFilter = "componentType(*EtherSwitch*)"
  16. *.router.hasDHCP = true
  17. *.router.dhcp.interface = "eth1"
  18. *.router.dhcp.leaseTime = 1000s
  19. *.router.dhcp.maxNumClients = 4
  20. *.router.dhcp.numReservedAddresses = 4
  21. #*.router.dhcp.startTime = 5s
  22. *.wirelessHost.numUdpApps = 1
  23. *.wirelessHost.udpApp[0].typename = "DHCPClient"
  24. *.wirelessHost.udpApp[*].interface = "wlan0"
  25. *.mobileHost.numUdpApps = 1
  26. *.mobileHost.udpApp[0].typename = "DHCPClient"
  27. *.mobileHost.udpApp[*].interface = "wlan0"
  28. *.mobileHost.wlan[*].mgmtType = "Ieee80211MgmtSTA"
  29. # the default format string for the visualizer should be %N %4...the current %N %n seems too big