Compound Module OSPF_Area2

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

(no description)

OSPFRouter EtherHub EtherHub EtherHub StandardHost StandardHost StandardHost StandardHost

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

Properties:

Name Value Description
display p=10,10;b=424,400

Gates:

Name Direction Size Description
ethg [ ] inout

Unassigned submodule parameters:

Name Type Default value Description
RT8.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

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

number seconds ARP waits between retries to resolve an IP address

RT8.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

RT8.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

RT8.eth.mac.mtu int 1500
H8.sctp.numGapReports int 3

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

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

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

H8.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H8.sctp.ssModule int 0

ROUND_ROBIN=0

H8.sctp.arwnd int 65535
H8.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H8.pingApp.srcAddr string ""

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

H8.pingApp.packetSize double 56B

of ping payload, in bytes

H8.pingApp.interval double 1s

time to wait between pings (can be random)

H8.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H8.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H8.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H8.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H8.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H8.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

H8.eth.mac.mtu int 1500
H8.ext.filterString string
H8.ext.device string
H8.ext.mtu int 1500
H8.tcpdump.dumpFile string ""
H8.tcpdump.threadEnable bool false
H8.tcpdump.snaplen int 65535
H8.tcpdump.verbosity int 0
H9.sctp.numGapReports int 3

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

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

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

H9.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H9.sctp.ssModule int 0

ROUND_ROBIN=0

H9.sctp.arwnd int 65535
H9.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H9.pingApp.srcAddr string ""

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

H9.pingApp.packetSize double 56B

of ping payload, in bytes

H9.pingApp.interval double 1s

time to wait between pings (can be random)

H9.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H9.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H9.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H9.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H9.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H9.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

H9.eth.mac.mtu int 1500
H9.ext.filterString string
H9.ext.device string
H9.ext.mtu int 1500
H9.tcpdump.dumpFile string ""
H9.tcpdump.threadEnable bool false
H9.tcpdump.snaplen int 65535
H9.tcpdump.verbosity int 0
H10.sctp.numGapReports int 3

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

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

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

H10.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H10.sctp.ssModule int 0

ROUND_ROBIN=0

H10.sctp.arwnd int 65535
H10.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H10.pingApp.srcAddr string ""

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

H10.pingApp.packetSize double 56B

of ping payload, in bytes

H10.pingApp.interval double 1s

time to wait between pings (can be random)

H10.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H10.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H10.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H10.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H10.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H10.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

H10.eth.mac.mtu int 1500
H10.ext.filterString string
H10.ext.device string
H10.ext.mtu int 1500
H10.tcpdump.dumpFile string ""
H10.tcpdump.threadEnable bool false
H10.tcpdump.snaplen int 65535
H10.tcpdump.verbosity int 0
H11.sctp.numGapReports int 3

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

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

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

H11.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H11.sctp.ssModule int 0

ROUND_ROBIN=0

H11.sctp.arwnd int 65535
H11.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H11.pingApp.srcAddr string ""

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

H11.pingApp.packetSize double 56B

of ping payload, in bytes

H11.pingApp.interval double 1s

time to wait between pings (can be random)

H11.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H11.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H11.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H11.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H11.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H11.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

Source code:

module OSPF_Area2
{
    parameters:
        @display("p=10,10;b=424,400");
    gates:
        inout ethg[];
    submodules:
        RT8: OSPFRouter {
            parameters:
                @display("p=304,196");
            gates:
                ethg[2];
        }
        N6: EtherHub {
            parameters:
                @display("p=304,100");
            gates:
                ethg[4];
        }
        N7: EtherHub {
            parameters:
                @display("p=304,300");
            gates:
                ethg[3];
        }
        N8: EtherHub {
            parameters:
                @display("p=104,100");
            gates:
                ethg[3];
        }
        H8: StandardHost {
            parameters:
                @display("p=392,100;i=device/pc_s");
            gates:
                ethg[1];
        }
        H9: StandardHost {
            parameters:
                @display("p=348,364;i=device/pc_s");
            gates:
                ethg[1];
        }
        H10: StandardHost {
            parameters:
                @display("p=260,364;i=device/pc_s");
            gates:
                ethg[1];
        }
        H11: StandardHost {
            parameters:
                @display("p=104,156;i=device/pc_s");
            gates:
                ethg[1];
        }
    connections:
        N8.ethg[1] <--> {  delay = 0.1us; } <--> H11.ethg[0];
        N6.ethg[2] <--> {  delay = 0.1us; } <--> RT8.ethg[0];
        N6.ethg[3] <--> {  delay = 0.1us; } <--> H8.ethg[0];
        RT8.ethg[1] <--> {  delay = 0.1us; } <--> N7.ethg[0];
        N7.ethg[1] <--> {  delay = 0.1us; } <--> H10.ethg[0];
        N7.ethg[2] <--> {  delay = 0.1us; } <--> H9.ethg[0];

        // towards other areas
        ethg[0] <--> N8.ethg[0];
        N8.ethg[2] <--> { @display("m=m,52,64,40,0"); } <--> ethg[1];
        N6.ethg[1] <--> { @display("m=m,28,36,48,0"); } <--> ethg[2];
        ethg[3] <--> N6.ethg[0];
}