DiffservNetwork

Package: inet.examples.diffserv.onedomain

DiffservNetwork

network

(no description)

StandardHost StandardHost Router Router Router Router Router Router StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost Ipv4NetworkConfigurator

Usage diagram

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

Parameters

Name Type Default value Description
edgeDatarate double
coreDatarate double

Properties

Name Value Description
isNetwork

Unassigned submodule parameters

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

TODO @signal, @statistic

H1.pcapRecorder.verbose bool true

whether to log packets on the module output

H1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H1.pcapRecorder.helpers string ""

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

H1.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H1.at.forwardServiceRegistration bool true
H1.at.forwardProtocolRegistration bool true
H2.status.initialStatus string "UP"

TODO @signal, @statistic

H2.pcapRecorder.verbose bool true

whether to log packets on the module output

H2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H2.pcapRecorder.helpers string ""

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

H2.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H2.at.forwardServiceRegistration bool true
H2.at.forwardProtocolRegistration bool true
R4.status.initialStatus string "UP"

TODO @signal, @statistic

R4.pcapRecorder.verbose bool true

whether to log packets on the module output

R4.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R4.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R4.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R4.pcapRecorder.helpers string ""

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

R4.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R4.bgp.routingTableModule string
R4.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R2.status.initialStatus string "UP"

TODO @signal, @statistic

R2.pcapRecorder.verbose bool true

whether to log packets on the module output

R2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R2.pcapRecorder.helpers string ""

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

R2.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R2.bgp.routingTableModule string
R2.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R1.status.initialStatus string "UP"

TODO @signal, @statistic

R1.pcapRecorder.verbose bool true

whether to log packets on the module output

R1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R1.pcapRecorder.helpers string ""

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

R1.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R1.bgp.routingTableModule string
R1.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R3.status.initialStatus string "UP"

TODO @signal, @statistic

R3.pcapRecorder.verbose bool true

whether to log packets on the module output

R3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R3.pcapRecorder.helpers string ""

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

R3.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R3.bgp.routingTableModule string
R3.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R5.status.initialStatus string "UP"

TODO @signal, @statistic

R5.pcapRecorder.verbose bool true

whether to log packets on the module output

R5.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R5.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R5.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R5.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R5.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R5.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R5.pcapRecorder.helpers string ""

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

R5.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R5.bgp.routingTableModule string
R5.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R0.status.initialStatus string "UP"

TODO @signal, @statistic

R0.pcapRecorder.verbose bool true

whether to log packets on the module output

R0.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

R0.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R0.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R0.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R0.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

R0.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R0.pcapRecorder.helpers string ""

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

R0.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

R0.bgp.routingTableModule string
R0.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
H5.status.initialStatus string "UP"

TODO @signal, @statistic

H5.pcapRecorder.verbose bool true

whether to log packets on the module output

H5.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H5.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H5.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H5.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H5.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H5.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H5.pcapRecorder.helpers string ""

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

H5.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H5.at.forwardServiceRegistration bool true
H5.at.forwardProtocolRegistration bool true
H6.status.initialStatus string "UP"

TODO @signal, @statistic

H6.pcapRecorder.verbose bool true

whether to log packets on the module output

H6.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H6.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H6.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H6.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H6.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H6.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H6.pcapRecorder.helpers string ""

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

H6.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H6.at.forwardServiceRegistration bool true
H6.at.forwardProtocolRegistration bool true
H7.status.initialStatus string "UP"

TODO @signal, @statistic

H7.pcapRecorder.verbose bool true

whether to log packets on the module output

H7.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H7.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H7.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H7.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H7.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H7.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H7.pcapRecorder.helpers string ""

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

H7.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H7.at.forwardServiceRegistration bool true
H7.at.forwardProtocolRegistration bool true
H8.status.initialStatus string "UP"

TODO @signal, @statistic

H8.pcapRecorder.verbose bool true

whether to log packets on the module output

H8.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H8.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H8.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H8.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H8.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H8.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H8.pcapRecorder.helpers string ""

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

H8.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H8.at.forwardServiceRegistration bool true
H8.at.forwardProtocolRegistration bool true
H3.status.initialStatus string "UP"

TODO @signal, @statistic

H3.pcapRecorder.verbose bool true

whether to log packets on the module output

H3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H3.pcapRecorder.helpers string ""

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

H3.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H3.at.forwardServiceRegistration bool true
H3.at.forwardProtocolRegistration bool true
H4.status.initialStatus string "UP"

TODO @signal, @statistic

H4.pcapRecorder.verbose bool true

whether to log packets on the module output

H4.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

H4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H4.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H4.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

H4.pcapRecorder.helpers string ""

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

H4.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

H4.at.forwardServiceRegistration bool true
H4.at.forwardProtocolRegistration bool true
configurator.minLinkWeight double 1E-3
configurator.configureIsolatedNetworksSeparatly bool false
configurator.config xml xml("")

XML configuration parameters for IP address assignment and adding manual routes

configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignUniqueAddresses bool true

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

configurator.assignDisjunctSubnetAddresses bool true

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

configurator.addStaticRoutes bool true

add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes)

configurator.addDefaultRoutes bool true

add default routes if all routes from a source node go through the same gateway (used only if addStaticRoutes is true)

configurator.addSubnetRoutes bool true

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

configurator.addDirectRoutes bool true

add direct routes (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)

Source code

network DiffservNetwork
{
    parameters:
        double edgeDatarate @unit(bps);
        double coreDatarate @unit(bps);
    types:
        channel edgeline extends ThruputMeteringChannel
        {
            delay = 2ms;
            datarate = parent.edgeDatarate;
            thruputDisplayFormat = "b B U";
        }
        channel coreline extends ThruputMeteringChannel
        {
            delay = 2ms;
            datarate = parent.coreDatarate;
            thruputDisplayFormat = "b B U";
        }
        channel ethernetline extends ThruputMeteringChannel
        {
            delay = 0.1us;
            datarate = 100Mbps;
            thruputDisplayFormat = "b B U";
        }
    submodules:
        H1: StandardHost {
            @display("p=250,100");
        }
        H2: StandardHost {
            @display("p=250,200");
        }
        R4: Router {
            @display("p=850,150");
        }
        R2: Router {
            @display("p=550,250");
        }
        R1: Router {
            @display("p=400,350");
        }
        R3: Router {
            @display("p=700,250");
        }
        R5: Router {
            @display("p=850,350");
        }
        R0: Router {
            @display("p=400,150");
        }
        H5: StandardHost {
            @display("p=1000,100");
        }
        H6: StandardHost {
            @display("p=1000,200");
        }
        H7: StandardHost {
            @display("p=1000,300");
        }
        H8: StandardHost {
            @display("p=1000,400");
        }
        H3: StandardHost {
            @display("p=250,300");
        }
        H4: StandardHost {
            @display("p=250,400");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=100,100;is=s");
        }
    connections:
        H1.ethg++ <--> ethernetline <--> R0.ethg++;
        H2.ethg++ <--> ethernetline <--> R0.ethg++;
        H3.ethg++ <--> ethernetline <--> R1.ethg++;
        H4.ethg++ <--> ethernetline <--> R1.ethg++;
        H5.ethg++ <--> ethernetline <--> R4.ethg++;
        H6.ethg++ <--> ethernetline <--> R4.ethg++;
        H7.ethg++ <--> ethernetline <--> R5.ethg++;
        H8.ethg++ <--> ethernetline <--> R5.ethg++;
        R0.pppg++ <--> edgeline <--> R2.pppg++;
        R1.pppg++ <--> edgeline <--> R2.pppg++;
        R2.pppg++ <--> coreline <--> R3.pppg++;
        R4.pppg++ <--> coreline <--> R3.pppg++;
        R5.pppg++ <--> coreline <--> R3.pppg++;
}
File: examples/diffserv/onedomain/DiffservNetwork.ned