Package: inet.examples.inet.flatnet
FlatNet
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 |
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.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) |
| rte.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| rte.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| rte.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| rte.environment.initStage | int | 0 |
Initialization stage for the setup command |
| rte.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| rte.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| rte.environment.setupCommand | string | "" |
A host OS system command |
| rte.environment.teardownCommand | string | "" |
A host OS system command |
| rte.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 |
| rte.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| rte.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| rte.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| rte.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| rte.pcapRecorder.fileFormat | string | "pcapng" | |
| rte.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| rte.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). |
| rte.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| rte.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| rte.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| rte.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| rte.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| rte.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| rte.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| rte.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| rte.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| rte.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| rte.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 |
| rte.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.cb.forwardServiceRegistration | bool | true | |
| rte.cb.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.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 |
| rte.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.bl.forwardServiceRegistration | bool | true | |
| rte.bl.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.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 |
| rte.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.li.forwardServiceRegistration | bool | true | |
| rte.li.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.eth.bitrate | double | ||
| rte.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 |
| rte.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.nl.forwardServiceRegistration | bool | true | |
| rte.nl.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.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 |
| rte.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.tn.forwardServiceRegistration | bool | true | |
| rte.tn.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.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 |
| rte.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| rte.at.forwardServiceRegistration | bool | true | |
| rte.at.forwardProtocolRegistration | bool | true | |
| rte.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 |
| rte.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| rte.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| rte.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| rte.bgp.routingTableModule | string | ||
| rte.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| cli.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cli.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| cli.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cli.environment.initStage | int | 0 |
Initialization stage for the setup command |
| cli.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| cli.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| cli.environment.setupCommand | string | "" |
A host OS system command |
| cli.environment.teardownCommand | string | "" |
A host OS system command |
| cli.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 |
| cli.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| cli.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| cli.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| cli.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| cli.pcapRecorder.fileFormat | string | "pcapng" | |
| cli.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| cli.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). |
| cli.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| cli.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| cli.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| cli.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| cli.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| cli.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| cli.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| cli.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| cli.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| cli.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| cli.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 |
| cli.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.cb.forwardServiceRegistration | bool | true | |
| cli.cb.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| cli.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 |
| cli.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.bl.forwardServiceRegistration | bool | true | |
| cli.bl.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| cli.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 |
| cli.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.li.forwardServiceRegistration | bool | true | |
| cli.li.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| cli.eth.bitrate | double | ||
| cli.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 |
| cli.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.nl.forwardServiceRegistration | bool | true | |
| cli.nl.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| cli.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 |
| cli.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.tn.forwardServiceRegistration | bool | true | |
| cli.tn.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| cli.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 |
| cli.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| cli.at.forwardServiceRegistration | bool | true | |
| cli.at.forwardProtocolRegistration | bool | true | |
| cli.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 |
| cli.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| cli.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| srv.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| srv.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| srv.environment.initStage | int | 0 |
Initialization stage for the setup command |
| srv.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| srv.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| srv.environment.setupCommand | string | "" |
A host OS system command |
| srv.environment.teardownCommand | string | "" |
A host OS system command |
| srv.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 |
| srv.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| srv.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| srv.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| srv.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| srv.pcapRecorder.fileFormat | string | "pcapng" | |
| srv.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| srv.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). |
| srv.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| srv.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| srv.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| srv.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| srv.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| srv.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| srv.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| srv.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| srv.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| srv.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| srv.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 |
| srv.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.cb.forwardServiceRegistration | bool | true | |
| srv.cb.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.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 |
| srv.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.bl.forwardServiceRegistration | bool | true | |
| srv.bl.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.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 |
| srv.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.li.forwardServiceRegistration | bool | true | |
| srv.li.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.eth.bitrate | double | ||
| srv.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 |
| srv.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.nl.forwardServiceRegistration | bool | true | |
| srv.nl.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.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 |
| srv.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.tn.forwardServiceRegistration | bool | true | |
| srv.tn.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| srv.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 |
| srv.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| srv.at.forwardServiceRegistration | bool | true | |
| srv.at.forwardProtocolRegistration | bool | true | |
| srv.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 |
| srv.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| srv.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 FlatNet { types: channel fiberline extends DatarateChannel { delay = 1us; datarate = 512Mbps; } channel ethernetline extends DatarateChannel { delay = 0.1us; datarate = 10Mbps; } submodules: configurator: Ipv4NetworkConfigurator { parameters: config = xml("<config><interface hosts='*' address='192.168.x.x' netmask='255.255.x.x'/></config>"); @display("p=100,100;is=s"); } rte[57]: Router; cli[2]: StandardHost { parameters: @display("i=device/laptop"); } srv: StandardHost { parameters: @display("i=device/server"); } connections: cli[0].pppg++ <--> ethernetline <--> rte[50].pppg++; cli[1].pppg++ <--> ethernetline <--> rte[8].pppg++; srv.pppg++ <--> fiberline <--> rte[18].pppg++; rte[0].pppg++ <--> fiberline <--> rte[1].pppg++; rte[1].pppg++ <--> fiberline <--> rte[2].pppg++; rte[1].pppg++ <--> fiberline <--> rte[4].pppg++; rte[3].pppg++ <--> fiberline <--> rte[4].pppg++; rte[4].pppg++ <--> fiberline <--> rte[5].pppg++; rte[4].pppg++ <--> fiberline <--> rte[7].pppg++; rte[5].pppg++ <--> fiberline <--> rte[6].pppg++; rte[5].pppg++ <--> fiberline <--> rte[10].pppg++; rte[6].pppg++ <--> fiberline <--> rte[7].pppg++; rte[6].pppg++ <--> fiberline <--> rte[9].pppg++; rte[7].pppg++ <--> fiberline <--> rte[8].pppg++; rte[7].pppg++ <--> fiberline <--> rte[12].pppg++; rte[9].pppg++ <--> fiberline <--> rte[11].pppg++; rte[10].pppg++ <--> fiberline <--> rte[11].pppg++; rte[10].pppg++ <--> fiberline <--> rte[13].pppg++; rte[11].pppg++ <--> fiberline <--> rte[12].pppg++; rte[11].pppg++ <--> fiberline <--> rte[14].pppg++; rte[12].pppg++ <--> fiberline <--> rte[15].pppg++; rte[13].pppg++ <--> fiberline <--> rte[18].pppg++; rte[14].pppg++ <--> fiberline <--> rte[15].pppg++; rte[14].pppg++ <--> fiberline <--> rte[22].pppg++; rte[15].pppg++ <--> fiberline <--> rte[16].pppg++; rte[16].pppg++ <--> fiberline <--> rte[17].pppg++; rte[16].pppg++ <--> fiberline <--> rte[23].pppg++; rte[18].pppg++ <--> fiberline <--> rte[19].pppg++; rte[18].pppg++ <--> fiberline <--> rte[21].pppg++; rte[19].pppg++ <--> fiberline <--> rte[20].pppg++; rte[19].pppg++ <--> fiberline <--> rte[26].pppg++; rte[20].pppg++ <--> fiberline <--> rte[21].pppg++; rte[20].pppg++ <--> fiberline <--> rte[24].pppg++; rte[20].pppg++ <--> fiberline <--> rte[25].pppg++; rte[21].pppg++ <--> fiberline <--> rte[22].pppg++; rte[21].pppg++ <--> fiberline <--> rte[23].pppg++; rte[21].pppg++ <--> fiberline <--> rte[24].pppg++; rte[23].pppg++ <--> fiberline <--> rte[24].pppg++; rte[24].pppg++ <--> fiberline <--> rte[28].pppg++; rte[25].pppg++ <--> fiberline <--> rte[27].pppg++; rte[26].pppg++ <--> fiberline <--> rte[32].pppg++; rte[27].pppg++ <--> fiberline <--> rte[29].pppg++; rte[27].pppg++ <--> fiberline <--> rte[30].pppg++; rte[27].pppg++ <--> fiberline <--> rte[32].pppg++; rte[28].pppg++ <--> fiberline <--> rte[29].pppg++; rte[28].pppg++ <--> fiberline <--> rte[31].pppg++; rte[29].pppg++ <--> fiberline <--> rte[31].pppg++; rte[30].pppg++ <--> fiberline <--> rte[36].pppg++; rte[31].pppg++ <--> fiberline <--> rte[33].pppg++; rte[32].pppg++ <--> fiberline <--> rte[34].pppg++; rte[33].pppg++ <--> fiberline <--> rte[37].pppg++; rte[34].pppg++ <--> fiberline <--> rte[35].pppg++; rte[34].pppg++ <--> fiberline <--> rte[40].pppg++; rte[35].pppg++ <--> fiberline <--> rte[36].pppg++; rte[35].pppg++ <--> fiberline <--> rte[39].pppg++; rte[36].pppg++ <--> fiberline <--> rte[37].pppg++; rte[37].pppg++ <--> fiberline <--> rte[38].pppg++; rte[38].pppg++ <--> fiberline <--> rte[39].pppg++; rte[38].pppg++ <--> fiberline <--> rte[42].pppg++; rte[39].pppg++ <--> fiberline <--> rte[40].pppg++; rte[39].pppg++ <--> fiberline <--> rte[41].pppg++; rte[40].pppg++ <--> fiberline <--> rte[43].pppg++; rte[40].pppg++ <--> fiberline <--> rte[44].pppg++; rte[40].pppg++ <--> fiberline <--> rte[52].pppg++; rte[41].pppg++ <--> fiberline <--> rte[42].pppg++; rte[41].pppg++ <--> fiberline <--> rte[43].pppg++; rte[42].pppg++ <--> fiberline <--> rte[43].pppg++; rte[43].pppg++ <--> fiberline <--> rte[46].pppg++; rte[44].pppg++ <--> fiberline <--> rte[45].pppg++; rte[44].pppg++ <--> fiberline <--> rte[47].pppg++; rte[45].pppg++ <--> fiberline <--> rte[46].pppg++; rte[46].pppg++ <--> fiberline <--> rte[49].pppg++; rte[47].pppg++ <--> fiberline <--> rte[48].pppg++; rte[48].pppg++ <--> fiberline <--> rte[50].pppg++; rte[48].pppg++ <--> fiberline <--> rte[51].pppg++; rte[49].pppg++ <--> fiberline <--> rte[50].pppg++; rte[50].pppg++ <--> fiberline <--> rte[53].pppg++; rte[51].pppg++ <--> fiberline <--> rte[52].pppg++; rte[51].pppg++ <--> fiberline <--> rte[53].pppg++; rte[52].pppg++ <--> fiberline <--> rte[53].pppg++; rte[52].pppg++ <--> fiberline <--> rte[54].pppg++; rte[53].pppg++ <--> fiberline <--> rte[56].pppg++; rte[54].pppg++ <--> fiberline <--> rte[55].pppg++; rte[55].pppg++ <--> fiberline <--> rte[56].pppg++; }File: examples/inet/flatnet/FlatNet.ned