MulticastFailureProtectionShowcase

Package: inet.showcases.tsn.framereplication.multicastfailureprotection

MulticastFailureProtectionShowcase

network

(no description)

pcapRecorder[numPcapRecorders] : PcapRecorder

Records PCAP traces of frames sent/received by other modules within the same host.

Source:
pcapRecorder[numPcapRecorders]: PcapRecorder {
    parameters:
        moduleNamePatterns = ".^";
        @display("p=100,100;is=s");
} visualizer : like IIntegratedVisualizer

IIntegratedVisualizer: Interface allows configuring different ~IIntegratedVisualizer submodules from INI files.

Source:
visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if typename != "" {
    parameters:
        @display("p=100,200;is=s");
} configurator : like IL3NetworkConfigurator

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

IL3NetworkConfigurator: Interface for all layer 3 network configurators.

Source:
configurator: <default("Ipv4NetworkConfigurator")> like IL3NetworkConfigurator if typename != "" {
    parameters:
        @display("p=100,300;is=s");
} moduleDump[numModuleDumps] : ModuleDump

Source:
moduleDump[numModuleDumps]: ModuleDump {
    parameters:
        @display("p=100,400;is=s");
} macForwardingTableConfigurator : like INetworkConfigurator

INetworkConfigurator: Interface for all network-wide configurator modules.

Source:
macForwardingTableConfigurator: <default(hasGlobalArp ? "MacForwardingTableConfigurator" : "")> like INetworkConfigurator if typename != "" {
    @display("p=100,400;is=s");
} gateScheduleConfigurator : like IGateScheduleConfigurator

IGateScheduleConfigurator: Interface for gate scheduling configurator modules.

Source:
gateScheduleConfigurator: <default("")> like IGateScheduleConfigurator if typename != "" {
    @display("p=100,500;is=s");
} streamRedundancyConfigurator : like INetworkConfigurator

INetworkConfigurator: Interface for all network-wide configurator modules.

Source:
streamRedundancyConfigurator: <default("")> like INetworkConfigurator if typename != "" {
    @display("p=100,600;is=s");
} failureProtectionConfigurator : like INetworkConfigurator

INetworkConfigurator: Interface for all network-wide configurator modules.

Source:
failureProtectionConfigurator: <default("")> like INetworkConfigurator if typename != "" {
    @display("p=100,700;is=s");
} a : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
a: TsnSwitch {
    @display("p=500,200");
} b : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
b: TsnSwitch {
    @display("p=700,100");
} d : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
d: TsnSwitch {
    @display("p=900,100");
} c : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
c: TsnSwitch {
    @display("p=700,300");
} e : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
e: TsnSwitch {
    @display("p=900,300");
} f : TsnSwitch

An Ethernet switch with Time-Sensitive Networking (TSN) capabilities.

Source:
f: TsnSwitch {
    @display("p=1100,200");
}

Usage diagram

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

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
TsnNetworkBase network

Serves as a network base module for Time-Sensitive Networking (TSN).

Parameters

Name Type Default value Description
displayStringTextFormat string ""

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

recordPcap bool false
numPcapRecorders int recordPcap ? 1 : 0
numModuleDumps int 0
hasGlobalArp bool true

Properties

Name Value Description
class NetworkBase
isNetwork

Unassigned submodule parameters

Name Type Default value Description
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

pcapRecorder.verbose bool true

Whether to log packets on the module output

pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

pcapRecorder.helpers string ""

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

pcapRecorder.alwaysFlush bool false

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

moduleDump.modulePath string "^"
moduleDump.fileName string ""
moduleDump.time double 0
moduleDump.printClassNames bool false
moduleDump.printProperties bool false
moduleDump.printParamAssignmentLocations bool false
a.macTable.agingTime double
a.macTable.forwardingTableFile string
a.interfaceTable.displayStringTextFormat string ""

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

a.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

a.status.displayStringTextFormat string ""

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

a.status.initialStatus string "UP"

TODO @signal, @statistic

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

a.pcapRecorder.verbose bool true

Whether to log packets on the module output

a.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

a.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

a.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

a.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

a.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

a.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

a.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

a.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

a.pcapRecorder.helpers string ""

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

a.pcapRecorder.alwaysFlush bool false

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

a.mrp.ccmInterval double
a.mrp.mrpRole string
a.mrp.timingProfile int
a.mrp.uuid0 int
a.mrp.uuid1 int
a.mrp.ringPort1 int
a.mrp.ringPort2 int
a.mrp.interconnectionLinkCheckAware bool
a.mrp.interconnectionRingCheckAware bool
a.mrp.nonblockingMrcSupported bool
a.mrp.reactOnLinkChange bool
a.mrp.visualize bool
a.stp.helloTime double
a.stp.forwardDelay double
a.stp.maxAge double
a.stp.bridgePriority int
a.stp.visualize bool
a.gptp.gptpNodeType string "BRIDGE_NODE"
a.sc.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

a.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

a.sc.forwardServiceRegistration bool true
a.sc.forwardProtocolRegistration bool true
a.sc.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

a.sc.serviceMapping object {}

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

a.sc.protocolMapping object {}

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

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

a.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

a.cb.serviceMapping object {}

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

a.cb.protocolMapping object {}

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

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

a.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

a.bl.serviceMapping object {}

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

a.bl.protocolMapping object {}

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

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

a.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

a.li.serviceMapping object {}

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

a.li.protocolMapping object {}

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

a.eth.bitrate double
b.macTable.agingTime double
b.macTable.forwardingTableFile string
b.interfaceTable.displayStringTextFormat string ""

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

b.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

b.status.displayStringTextFormat string ""

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

b.status.initialStatus string "UP"

TODO @signal, @statistic

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

b.pcapRecorder.verbose bool true

Whether to log packets on the module output

b.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

b.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

b.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

b.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

b.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

b.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

b.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

b.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

b.pcapRecorder.helpers string ""

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

b.pcapRecorder.alwaysFlush bool false

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

b.mrp.ccmInterval double
b.mrp.mrpRole string
b.mrp.timingProfile int
b.mrp.uuid0 int
b.mrp.uuid1 int
b.mrp.ringPort1 int
b.mrp.ringPort2 int
b.mrp.interconnectionLinkCheckAware bool
b.mrp.interconnectionRingCheckAware bool
b.mrp.nonblockingMrcSupported bool
b.mrp.reactOnLinkChange bool
b.mrp.visualize bool
b.stp.helloTime double
b.stp.forwardDelay double
b.stp.maxAge double
b.stp.bridgePriority int
b.stp.visualize bool
b.gptp.gptpNodeType string "BRIDGE_NODE"
b.sc.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

b.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

b.sc.forwardServiceRegistration bool true
b.sc.forwardProtocolRegistration bool true
b.sc.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

b.sc.serviceMapping object {}

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

b.sc.protocolMapping object {}

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

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

b.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

b.cb.serviceMapping object {}

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

b.cb.protocolMapping object {}

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

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

b.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

b.bl.serviceMapping object {}

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

b.bl.protocolMapping object {}

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

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

b.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

b.li.serviceMapping object {}

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

b.li.protocolMapping object {}

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

b.eth.bitrate double
d.macTable.agingTime double
d.macTable.forwardingTableFile string
d.interfaceTable.displayStringTextFormat string ""

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

d.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

d.status.displayStringTextFormat string ""

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

d.status.initialStatus string "UP"

TODO @signal, @statistic

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

d.pcapRecorder.verbose bool true

Whether to log packets on the module output

d.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

d.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

d.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

d.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

d.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

d.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

d.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

d.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

d.pcapRecorder.helpers string ""

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

d.pcapRecorder.alwaysFlush bool false

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

d.mrp.ccmInterval double
d.mrp.mrpRole string
d.mrp.timingProfile int
d.mrp.uuid0 int
d.mrp.uuid1 int
d.mrp.ringPort1 int
d.mrp.ringPort2 int
d.mrp.interconnectionLinkCheckAware bool
d.mrp.interconnectionRingCheckAware bool
d.mrp.nonblockingMrcSupported bool
d.mrp.reactOnLinkChange bool
d.mrp.visualize bool
d.stp.helloTime double
d.stp.forwardDelay double
d.stp.maxAge double
d.stp.bridgePriority int
d.stp.visualize bool
d.gptp.gptpNodeType string "BRIDGE_NODE"
d.sc.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

d.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

d.sc.forwardServiceRegistration bool true
d.sc.forwardProtocolRegistration bool true
d.sc.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

d.sc.serviceMapping object {}

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

d.sc.protocolMapping object {}

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

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

d.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

d.cb.serviceMapping object {}

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

d.cb.protocolMapping object {}

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

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

d.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

d.bl.serviceMapping object {}

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

d.bl.protocolMapping object {}

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

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

d.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

d.li.serviceMapping object {}

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

d.li.protocolMapping object {}

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

d.eth.bitrate double
c.macTable.agingTime double
c.macTable.forwardingTableFile string
c.interfaceTable.displayStringTextFormat string ""

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

c.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

c.status.displayStringTextFormat string ""

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

c.status.initialStatus string "UP"

TODO @signal, @statistic

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

c.pcapRecorder.verbose bool true

Whether to log packets on the module output

c.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

c.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

c.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

c.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

c.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

c.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

c.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

c.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

c.pcapRecorder.helpers string ""

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

c.pcapRecorder.alwaysFlush bool false

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

c.mrp.ccmInterval double
c.mrp.mrpRole string
c.mrp.timingProfile int
c.mrp.uuid0 int
c.mrp.uuid1 int
c.mrp.ringPort1 int
c.mrp.ringPort2 int
c.mrp.interconnectionLinkCheckAware bool
c.mrp.interconnectionRingCheckAware bool
c.mrp.nonblockingMrcSupported bool
c.mrp.reactOnLinkChange bool
c.mrp.visualize bool
c.stp.helloTime double
c.stp.forwardDelay double
c.stp.maxAge double
c.stp.bridgePriority int
c.stp.visualize bool
c.gptp.gptpNodeType string "BRIDGE_NODE"
c.sc.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

c.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

c.sc.forwardServiceRegistration bool true
c.sc.forwardProtocolRegistration bool true
c.sc.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

c.sc.serviceMapping object {}

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

c.sc.protocolMapping object {}

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

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

c.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

c.cb.serviceMapping object {}

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

c.cb.protocolMapping object {}

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

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

c.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

c.bl.serviceMapping object {}

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

c.bl.protocolMapping object {}

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

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

c.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

c.li.serviceMapping object {}

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

c.li.protocolMapping object {}

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

c.eth.bitrate double
e.macTable.agingTime double
e.macTable.forwardingTableFile string
e.interfaceTable.displayStringTextFormat string ""

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

e.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

e.status.displayStringTextFormat string ""

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

e.status.initialStatus string "UP"

TODO @signal, @statistic

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

e.pcapRecorder.verbose bool true

Whether to log packets on the module output

e.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

e.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

e.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

e.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

e.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

e.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

e.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

e.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

e.pcapRecorder.helpers string ""

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

e.pcapRecorder.alwaysFlush bool false

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

e.mrp.ccmInterval double
e.mrp.mrpRole string
e.mrp.timingProfile int
e.mrp.uuid0 int
e.mrp.uuid1 int
e.mrp.ringPort1 int
e.mrp.ringPort2 int
e.mrp.interconnectionLinkCheckAware bool
e.mrp.interconnectionRingCheckAware bool
e.mrp.nonblockingMrcSupported bool
e.mrp.reactOnLinkChange bool
e.mrp.visualize bool
e.stp.helloTime double
e.stp.forwardDelay double
e.stp.maxAge double
e.stp.bridgePriority int
e.stp.visualize bool
e.gptp.gptpNodeType string "BRIDGE_NODE"
e.sc.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

e.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

e.sc.forwardServiceRegistration bool true
e.sc.forwardProtocolRegistration bool true
e.sc.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

e.sc.serviceMapping object {}

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

e.sc.protocolMapping object {}

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

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

e.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

e.cb.serviceMapping object {}

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

e.cb.protocolMapping object {}

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

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

e.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

e.bl.serviceMapping object {}

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

e.bl.protocolMapping object {}

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

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

e.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

e.li.serviceMapping object {}

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

e.li.protocolMapping object {}

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

e.eth.bitrate double
f.macTable.agingTime double
f.macTable.forwardingTableFile string
f.interfaceTable.displayStringTextFormat string ""

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

f.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

f.status.displayStringTextFormat string ""

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

f.status.initialStatus string "UP"

TODO @signal, @statistic

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

f.pcapRecorder.verbose bool true

Whether to log packets on the module output

f.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

f.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

f.pcapRecorder.pcapFile string ""

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

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

Maximum number of bytes to record per packet

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

f.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

f.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

f.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

f.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

f.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

f.pcapRecorder.helpers string ""

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

f.pcapRecorder.alwaysFlush bool false

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

f.mrp.ccmInterval double
f.mrp.mrpRole string
f.mrp.timingProfile int
f.mrp.uuid0 int
f.mrp.uuid1 int
f.mrp.ringPort1 int
f.mrp.ringPort2 int
f.mrp.interconnectionLinkCheckAware bool
f.mrp.interconnectionRingCheckAware bool
f.mrp.nonblockingMrcSupported bool
f.mrp.reactOnLinkChange bool
f.mrp.visualize bool
f.stp.helloTime double
f.stp.forwardDelay double
f.stp.maxAge double
f.stp.bridgePriority int
f.stp.visualize bool
f.gptp.gptpNodeType string "BRIDGE_NODE"
f.sc.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

f.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

f.sc.forwardServiceRegistration bool true
f.sc.forwardProtocolRegistration bool true
f.sc.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

f.sc.serviceMapping object {}

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

f.sc.protocolMapping object {}

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

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

f.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

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

f.cb.serviceMapping object {}

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

f.cb.protocolMapping object {}

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

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

f.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

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

f.bl.serviceMapping object {}

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

f.bl.protocolMapping object {}

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

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

f.li.interfaceTableModule string

Module path to the ~InterfaceTable module

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

f.li.serviceMapping object {}

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

f.li.protocolMapping object {}

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

f.eth.bitrate double

Source code

network MulticastFailureProtectionShowcase extends TsnNetworkBase
{
    submodules:
        a: TsnSwitch {
            @display("p=500,200");
        }
        b: TsnSwitch {
            @display("p=700,100");
        }
        d: TsnSwitch {
            @display("p=900,100");
        }
        c: TsnSwitch {
            @display("p=700,300");
        }
        e: TsnSwitch {
            @display("p=900,300");
        }
        f: TsnSwitch {
            @display("p=1100,200");
        }
    connections:
        a.ethg++ <--> EthernetLink <--> c.ethg++;
        a.ethg++ <--> EthernetLink <--> b.ethg++;
        b.ethg++ <--> EthernetLink <--> d.ethg++;
        b.ethg++ <--> EthernetLink <--> e.ethg++;
        c.ethg++ <--> EthernetLink <--> e.ethg++;
        d.ethg++ <--> EthernetLink <--> f.ethg++;
        e.ethg++ <--> EthernetLink <--> f.ethg++;
}
File: showcases/tsn/framereplication/multicastfailureprotection/MulticastFailureProtectionShowcase.ned