Compound Module OSPF_Area1

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

(no description)

OSPFRouter OSPFRouter EtherHub EtherHub EtherHub EtherHub StandardHost StandardHost StandardHost 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,42;b=432,504

Gates:

Name Direction Size Description
ethg [ ] inout

Unassigned submodule parameters:

Name Type Default value Description
RT1.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

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

number seconds ARP waits between retries to resolve an IP address

RT1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

RT1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

RT1.eth.mac.mtu int 1500
RT2.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

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

number seconds ARP waits between retries to resolve an IP address

RT2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

RT2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

RT2.eth.mac.mtu int 1500
H1.sctp.numGapReports int 3

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

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

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

H1.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H1.sctp.ssModule int 0

ROUND_ROBIN=0

H1.sctp.arwnd int 65535
H1.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H1.pingApp.srcAddr string ""

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

H1.pingApp.packetSize double 56B

of ping payload, in bytes

H1.pingApp.interval double 1s

time to wait between pings (can be random)

H1.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H1.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H1.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H1.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

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

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

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

H2.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H2.sctp.ssModule int 0

ROUND_ROBIN=0

H2.sctp.arwnd int 65535
H2.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H2.pingApp.srcAddr string ""

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

H2.pingApp.packetSize double 56B

of ping payload, in bytes

H2.pingApp.interval double 1s

time to wait between pings (can be random)

H2.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H2.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H2.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H2.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

H2.eth.mac.mtu int 1500
H2.ext.filterString string
H2.ext.device string
H2.ext.mtu int 1500
H2.tcpdump.dumpFile string ""
H2.tcpdump.threadEnable bool false
H2.tcpdump.snaplen int 65535
H2.tcpdump.verbosity int 0
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
H4.sctp.numGapReports int 3

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

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

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

H4.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H4.sctp.ssModule int 0

ROUND_ROBIN=0

H4.sctp.arwnd int 65535
H4.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H4.pingApp.srcAddr string ""

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

H4.pingApp.packetSize double 56B

of ping payload, in bytes

H4.pingApp.interval double 1s

time to wait between pings (can be random)

H4.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H4.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H4.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H4.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H4.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H4.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

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

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

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

H5.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H5.sctp.ssModule int 0

ROUND_ROBIN=0

H5.sctp.arwnd int 65535
H5.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H5.pingApp.srcAddr string ""

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

H5.pingApp.packetSize double 56B

of ping payload, in bytes

H5.pingApp.interval double 1s

time to wait between pings (can be random)

H5.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H5.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H5.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H5.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H5.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H5.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

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

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

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

H6.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H6.sctp.ssModule int 0

ROUND_ROBIN=0

H6.sctp.arwnd int 65535
H6.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H6.pingApp.srcAddr string ""

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

H6.pingApp.packetSize double 56B

of ping payload, in bytes

H6.pingApp.interval double 1s

time to wait between pings (can be random)

H6.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H6.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H6.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H6.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H6.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H6.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

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

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

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

H7.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

H7.sctp.ssModule int 0

ROUND_ROBIN=0

H7.sctp.arwnd int 65535
H7.sctp.swsLimit int 3000

Limit for SWS

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

destination IP or IPv6 address

H7.pingApp.srcAddr string ""

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

H7.pingApp.packetSize double 56B

of ping payload, in bytes

H7.pingApp.interval double 1s

time to wait between pings (can be random)

H7.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

H7.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

H7.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

H7.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

H7.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

H7.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

Source code:

module OSPF_Area1
{
    parameters:
        @display("p=10,42;b=432,504");
    gates:
        inout ethg[];
    types:
        channel C extends DatarateChannel
        {
            delay = 0.1us;
        }
    submodules:
        RT1: OSPFRouter {
            parameters:
                @display("p=232,136");
            gates:
                ethg[2];
        }
        RT2: OSPFRouter {
            parameters:
                @display("p=236,348");
            gates:
                ethg[2];
        }
        N1: EtherHub {
            parameters:
                @display("p=140,136");
            gates:
                ethg[3];
        }
        N2: EtherHub {
            parameters:
                @display("p=140,348");
            gates:
                ethg[3];
        }
        N3: EtherHub {
            parameters:
                @display("p=360,252");
            gates:
                ethg[5];
        }
        N4: EtherHub {
            parameters:
                @display("p=360,464");
            gates:
                ethg[3];
        }
        H1: StandardHost {
            parameters:
                @display("p=56,96;i=device/pc_s");
            gates:
                ethg[1];
        }
        H2: StandardHost {
            parameters:
                @display("p=56,172;i=device/pc_s");
            gates:
                ethg[1];
        }
        H3: StandardHost {
            parameters:
                @display("p=56,316;i=device/pc_s");
            gates:
                ethg[1];
        }
        H4: StandardHost {
            parameters:
                @display("p=56,388;i=device/pc_s");
            gates:
                ethg[1];
        }
        H5: StandardHost {
            parameters:
                @display("p=360,188;i=device/pc_s");
            gates:
                ethg[1];
        }
        H6: StandardHost {
            parameters:
                @display("p=316,520;i=device/pc_s");
            gates:
                ethg[1];
        }
        H7: StandardHost {
            parameters:
                @display("p=400,520;i=device/pc_s");
            gates:
                ethg[1];
        }
    connections:
        H1.ethg[0] <--> C <--> N1.ethg[0];
        N1.ethg[1] <--> C <--> H2.ethg[0];
        N2.ethg[0] <--> C <--> H3.ethg[0];
        N2.ethg[1] <--> C <--> H4.ethg[0];
        N1.ethg[2] <--> C <--> RT1.ethg[0];
        RT1.ethg[1] <--> C <--> N3.ethg[1];
        N3.ethg[0] <--> C <--> H5.ethg[0];
        N4.ethg[0] <--> C <--> H6.ethg[0];
        N4.ethg[1] <--> C <--> H7.ethg[0];
        N2.ethg[2] <--> C <--> RT2.ethg[0];
        RT2.ethg[1] <--> C <--> N3.ethg[2];

        // towards other areas
        N3.ethg[4] <--> { @display("m=m,100,44,100,32"); } <--> ethg[0];
        N3.ethg[3] <--> { @display("m=m,96,96,100,52"); } <--> ethg[1];

        ethg[2] <--> N4.ethg[2];
}