Package: inet.examples.inet.configurator
SimpleConfiguratorNetwork
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=450,300 |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| 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) |
| host11.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host11.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| host11.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host11.environment.initStage | int | 0 |
Initialization stage for the setup command |
| host11.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| host11.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| host11.environment.setupCommand | string | "" |
A host OS system command |
| host11.environment.teardownCommand | string | "" |
A host OS system command |
| host11.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 |
| host11.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| host11.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| host11.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| host11.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| host11.pcapRecorder.fileFormat | string | "pcapng" | |
| host11.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| host11.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). |
| host11.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| host11.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| host11.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| host11.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| host11.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| host11.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| host11.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| host11.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| host11.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host11.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| host11.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 |
| host11.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.cb.forwardServiceRegistration | bool | true | |
| host11.cb.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host11.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 |
| host11.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.bl.forwardServiceRegistration | bool | true | |
| host11.bl.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host11.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 |
| host11.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.li.forwardServiceRegistration | bool | true | |
| host11.li.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host11.eth.bitrate | double | ||
| host11.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 |
| host11.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.nl.forwardServiceRegistration | bool | true | |
| host11.nl.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host11.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 |
| host11.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.tn.forwardServiceRegistration | bool | true | |
| host11.tn.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host11.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 |
| host11.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host11.at.forwardServiceRegistration | bool | true | |
| host11.at.forwardProtocolRegistration | bool | true | |
| host11.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 |
| host11.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host11.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host21.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| host21.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host21.environment.initStage | int | 0 |
Initialization stage for the setup command |
| host21.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| host21.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| host21.environment.setupCommand | string | "" |
A host OS system command |
| host21.environment.teardownCommand | string | "" |
A host OS system command |
| host21.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 |
| host21.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| host21.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| host21.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| host21.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| host21.pcapRecorder.fileFormat | string | "pcapng" | |
| host21.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| host21.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). |
| host21.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| host21.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| host21.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| host21.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| host21.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| host21.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| host21.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| host21.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| host21.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host21.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| host21.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 |
| host21.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.cb.forwardServiceRegistration | bool | true | |
| host21.cb.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.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 |
| host21.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.bl.forwardServiceRegistration | bool | true | |
| host21.bl.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.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 |
| host21.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.li.forwardServiceRegistration | bool | true | |
| host21.li.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.eth.bitrate | double | ||
| host21.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 |
| host21.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.nl.forwardServiceRegistration | bool | true | |
| host21.nl.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.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 |
| host21.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.tn.forwardServiceRegistration | bool | true | |
| host21.tn.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host21.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 |
| host21.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host21.at.forwardServiceRegistration | bool | true | |
| host21.at.forwardProtocolRegistration | bool | true | |
| host21.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 |
| host21.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host21.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host12.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| host12.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host12.environment.initStage | int | 0 |
Initialization stage for the setup command |
| host12.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| host12.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| host12.environment.setupCommand | string | "" |
A host OS system command |
| host12.environment.teardownCommand | string | "" |
A host OS system command |
| host12.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 |
| host12.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| host12.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| host12.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| host12.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| host12.pcapRecorder.fileFormat | string | "pcapng" | |
| host12.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| host12.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). |
| host12.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| host12.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| host12.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| host12.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| host12.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| host12.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| host12.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| host12.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| host12.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host12.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| host12.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 |
| host12.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.cb.forwardServiceRegistration | bool | true | |
| host12.cb.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.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 |
| host12.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.bl.forwardServiceRegistration | bool | true | |
| host12.bl.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.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 |
| host12.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.li.forwardServiceRegistration | bool | true | |
| host12.li.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.eth.bitrate | double | ||
| host12.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 |
| host12.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.nl.forwardServiceRegistration | bool | true | |
| host12.nl.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.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 |
| host12.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.tn.forwardServiceRegistration | bool | true | |
| host12.tn.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host12.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 |
| host12.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host12.at.forwardServiceRegistration | bool | true | |
| host12.at.forwardProtocolRegistration | bool | true | |
| host12.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 |
| host12.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host12.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host22.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| host22.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host22.environment.initStage | int | 0 |
Initialization stage for the setup command |
| host22.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| host22.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| host22.environment.setupCommand | string | "" |
A host OS system command |
| host22.environment.teardownCommand | string | "" |
A host OS system command |
| host22.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 |
| host22.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| host22.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| host22.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| host22.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| host22.pcapRecorder.fileFormat | string | "pcapng" | |
| host22.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| host22.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). |
| host22.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| host22.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| host22.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| host22.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| host22.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| host22.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| host22.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| host22.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| host22.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| host22.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| host22.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 |
| host22.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.cb.forwardServiceRegistration | bool | true | |
| host22.cb.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.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 |
| host22.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.bl.forwardServiceRegistration | bool | true | |
| host22.bl.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.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 |
| host22.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.li.forwardServiceRegistration | bool | true | |
| host22.li.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.eth.bitrate | double | ||
| host22.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 |
| host22.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.nl.forwardServiceRegistration | bool | true | |
| host22.nl.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.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 |
| host22.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.tn.forwardServiceRegistration | bool | true | |
| host22.tn.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| host22.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 |
| host22.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| host22.at.forwardServiceRegistration | bool | true | |
| host22.at.forwardProtocolRegistration | bool | true | |
| host22.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 |
| host22.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| host22.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 SimpleConfiguratorNetwork { @display("bgb=450,300"); submodules: configurator: Ipv4NetworkConfigurator { parameters: @display("p=100,100;is=s"); } host11: StandardHost { parameters: @display("p=250,100"); } host21: StandardHost { parameters: @display("p=400,100"); } host12: StandardHost { parameters: @display("p=250,250"); } host22: StandardHost { parameters: @display("p=400,250"); } connections allowunconnected: host11.ethg++ <--> Eth1G <--> host21.ethg++; host11.ethg++ <--> Eth1G <--> host12.ethg++; host21.ethg++ <--> Eth1G <--> host22.ethg++; host12.ethg++ <--> Eth1G <--> host22.ethg++; }File: examples/inet/configurator/SimpleConfiguratorNetwork.ned