OSPF_BackboneAndTwoStubsTest

Package: inet.examples.ospfv2.areatests

OSPF_BackboneAndTwoStubsTest

network

(no description)

OspfRouter TestArea TestArea Ipv4NetworkConfigurator ScenarioManager

Usage diagram

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

Parameters

Name Type Default value Description
numBBRouters int 3

Properties

Name Value Description
isNetwork

Unassigned submodule parameters

Name Type Default value Description
BBR.status.initialStatus string "UP"

TODO @signal, @statistic

BBR.pcapRecorder.verbose bool true

whether to log packets on the module output

BBR.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

BBR.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

BBR.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

BBR.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

BBR.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

BBR.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

BBR.pcapRecorder.helpers string ""

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

BBR.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

BBR.at.forwardServiceRegistration bool true
BBR.at.forwardProtocolRegistration bool true
BBR.bgp.interfaceTableModule string

The path to the InterfaceTable module

BBR.bgp.routingTableModule string
BBR.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
Stub1.H.status.initialStatus string "UP"

TODO @signal, @statistic

Stub1.H.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub1.H.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub1.H.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub1.H.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub1.H.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub1.H.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub1.H.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub1.H.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub1.H.pcapRecorder.helpers string ""

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

Stub1.H.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub1.H.at.forwardServiceRegistration bool true
Stub1.H.at.forwardProtocolRegistration bool true
Stub1.N.macTable.agingTime double
Stub1.N.macTable.forwardingTableFile string
Stub1.N.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Stub1.N.l2NodeConfigurator.interfaceTableModule string
Stub1.N.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

Stub1.N.status.initialStatus string "UP"

TODO @signal, @statistic

Stub1.N.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub1.N.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub1.N.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub1.N.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub1.N.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub1.N.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub1.N.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub1.N.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub1.N.pcapRecorder.helpers string ""

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

Stub1.N.pcapRecorder.alwaysFlush bool false

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

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub1.N.cutthrough.forwardServiceRegistration bool true
Stub1.N.cutthrough.forwardProtocolRegistration bool true
Stub1.N.eth.bitrate double
Stub1.R.status.initialStatus string "UP"

TODO @signal, @statistic

Stub1.R.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub1.R.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub1.R.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub1.R.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub1.R.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub1.R.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub1.R.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub1.R.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub1.R.pcapRecorder.helpers string ""

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

Stub1.R.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub1.R.at.forwardServiceRegistration bool true
Stub1.R.at.forwardProtocolRegistration bool true
Stub1.R.bgp.interfaceTableModule string

The path to the InterfaceTable module

Stub1.R.bgp.routingTableModule string
Stub1.R.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
Stub1.B.status.initialStatus string "UP"

TODO @signal, @statistic

Stub1.B.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub1.B.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub1.B.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub1.B.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub1.B.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub1.B.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub1.B.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub1.B.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub1.B.pcapRecorder.helpers string ""

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

Stub1.B.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub1.B.at.forwardServiceRegistration bool true
Stub1.B.at.forwardProtocolRegistration bool true
Stub1.B.bgp.interfaceTableModule string

The path to the InterfaceTable module

Stub1.B.bgp.routingTableModule string
Stub1.B.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
Stub2.H.status.initialStatus string "UP"

TODO @signal, @statistic

Stub2.H.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub2.H.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub2.H.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub2.H.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub2.H.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub2.H.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub2.H.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub2.H.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub2.H.pcapRecorder.helpers string ""

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

Stub2.H.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub2.H.at.forwardServiceRegistration bool true
Stub2.H.at.forwardProtocolRegistration bool true
Stub2.N.macTable.agingTime double
Stub2.N.macTable.forwardingTableFile string
Stub2.N.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Stub2.N.l2NodeConfigurator.interfaceTableModule string
Stub2.N.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

Stub2.N.status.initialStatus string "UP"

TODO @signal, @statistic

Stub2.N.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub2.N.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub2.N.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub2.N.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub2.N.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub2.N.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub2.N.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub2.N.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub2.N.pcapRecorder.helpers string ""

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

Stub2.N.pcapRecorder.alwaysFlush bool false

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

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub2.N.cutthrough.forwardServiceRegistration bool true
Stub2.N.cutthrough.forwardProtocolRegistration bool true
Stub2.N.eth.bitrate double
Stub2.R.status.initialStatus string "UP"

TODO @signal, @statistic

Stub2.R.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub2.R.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub2.R.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub2.R.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub2.R.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub2.R.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub2.R.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub2.R.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub2.R.pcapRecorder.helpers string ""

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

Stub2.R.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub2.R.at.forwardServiceRegistration bool true
Stub2.R.at.forwardProtocolRegistration bool true
Stub2.R.bgp.interfaceTableModule string

The path to the InterfaceTable module

Stub2.R.bgp.routingTableModule string
Stub2.R.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
Stub2.B.status.initialStatus string "UP"

TODO @signal, @statistic

Stub2.B.pcapRecorder.verbose bool true

whether to log packets on the module output

Stub2.B.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

Stub2.B.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Stub2.B.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Stub2.B.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Stub2.B.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Stub2.B.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Stub2.B.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Stub2.B.pcapRecorder.helpers string ""

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

Stub2.B.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Stub2.B.at.forwardServiceRegistration bool true
Stub2.B.at.forwardProtocolRegistration bool true
Stub2.B.bgp.interfaceTableModule string

The path to the InterfaceTable module

Stub2.B.bgp.routingTableModule string
Stub2.B.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
configurator.minLinkWeight double 1E-3
configurator.configureIsolatedNetworksSeparatly bool false
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignUniqueAddresses bool true

avoid using the same address and raise an error if not possible

configurator.assignDisjunctSubnetAddresses bool true

avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.addSubnetRoutes bool true

add subnet routes instead of destination interface routes (only where applicable; used only if addStaticRoutes is true)

configurator.addDirectRoutes bool true

add direct routes (i.e. directly connected interfaces) to the routing table (used only if addStaticRoutes is true)

configurator.optimizeRoutes bool true

optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true)

configurator.dumpTopology bool false

print extracted network topology to the module output

configurator.dumpLinks bool false

print recognized network links to the module output

configurator.dumpAddresses bool false

print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

scenarioManager.script xml xml("")

Source code

network OSPF_BackboneAndTwoStubsTest
{
    parameters:
        int numBBRouters = default(3);
    types:
        channel C extends ThruputMeteringChannel
        {
            delay = 0.1us;
            datarate = 100Mbps;
            thruputDisplayFormat = "#N";
        }
    submodules:
        BBR[numBBRouters]: OspfRouter {
            @display("p=450,150,col,90");
        }
        Stub1: TestArea {
            parameters:
                numHosts = 2;
                extGates = 1;
                @display("p=300,150;b=100,100");
        }
        Stub2: TestArea {
            parameters:
                numHosts = 2;
                extGates = 1;
                @display("p=600,150;b=100,100");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                config = xml("<config>"+
                            "<interface among='BBR[*]' address='192.168.100.x' netmask='255.255.255.x' />"+
                            "<interface hosts='Stub1.*' address='192.168.91.x' netmask='255.255.255.x' />"+
                            "<interface hosts='BBR[*]' towards='Stub1.*' address='192.168.91.x' netmask='255.255.255.x' />"+
                            "<interface hosts='Stub2.*' address='192.168.92.x' netmask='255.255.255.x' />"+
                            "<interface hosts='BBR[*]' towards='Stub2.*' address='192.168.92.x' netmask='255.255.255.x' />"+
                            "<multicast-group hosts='**.R[*] **.B[*] BBR[*]' address='224.0.0.5 224.0.0.6' />"+
                            "<route hosts='**.H[*]' destination='*' netmask='0.0.0.0' interface='eth0' />"+
                            "<route hosts='**.B[*] BBR[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth0' />"+
                            "<route hosts='**.R[*] **.B[*] BBR[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth1' />"+
                            "<route hosts='**.R[*] **.B[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth2' />"+
                            "</config>");
                addStaticRoutes = false;
                addDefaultRoutes = false;
                @display("p=100,100;is=s");
        }
        scenarioManager: ScenarioManager {
            @display("p=100,200;is=s");
        }
    connections:
        BBR[0].ethg++ <--> C <--> Stub1.ethg[0];
        BBR[numBBRouters-1].ethg++ <--> C <--> Stub2.ethg[0];
        for i=1..numBBRouters-1 {
            BBR[i].ethg++ <--> C <--> BBR[i-1].ethg++;
        }
        //BBR[0].ethg++ <--> C <--> BBR[numBBRouters-1].ethg++;
}
File: examples/ospfv2/areatests/BackboneAndTwoStubs.ned