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. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Networks:

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.sctp.numGapReports int 3

====== SCTP Association Parameters =================================

H3.sctp.rtoInitial double 3s
H3.sctp.rtoMin double 1s
H3.sctp.rtoMax double 60s
H3.sctp.rtoAlpha double 0.125
H3.sctp.rtoBeta double 0.250
H3.sctp.maxBurst int 4
H3.sctp.assocMaxRetrans int 10
H3.sctp.pathMaxRetrans int 5
H3.sctp.maxInitRetrans int 8
H3.sctp.sackPeriod double 200ms
H3.sctp.sackFrequency int 2
H3.sctp.reactivatePrimaryPath bool false
H3.sctp.sendQueueLimit int 0
H3.sctp.validCookieLifetime double 10s

====== Testing =====================================================

H3.sctp.enableHeartbeats bool true

====== Heartbeats ==================================================

H3.sctp.hbInterval double 30s
H3.sctp.nagleEnabled bool true

====== Nagle Algorithm =============================================

H3.sctp.naglePoint int 1468
H3.sctp.fastRecoverySupported bool true

====== Congestion Control ==========================================

H3.sctp.sctpAlgorithmClass string "SCTPAlg"
H3.sctp.ccModule int 0

RFC4960=0

H3.sctp.ssModule int 0

ROUND_ROBIN=0

H3.sctp.arwnd int 65535
H3.sctp.swsLimit int 3000

Limit for SWS

H3.sctp.udpEncapsEnabled bool false
H3.pingApp.destAddr string ""

destination IP or IPv6 address

H3.pingApp.srcAddr string ""

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

H3.pingApp.packetSize double 56B

of ping payload, in bytes

H3.pingApp.interval double 1s

time to wait between pings (can be random)

H3.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H3.pingApp.count double 0

stop after count ping requests, 0 means continuously

H3.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

H3.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H3.pingApp.printPing bool true

dump on stdout

H3.networkLayer.ip.procDelay double 0s
H3.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

H3.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H3.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

H3.ppp.ppp.mtu int 4470
H3.eth.mac.promiscuous bool false

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

H3.eth.mac.address string "auto"

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

H3.eth.mac.txrate double 100Mbps

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

H3.eth.mac.duplexEnabled bool true

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).

H3.eth.mac.mtu int 1500
H3.ext.filterString string
H3.ext.device string
H3.ext.mtu int 1500
H3.tcpdump.dumpFile string ""
H3.tcpdump.threadEnable bool false
H3.tcpdump.snaplen int 65535
H3.tcpdump.verbosity int 0
R5.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

R5.networkLayer.ip.procDelay double 0s
R5.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

R5.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

R5.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

R5.ppp.ppp.mtu int 4470
R5.eth.mac.promiscuous bool false

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

R5.eth.mac.address string "auto"

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

R5.eth.mac.txrate double 100Mbps

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

R5.eth.mac.duplexEnabled bool true

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).

R5.eth.mac.mtu int 1500
R4.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

R4.networkLayer.ip.procDelay double 0s
R4.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

R4.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

R4.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

R4.ppp.ppp.mtu int 4470
R4.eth.mac.promiscuous bool false

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

R4.eth.mac.address string "auto"

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

R4.eth.mac.txrate double 100Mbps

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

R4.eth.mac.duplexEnabled bool true

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).

R4.eth.mac.mtu int 1500

Source code:

module OneNetArea
{
    parameters:
        @display("p=10,10;b=404,108");
    gates:
        inout ethg[];
    types:
        channel C extends DatarateChannel
        {
            delay = 0.1us;
        }
    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];
}