Compound Module OneNetArea

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

(no description)

StandardHost EtherHub OSPFRouter 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=404,108

Gates:

Name Direction Size Description
ethg [ ] inout

Unassigned submodule parameters:

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

TODO @signal, @statistic

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

whether to display IP addresses on links

H3.pcapRecorder.verbose bool false

whether to log packets on the module output

H3.pcapRecorder.pcapFile string ""

the PCAP file to be written

H3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

H3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

H3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

H3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

H3.pcapRecorder.alwaysFlush bool false

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

H3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

H3.lo0.lo.mtu int 4470B
R5.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R5.pcapRecorder.verbose bool false

whether to log packets on the module output

R5.pcapRecorder.pcapFile string ""

the PCAP file to be written

R5.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

R5.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R5.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R5.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R5.pcapRecorder.alwaysFlush bool false

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

R5.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

R5.bgp.routingTableModule string
R5.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
R5.bgp.dataTransferMode string
R4.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R4.pcapRecorder.verbose bool false

whether to log packets on the module output

R4.pcapRecorder.pcapFile string ""

the PCAP file to be written

R4.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

R4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

R4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R4.pcapRecorder.alwaysFlush bool false

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

R4.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

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

Source code:

module OneNetArea
{
    parameters:
        @display("p=10,10;b=404,108");
    gates:
        inout ethg[];
    types:
        channel C extends DatarateChannel
        {
            delay = 0.1us;
            datarate = 100Mbps;
        }
    submodules:
        H3: StandardHost {
            parameters:
                @display("p=372,72;i=device/laptop");
            gates:
                ethg[1];
        }
        N3: EtherHub {
            parameters:
                @display("p=264,72");
            gates:
                ethg[2];
        }
        R5: OSPFRouter {
            parameters:
                @display("p=160,72");
            gates:
                ethg[2];
        }
        R4: OSPFRouter {
            parameters:
                @display("p=64,72");
            gates:
                ethg[2];
        }
    connections:
        R4.ethg[0] <--> C <--> R5.ethg[1];
        R5.ethg[0] <--> C <--> N3.ethg[1];
        N3.ethg[0] <--> C <--> H3.ethg[0];

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