CoexistenceShowcase

Package: inet.showcases.wireless.coexistence

CoexistenceShowcase

network

(no description)

visualizer : IntegratedCanvasVisualizer

Integrates all canvas visualizers into a single module.

Source:
visualizer: IntegratedCanvasVisualizer {
    @display("p=5,5");
} configurator : Ipv4NetworkConfigurator

Assigns IPv4 addresses and sets up static routing for an IPv4 network.

Source:
configurator: Ipv4NetworkConfigurator {
    @display("p=5,10");
} radioMedium : RadioMedium

The medium model describes the shared physical medium where communication takes place.

Source:
radioMedium: RadioMedium {
    @display("p=5,15");
} wifiHost1 : AdhocHost

A mobile wireless node that participates in ad hoc networks without centralized infrastructure.

Source:
wifiHost1: AdhocHost {
    @display("p=40.791748,11.9189995;i=device/laptop");
} wifiHost2 : AdhocHost

A mobile wireless node that participates in ad hoc networks without centralized infrastructure.

Source:
wifiHost2: AdhocHost {
    @display("p=40.791748,31.4415;i=device/laptop");
} wpanHost1 : AdhocHost

A mobile wireless node that participates in ad hoc networks without centralized infrastructure.

Source:
wpanHost1: AdhocHost {
    @display("p=23.426999,21.5775;i=misc/sensor2");
} wpanHost2 : AdhocHost

A mobile wireless node that participates in ad hoc networks without centralized infrastructure.

Source:
wpanHost2: AdhocHost {
    @display("p=51.1695,21.5775;i=misc/sensor2");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Properties

Name Value Description
isNetwork

Statistics

Name Title Source Record Unit Interpolation Mode Description
bitErrorRate Bit error rate bitErrorRate(packetSentToUpper) vector
packetErrorRate Packet error rate packetErrorRate(packetSentToUpper) vector

Unassigned submodule parameters

Name Type Default value Description
visualizer.sceneVisualizer.visualizationTargetModule string
visualizer.sceneVisualizer.visualizationSubjectModule string
visualizer.physicalEnvironmentVisualizer.visualizationTargetModule string
visualizer.physicalEnvironmentVisualizer.visualizationSubjectModule string
visualizer.networkNodeVisualizer.visualizationTargetModule string
visualizer.networkNodeVisualizer.visualizationSubjectModule string
visualizer.networkConnectionVisualizer.visualizationTargetModule string
visualizer.networkConnectionVisualizer.visualizationSubjectModule string
visualizer.mobilityVisualizer.visualizationTargetModule string
visualizer.mobilityVisualizer.visualizationSubjectModule string
visualizer.statisticVisualizer.visualizationTargetModule string
visualizer.statisticVisualizer.visualizationSubjectModule string
visualizer.infoVisualizer.visualizationTargetModule string
visualizer.infoVisualizer.visualizationSubjectModule string
visualizer.energyStorageVisualizer.visualizationTargetModule string
visualizer.energyStorageVisualizer.visualizationSubjectModule string
visualizer.mediumVisualizer.visualizationTargetModule string
visualizer.mediumVisualizer.visualizationSubjectModule string
visualizer.obstacleLossVisualizer.visualizationTargetModule string
visualizer.obstacleLossVisualizer.visualizationSubjectModule string
visualizer.packetDropVisualizer.visualizationTargetModule string
visualizer.packetDropVisualizer.visualizationSubjectModule string
visualizer.packetFlowVisualizer.visualizationTargetModule string
visualizer.packetFlowVisualizer.visualizationSubjectModule string
visualizer.queueVisualizer.visualizationTargetModule string
visualizer.queueVisualizer.visualizationSubjectModule string
visualizer.gateScheduleVisualizer.visualizationTargetModule string
visualizer.gateScheduleVisualizer.visualizationSubjectModule string
visualizer.radioVisualizer.visualizationTargetModule string
visualizer.radioVisualizer.visualizationSubjectModule string
visualizer.physicalLinkVisualizer.visualizationTargetModule string
visualizer.physicalLinkVisualizer.visualizationSubjectModule string
visualizer.interfaceTableVisualizer.visualizationTargetModule string
visualizer.interfaceTableVisualizer.visualizationSubjectModule string
visualizer.dataLinkVisualizer.visualizationTargetModule string
visualizer.dataLinkVisualizer.visualizationSubjectModule string
visualizer.linkBreakVisualizer.visualizationTargetModule string
visualizer.linkBreakVisualizer.visualizationSubjectModule string
visualizer.ieee80211Visualizer.visualizationTargetModule string
visualizer.ieee80211Visualizer.visualizationSubjectModule string
visualizer.networkRouteVisualizer.visualizationTargetModule string
visualizer.networkRouteVisualizer.visualizationSubjectModule string
visualizer.routingTableVisualizer.visualizationTargetModule string
visualizer.routingTableVisualizer.visualizationSubjectModule string
visualizer.transportRouteVisualizer.visualizationTargetModule string
visualizer.transportRouteVisualizer.visualizationSubjectModule string
visualizer.transportConnectionVisualizer.visualizationTargetModule string
visualizer.transportConnectionVisualizer.visualizationSubjectModule string
visualizer.failureProtectionConfigurationVisualizer.visualizationTargetModule string
visualizer.failureProtectionConfigurationVisualizer.visualizationSubjectModule string
visualizer.streamRedundancyConfigurationVisualizer.visualizationTargetModule string
visualizer.streamRedundancyConfigurationVisualizer.visualizationSubjectModule string
configurator.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

configurator.minLinkWeight double 1E-3
configurator.configureIsolatedNetworksSeparatly bool false
configurator.config xml xml("")

XML configuration parameters for IP address assignment and adding manual routes

configurator.assignAddresses bool true

Assign IP addresses to all interfaces in the network

configurator.assignUniqueAddresses bool true

Avoid using the same address and raise an error if not possible

configurator.assignDisjunctSubnetAddresses bool true

Avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.addStaticRoutes bool true

Add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes)

configurator.addDefaultRoutes bool true

Add default routes if all routes from a source node go through the same gateway (used only if addStaticRoutes is true)

configurator.addSubnetRoutes bool true

Add subnet routes instead of destination interface routes (only where applicable; used only if addStaticRoutes is true)

configurator.addDirectRoutes bool true

Add direct routes towards local network members (i.e. directly connected interfaces) to the routing table (used only if addStaticRoutes is true)

configurator.optimizeRoutes bool true

Optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true)

configurator.updateRoutes bool false

Recalculate static routes if an interface goes down/up or a carrier is lost/back

configurator.dumpTopology bool false

Print extracted network topology to the module output

configurator.dumpLinks bool false

Print recognized network links to the module output

configurator.dumpAddresses bool false

Print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

Print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

Write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

radioMedium.neighborCache.refillPeriod double
wifiHost1.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.status.initialStatus string "UP"

TODO @signal, @statistic

wifiHost1.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.environment.initStage int 0

Initialization stage for the setup command

wifiHost1.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wifiHost1.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wifiHost1.environment.setupCommand string ""

A host OS system command

wifiHost1.environment.teardownCommand string ""

A host OS system command

wifiHost1.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.pcapRecorder.verbose bool true

Whether to log packets on the module output

wifiHost1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wifiHost1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wifiHost1.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

wifiHost1.pcapRecorder.fileFormat string "pcapng"
wifiHost1.pcapRecorder.snaplen int 65535

Maximum number of bytes to record per packet

wifiHost1.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wifiHost1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

wifiHost1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

Space-separated list of sibling module names to listen on

wifiHost1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wifiHost1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wifiHost1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

Space-separated list of protocol names as defined in the Protocol class

wifiHost1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wifiHost1.pcapRecorder.helpers string ""

Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

wifiHost1.pcapRecorder.alwaysFlush bool false

Flush the pcapFile after each write to ensure that all packets are captured in case of a crash

wifiHost1.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

wifiHost1.cb.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.cb.forwardServiceRegistration bool true
wifiHost1.cb.forwardProtocolRegistration bool true
wifiHost1.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost1.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.bl.forwardServiceRegistration bool true
wifiHost1.bl.forwardProtocolRegistration bool true
wifiHost1.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost1.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.li.forwardServiceRegistration bool true
wifiHost1.li.forwardProtocolRegistration bool true
wifiHost1.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost1.eth.bitrate double
wifiHost1.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.nl.forwardServiceRegistration bool true
wifiHost1.nl.forwardProtocolRegistration bool true
wifiHost1.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost1.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.tn.forwardServiceRegistration bool true
wifiHost1.tn.forwardProtocolRegistration bool true
wifiHost1.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost1.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost1.at.forwardServiceRegistration bool true
wifiHost1.at.forwardProtocolRegistration bool true
wifiHost1.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost1.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost1.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.status.initialStatus string "UP"

TODO @signal, @statistic

wifiHost2.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.environment.initStage int 0

Initialization stage for the setup command

wifiHost2.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wifiHost2.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wifiHost2.environment.setupCommand string ""

A host OS system command

wifiHost2.environment.teardownCommand string ""

A host OS system command

wifiHost2.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.pcapRecorder.verbose bool true

Whether to log packets on the module output

wifiHost2.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wifiHost2.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wifiHost2.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

wifiHost2.pcapRecorder.fileFormat string "pcapng"
wifiHost2.pcapRecorder.snaplen int 65535

Maximum number of bytes to record per packet

wifiHost2.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wifiHost2.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

wifiHost2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

Space-separated list of sibling module names to listen on

wifiHost2.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wifiHost2.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wifiHost2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

Space-separated list of protocol names as defined in the Protocol class

wifiHost2.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wifiHost2.pcapRecorder.helpers string ""

Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

wifiHost2.pcapRecorder.alwaysFlush bool false

Flush the pcapFile after each write to ensure that all packets are captured in case of a crash

wifiHost2.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

wifiHost2.cb.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.cb.forwardServiceRegistration bool true
wifiHost2.cb.forwardProtocolRegistration bool true
wifiHost2.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.bl.forwardServiceRegistration bool true
wifiHost2.bl.forwardProtocolRegistration bool true
wifiHost2.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.li.forwardServiceRegistration bool true
wifiHost2.li.forwardProtocolRegistration bool true
wifiHost2.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.eth.bitrate double
wifiHost2.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.nl.forwardServiceRegistration bool true
wifiHost2.nl.forwardProtocolRegistration bool true
wifiHost2.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.tn.forwardServiceRegistration bool true
wifiHost2.tn.forwardProtocolRegistration bool true
wifiHost2.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wifiHost2.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wifiHost2.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wifiHost2.at.forwardServiceRegistration bool true
wifiHost2.at.forwardProtocolRegistration bool true
wifiHost2.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wifiHost2.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wifiHost2.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.status.initialStatus string "UP"

TODO @signal, @statistic

wpanHost1.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.environment.initStage int 0

Initialization stage for the setup command

wpanHost1.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wpanHost1.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wpanHost1.environment.setupCommand string ""

A host OS system command

wpanHost1.environment.teardownCommand string ""

A host OS system command

wpanHost1.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.pcapRecorder.verbose bool true

Whether to log packets on the module output

wpanHost1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wpanHost1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wpanHost1.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

wpanHost1.pcapRecorder.fileFormat string "pcapng"
wpanHost1.pcapRecorder.snaplen int 65535

Maximum number of bytes to record per packet

wpanHost1.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wpanHost1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

wpanHost1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

Space-separated list of sibling module names to listen on

wpanHost1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wpanHost1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wpanHost1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

Space-separated list of protocol names as defined in the Protocol class

wpanHost1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wpanHost1.pcapRecorder.helpers string ""

Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

wpanHost1.pcapRecorder.alwaysFlush bool false

Flush the pcapFile after each write to ensure that all packets are captured in case of a crash

wpanHost1.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

wpanHost1.cb.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.cb.forwardServiceRegistration bool true
wpanHost1.cb.forwardProtocolRegistration bool true
wpanHost1.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.bl.forwardServiceRegistration bool true
wpanHost1.bl.forwardProtocolRegistration bool true
wpanHost1.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.li.forwardServiceRegistration bool true
wpanHost1.li.forwardProtocolRegistration bool true
wpanHost1.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.eth.bitrate double
wpanHost1.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.nl.forwardServiceRegistration bool true
wpanHost1.nl.forwardProtocolRegistration bool true
wpanHost1.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.tn.forwardServiceRegistration bool true
wpanHost1.tn.forwardProtocolRegistration bool true
wpanHost1.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost1.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost1.at.forwardServiceRegistration bool true
wpanHost1.at.forwardProtocolRegistration bool true
wpanHost1.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost1.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost1.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.status.initialStatus string "UP"

TODO @signal, @statistic

wpanHost2.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.environment.initStage int 0

Initialization stage for the setup command

wpanHost2.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wpanHost2.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wpanHost2.environment.setupCommand string ""

A host OS system command

wpanHost2.environment.teardownCommand string ""

A host OS system command

wpanHost2.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.pcapRecorder.verbose bool true

Whether to log packets on the module output

wpanHost2.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wpanHost2.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wpanHost2.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

wpanHost2.pcapRecorder.fileFormat string "pcapng"
wpanHost2.pcapRecorder.snaplen int 65535

Maximum number of bytes to record per packet

wpanHost2.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wpanHost2.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

wpanHost2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

Space-separated list of sibling module names to listen on

wpanHost2.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wpanHost2.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wpanHost2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

Space-separated list of protocol names as defined in the Protocol class

wpanHost2.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wpanHost2.pcapRecorder.helpers string ""

Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

wpanHost2.pcapRecorder.alwaysFlush bool false

Flush the pcapFile after each write to ensure that all packets are captured in case of a crash

wpanHost2.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

wpanHost2.cb.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.cb.forwardServiceRegistration bool true
wpanHost2.cb.forwardProtocolRegistration bool true
wpanHost2.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.bl.forwardServiceRegistration bool true
wpanHost2.bl.forwardProtocolRegistration bool true
wpanHost2.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.li.forwardServiceRegistration bool true
wpanHost2.li.forwardProtocolRegistration bool true
wpanHost2.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.eth.bitrate double
wpanHost2.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.nl.forwardServiceRegistration bool true
wpanHost2.nl.forwardProtocolRegistration bool true
wpanHost2.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.tn.forwardServiceRegistration bool true
wpanHost2.tn.forwardProtocolRegistration bool true
wpanHost2.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wpanHost2.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wpanHost2.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wpanHost2.at.forwardServiceRegistration bool true
wpanHost2.at.forwardProtocolRegistration bool true
wpanHost2.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wpanHost2.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wpanHost2.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

Source code

network CoexistenceShowcase
{
    @statistic[bitErrorRate](title="Bit error rate"; source=bitErrorRate(packetSentToUpper); record=vector);
    @statistic[packetErrorRate](title="Packet error rate"; source=packetErrorRate(packetSentToUpper); record=vector);
    submodules:
        visualizer: IntegratedCanvasVisualizer {
            @display("p=5,5");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=5,10");
        }
        radioMedium: RadioMedium {
            @display("p=5,15");
        }
        wifiHost1: AdhocHost {
            @display("p=40.791748,11.9189995;i=device/laptop");
        }
        wifiHost2: AdhocHost {
            @display("p=40.791748,31.4415;i=device/laptop");
        }
        wpanHost1: AdhocHost {
            @display("p=23.426999,21.5775;i=misc/sensor2");
        }
        wpanHost2: AdhocHost {
            @display("p=51.1695,21.5775;i=misc/sensor2");
        }
}
File: showcases/wireless/coexistence/CoexistenceShowcase.ned