Compound Module SingleHostUnderlay

File: Underlay/SingleHostUnderlay/SingleHostUnderlay.ned

The SingleHostUnderlay ned-file

See also: SingleHostConfigurator

underlayConfigurator: SingleHostConfigurator globalObserver: GlobalObserver singleHost: SingleHost

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Contains the following modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

GlobalObserver

global module that contains the bootstrapOracle and the globalStatistics module

SingleHost

simulates a single host to connect it to a real network

SingleHostConfigurator

Configurator of the SingleHostUnderlay

Networks:

SingleHostNetwork

The SingleHostUnderlay network definition

Unassigned submodule parameters:

Name Type Description
underlayConfigurator.nodeIP string

IP of the node

underlayConfigurator.gatewayIP string

IP of the gateway

underlayConfigurator.bootstrapIP string

IP of an overlay node for bootstrapping

underlayConfigurator.bootstrapPort numeric

Port of the bootstrap node

underlayConfigurator.keepFirstNode bool

not used, but required by the base class

underlayConfigurator.channelTypes string

not used, but required by the base class

underlayConfigurator.gracefullLeaveDelay numeric

not used, but required by the base class

underlayConfigurator.gracefullLeavePropability numeric

not used, but required by the base class

underlayConfigurator.churnGeneratorTypes string

a list of churn generators; ignored but must be set

underlayConfigurator.transitionTime numeric

time to wait before measuring after init phase is finished

underlayConfigurator.measurementTime numeric

duration of the simulation after init and transition phase

globalObserver.useGlobalFunctions numeric

are globalFunctions used?

globalObserver.globalFunctionsType string

type of globalFunctions

globalObserver.bootstrapOracle.maliciousNodeProbability numeric

probability for a node to be malicious on creation

globalObserver.bootstrapOracle.maliciousNodeChange bool

dynamically change number of malicious nodes

globalObserver.bootstrapOracle.maliciousNodeChangeStartTime numeric
globalObserver.bootstrapOracle.maliciousNodeChangeRate numeric
globalObserver.bootstrapOracle.maliciousNodeChangeInterval numeric
globalObserver.bootstrapOracle.maliciousNodeChangeStartValue numeric
globalObserver.bootstrapOracle.maliciousNodeChangeStopValue numeric
globalObserver.bootstrapOracle.maxNumberOfKeys numeric

maximum number of overlay keys the bootstrap oracle handles

globalObserver.bootstrapOracle.keyProbability numeric

probability of keys to be owned by nodes

globalObserver.globalStatistics.outputMinMax bool
globalObserver.globalStatistics.outputVariance bool
globalObserver.globalStatistics.measureNetwInitPhase bool
globalObserver.globalStatistics.globalStatTimerInterval numeric
singleHost.IPForward bool

true if ip packets should be forwarded

singleHost.outDeviceType string

outDevice to use

singleHost.overlayType string

overlay protocol compound module to use

singleHost.tier1Type string

tier 1 module to use

singleHost.tier2Type string

tier 2 module to use

singleHost.tier3Type string

tier 3 module to use

singleHost.numTiers numeric const

number of tiers

singleHost.parser string

name of the PacketParser to use

singleHost.appParser string

name of the PacketParser to use

singleHost.routingFile string

use predefined routing file if given

singleHost.outDev.mtu numeric

maximum transmission unit of the underlaying network

Source code:

module SingleHostUnderlay

    submodules:
        underlayConfigurator: SingleHostConfigurator;
            display: "i=block/cogwheel";
        globalObserver: GlobalObserver;
            display: "i=block/control";
        singleHost: SingleHost;
            display: "i=device/server2;i2=block/circle_s";
endmodule