Ieee80211VisualizationAdvancedFeaturesShowcase

Package: inet.showcases.visualizer.canvas.ieee80211

Ieee80211VisualizationAdvancedFeaturesShowcase

network

(no description)

IntegratedVisualizer Ieee80211ScalarRadioMedium Ipv4NetworkConfigurator AccessPoint AccessPoint WirelessHost WirelessHost WirelessHost WirelessHost WirelessHost WirelessHost

Usage diagram

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

Properties

Name Value Description
isNetwork
display bgb=574,468

Unassigned submodule parameters

Name Type Default value Description
radioMedium.neighborCache.refillPeriod double
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 (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.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)

accessPointA.status.initialStatus string "UP"

TODO @signal, @statistic

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

accessPointA.bl.forwardServiceRegistration bool true
accessPointA.bl.forwardProtocolRegistration bool true
accessPointA.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

accessPointA.li.forwardServiceRegistration bool true
accessPointA.li.forwardProtocolRegistration bool true
accessPointA.eth.bitrate double
accessPointB.status.initialStatus string "UP"

TODO @signal, @statistic

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

accessPointB.bl.forwardServiceRegistration bool true
accessPointB.bl.forwardProtocolRegistration bool true
accessPointB.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

accessPointB.li.forwardServiceRegistration bool true
accessPointB.li.forwardProtocolRegistration bool true
accessPointB.eth.bitrate double
hostA1.status.initialStatus string "UP"

TODO @signal, @statistic

hostA1.pcapRecorder.verbose bool true

whether to log packets on the module output

hostA1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostA1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostA1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostA1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostA1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostA1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostA1.pcapRecorder.helpers string ""

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

hostA1.pcapRecorder.alwaysFlush bool false

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

hostA1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostA1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostA1.cb.forwardServiceRegistration bool true
hostA1.cb.forwardProtocolRegistration bool true
hostA1.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA1.bl.forwardServiceRegistration bool true
hostA1.bl.forwardProtocolRegistration bool true
hostA1.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA1.li.forwardServiceRegistration bool true
hostA1.li.forwardProtocolRegistration bool true
hostA1.eth.bitrate double
hostA1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA1.nl.forwardServiceRegistration bool true
hostA1.nl.forwardProtocolRegistration bool true
hostA1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA1.tn.forwardServiceRegistration bool true
hostA1.tn.forwardProtocolRegistration bool true
hostA1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA1.at.forwardServiceRegistration bool true
hostA1.at.forwardProtocolRegistration bool true
hostA2.status.initialStatus string "UP"

TODO @signal, @statistic

hostA2.pcapRecorder.verbose bool true

whether to log packets on the module output

hostA2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostA2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostA2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostA2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostA2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostA2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostA2.pcapRecorder.helpers string ""

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

hostA2.pcapRecorder.alwaysFlush bool false

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

hostA2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostA2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostA2.cb.forwardServiceRegistration bool true
hostA2.cb.forwardProtocolRegistration bool true
hostA2.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA2.bl.forwardServiceRegistration bool true
hostA2.bl.forwardProtocolRegistration bool true
hostA2.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA2.li.forwardServiceRegistration bool true
hostA2.li.forwardProtocolRegistration bool true
hostA2.eth.bitrate double
hostA2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA2.nl.forwardServiceRegistration bool true
hostA2.nl.forwardProtocolRegistration bool true
hostA2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA2.tn.forwardServiceRegistration bool true
hostA2.tn.forwardProtocolRegistration bool true
hostA2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA2.at.forwardServiceRegistration bool true
hostA2.at.forwardProtocolRegistration bool true
hostB1.status.initialStatus string "UP"

TODO @signal, @statistic

hostB1.pcapRecorder.verbose bool true

whether to log packets on the module output

hostB1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostB1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostB1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostB1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostB1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostB1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostB1.pcapRecorder.helpers string ""

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

hostB1.pcapRecorder.alwaysFlush bool false

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

hostB1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostB1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostB1.cb.forwardServiceRegistration bool true
hostB1.cb.forwardProtocolRegistration bool true
hostB1.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB1.bl.forwardServiceRegistration bool true
hostB1.bl.forwardProtocolRegistration bool true
hostB1.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB1.li.forwardServiceRegistration bool true
hostB1.li.forwardProtocolRegistration bool true
hostB1.eth.bitrate double
hostB1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB1.nl.forwardServiceRegistration bool true
hostB1.nl.forwardProtocolRegistration bool true
hostB1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB1.tn.forwardServiceRegistration bool true
hostB1.tn.forwardProtocolRegistration bool true
hostB1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB1.at.forwardServiceRegistration bool true
hostB1.at.forwardProtocolRegistration bool true
hostB2.status.initialStatus string "UP"

TODO @signal, @statistic

hostB2.pcapRecorder.verbose bool true

whether to log packets on the module output

hostB2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostB2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostB2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostB2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostB2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostB2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostB2.pcapRecorder.helpers string ""

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

hostB2.pcapRecorder.alwaysFlush bool false

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

hostB2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostB2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostB2.cb.forwardServiceRegistration bool true
hostB2.cb.forwardProtocolRegistration bool true
hostB2.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB2.bl.forwardServiceRegistration bool true
hostB2.bl.forwardProtocolRegistration bool true
hostB2.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB2.li.forwardServiceRegistration bool true
hostB2.li.forwardProtocolRegistration bool true
hostB2.eth.bitrate double
hostB2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB2.nl.forwardServiceRegistration bool true
hostB2.nl.forwardProtocolRegistration bool true
hostB2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB2.tn.forwardServiceRegistration bool true
hostB2.tn.forwardProtocolRegistration bool true
hostB2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB2.at.forwardServiceRegistration bool true
hostB2.at.forwardProtocolRegistration bool true
hostB3.status.initialStatus string "UP"

TODO @signal, @statistic

hostB3.pcapRecorder.verbose bool true

whether to log packets on the module output

hostB3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostB3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostB3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostB3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostB3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostB3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostB3.pcapRecorder.helpers string ""

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

hostB3.pcapRecorder.alwaysFlush bool false

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

hostB3.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostB3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostB3.cb.forwardServiceRegistration bool true
hostB3.cb.forwardProtocolRegistration bool true
hostB3.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB3.bl.forwardServiceRegistration bool true
hostB3.bl.forwardProtocolRegistration bool true
hostB3.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB3.li.forwardServiceRegistration bool true
hostB3.li.forwardProtocolRegistration bool true
hostB3.eth.bitrate double
hostB3.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB3.nl.forwardServiceRegistration bool true
hostB3.nl.forwardProtocolRegistration bool true
hostB3.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB3.tn.forwardServiceRegistration bool true
hostB3.tn.forwardProtocolRegistration bool true
hostB3.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostB3.at.forwardServiceRegistration bool true
hostB3.at.forwardProtocolRegistration bool true
hostA3.status.initialStatus string "UP"

TODO @signal, @statistic

hostA3.pcapRecorder.verbose bool true

whether to log packets on the module output

hostA3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

hostA3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

hostA3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

hostA3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

hostA3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

hostA3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

hostA3.pcapRecorder.helpers string ""

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

hostA3.pcapRecorder.alwaysFlush bool false

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

hostA3.pcapRecorder.displayStringTextFormat string "rec: %n pks"
hostA3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

hostA3.cb.forwardServiceRegistration bool true
hostA3.cb.forwardProtocolRegistration bool true
hostA3.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA3.bl.forwardServiceRegistration bool true
hostA3.bl.forwardProtocolRegistration bool true
hostA3.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA3.li.forwardServiceRegistration bool true
hostA3.li.forwardProtocolRegistration bool true
hostA3.eth.bitrate double
hostA3.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA3.nl.forwardServiceRegistration bool true
hostA3.nl.forwardProtocolRegistration bool true
hostA3.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA3.tn.forwardServiceRegistration bool true
hostA3.tn.forwardProtocolRegistration bool true
hostA3.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

hostA3.at.forwardServiceRegistration bool true
hostA3.at.forwardProtocolRegistration bool true

Source code

network Ieee80211VisualizationAdvancedFeaturesShowcase
{
    @display("bgb=574,468");
    submodules:
        visualizer: IntegratedVisualizer {
            parameters:
                @display("p=100,50");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=99,111");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                @display("p=100,178");
        }
        accessPointA: AccessPoint {
            parameters:
                @display("p=312,190");
        }
        accessPointB: AccessPoint {
            parameters:
                @display("p=392,269");
        }
        hostA1: WirelessHost {
            parameters:
                @display("p=286,99");
        }
        hostA2: WirelessHost {
            parameters:
                @display("p=475,177");
        }
        hostB1: WirelessHost {
            parameters:
                @display("p=233,313");
        }
        hostB2: WirelessHost {
            parameters:
                @display("p=375,403");
        }
        hostB3: WirelessHost {
            @display("p=406,89");
        }
        hostA3: WirelessHost {
            @display("p=501,328");
        }
}

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