Compound Module OSPF_Area3

File: Examples/OSPFv2/FullTest/Area3.ned

(no description)

RT9: OSPFRouter RT12: OSPFRouter N9: EtherHub N10: EtherHub N11: EtherHub H12: StandardHost H13: StandardHost H14: StandardHost H15: StandardHost H16: StandardHost H17: StandardHost

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Contains the following modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

EtherHub

A generic wiring hub model.

OSPFRouter

IP router.

StandardHost

IP host with TCP, UDP layers and applications.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

OSPF_TestNetwork (no description)

Gates:

Name Direction Description
in [ ] input
out [ ] output

Unassigned submodule parameters:

Name Type Description
RT9.routingFile string
RT9.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

RT9.networkLayer.proxyARP bool
RT9.networkLayer.ip.procDelay numeric const
RT9.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

RT9.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

RT9.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

RT9.ppp[*].queueType string
RT9.eth[*].queueType string
RT9.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

RT9.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

RT9.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

RT9.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

RT9.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

RT9.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

RT12.routingFile string
RT12.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

RT12.networkLayer.proxyARP bool
RT12.networkLayer.ip.procDelay numeric const
RT12.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

RT12.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

RT12.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

RT12.ppp[*].queueType string
RT12.eth[*].queueType string
RT12.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

RT12.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

RT12.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

RT12.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

RT12.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

RT12.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

N9.writeScalars bool

enable/disable recording statistics in omnetpp.sca

N10.writeScalars bool

enable/disable recording statistics in omnetpp.sca

N11.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H12.numTcpApps numeric const
H12.numUdpApps numeric const
H12.tcpAppType string
H12.udpAppType string
H12.IPForward bool
H12.namid numeric const
H12.routingFile string
H12.tcp.mss numeric const

maximum segment size

H12.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H12.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H12.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H12.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H12.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H12.pingApp.destAddr string

destination IP or IPv6 address

H12.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H12.pingApp.packetSize numeric const

of ping payload, in bytes

H12.pingApp.interval numeric

time to wait between pings (can be random)

H12.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H12.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H12.pingApp.startTime numeric const

send first ping at startTime

H12.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H12.pingApp.printPing bool

dump on stdout

H12.networkLayer.ip.procDelay numeric const
H12.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H12.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H12.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H12.ppp[*].queueType string
H12.eth[*].queueType string
H12.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H12.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H12.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H12.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H12.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H12.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H13.numTcpApps numeric const
H13.numUdpApps numeric const
H13.tcpAppType string
H13.udpAppType string
H13.IPForward bool
H13.namid numeric const
H13.routingFile string
H13.tcp.mss numeric const

maximum segment size

H13.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H13.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H13.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H13.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H13.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H13.pingApp.destAddr string

destination IP or IPv6 address

H13.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H13.pingApp.packetSize numeric const

of ping payload, in bytes

H13.pingApp.interval numeric

time to wait between pings (can be random)

H13.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H13.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H13.pingApp.startTime numeric const

send first ping at startTime

H13.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H13.pingApp.printPing bool

dump on stdout

H13.networkLayer.ip.procDelay numeric const
H13.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H13.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H13.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H13.ppp[*].queueType string
H13.eth[*].queueType string
H13.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H13.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H13.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H13.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H13.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H13.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H14.numTcpApps numeric const
H14.numUdpApps numeric const
H14.tcpAppType string
H14.udpAppType string
H14.IPForward bool
H14.namid numeric const
H14.routingFile string
H14.tcp.mss numeric const

maximum segment size

H14.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H14.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H14.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H14.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H14.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H14.pingApp.destAddr string

destination IP or IPv6 address

H14.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H14.pingApp.packetSize numeric const

of ping payload, in bytes

H14.pingApp.interval numeric

time to wait between pings (can be random)

H14.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H14.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H14.pingApp.startTime numeric const

send first ping at startTime

H14.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H14.pingApp.printPing bool

dump on stdout

H14.networkLayer.ip.procDelay numeric const
H14.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H14.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H14.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H14.ppp[*].queueType string
H14.eth[*].queueType string
H14.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H14.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H14.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H14.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H14.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H14.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H15.numTcpApps numeric const
H15.numUdpApps numeric const
H15.tcpAppType string
H15.udpAppType string
H15.IPForward bool
H15.namid numeric const
H15.routingFile string
H15.tcp.mss numeric const

maximum segment size

H15.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H15.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H15.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H15.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H15.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H15.pingApp.destAddr string

destination IP or IPv6 address

H15.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H15.pingApp.packetSize numeric const

of ping payload, in bytes

H15.pingApp.interval numeric

time to wait between pings (can be random)

H15.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H15.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H15.pingApp.startTime numeric const

send first ping at startTime

H15.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H15.pingApp.printPing bool

dump on stdout

H15.networkLayer.ip.procDelay numeric const
H15.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H15.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H15.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H15.ppp[*].queueType string
H15.eth[*].queueType string
H15.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H15.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H15.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H15.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H15.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H15.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H16.numTcpApps numeric const
H16.numUdpApps numeric const
H16.tcpAppType string
H16.udpAppType string
H16.IPForward bool
H16.namid numeric const
H16.routingFile string
H16.tcp.mss numeric const

maximum segment size

H16.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H16.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H16.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H16.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H16.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H16.pingApp.destAddr string

destination IP or IPv6 address

H16.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H16.pingApp.packetSize numeric const

of ping payload, in bytes

H16.pingApp.interval numeric

time to wait between pings (can be random)

H16.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H16.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H16.pingApp.startTime numeric const

send first ping at startTime

H16.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H16.pingApp.printPing bool

dump on stdout

H16.networkLayer.ip.procDelay numeric const
H16.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H16.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H16.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H16.ppp[*].queueType string
H16.eth[*].queueType string
H16.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H16.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H16.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H16.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H16.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H16.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H17.numTcpApps numeric const
H17.numUdpApps numeric const
H17.tcpAppType string
H17.udpAppType string
H17.IPForward bool
H17.namid numeric const
H17.routingFile string
H17.tcp.mss numeric const

maximum segment size

H17.tcp.advertisedWindow numeric const

in bytes (Note: normally, NIC queues should be at least this size)

H17.tcp.tcpAlgorithmClass string

TCPTahoe/TCPReno/TCPNoCongestionControl/DumbTCP

H17.tcp.sendQueueClass string

TCPVirtualDataSendQueue/TCPMsgBasedSendQueue

H17.tcp.receiveQueueClass string

TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue

H17.tcp.recordStats bool

recording seqNum etc. into output vectors on/off

H17.pingApp.destAddr string

destination IP or IPv6 address

H17.pingApp.srcAddr string

source IP or IPv6 address (useful with multi-homing)

H17.pingApp.packetSize numeric const

of ping payload, in bytes

H17.pingApp.interval numeric

time to wait between pings (can be random)

H17.pingApp.hopLimit numeric const

TTL or hopLimit for IP packets

H17.pingApp.count numeric const

stop after count ping requests, 0 means continuously

H17.pingApp.startTime numeric const

send first ping at startTime

H17.pingApp.stopTime numeric const

send no pings after stopTime, 0 means forever

H17.pingApp.printPing bool

dump on stdout

H17.networkLayer.ip.procDelay numeric const
H17.networkLayer.arp.retryTimeout numeric

number seconds ARP waits between retries to resolve an IP address

H17.networkLayer.arp.retryCount numeric

number of times ARP will attempt to resolve an IP address

H17.networkLayer.arp.cacheTimeout numeric

number seconds unused entries in the cache will time out

H17.ppp[*].queueType string
H17.eth[*].queueType string
H17.eth[*].mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

H17.eth[*].mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

H17.eth[*].mac.txrate numeric

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

H17.eth[*].mac.duplexEnabled bool

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

H17.eth[*].mac.writeScalars bool

enable/disable recording statistics in omnetpp.sca

H17.eth[*].encap.writeScalars bool

enable/disable recording statistics in omnetpp.sca

Source code:

module OSPF_Area3
    gates:
        in: in[];
        out: out[];
    submodules:
        RT9: OSPFRouter;
            gatesizes:
                ethIn[2],
                ethOut[2];
            display: "p=148,200;i=srouter";
        RT12: OSPFRouter;
            gatesizes:
                ethIn[3],
                ethOut[3];
            display: "p=148,360;i=srouter";
        N9: EtherHub;
            gatesizes:
                in[4],
                out[4];
            display: "p=148,284;i=device/hub";
        N10: EtherHub;
            gatesizes:
                in[3],
                out[3];
            display: "p=148,452;i=device/hub";
        N11: EtherHub;
            gatesizes:
                in[3],
                out[3];
            display: "p=144,112;i=device/hub";
        H12: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=92,52;i=device/pc_s";
        H13: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=196,52;i=device/pc_s";
        H14: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=60,284;i=device/pc_s";
        H15: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=60,360;i=device/pc_s";
        H16: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=92,492;i=device/pc_s";
        H17: StandardHost;
            gatesizes:
                ethIn[1],
                ethOut[1];
            display: "p=196,492;i=device/pc_s";
    connections:
        H12.ethOut[0] --> delay 0.1us --> N11.in[0];
        N11.out[0] --> delay 0.1us --> H12.ethIn[0];
        N11.out[1] --> delay 0.1us --> RT9.ethIn[0];
        RT9.ethOut[0] --> delay 0.1us --> N11.in[1];
        N11.out[2] --> delay 0.1us --> H13.ethIn[0];
        H13.ethOut[0] --> delay 0.1us --> N11.in[2];
        RT9.ethOut[1] --> delay 0.1us --> N9.in[0];
        N9.out[0] --> delay 0.1us --> RT9.ethIn[1];
        N9.out[1] --> delay 0.1us --> H14.ethIn[0];
        H14.ethOut[0] --> delay 0.1us --> N9.in[1];
        N9.out[2] --> delay 0.1us --> RT12.ethIn[0];
        RT12.ethOut[0] --> delay 0.1us --> N9.in[2];
        RT12.ethOut[1] --> delay 0.1us --> H15.ethIn[0];
        H15.ethOut[0] --> delay 0.1us --> RT12.ethIn[1];
        RT12.ethOut[2] --> delay 0.1us --> N10.in[0];
        N10.out[0] --> delay 0.1us --> RT12.ethIn[2];
        N10.out[1] --> delay 0.1us --> H16.ethIn[0];
        H16.ethOut[0] --> delay 0.1us --> N10.in[1];
        N10.out[2] --> delay 0.1us --> H17.ethIn[0];
        H17.ethOut[0] --> delay 0.1us --> N10.in[2];

        // towards other areas
        N9.out[3] --> out[0];
        in[0] --> N9.in[3];
    display: "p=10,10;b=264,528";
endmodule