Compound Module OSPF_Area2

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

(no description)

OSPFRouter 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,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.routingTable.forwarding bool
RT8.routingTable.multicastForwarding bool
RT8.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RT8.pcapRecorder.verbose bool false

whether to log packets on the module output

RT8.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

RT8.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

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

TODO @signal, @statistic

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

whether to display IP addresses on links

N6.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N6.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

N6.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N6.host.lo0.lo.mtu int 4470B
N7.host.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

N7.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N7.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

N7.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

N7.host.lo0.lo.mtu int 4470B
N8.host.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

N8.host.pcapRecorder.verbose bool false

whether to log packets on the module output

N8.host.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

N8.host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

Source code:

module OSPF_Area2
{
    parameters:
        @display("p=10,10;b=424,400");
    gates:
        inout ethg[4];
    submodules:
        RT8: OSPFRouter {
            parameters:
                @display("p=304,196");
            gates:
                ethg[2];
        }
        N6: OspfLan {
            parameters:
                h = 1;
                @display("p=304,100");
        }
        N7: OspfLan {
            parameters:
                h = 2;
                @display("p=304,300");
        }
        N8: OspfLan {
            parameters:
                h = 1;
                @display("p=104,100");
        }
    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];
}