MixedLAN

Package: inet.examples.ethernet.lans

MixedLAN

network

Sample Ethernet LAN containing eight hosts, a switch and a bus.

tap1 : WireJunction

Models a generic wiring hub.

Source:
tap1: WireJunction {
    parameters:
        @display("p=126,307");
} tap2 : WireJunction

Models a generic wiring hub.

Source:
tap2: WireJunction {
    parameters:
        @display("p=258,307");
} tap3 : WireJunction

Models a generic wiring hub.

Source:
tap3: WireJunction {
    parameters:
        @display("p=344,307");
} tap4 : WireJunction

Models a generic wiring hub.

Source:
tap4: WireJunction {
    parameters:
        @display("p=514,307");
} tap5 : WireJunction

Models a generic wiring hub.

Source:
tap5: WireJunction {
    parameters:
        @display("p=650,307");
} tap6 : WireJunction

Models a generic wiring hub.

Source:
tap6: WireJunction {
    parameters:
        @display("p=753,307");
} busHostA : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
busHostA: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=126,200");
} busHostB : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
busHostB: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=258,200");
} busHostC : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
busHostC: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=514,400");
} busHostD : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
busHostD: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=753,400");
} switchHostA : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
switchHostA: EthernetHost {
    parameters:
        csmacdSupport = false;
        eth.duplexMode = true;
        @display("p=100,500");
} switchHostB : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
switchHostB: EthernetHost {
    parameters:
        csmacdSupport = false;
        eth.duplexMode = true;
        @display("p=250,500");
} switchHostC : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
switchHostC: EthernetHost {
    parameters:
        csmacdSupport = false;
        eth.duplexMode = true;
        @display("p=400,500");
} switchHostD : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
switchHostD: EthernetHost {
    parameters:
        csmacdSupport = false;
        eth.duplexMode = true;
        @display("p=550,500");
} switch : EthernetSwitch

EthernetSwitch models a Layer 2 Ethernet switch with support for various IEEE 802.1 protocols and...

Source:
switch: EthernetSwitch {
    parameters:
        eth[4].duplexMode = false;
        @display("p=344,400");
    gates:
        ethg[5];
} hubHostA : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
hubHostA: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=500,100");
} hubHostB : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
hubHostB: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=650,100");
} hubHostC : EthernetHost

A simplified network device that communicates directly over Ethernet without higher layer protocols...

Source:
hubHostC: EthernetHost {
    parameters:
        eth.duplexMode = false;
        @display("p=800,100");
} hub : EthernetHub

A simple Ethernet hub device that operates at the physical layer.

Source:
hub: EthernetHub {
    parameters:
        @display("p=650,200");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Properties

Name Value Description
isNetwork

Unassigned submodule parameters

Name Type Default value Description
tap1.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

tap2.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

tap3.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

tap4.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

tap5.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

tap6.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.status.initialStatus string "UP"

TODO @signal, @statistic

busHostA.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

busHostA.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.cli.interfaceTableModule string
busHostA.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

busHostA.cli.startTime double this.sendInterval

Time of sending the first request

busHostA.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

busHostA.cli.localSAP int 0xf0

Local service access point

busHostA.cli.remoteSAP int 0xf1

Remote service access point

busHostA.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

busHostA.cli.reqLength int 100B

Length of request packets

busHostA.cli.respLength int 1KiB

Length of response packets

busHostA.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

busHostA.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostA.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.srv.localSAP int 0xf1
busHostA.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

busHostA.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostA.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostA.dp.forwardServiceRegistration bool true
busHostA.dp.forwardProtocolRegistration bool true
busHostA.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostA.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostA.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostA.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostA.li.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostA.li.forwardServiceRegistration bool true
busHostA.li.forwardProtocolRegistration bool true
busHostA.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostA.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostA.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostA.eth.bitrate double
busHostB.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.status.initialStatus string "UP"

TODO @signal, @statistic

busHostB.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

busHostB.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.cli.interfaceTableModule string
busHostB.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

busHostB.cli.startTime double this.sendInterval

Time of sending the first request

busHostB.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

busHostB.cli.localSAP int 0xf0

Local service access point

busHostB.cli.remoteSAP int 0xf1

Remote service access point

busHostB.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

busHostB.cli.reqLength int 100B

Length of request packets

busHostB.cli.respLength int 1KiB

Length of response packets

busHostB.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

busHostB.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostB.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.srv.localSAP int 0xf1
busHostB.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

busHostB.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostB.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostB.dp.forwardServiceRegistration bool true
busHostB.dp.forwardProtocolRegistration bool true
busHostB.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostB.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostB.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostB.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostB.li.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostB.li.forwardServiceRegistration bool true
busHostB.li.forwardProtocolRegistration bool true
busHostB.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostB.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostB.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostB.eth.bitrate double
busHostC.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.status.initialStatus string "UP"

TODO @signal, @statistic

busHostC.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

busHostC.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.cli.interfaceTableModule string
busHostC.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

busHostC.cli.startTime double this.sendInterval

Time of sending the first request

busHostC.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

busHostC.cli.localSAP int 0xf0

Local service access point

busHostC.cli.remoteSAP int 0xf1

Remote service access point

busHostC.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

busHostC.cli.reqLength int 100B

Length of request packets

busHostC.cli.respLength int 1KiB

Length of response packets

busHostC.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

busHostC.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostC.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.srv.localSAP int 0xf1
busHostC.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

busHostC.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostC.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostC.dp.forwardServiceRegistration bool true
busHostC.dp.forwardProtocolRegistration bool true
busHostC.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostC.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostC.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostC.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostC.li.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostC.li.forwardServiceRegistration bool true
busHostC.li.forwardProtocolRegistration bool true
busHostC.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostC.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostC.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostC.eth.bitrate double
busHostD.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.status.initialStatus string "UP"

TODO @signal, @statistic

busHostD.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

busHostD.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.cli.interfaceTableModule string
busHostD.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

busHostD.cli.startTime double this.sendInterval

Time of sending the first request

busHostD.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

busHostD.cli.localSAP int 0xf0

Local service access point

busHostD.cli.remoteSAP int 0xf1

Remote service access point

busHostD.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

busHostD.cli.reqLength int 100B

Length of request packets

busHostD.cli.respLength int 1KiB

Length of response packets

busHostD.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

busHostD.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostD.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.srv.localSAP int 0xf1
busHostD.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

busHostD.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

busHostD.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostD.dp.forwardServiceRegistration bool true
busHostD.dp.forwardProtocolRegistration bool true
busHostD.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostD.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostD.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostD.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

busHostD.li.interfaceTableModule string

Module path to the ~InterfaceTable module

busHostD.li.forwardServiceRegistration bool true
busHostD.li.forwardProtocolRegistration bool true
busHostD.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

busHostD.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

busHostD.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

busHostD.eth.bitrate double
switchHostA.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.status.initialStatus string "UP"

TODO @signal, @statistic

switchHostA.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

switchHostA.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.cli.interfaceTableModule string
switchHostA.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

switchHostA.cli.startTime double this.sendInterval

Time of sending the first request

switchHostA.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

switchHostA.cli.localSAP int 0xf0

Local service access point

switchHostA.cli.remoteSAP int 0xf1

Remote service access point

switchHostA.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

switchHostA.cli.reqLength int 100B

Length of request packets

switchHostA.cli.respLength int 1KiB

Length of response packets

switchHostA.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

switchHostA.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostA.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.srv.localSAP int 0xf1
switchHostA.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

switchHostA.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostA.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostA.dp.forwardServiceRegistration bool true
switchHostA.dp.forwardProtocolRegistration bool true
switchHostA.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostA.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostA.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostA.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostA.li.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostA.li.forwardServiceRegistration bool true
switchHostA.li.forwardProtocolRegistration bool true
switchHostA.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostA.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostA.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostA.eth.bitrate double
switchHostB.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.status.initialStatus string "UP"

TODO @signal, @statistic

switchHostB.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

switchHostB.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.cli.interfaceTableModule string
switchHostB.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

switchHostB.cli.startTime double this.sendInterval

Time of sending the first request

switchHostB.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

switchHostB.cli.localSAP int 0xf0

Local service access point

switchHostB.cli.remoteSAP int 0xf1

Remote service access point

switchHostB.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

switchHostB.cli.reqLength int 100B

Length of request packets

switchHostB.cli.respLength int 1KiB

Length of response packets

switchHostB.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

switchHostB.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostB.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.srv.localSAP int 0xf1
switchHostB.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

switchHostB.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostB.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostB.dp.forwardServiceRegistration bool true
switchHostB.dp.forwardProtocolRegistration bool true
switchHostB.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostB.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostB.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostB.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostB.li.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostB.li.forwardServiceRegistration bool true
switchHostB.li.forwardProtocolRegistration bool true
switchHostB.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostB.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostB.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostB.eth.bitrate double
switchHostC.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.status.initialStatus string "UP"

TODO @signal, @statistic

switchHostC.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

switchHostC.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.cli.interfaceTableModule string
switchHostC.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

switchHostC.cli.startTime double this.sendInterval

Time of sending the first request

switchHostC.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

switchHostC.cli.localSAP int 0xf0

Local service access point

switchHostC.cli.remoteSAP int 0xf1

Remote service access point

switchHostC.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

switchHostC.cli.reqLength int 100B

Length of request packets

switchHostC.cli.respLength int 1KiB

Length of response packets

switchHostC.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

switchHostC.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostC.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.srv.localSAP int 0xf1
switchHostC.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

switchHostC.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostC.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostC.dp.forwardServiceRegistration bool true
switchHostC.dp.forwardProtocolRegistration bool true
switchHostC.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostC.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostC.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostC.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostC.li.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostC.li.forwardServiceRegistration bool true
switchHostC.li.forwardProtocolRegistration bool true
switchHostC.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostC.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostC.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostC.eth.bitrate double
switchHostD.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.status.initialStatus string "UP"

TODO @signal, @statistic

switchHostD.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

switchHostD.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.cli.interfaceTableModule string
switchHostD.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

switchHostD.cli.startTime double this.sendInterval

Time of sending the first request

switchHostD.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

switchHostD.cli.localSAP int 0xf0

Local service access point

switchHostD.cli.remoteSAP int 0xf1

Remote service access point

switchHostD.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

switchHostD.cli.reqLength int 100B

Length of request packets

switchHostD.cli.respLength int 1KiB

Length of response packets

switchHostD.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

switchHostD.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostD.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.srv.localSAP int 0xf1
switchHostD.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

switchHostD.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

switchHostD.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostD.dp.forwardServiceRegistration bool true
switchHostD.dp.forwardProtocolRegistration bool true
switchHostD.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostD.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostD.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostD.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switchHostD.li.interfaceTableModule string

Module path to the ~InterfaceTable module

switchHostD.li.forwardServiceRegistration bool true
switchHostD.li.forwardProtocolRegistration bool true
switchHostD.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switchHostD.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switchHostD.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switchHostD.eth.bitrate double
switch.macTable.agingTime double
switch.macTable.forwardingTableFile string
switch.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

switch.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.status.initialStatus string "UP"

TODO @signal, @statistic

switch.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.pcapRecorder.verbose bool true

Whether to log packets on the module output

switch.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

switch.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

switch.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

switch.pcapRecorder.fileFormat string "pcapng"
switch.pcapRecorder.snaplen int 65535

Maximum number of bytes to record per packet

switch.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

switch.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

switch.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

Space-separated list of sibling module names to listen on

switch.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

switch.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

switch.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

Space-separated list of protocol names as defined in the Protocol class

switch.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

switch.pcapRecorder.helpers string ""

Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

switch.pcapRecorder.alwaysFlush bool false

Flush the pcapFile after each write to ensure that all packets are captured in case of a crash

switch.mrp.ccmInterval double
switch.mrp.mrpRole string
switch.mrp.timingProfile int
switch.mrp.uuid0 int
switch.mrp.uuid1 int
switch.mrp.ringPort1 int
switch.mrp.ringPort2 int
switch.mrp.interconnectionLinkCheckAware bool
switch.mrp.interconnectionRingCheckAware bool
switch.mrp.nonblockingMrcSupported bool
switch.mrp.reactOnLinkChange bool
switch.mrp.visualize bool
switch.stp.helloTime double
switch.stp.forwardDelay double
switch.stp.maxAge double
switch.stp.bridgePriority int
switch.stp.visualize bool
switch.gptp.gptpNodeType string "BRIDGE_NODE"
switch.sc.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.sc.interfaceTableModule string

Module path to the ~InterfaceTable module

switch.sc.forwardServiceRegistration bool true
switch.sc.forwardProtocolRegistration bool true
switch.sc.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switch.sc.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switch.sc.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switch.cb.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

switch.cb.forwardServiceRegistration bool true
switch.cb.forwardProtocolRegistration bool true
switch.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switch.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switch.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switch.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

switch.bl.forwardServiceRegistration bool true
switch.bl.forwardProtocolRegistration bool true
switch.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switch.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switch.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switch.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

switch.li.interfaceTableModule string

Module path to the ~InterfaceTable module

switch.li.forwardServiceRegistration bool true
switch.li.forwardProtocolRegistration bool true
switch.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

switch.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

switch.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

switch.eth.bitrate double
hubHostA.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.status.initialStatus string "UP"

TODO @signal, @statistic

hubHostA.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

hubHostA.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.cli.interfaceTableModule string
hubHostA.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

hubHostA.cli.startTime double this.sendInterval

Time of sending the first request

hubHostA.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

hubHostA.cli.localSAP int 0xf0

Local service access point

hubHostA.cli.remoteSAP int 0xf1

Remote service access point

hubHostA.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

hubHostA.cli.reqLength int 100B

Length of request packets

hubHostA.cli.respLength int 1KiB

Length of response packets

hubHostA.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

hubHostA.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostA.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.srv.localSAP int 0xf1
hubHostA.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

hubHostA.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostA.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostA.dp.forwardServiceRegistration bool true
hubHostA.dp.forwardProtocolRegistration bool true
hubHostA.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostA.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostA.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostA.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostA.li.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostA.li.forwardServiceRegistration bool true
hubHostA.li.forwardProtocolRegistration bool true
hubHostA.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostA.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostA.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostA.eth.bitrate double
hubHostB.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.status.initialStatus string "UP"

TODO @signal, @statistic

hubHostB.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

hubHostB.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.cli.interfaceTableModule string
hubHostB.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

hubHostB.cli.startTime double this.sendInterval

Time of sending the first request

hubHostB.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

hubHostB.cli.localSAP int 0xf0

Local service access point

hubHostB.cli.remoteSAP int 0xf1

Remote service access point

hubHostB.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

hubHostB.cli.reqLength int 100B

Length of request packets

hubHostB.cli.respLength int 1KiB

Length of response packets

hubHostB.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

hubHostB.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostB.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.srv.localSAP int 0xf1
hubHostB.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

hubHostB.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostB.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostB.dp.forwardServiceRegistration bool true
hubHostB.dp.forwardProtocolRegistration bool true
hubHostB.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostB.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostB.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostB.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostB.li.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostB.li.forwardServiceRegistration bool true
hubHostB.li.forwardProtocolRegistration bool true
hubHostB.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostB.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostB.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostB.eth.bitrate double
hubHostC.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.status.initialStatus string "UP"

TODO @signal, @statistic

hubHostC.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

hubHostC.cli.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.cli.interfaceTableModule string
hubHostC.cli.destAddress string ""

Destination MAC address, or module path name of destination station; empty means off

hubHostC.cli.startTime double this.sendInterval

Time of sending the first request

hubHostC.cli.stopTime double -1s

Time of finishing sending, negative values mean forever

hubHostC.cli.localSAP int 0xf0

Local service access point

hubHostC.cli.remoteSAP int 0xf1

Remote service access point

hubHostC.cli.sendInterval double uniform(0s,1s)

Interval between sending requests

hubHostC.cli.reqLength int 100B

Length of request packets

hubHostC.cli.respLength int 1KiB

Length of response packets

hubHostC.cli.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation finished

hubHostC.cli.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostC.srv.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.srv.localSAP int 0xf1
hubHostC.srv.stopOperationExtraTime double -1s

Extra time after lifecycle stop operation is finished

hubHostC.srv.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

hubHostC.dp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.dp.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostC.dp.forwardServiceRegistration bool true
hubHostC.dp.forwardProtocolRegistration bool true
hubHostC.dp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostC.dp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostC.dp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostC.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

hubHostC.li.interfaceTableModule string

Module path to the ~InterfaceTable module

hubHostC.li.forwardServiceRegistration bool true
hubHostC.li.forwardProtocolRegistration bool true
hubHostC.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

hubHostC.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

hubHostC.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

hubHostC.eth.bitrate double
hub.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

Source code

//
// Sample Ethernet LAN containing eight hosts, a switch and a bus.
//
network MixedLAN
{
    types:
        channel C extends Eth10M
        {
            length = 1cm;
        }
    submodules:
        tap1: WireJunction {
            parameters:
                @display("p=126,307");
        }
        tap2: WireJunction {
            parameters:
                @display("p=258,307");
        }
        tap3: WireJunction {
            parameters:
                @display("p=344,307");
        }
        tap4: WireJunction {
            parameters:
                @display("p=514,307");
        }
        tap5: WireJunction {
            parameters:
                @display("p=650,307");
        }
        tap6: WireJunction {
            parameters:
                @display("p=753,307");
        }
        busHostA: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=126,200");
        }
        busHostB: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=258,200");
        }
        busHostC: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=514,400");
        }
        busHostD: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=753,400");
        }
        switchHostA: EthernetHost {
            parameters:
                csmacdSupport = false;
                eth.duplexMode = true;
                @display("p=100,500");
        }
        switchHostB: EthernetHost {
            parameters:
                csmacdSupport = false;
                eth.duplexMode = true;
                @display("p=250,500");
        }
        switchHostC: EthernetHost {
            parameters:
                csmacdSupport = false;
                eth.duplexMode = true;
                @display("p=400,500");
        }
        switchHostD: EthernetHost {
            parameters:
                csmacdSupport = false;
                eth.duplexMode = true;
                @display("p=550,500");
        }
        switch: EthernetSwitch {
            parameters:
                eth[4].duplexMode = false;
                @display("p=344,400");
            gates:
                ethg[5];
        }
        hubHostA: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=500,100");
        }
        hubHostB: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=650,100");
        }
        hubHostC: EthernetHost {
            parameters:
                eth.duplexMode = false;
                @display("p=800,100");
        }
        hub: EthernetHub {
            parameters:
                @display("p=650,200");
        }
    connections:
        tap1.port++ <--> Eth10M {  length = 10m; } <--> tap2.port++;
        tap2.port++ <--> Eth10M {  length = 10m; } <--> tap3.port++;
        tap3.port++ <--> Eth10M {  length = 4m; } <--> tap4.port++;
        tap4.port++ <--> Eth10M {  length = 11m; } <--> tap5.port++;
        tap5.port++ <--> Eth10M {  length = 8m; } <--> tap6.port++;

        //half-duplex:
        tap1.port++ <--> C <--> busHostA.ethg;
        tap2.port++ <--> C <--> busHostB.ethg;
        tap3.port++ <--> C <--> switch.ethg[4];
        tap4.port++ <--> C <--> busHostC.ethg;
        tap5.port++ <--> C <--> hub.ethg++;
        tap6.port++ <--> C <--> busHostD.ethg;

        //full-duplex:
        switch.ethg[0] <--> Eth100M {  length = 3m; } <--> switchHostA.ethg;
        switch.ethg[1] <--> Eth100M {  length = 2m; } <--> switchHostB.ethg;
        switch.ethg[2] <--> Eth10M {  length = 4m; } <--> switchHostC.ethg;
        switch.ethg[3] <--> Eth100M {  length = 5m; } <--> switchHostD.ethg;

        //half-duplex:
        hub.ethg++ <--> Eth10M {  length = 3m; } <--> hubHostA.ethg;
        hub.ethg++ <--> Eth10M {  length = 4m; } <--> hubHostB.ethg;
        hub.ethg++ <--> Eth10M {  length = 5m; } <--> hubHostC.ethg;
}


File: examples/ethernet/lans/Networks.ned