Ieee80211VisualizationVisualizingHandoverShowcase

Package: inet.showcases.visualizer.canvas.ieee80211

Ieee80211VisualizationVisualizingHandoverShowcase

network

(no description)

accessPointA : AccessPoint

A wireless access point device that connects wireless stations (like WirelessHost) to a wired...

Source:
accessPointA: AccessPoint {
    @display("p=100,250");
} accessPointB : AccessPoint

A wireless access point device that connects wireless stations (like WirelessHost) to a wired...

Source:
accessPointB: AccessPoint {
    @display("p=450,250");
} configurator : Ipv4NetworkConfigurator

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

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

Integrates all canvas visualizers into a single module.

Source:
visualizer: IntegratedCanvasVisualizer {
    @display("p=203,344");
} radioMedium : Ieee80211RadioMedium

This radio medium model is part of the IEEE 802.11 physical layer model.

Source:
radioMedium: Ieee80211RadioMedium {
    @display("p=317,346");
} wirelessHost : WirelessHost

A mobile device with wireless connectivity operating in infrastructure mode.

Source:
wirelessHost: WirelessHost {
    @display("p=100,150");
}

Usage diagram

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

Properties

Name Value Description
isNetwork
display bgb=561,411

Unassigned submodule parameters

Name Type Default value Description
accessPointA.status.displayStringTextFormat string ""

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

accessPointA.status.initialStatus string "UP"

TODO @signal, @statistic

accessPointA.interfaceTable.displayStringTextFormat string ""

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

accessPointA.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

accessPointA.macTable.agingTime double
accessPointA.macTable.forwardingTableFile string
accessPointA.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

accessPointA.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPointA.bl.forwardServiceRegistration bool true
accessPointA.bl.forwardProtocolRegistration bool true
accessPointA.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

accessPointA.bl.serviceMapping object {}

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

accessPointA.bl.protocolMapping object {}

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

accessPointA.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

accessPointA.li.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPointA.li.forwardServiceRegistration bool true
accessPointA.li.forwardProtocolRegistration bool true
accessPointA.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

accessPointA.li.serviceMapping object {}

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

accessPointA.li.protocolMapping object {}

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

accessPointA.eth.bitrate double
accessPointB.status.displayStringTextFormat string ""

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

accessPointB.status.initialStatus string "UP"

TODO @signal, @statistic

accessPointB.interfaceTable.displayStringTextFormat string ""

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

accessPointB.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

accessPointB.macTable.agingTime double
accessPointB.macTable.forwardingTableFile string
accessPointB.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

accessPointB.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPointB.bl.forwardServiceRegistration bool true
accessPointB.bl.forwardProtocolRegistration bool true
accessPointB.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

accessPointB.bl.serviceMapping object {}

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

accessPointB.bl.protocolMapping object {}

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

accessPointB.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

accessPointB.li.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPointB.li.forwardServiceRegistration bool true
accessPointB.li.forwardProtocolRegistration bool true
accessPointB.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

accessPointB.li.serviceMapping object {}

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

accessPointB.li.protocolMapping object {}

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

accessPointB.eth.bitrate double
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)

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
radioMedium.neighborCache.refillPeriod double
wirelessHost.status.displayStringTextFormat string ""

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

wirelessHost.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessHost.environment.displayStringTextFormat string ""

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

wirelessHost.environment.initStage int 0

Initialization stage for the setup command

wirelessHost.environment.globalNamespace bool false

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

wirelessHost.environment.namespace string ""

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

wirelessHost.environment.setupCommand string ""

A host OS system command

wirelessHost.environment.teardownCommand string ""

A host OS system command

wirelessHost.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

wirelessHost.pcapRecorder.verbose bool true

Whether to log packets on the module output

wirelessHost.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wirelessHost.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wirelessHost.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

wirelessHost.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).

wirelessHost.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

wirelessHost.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wirelessHost.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wirelessHost.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

wirelessHost.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wirelessHost.pcapRecorder.helpers string ""

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

wirelessHost.pcapRecorder.alwaysFlush bool false

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

wirelessHost.interfaceTable.displayStringTextFormat string ""

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

wirelessHost.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

wirelessHost.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

wirelessHost.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.cb.forwardServiceRegistration bool true
wirelessHost.cb.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.cb.serviceMapping object {}

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

wirelessHost.cb.protocolMapping object {}

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

wirelessHost.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

wirelessHost.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.bl.forwardServiceRegistration bool true
wirelessHost.bl.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.bl.serviceMapping object {}

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

wirelessHost.bl.protocolMapping object {}

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

wirelessHost.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

wirelessHost.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.li.forwardServiceRegistration bool true
wirelessHost.li.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.li.serviceMapping object {}

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

wirelessHost.li.protocolMapping object {}

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

wirelessHost.eth.bitrate double
wirelessHost.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

wirelessHost.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.nl.forwardServiceRegistration bool true
wirelessHost.nl.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.nl.serviceMapping object {}

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

wirelessHost.nl.protocolMapping object {}

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

wirelessHost.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

wirelessHost.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.tn.forwardServiceRegistration bool true
wirelessHost.tn.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.tn.serviceMapping object {}

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

wirelessHost.tn.protocolMapping object {}

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

wirelessHost.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

wirelessHost.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost.at.forwardServiceRegistration bool true
wirelessHost.at.forwardProtocolRegistration bool true
wirelessHost.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

wirelessHost.at.serviceMapping object {}

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

wirelessHost.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 Ieee80211VisualizationVisualizingHandoverShowcase
{
    @display("bgb=561,411");
    submodules:
        accessPointA: AccessPoint {
            @display("p=100,250");
        }
        accessPointB: AccessPoint {
            @display("p=450,250");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=100,344");
        }
        visualizer: IntegratedCanvasVisualizer {
            @display("p=203,344");
        }
        radioMedium: Ieee80211RadioMedium {
            @display("p=317,346");
        }
        wirelessHost: WirelessHost {
            @display("p=100,150");
        }
}

File: showcases/visualizer/canvas/ieee80211/Ieee80211VisualizationShowcase.ned