MulticastFailureProtectionShowcase

Package: inet.showcases.tsn.framereplication.multicastfailureprotection

MulticastFailureProtectionShowcase

network

(no description)

PcapRecorder IIntegratedVisualizer IL3NetworkConfigurator INetworkConfigurator IGateScheduleConfigurator INetworkConfigurator INetworkConfigurator TsnSwitch TsnSwitch TsnSwitch TsnSwitch TsnSwitch TsnSwitch

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

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

Parameters

Name Type Default value Description
recordPcap bool false
numPcapRecorders int recordPcap ? 1 : 0
hasGlobalArp bool true

Properties

Name Value Description
isNetwork
class NetworkBase

Unassigned submodule parameters

Name Type Default value Description
pcapRecorder.verbose bool true

whether to log packets on the module output

pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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

pcapRecorder.displayStringTextFormat string "rec: %n pks"
a.macTable.agingTime double
a.macTable.forwardingTableFile string
a.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

a.l2NodeConfigurator.interfaceTableModule string
a.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

a.status.initialStatus string "UP"

TODO @signal, @statistic

a.pcapRecorder.verbose bool true

whether to log packets on the module output

a.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

a.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
a.stp.helloTime double
a.stp.forwardDelay double
a.stp.maxAge double
a.stp.bridgePriority int
a.stp.visualize bool
a.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

a.sc.forwardServiceRegistration bool true
a.sc.forwardProtocolRegistration bool true
a.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

a.cb.forwardServiceRegistration bool true
a.cb.forwardProtocolRegistration bool true
a.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

a.bl.forwardServiceRegistration bool true
a.bl.forwardProtocolRegistration bool true
a.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

a.li.forwardServiceRegistration bool true
a.li.forwardProtocolRegistration bool true
a.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

a.cutthrough.forwardServiceRegistration bool true
a.cutthrough.forwardProtocolRegistration bool true
a.eth.bitrate double
b.macTable.agingTime double
b.macTable.forwardingTableFile string
b.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

b.l2NodeConfigurator.interfaceTableModule string
b.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

b.status.initialStatus string "UP"

TODO @signal, @statistic

b.pcapRecorder.verbose bool true

whether to log packets on the module output

b.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

b.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
b.stp.helloTime double
b.stp.forwardDelay double
b.stp.maxAge double
b.stp.bridgePriority int
b.stp.visualize bool
b.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

b.sc.forwardServiceRegistration bool true
b.sc.forwardProtocolRegistration bool true
b.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

b.cb.forwardServiceRegistration bool true
b.cb.forwardProtocolRegistration bool true
b.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

b.bl.forwardServiceRegistration bool true
b.bl.forwardProtocolRegistration bool true
b.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

b.li.forwardServiceRegistration bool true
b.li.forwardProtocolRegistration bool true
b.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

b.cutthrough.forwardServiceRegistration bool true
b.cutthrough.forwardProtocolRegistration bool true
b.eth.bitrate double
d.macTable.agingTime double
d.macTable.forwardingTableFile string
d.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

d.l2NodeConfigurator.interfaceTableModule string
d.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

d.status.initialStatus string "UP"

TODO @signal, @statistic

d.pcapRecorder.verbose bool true

whether to log packets on the module output

d.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

d.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
d.stp.helloTime double
d.stp.forwardDelay double
d.stp.maxAge double
d.stp.bridgePriority int
d.stp.visualize bool
d.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

d.sc.forwardServiceRegistration bool true
d.sc.forwardProtocolRegistration bool true
d.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

d.cb.forwardServiceRegistration bool true
d.cb.forwardProtocolRegistration bool true
d.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

d.bl.forwardServiceRegistration bool true
d.bl.forwardProtocolRegistration bool true
d.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

d.li.forwardServiceRegistration bool true
d.li.forwardProtocolRegistration bool true
d.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

d.cutthrough.forwardServiceRegistration bool true
d.cutthrough.forwardProtocolRegistration bool true
d.eth.bitrate double
c.macTable.agingTime double
c.macTable.forwardingTableFile string
c.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

c.l2NodeConfigurator.interfaceTableModule string
c.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

c.status.initialStatus string "UP"

TODO @signal, @statistic

c.pcapRecorder.verbose bool true

whether to log packets on the module output

c.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

c.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
c.stp.helloTime double
c.stp.forwardDelay double
c.stp.maxAge double
c.stp.bridgePriority int
c.stp.visualize bool
c.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

c.sc.forwardServiceRegistration bool true
c.sc.forwardProtocolRegistration bool true
c.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

c.cb.forwardServiceRegistration bool true
c.cb.forwardProtocolRegistration bool true
c.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

c.bl.forwardServiceRegistration bool true
c.bl.forwardProtocolRegistration bool true
c.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

c.li.forwardServiceRegistration bool true
c.li.forwardProtocolRegistration bool true
c.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

c.cutthrough.forwardServiceRegistration bool true
c.cutthrough.forwardProtocolRegistration bool true
c.eth.bitrate double
e.macTable.agingTime double
e.macTable.forwardingTableFile string
e.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

e.l2NodeConfigurator.interfaceTableModule string
e.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

e.status.initialStatus string "UP"

TODO @signal, @statistic

e.pcapRecorder.verbose bool true

whether to log packets on the module output

e.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

e.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
e.stp.helloTime double
e.stp.forwardDelay double
e.stp.maxAge double
e.stp.bridgePriority int
e.stp.visualize bool
e.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

e.sc.forwardServiceRegistration bool true
e.sc.forwardProtocolRegistration bool true
e.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

e.cb.forwardServiceRegistration bool true
e.cb.forwardProtocolRegistration bool true
e.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

e.bl.forwardServiceRegistration bool true
e.bl.forwardProtocolRegistration bool true
e.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

e.li.forwardServiceRegistration bool true
e.li.forwardProtocolRegistration bool true
e.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

e.cutthrough.forwardServiceRegistration bool true
e.cutthrough.forwardProtocolRegistration bool true
e.eth.bitrate double
f.macTable.agingTime double
f.macTable.forwardingTableFile string
f.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

f.l2NodeConfigurator.interfaceTableModule string
f.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

f.status.initialStatus string "UP"

TODO @signal, @statistic

f.pcapRecorder.verbose bool true

whether to log packets on the module output

f.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

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 "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

f.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

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.pcapRecorder.displayStringTextFormat string "rec: %n pks"
f.stp.helloTime double
f.stp.forwardDelay double
f.stp.maxAge double
f.stp.bridgePriority int
f.stp.visualize bool
f.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

f.sc.forwardServiceRegistration bool true
f.sc.forwardProtocolRegistration bool true
f.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

f.cb.forwardServiceRegistration bool true
f.cb.forwardProtocolRegistration bool true
f.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

f.bl.forwardServiceRegistration bool true
f.bl.forwardProtocolRegistration bool true
f.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

f.li.forwardServiceRegistration bool true
f.li.forwardProtocolRegistration bool true
f.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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