Compound Module TwoNetsArea

Package: inet.examples.ospfv2.areas
File: examples/ospfv2/areas/Area1.ned

(no description)

OSPFRouter EtherHub EtherHub OSPFRouter StandardHost StandardHost OSPFRouter

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_AreaTest network (no description)

Properties:

Name Value Description
display p=10,10;b=412,316

Gates:

Name Direction Size Description
ethg [ ] inout

Unassigned submodule parameters:

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

TODO @signal, @statistic

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

whether to display IP addresses on links

R1.pcapRecorder.verbose bool false

whether to log packets on the module output

R1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

R1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

R1.bgp.routingTableModule string
R1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
R1.bgp.dataTransferMode string
R3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R3.pcapRecorder.verbose bool false

whether to log packets on the module output

R3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

R3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

R3.bgp.routingTableModule string
R3.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
R3.bgp.dataTransferMode string
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
H2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

H2.pcapRecorder.verbose bool false

whether to log packets on the module output

H2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

H2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

H2.lo0.lo.mtu int 4470B
R2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R2.pcapRecorder.verbose bool false

whether to log packets on the module output

R2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

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

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

R2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

R2.bgp.routingTableModule string
R2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
R2.bgp.dataTransferMode string

Source code:

module TwoNetsArea
{
    parameters:
        @display("p=10,10;b=412,316");
    gates:
        inout ethg[];
    types:
        channel C extends DatarateChannel
        {
            delay = 0.1us;
            datarate = 100Mbps;
        }
    submodules:
        R1: OSPFRouter {
            parameters:
                @display("p=248,124");
            gates:
                ethg[3];
        }
        N1: EtherHub {
            parameters:
                @display("p=156,72");
            gates:
                ethg[2];
        }
        N2: EtherHub {
            parameters:
                @display("p=160,284");
            gates:
                ethg[2];
        }
        R3: OSPFRouter {
            parameters:
                @display("p=360,180");
            gates:
                ethg[3];
        }
        H1: StandardHost {
            parameters:
                @display("p=56,72;i=device/laptop");
            gates:
                ethg[1];
        }
        H2: StandardHost {
            parameters:
                @display("p=56,288;i=device/laptop");
            gates:
                ethg[1];
        }
        R2: OSPFRouter {
            parameters:
                @display("p=248,232");
            gates:
                ethg[3];
        }
    connections:
        H1.ethg[0] <--> C <--> N1.ethg[1];
        N1.ethg[0] <--> C <--> R1.ethg[2];
        R1.ethg[0] <--> C <--> R3.ethg[2];
        N2.ethg[1] <--> C <--> H2.ethg[0];
        R1.ethg[1] <--> C <--> R2.ethg[0];
        R2.ethg[1] <--> C <--> R3.ethg[1];
        R2.ethg[2] <--> C <--> N2.ethg[0];

        // towards other areas
        ethg[0] <--> R3.ethg[0];
}