Network OSPF_AreaTest

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

(no description)

ChannelInstaller TwoNetsArea OneNetArea

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.

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
Area1.R1.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

Area1.R1.networkLayer.ip.procDelay double 0s
Area1.R1.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

Area1.R1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area1.R1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

Area1.R1.ppp.ppp.mtu int 4470
Area1.R1.eth.mac.promiscuous bool false

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

Area1.R1.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.

Area1.R1.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.

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

Area1.R1.eth.mac.mtu int 1500
Area1.R3.ospf.ospfConfigFile string

xml file containing the full OSPF AS configuration

Area1.R3.networkLayer.ip.procDelay double 0s
Area1.R3.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

Area1.R3.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area1.R3.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

Area1.R3.ppp.ppp.mtu int 4470
Area1.R3.eth.mac.promiscuous bool false

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

Area1.R3.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.

Area1.R3.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.

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

Area1.R3.eth.mac.mtu int 1500
Area1.H1.sctp.numGapReports int 3

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

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

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

Area1.H1.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

Area1.H1.sctp.ssModule int 0

ROUND_ROBIN=0

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

Limit for SWS

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

destination IP or IPv6 address

Area1.H1.pingApp.srcAddr string ""

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

Area1.H1.pingApp.packetSize double 56B

of ping payload, in bytes

Area1.H1.pingApp.interval double 1s

time to wait between pings (can be random)

Area1.H1.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

Area1.H1.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

Area1.H1.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

Area1.H1.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

Area1.H1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area1.H1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

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

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

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

Area1.H2.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

Area1.H2.sctp.ssModule int 0

ROUND_ROBIN=0

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

Limit for SWS

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

destination IP or IPv6 address

Area1.H2.pingApp.srcAddr string ""

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

Area1.H2.pingApp.packetSize double 56B

of ping payload, in bytes

Area1.H2.pingApp.interval double 1s

time to wait between pings (can be random)

Area1.H2.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

Area1.H2.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

Area1.H2.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

Area1.H2.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

Area1.H2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area1.H2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

xml file containing the full OSPF AS configuration

Area1.R2.networkLayer.ip.procDelay double 0s
Area1.R2.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

Area1.R2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area1.R2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

Area1.R2.ppp.ppp.mtu int 4470
Area1.R2.eth.mac.promiscuous bool false

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

Area1.R2.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.

Area1.R2.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.

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

Area1.R2.eth.mac.mtu int 1500
Area2.H3.sctp.numGapReports int 3

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

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

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

Area2.H3.sctp.enableHeartbeats bool true

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

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

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

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

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

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

RFC4960=0

Area2.H3.sctp.ssModule int 0

ROUND_ROBIN=0

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

Limit for SWS

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

destination IP or IPv6 address

Area2.H3.pingApp.srcAddr string ""

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

Area2.H3.pingApp.packetSize double 56B

of ping payload, in bytes

Area2.H3.pingApp.interval double 1s

time to wait between pings (can be random)

Area2.H3.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

Area2.H3.pingApp.count double 0

stop after count ping requests, 0 means continuously

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

send first ping at startTime

Area2.H3.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

Area2.H3.pingApp.printPing bool true

dump on stdout

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

number seconds ARP waits between retries to resolve an IP address

Area2.H3.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area2.H3.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

xml file containing the full OSPF AS configuration

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

number seconds ARP waits between retries to resolve an IP address

Area2.R5.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area2.R5.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

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

xml file containing the full OSPF AS configuration

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

number seconds ARP waits between retries to resolve an IP address

Area2.R4.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

Area2.R4.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

Area2.R4.eth.mac.mtu int 1500

Source code:

network OSPF_AreaTest
{
    submodules:
        channelInstaller: ChannelInstaller {
            parameters:
                channelClass = "ThruputMeteringChannel";
                channelAttrs = "format=#N";
                @display("p=456,36");
        }
        Area1: TwoNetsArea {
            parameters:
                @display("p=108,112;b=136,128");
            gates:
                ethg[1];
        }
        Area2: OneNetArea {
            parameters:
                @display("p=324,112;b=136,128");
            gates:
                ethg[1];
        }
    connections:
        Area1.ethg[0] <--> {  delay = 0.1us; } <--> Area2.ethg[0];
}