TwoMasterClocksTreeGptpShowcase

Package: inet.showcases.tsn.timesynchronization.gptp

TwoMasterClocksTreeGptpShowcase

network

(no description)

PcapRecorder IIntegratedVisualizer IL3NetworkConfigurator INetworkConfigurator IGateScheduleConfigurator INetworkConfigurator INetworkConfigurator TsnClock TsnClock TsnSwitch TsnSwitch TsnDevice TsnDevice TsnDevice TsnDevice

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"
tsnClock1.status.initialStatus string "UP"

TODO @signal, @statistic

tsnClock1.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnClock1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnClock1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnClock1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnClock1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnClock1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnClock1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnClock1.pcapRecorder.helpers string ""

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

tsnClock1.pcapRecorder.alwaysFlush bool false

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

tsnClock1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnClock1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnClock1.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnClock1.li.forwardServiceRegistration bool true
tsnClock1.li.forwardProtocolRegistration bool true
tsnClock1.eth.bitrate double
tsnClock1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock1.nl.forwardServiceRegistration bool true
tsnClock1.nl.forwardProtocolRegistration bool true
tsnClock1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock1.tn.forwardServiceRegistration bool true
tsnClock1.tn.forwardProtocolRegistration bool true
tsnClock1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock1.at.forwardServiceRegistration bool true
tsnClock1.at.forwardProtocolRegistration bool true
tsnClock2.status.initialStatus string "UP"

TODO @signal, @statistic

tsnClock2.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnClock2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnClock2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnClock2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnClock2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnClock2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnClock2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnClock2.pcapRecorder.helpers string ""

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

tsnClock2.pcapRecorder.alwaysFlush bool false

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

tsnClock2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnClock2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnClock2.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnClock2.li.forwardServiceRegistration bool true
tsnClock2.li.forwardProtocolRegistration bool true
tsnClock2.eth.bitrate double
tsnClock2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock2.nl.forwardServiceRegistration bool true
tsnClock2.nl.forwardProtocolRegistration bool true
tsnClock2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock2.tn.forwardServiceRegistration bool true
tsnClock2.tn.forwardProtocolRegistration bool true
tsnClock2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnClock2.at.forwardServiceRegistration bool true
tsnClock2.at.forwardProtocolRegistration bool true
tsnSwitch1.macTable.agingTime double
tsnSwitch1.macTable.forwardingTableFile string
tsnSwitch1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnSwitch1.l2NodeConfigurator.interfaceTableModule string
tsnSwitch1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

tsnSwitch1.status.initialStatus string "UP"

TODO @signal, @statistic

tsnSwitch1.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnSwitch1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnSwitch1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnSwitch1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnSwitch1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnSwitch1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnSwitch1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnSwitch1.pcapRecorder.helpers string ""

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

tsnSwitch1.pcapRecorder.alwaysFlush bool false

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

tsnSwitch1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnSwitch1.stp.helloTime double
tsnSwitch1.stp.forwardDelay double
tsnSwitch1.stp.maxAge double
tsnSwitch1.stp.bridgePriority int
tsnSwitch1.stp.visualize bool
tsnSwitch1.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

whether to display IP addresses on links

tsnSwitch2.l2NodeConfigurator.interfaceTableModule string
tsnSwitch2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

tsnSwitch2.status.initialStatus string "UP"

TODO @signal, @statistic

tsnSwitch2.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnSwitch2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnSwitch2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnSwitch2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnSwitch2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnSwitch2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnSwitch2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnSwitch2.pcapRecorder.helpers string ""

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

tsnSwitch2.pcapRecorder.alwaysFlush bool false

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

tsnSwitch2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnSwitch2.stp.helloTime double
tsnSwitch2.stp.forwardDelay double
tsnSwitch2.stp.maxAge double
tsnSwitch2.stp.bridgePriority int
tsnSwitch2.stp.visualize bool
tsnSwitch2.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnSwitch2.cutthrough.forwardServiceRegistration bool true
tsnSwitch2.cutthrough.forwardProtocolRegistration bool true
tsnSwitch2.eth.bitrate double
tsnDevice1.status.initialStatus string "UP"

TODO @signal, @statistic

tsnDevice1.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnDevice1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnDevice1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnDevice1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnDevice1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnDevice1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnDevice1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnDevice1.pcapRecorder.helpers string ""

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

tsnDevice1.pcapRecorder.alwaysFlush bool false

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

tsnDevice1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnDevice1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnDevice1.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnDevice1.li.forwardServiceRegistration bool true
tsnDevice1.li.forwardProtocolRegistration bool true
tsnDevice1.eth.bitrate double
tsnDevice1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice1.nl.forwardServiceRegistration bool true
tsnDevice1.nl.forwardProtocolRegistration bool true
tsnDevice1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice1.tn.forwardServiceRegistration bool true
tsnDevice1.tn.forwardProtocolRegistration bool true
tsnDevice1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice1.at.forwardServiceRegistration bool true
tsnDevice1.at.forwardProtocolRegistration bool true
tsnDevice2.status.initialStatus string "UP"

TODO @signal, @statistic

tsnDevice2.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnDevice2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnDevice2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnDevice2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnDevice2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnDevice2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnDevice2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnDevice2.pcapRecorder.helpers string ""

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

tsnDevice2.pcapRecorder.alwaysFlush bool false

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

tsnDevice2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnDevice2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnDevice2.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnDevice2.li.forwardServiceRegistration bool true
tsnDevice2.li.forwardProtocolRegistration bool true
tsnDevice2.eth.bitrate double
tsnDevice2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice2.nl.forwardServiceRegistration bool true
tsnDevice2.nl.forwardProtocolRegistration bool true
tsnDevice2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice2.tn.forwardServiceRegistration bool true
tsnDevice2.tn.forwardProtocolRegistration bool true
tsnDevice2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice2.at.forwardServiceRegistration bool true
tsnDevice2.at.forwardProtocolRegistration bool true
tsnDevice3.status.initialStatus string "UP"

TODO @signal, @statistic

tsnDevice3.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnDevice3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnDevice3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnDevice3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnDevice3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnDevice3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnDevice3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnDevice3.pcapRecorder.helpers string ""

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

tsnDevice3.pcapRecorder.alwaysFlush bool false

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

tsnDevice3.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnDevice3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnDevice3.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnDevice3.li.forwardServiceRegistration bool true
tsnDevice3.li.forwardProtocolRegistration bool true
tsnDevice3.eth.bitrate double
tsnDevice3.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice3.nl.forwardServiceRegistration bool true
tsnDevice3.nl.forwardProtocolRegistration bool true
tsnDevice3.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice3.tn.forwardServiceRegistration bool true
tsnDevice3.tn.forwardProtocolRegistration bool true
tsnDevice3.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice3.at.forwardServiceRegistration bool true
tsnDevice3.at.forwardProtocolRegistration bool true
tsnDevice4.status.initialStatus string "UP"

TODO @signal, @statistic

tsnDevice4.pcapRecorder.verbose bool true

whether to log packets on the module output

tsnDevice4.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

tsnDevice4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tsnDevice4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tsnDevice4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tsnDevice4.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

tsnDevice4.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

tsnDevice4.pcapRecorder.helpers string ""

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

tsnDevice4.pcapRecorder.alwaysFlush bool false

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

tsnDevice4.pcapRecorder.displayStringTextFormat string "rec: %n pks"
tsnDevice4.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

tsnDevice4.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

tsnDevice4.li.forwardServiceRegistration bool true
tsnDevice4.li.forwardProtocolRegistration bool true
tsnDevice4.eth.bitrate double
tsnDevice4.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice4.nl.forwardServiceRegistration bool true
tsnDevice4.nl.forwardProtocolRegistration bool true
tsnDevice4.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice4.tn.forwardServiceRegistration bool true
tsnDevice4.tn.forwardProtocolRegistration bool true
tsnDevice4.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

tsnDevice4.at.forwardServiceRegistration bool true
tsnDevice4.at.forwardProtocolRegistration bool true

Source code

network TwoMasterClocksTreeGptpShowcase extends TsnNetworkBase
{
    submodules:
        tsnClock1: TsnClock {
            @display("p=500,150");
        }
        tsnClock2: TsnClock {
            @display("p=700,150");
        }
        tsnSwitch1: TsnSwitch {
            @display("p=500,300");
        }
        tsnSwitch2: TsnSwitch {
            @display("p=700,300");
        }
        tsnDevice1: TsnDevice {
            @display("p=300,450");
        }
        tsnDevice2: TsnDevice {
            @display("p=500,450");
        }
        tsnDevice3: TsnDevice {
            @display("p=700,450");
        }
        tsnDevice4: TsnDevice {
            @display("p=900,450");
        }
    connections:
        tsnClock1.ethg++ <--> EthernetLink <--> tsnSwitch1.ethg++;
        tsnClock2.ethg++ <--> EthernetLink <--> tsnSwitch2.ethg++;
        tsnSwitch1.ethg++ <--> EthernetLink <--> tsnSwitch2.ethg++;
        tsnSwitch1.ethg++ <--> EthernetLink <--> tsnDevice1.ethg++;
        tsnSwitch1.ethg++ <--> EthernetLink <--> tsnDevice2.ethg++;
        tsnSwitch2.ethg++ <--> EthernetLink <--> tsnDevice3.ethg++;
        tsnSwitch2.ethg++ <--> EthernetLink <--> tsnDevice4.ethg++;
}

File: showcases/tsn/timesynchronization/gptp/GptpShowcase.ned