RedMarkerNetwork

Package: inet.examples.inet.redmarker

RedMarkerNetwork

network

(no description)

routerCore1 : Router

A network router device with support for multiple routing protocols and network interfaces.

Source:
routerCore1: Router {
    parameters:
        @display("p=1026.4801,995.93005;i=abstract/router");

} routerCore2 : Router

A network router device with support for multiple routing protocols and network interfaces.

Source:
routerCore2: Router {
    parameters:
        @display("p=2945.02,995.93005;i=abstract/router");
} configurator : Ipv4NetworkConfigurator

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

Source:
configurator: Ipv4NetworkConfigurator; sender1 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
sender1: StandardHost {
    parameters:
        @display("p=342.16,995.93005");
} receiver1 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
receiver1: StandardHost {
    parameters:
        @display("p=3708.7703,995.93005");
}

Usage diagram

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

Properties

Name Value Description
isNetwork
display bgb=4166.738,3051.564,white;bgl=8

Unassigned submodule parameters

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

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

routerCore1.status.initialStatus string "UP"

TODO @signal, @statistic

routerCore1.environment.displayStringTextFormat string ""

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

routerCore1.environment.initStage int 0

Initialization stage for the setup command

routerCore1.environment.globalNamespace bool false

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

routerCore1.environment.namespace string ""

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

routerCore1.environment.setupCommand string ""

A host OS system command

routerCore1.environment.teardownCommand string ""

A host OS system command

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

routerCore1.pcapRecorder.verbose bool true

Whether to log packets on the module output

routerCore1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

routerCore1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

routerCore1.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

routerCore1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

routerCore1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

routerCore1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

routerCore1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

routerCore1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

routerCore1.pcapRecorder.helpers string ""

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

routerCore1.pcapRecorder.alwaysFlush bool false

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

routerCore1.interfaceTable.displayStringTextFormat string ""

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

routerCore1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

routerCore1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.cb.serviceMapping object {}

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

routerCore1.cb.protocolMapping object {}

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

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

routerCore1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.bl.serviceMapping object {}

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

routerCore1.bl.protocolMapping object {}

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

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

routerCore1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.li.serviceMapping object {}

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

routerCore1.li.protocolMapping object {}

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

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

routerCore1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.nl.serviceMapping object {}

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

routerCore1.nl.protocolMapping object {}

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

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

routerCore1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.tn.serviceMapping object {}

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

routerCore1.tn.protocolMapping object {}

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

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

routerCore1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore1.at.serviceMapping object {}

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

routerCore1.at.protocolMapping object {}

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

routerCore1.bgp.interfaceTableModule string

The path to the InterfaceTable module

routerCore1.bgp.routingTableModule string
routerCore1.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
routerCore2.status.displayStringTextFormat string ""

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

routerCore2.status.initialStatus string "UP"

TODO @signal, @statistic

routerCore2.environment.displayStringTextFormat string ""

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

routerCore2.environment.initStage int 0

Initialization stage for the setup command

routerCore2.environment.globalNamespace bool false

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

routerCore2.environment.namespace string ""

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

routerCore2.environment.setupCommand string ""

A host OS system command

routerCore2.environment.teardownCommand string ""

A host OS system command

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

routerCore2.pcapRecorder.verbose bool true

Whether to log packets on the module output

routerCore2.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

routerCore2.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

routerCore2.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

routerCore2.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

routerCore2.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

routerCore2.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

routerCore2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

routerCore2.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

routerCore2.pcapRecorder.helpers string ""

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

routerCore2.pcapRecorder.alwaysFlush bool false

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

routerCore2.interfaceTable.displayStringTextFormat string ""

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

routerCore2.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

routerCore2.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.cb.serviceMapping object {}

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

routerCore2.cb.protocolMapping object {}

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

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

routerCore2.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.bl.serviceMapping object {}

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

routerCore2.bl.protocolMapping object {}

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

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

routerCore2.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.li.serviceMapping object {}

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

routerCore2.li.protocolMapping object {}

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

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

routerCore2.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.nl.serviceMapping object {}

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

routerCore2.nl.protocolMapping object {}

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

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

routerCore2.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.tn.serviceMapping object {}

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

routerCore2.tn.protocolMapping object {}

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

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

routerCore2.at.interfaceTableModule string

Module path to the ~InterfaceTable module

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

routerCore2.at.serviceMapping object {}

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

routerCore2.at.protocolMapping object {}

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

routerCore2.bgp.interfaceTableModule string

The path to the InterfaceTable module

routerCore2.bgp.routingTableModule string
routerCore2.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
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)

sender1.status.displayStringTextFormat string ""

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

sender1.status.initialStatus string "UP"

TODO @signal, @statistic

sender1.environment.displayStringTextFormat string ""

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

sender1.environment.initStage int 0

Initialization stage for the setup command

sender1.environment.globalNamespace bool false

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

sender1.environment.namespace string ""

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

sender1.environment.setupCommand string ""

A host OS system command

sender1.environment.teardownCommand string ""

A host OS system command

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

sender1.pcapRecorder.verbose bool true

Whether to log packets on the module output

sender1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

sender1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

sender1.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

sender1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

sender1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

sender1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

sender1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

sender1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

sender1.pcapRecorder.helpers string ""

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

sender1.pcapRecorder.alwaysFlush bool false

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

sender1.interfaceTable.displayStringTextFormat string ""

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

sender1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

sender1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.cb.serviceMapping object {}

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

sender1.cb.protocolMapping object {}

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

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

sender1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.bl.serviceMapping object {}

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

sender1.bl.protocolMapping object {}

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

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

sender1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.li.serviceMapping object {}

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

sender1.li.protocolMapping object {}

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

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

sender1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.nl.serviceMapping object {}

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

sender1.nl.protocolMapping object {}

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

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

sender1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.tn.serviceMapping object {}

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

sender1.tn.protocolMapping object {}

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

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

sender1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

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

sender1.at.serviceMapping object {}

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

sender1.at.protocolMapping object {}

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

receiver1.status.displayStringTextFormat string ""

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

receiver1.status.initialStatus string "UP"

TODO @signal, @statistic

receiver1.environment.displayStringTextFormat string ""

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

receiver1.environment.initStage int 0

Initialization stage for the setup command

receiver1.environment.globalNamespace bool false

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

receiver1.environment.namespace string ""

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

receiver1.environment.setupCommand string ""

A host OS system command

receiver1.environment.teardownCommand string ""

A host OS system command

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

receiver1.pcapRecorder.verbose bool true

Whether to log packets on the module output

receiver1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

receiver1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

receiver1.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

receiver1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

receiver1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

receiver1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

receiver1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

receiver1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

receiver1.pcapRecorder.helpers string ""

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

receiver1.pcapRecorder.alwaysFlush bool false

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

receiver1.interfaceTable.displayStringTextFormat string ""

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

receiver1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

receiver1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.cb.serviceMapping object {}

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

receiver1.cb.protocolMapping object {}

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

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

receiver1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.bl.serviceMapping object {}

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

receiver1.bl.protocolMapping object {}

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

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

receiver1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.li.serviceMapping object {}

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

receiver1.li.protocolMapping object {}

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

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

receiver1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.nl.serviceMapping object {}

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

receiver1.nl.protocolMapping object {}

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

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

receiver1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.tn.serviceMapping object {}

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

receiver1.tn.protocolMapping object {}

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

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

receiver1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

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

receiver1.at.serviceMapping object {}

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

receiver1.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 RedMarkerNetwork
{
    parameters:
        @display("bgb=4166.738,3051.564,white;bgl=8");

    submodules:


        routerCore1: Router {
            parameters:
                @display("p=1026.4801,995.93005;i=abstract/router");

        }
        routerCore2: Router {
            parameters:
                @display("p=2945.02,995.93005;i=abstract/router");
        }

        configurator: Ipv4NetworkConfigurator;
        sender1: StandardHost {
            parameters:
                @display("p=342.16,995.93005");
        }

        receiver1: StandardHost {
            parameters:
                @display("p=3708.7703,995.93005");
        }

    connections:

        sender1.ethg++ <--> FastP <--> routerCore1.ethg++;
        receiver1.ethg++ <--> FastP <--> routerCore2.ethg++;
        routerCore1.ethg++ <--> NormalP <--> routerCore2.ethg++;


}




File: examples/inet/redmarker/network.ned