Compound Module OSPF_Area1

Package: inet.examples.ospfv2.fulltest
File: examples/ospfv2/fulltest/FullTest.ned

(no description)

OSPFRouter OSPFRouter OspfLan OspfLan OspfLan OspfLan

Usage diagram:

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

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Networks:

Name Type Description
OSPF_RFC2328_Fig6 network (no description)

Properties:

Name Value Description
display p=10,42;b=432,504

Gates:

Name Direction Size Description
ethg [ ] inout 3

Unassigned submodule parameters:

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

TODO @signal, @statistic

RT1.routingTable.forwarding bool
RT1.routingTable.multicastForwarding bool
RT1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RT1.pcapRecorder.verbose bool false

whether to log packets on the module output

RT1.pcapRecorder.pcapFile string ""

the PCAP file to be written

RT1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RT1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RT1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RT1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RT1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RT1.pcapRecorder.alwaysFlush bool false

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

RT1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RT1.lo0.lo.mtu int 4470B
RT1.bgp.interfaceTableModule string

The path to the InterfaceTable module

RT1.bgp.routingTableModule string
RT1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RT1.bgp.dataTransferMode string
RT2.status.initialStatus string "UP"

TODO @signal, @statistic

RT2.routingTable.forwarding bool
RT2.routingTable.multicastForwarding bool
RT2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RT2.pcapRecorder.verbose bool false

whether to log packets on the module output

RT2.pcapRecorder.pcapFile string ""

the PCAP file to be written

RT2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RT2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RT2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RT2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RT2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RT2.pcapRecorder.alwaysFlush bool false

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

RT2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RT2.lo0.lo.mtu int 4470B
RT2.bgp.interfaceTableModule string

The path to the InterfaceTable module

RT2.bgp.routingTableModule string
RT2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RT2.bgp.dataTransferMode string
N1.host.status.initialStatus string "UP"

TODO @signal, @statistic

N1.host.routingTable.forwarding bool
N1.host.routingTable.multicastForwarding bool
N1.host.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N1.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N1.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N1.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N1.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N1.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N1.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N1.host.pcapRecorder.alwaysFlush bool false

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

N1.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N1.host.lo0.lo.mtu int 4470B
N2.host.status.initialStatus string "UP"

TODO @signal, @statistic

N2.host.routingTable.forwarding bool
N2.host.routingTable.multicastForwarding bool
N2.host.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N2.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N2.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N2.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N2.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N2.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N2.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N2.host.pcapRecorder.alwaysFlush bool false

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

N2.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N2.host.lo0.lo.mtu int 4470B
N3.host.status.initialStatus string "UP"

TODO @signal, @statistic

N3.host.routingTable.forwarding bool
N3.host.routingTable.multicastForwarding bool
N3.host.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N3.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N3.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N3.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N3.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N3.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N3.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N3.host.pcapRecorder.alwaysFlush bool false

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

N3.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N3.host.lo0.lo.mtu int 4470B
N4.host.status.initialStatus string "UP"

TODO @signal, @statistic

N4.host.routingTable.forwarding bool
N4.host.routingTable.multicastForwarding bool
N4.host.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

N4.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N4.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N4.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N4.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N4.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N4.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N4.host.pcapRecorder.alwaysFlush bool false

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

N4.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N4.host.lo0.lo.mtu int 4470B

Source code:

module OSPF_Area1
{
    parameters:
        @display("p=10,42;b=432,504");
    gates:
        inout ethg[3];
    submodules:
        RT1: OSPFRouter {
            parameters:
                @display("p=232,136");
            gates:
                ethg[2];
        }
        RT2: OSPFRouter {
            parameters:
                @display("p=236,348");
            gates:
                ethg[2];
        }
        N1: OspfLan {
            parameters:
                h = 2;
                @display("p=140,136");
        }
        N2: OspfLan {
            parameters:
                h = 2;
                @display("p=140,348");
        }
        N3: OspfLan {
            parameters:
                h = 1;
                @display("p=360,252");
        }
        N4: OspfLan {
            parameters:
                h = 2;
                @display("p=360,453");
        }
    connections:
        N1.ethg++ <--> C <--> RT1.ethg[0];
        RT1.ethg[1] <--> C <--> N3.ethg++;
        N2.ethg++ <--> C <--> RT2.ethg[0];
        RT2.ethg[1] <--> C <--> N3.ethg++;

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