Package: inet.showcases.visualizer.canvas.datalinkactivity
DataLinkVisualizerActivityLevelShowcase
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork | ||
| display | bgb=700,250 |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| 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) |
| radioMedium.neighborCache.refillPeriod | double | ||
| person1.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| person1.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| person1.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| person1.pcapRecorder.fileFormat | string | "pcapng" | |
| person1.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| person1.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| person1.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| person1.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| person1.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| person1.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| person1.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| person1.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| person1.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| person1.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| person1.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| person1.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.cb.forwardServiceRegistration | bool | true | |
| person1.cb.forwardProtocolRegistration | bool | true | |
| person1.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.bl.forwardServiceRegistration | bool | true | |
| person1.bl.forwardProtocolRegistration | bool | true | |
| person1.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.li.forwardServiceRegistration | bool | true | |
| person1.li.forwardProtocolRegistration | bool | true | |
| person1.eth.bitrate | double | ||
| person1.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.nl.forwardServiceRegistration | bool | true | |
| person1.nl.forwardProtocolRegistration | bool | true | |
| person1.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.tn.forwardServiceRegistration | bool | true | |
| person1.tn.forwardProtocolRegistration | bool | true | |
| person1.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person1.at.forwardServiceRegistration | bool | true | |
| person1.at.forwardProtocolRegistration | bool | true | |
| videoServer.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| videoServer.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| videoServer.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| videoServer.pcapRecorder.fileFormat | string | "pcapng" | |
| videoServer.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| videoServer.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| videoServer.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| videoServer.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| videoServer.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| videoServer.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| videoServer.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| videoServer.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| videoServer.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| videoServer.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| videoServer.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| videoServer.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.cb.forwardServiceRegistration | bool | true | |
| videoServer.cb.forwardProtocolRegistration | bool | true | |
| videoServer.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.bl.forwardServiceRegistration | bool | true | |
| videoServer.bl.forwardProtocolRegistration | bool | true | |
| videoServer.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.li.forwardServiceRegistration | bool | true | |
| videoServer.li.forwardProtocolRegistration | bool | true | |
| videoServer.eth.bitrate | double | ||
| videoServer.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.nl.forwardServiceRegistration | bool | true | |
| videoServer.nl.forwardProtocolRegistration | bool | true | |
| videoServer.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.tn.forwardServiceRegistration | bool | true | |
| videoServer.tn.forwardProtocolRegistration | bool | true | |
| videoServer.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| videoServer.at.forwardServiceRegistration | bool | true | |
| videoServer.at.forwardProtocolRegistration | bool | true | |
| person2.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| person2.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| person2.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| person2.pcapRecorder.fileFormat | string | "pcapng" | |
| person2.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| person2.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| person2.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| person2.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| person2.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| person2.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| person2.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| person2.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| person2.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| person2.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| person2.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| person2.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.cb.forwardServiceRegistration | bool | true | |
| person2.cb.forwardProtocolRegistration | bool | true | |
| person2.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.bl.forwardServiceRegistration | bool | true | |
| person2.bl.forwardProtocolRegistration | bool | true | |
| person2.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.li.forwardServiceRegistration | bool | true | |
| person2.li.forwardProtocolRegistration | bool | true | |
| person2.eth.bitrate | double | ||
| person2.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.nl.forwardServiceRegistration | bool | true | |
| person2.nl.forwardProtocolRegistration | bool | true | |
| person2.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.tn.forwardServiceRegistration | bool | true | |
| person2.tn.forwardProtocolRegistration | bool | true | |
| person2.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| person2.at.forwardServiceRegistration | bool | true | |
| person2.at.forwardProtocolRegistration | bool | true |
Source code
network DataLinkVisualizerActivityLevelShowcase { @display("bgb=700,250"); submodules: visualizer: IntegratedMultiVisualizer { parameters: @display("p=100,50"); } configurator: Ipv4NetworkConfigurator { parameters: @display("p=100,120"); } radioMedium: Ieee80211ScalarRadioMedium { parameters: @display("p=100,190"); } person1: AdhocHost { @display("p=269,42;i=misc/person3"); } videoServer: AdhocHost { @display("p=636,41;i=misc/desktoppc2"); } person2: AdhocHost { @display("p=452,180;i=misc/person4"); } }File: showcases/visualizer/canvas/datalinkactivity/DatalinkVisualizerShowcase.ned