Compound Module OSPF_Area3

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

(no description)

OSPFRouter OSPFRouter OspfLan OspfLan OspfLan StandardHost

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,10;b=264,528

Gates:

Name Direction Size Description
ethg [ ] inout 1

Unassigned submodule parameters:

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

TODO @signal, @statistic

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

whether to display IP addresses on links

RT9.pcapRecorder.verbose bool false

whether to log packets on the module output

RT9.pcapRecorder.pcapFile string ""

the PCAP file to be written

RT9.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RT9.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

RT9.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RT9.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RT9.pcapRecorder.alwaysFlush bool false

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

RT9.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

RT9.bgp.routingTableModule string
RT9.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RT9.bgp.dataTransferMode string
RT12.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

RT12.pcapRecorder.verbose bool false

whether to log packets on the module output

RT12.pcapRecorder.pcapFile string ""

the PCAP file to be written

RT12.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RT12.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

RT12.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RT12.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RT12.pcapRecorder.alwaysFlush bool false

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

RT12.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

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

TODO @signal, @statistic

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

whether to display IP addresses on links

N9.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N9.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N9.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N9.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N9.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N9.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N9.host.pcapRecorder.alwaysFlush bool false

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

N9.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N9.host.lo0.lo.mtu int 4470B
N10.host.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

N10.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N10.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N10.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N10.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N10.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N10.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N10.host.pcapRecorder.alwaysFlush bool false

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

N10.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N10.host.lo0.lo.mtu int 4470B
N11.host.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

N11.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N11.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

N11.host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

N11.host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

N11.host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

N11.host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

N11.host.pcapRecorder.alwaysFlush bool false

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

N11.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N11.host.lo0.lo.mtu int 4470B
H1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

H1.pcapRecorder.verbose bool false

whether to log packets on the module output

H1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

H1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

H1.lo0.lo.mtu int 4470B

Source code:

module OSPF_Area3
{
    parameters:
        @display("p=10,10;b=264,528");
    gates:
        inout ethg[1];
    submodules:
        RT9: OSPFRouter {
            parameters:
                @display("p=148,200");
            gates:
                ethg[2];
        }
        RT12: OSPFRouter {
            parameters:
                @display("p=148,360");
            gates:
                ethg[3];
        }
        N9: OspfLan {
            parameters:
                h = 1;
                @display("p=148,284");
        }
        N10: OspfLan {
            parameters:
                h = 2;
                @display("p=148,452");
        }
        N11: OspfLan {
            parameters:
                h = 2;
                @display("p=144,112");
        }
        H1: StandardHost {
            parameters:
                @display("p=64,360;i=device/pc_s");
        }
    connections:
        RT9.ethg[1] <--> C <--> N9.ethg++;
        RT9.ethg[0] <--> C <--> N11.ethg++;
        RT12.ethg[1] <--> C <--> H1.ethg++;
        RT12.ethg[0] <--> C <--> N9.ethg++;
        RT12.ethg[2] <--> C <--> N10.ethg++;

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