Compound Module TAS0

Package: oversim.underlay.reaseunderlay.topologies.topology_example
File: src/underlay/reaseunderlay/topologies/topology_example/topology_example.ned

(no description)

Router Router Router Router Router

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.

Used in compound modules:

Name Type Description
Internet compound module (no description)

Gates:

Name Direction Size Description
pppg [ ] inout

Unassigned submodule parameters:

Name Type Default value Description
core0.networkLayer.ip.procDelay double 0s
core0.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

core0.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

core0.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

core0.eth.mac.mtu int 1500
gw1.networkLayer.ip.procDelay double 0s
gw1.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

gw1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

gw1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

gw1.eth.mac.mtu int 1500
edge2.networkLayer.ip.procDelay double 0s
edge2.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

edge2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

edge2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

edge2.eth.mac.mtu int 1500
edge3.networkLayer.ip.procDelay double 0s
edge3.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

edge3.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

edge3.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

edge3.eth.mac.mtu int 1500
edge4.networkLayer.ip.procDelay double 0s
edge4.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

edge4.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

edge4.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

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

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

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

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

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

edge4.eth.mac.mtu int 1500

Source code:

module TAS0
{
    gates:
        inout pppg[];
    submodules:
        core0: Router {
            parameters:
                @RL();
                @CoreRouter();
                @display("i=abstract/switch");
        }
        gw1: Router {
            parameters:
                @RL();
                @GatewayRouter();
                @display("i=abstract/router2");
        }
        edge2: Router {
            parameters:
                @RL();
                @EdgeRouter();
                @display("i=abstract/router");
        }
        edge3: Router {
            parameters:
                @RL();
                @EdgeRouter();
                @display("i=abstract/router");
        }
        edge4: Router {
            parameters:
                @RL();
                @EdgeRouter();
                @display("i=abstract/router");
        }

    connections:
        pppg++ <--> core0.pppg++;
        pppg++ <--> core0.pppg++;

        core0.pppg++ <--> gateway2core <--> gw1.pppg++;
        gw1.pppg++ <--> edge2gateway <--> edge2.pppg++;
        gw1.pppg++ <--> edge2gateway <--> edge3.pppg++;
        gw1.pppg++ <--> edge2gateway <--> edge4.pppg++;
}