OSPF_Area2

Package: inet.examples.ospfv2.fulltest

OSPF_Area2

compound module

(no description)

OspfRouter OspfLan OspfLan OspfLan

Usage diagram

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

Used in

Name Type Description
OSPF_RFC2328_Fig6 network (no description)

Properties

Name Value Description
display p=10,10;b=424,400

Gates

Name Direction Size Description
ethg [ ] inout 4

Unassigned submodule parameters

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

TODO @signal, @statistic

RT8.pcapRecorder.verbose bool true

whether to log packets on the module output

RT8.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

RT8.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

RT8.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RT8.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RT8.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

RT8.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

RT8.pcapRecorder.helpers string ""

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

RT8.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

The path to the InterfaceTable module

RT8.bgp.routingTableModule string
RT8.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
N6.hub.macTable.agingTime double
N6.hub.macTable.forwardingTableFile string
N6.hub.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N6.hub.l2NodeConfigurator.interfaceTableModule string
N6.hub.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

N6.hub.status.initialStatus string "UP"

TODO @signal, @statistic

N6.hub.pcapRecorder.verbose bool true

whether to log packets on the module output

N6.hub.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N6.hub.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N6.hub.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N6.hub.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N6.hub.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N6.hub.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N6.hub.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N6.hub.pcapRecorder.helpers string ""

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

N6.hub.pcapRecorder.alwaysFlush bool false

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

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N6.hub.cutthrough.forwardServiceRegistration bool true
N6.hub.cutthrough.forwardProtocolRegistration bool true
N6.hub.eth.bitrate double
N6.host.status.initialStatus string "UP"

TODO @signal, @statistic

N6.host.pcapRecorder.verbose bool true

whether to log packets on the module output

N6.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N6.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N6.host.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N6.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N6.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N6.host.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N6.host.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N6.host.pcapRecorder.helpers string ""

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

N6.host.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N6.host.at.forwardServiceRegistration bool true
N6.host.at.forwardProtocolRegistration bool true
N7.hub.macTable.agingTime double
N7.hub.macTable.forwardingTableFile string
N7.hub.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N7.hub.l2NodeConfigurator.interfaceTableModule string
N7.hub.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

N7.hub.status.initialStatus string "UP"

TODO @signal, @statistic

N7.hub.pcapRecorder.verbose bool true

whether to log packets on the module output

N7.hub.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N7.hub.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N7.hub.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N7.hub.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N7.hub.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N7.hub.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N7.hub.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N7.hub.pcapRecorder.helpers string ""

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

N7.hub.pcapRecorder.alwaysFlush bool false

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

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N7.hub.cutthrough.forwardServiceRegistration bool true
N7.hub.cutthrough.forwardProtocolRegistration bool true
N7.hub.eth.bitrate double
N7.host.status.initialStatus string "UP"

TODO @signal, @statistic

N7.host.pcapRecorder.verbose bool true

whether to log packets on the module output

N7.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N7.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N7.host.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N7.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N7.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N7.host.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N7.host.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N7.host.pcapRecorder.helpers string ""

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

N7.host.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N7.host.at.forwardServiceRegistration bool true
N7.host.at.forwardProtocolRegistration bool true
N8.hub.macTable.agingTime double
N8.hub.macTable.forwardingTableFile string
N8.hub.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N8.hub.l2NodeConfigurator.interfaceTableModule string
N8.hub.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

N8.hub.status.initialStatus string "UP"

TODO @signal, @statistic

N8.hub.pcapRecorder.verbose bool true

whether to log packets on the module output

N8.hub.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N8.hub.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N8.hub.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N8.hub.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N8.hub.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N8.hub.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N8.hub.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N8.hub.pcapRecorder.helpers string ""

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

N8.hub.pcapRecorder.alwaysFlush bool false

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

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N8.hub.cutthrough.forwardServiceRegistration bool true
N8.hub.cutthrough.forwardProtocolRegistration bool true
N8.hub.eth.bitrate double
N8.host.status.initialStatus string "UP"

TODO @signal, @statistic

N8.host.pcapRecorder.verbose bool true

whether to log packets on the module output

N8.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

N8.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

N8.host.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

N8.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N8.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N8.host.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

N8.host.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

N8.host.pcapRecorder.helpers string ""

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

N8.host.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

N8.host.at.forwardServiceRegistration bool true
N8.host.at.forwardProtocolRegistration bool true

Source code

module OSPF_Area2
{
    parameters:
        @display("p=10,10;b=424,400");
    gates:
        inout ethg[4];
    submodules:
        RT8: OspfRouter {
            parameters:
                @display("p=300,200");
            gates:
                ethg[2];
        }
        N6: OspfLan {
            parameters:
                h = 1;
                @display("p=300,100;is=l");
        }
        N7: OspfLan {
            parameters:
                h = 2;
                @display("p=300,300;is=l");
        }
        N8: OspfLan {
            parameters:
                h = 1;
                @display("p=100,100;is=l");
        }
    connections:
        N6.ethg++ <--> C <--> RT8.ethg[0];
        RT8.ethg[1] <--> C <--> N7.ethg++;

        // towards other areas
        N8.ethg++ <--> ethg[0];
        N8.ethg++ <--> { @display("m=n"); } <--> ethg[1];
        N6.ethg++ <--> { @display("m=e"); } <--> ethg[2];
        N6.ethg++ <--> ethg[3];
}

File: examples/ospfv2/fulltest/FullTest.ned