Compound Module GlobalObserver

File: Common/GlobalObserver.ned

global module that contains the bootstrapOracle and the globalStatistics module

bootstrapOracle: BootstrapOracle globalStatistics: GlobalStatistics globalParameters: GlobalParameters globalTraceManager: GlobalTraceManager globalFunctions: globalFunctionsType like GlobalFunctions

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.

BootstrapOracle

Global module that supports bootstrap process and key distribution

GlobalFunctions (no description)
GlobalParameters

Module for storing global simulation parameters

GlobalStatistics

Module to record global statistics

GlobalTraceManager (no description)

Used in compound modules:

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

SingleHostUnderlay

The SingleHostUnderlay ned-file

See also: SingleHostConfigurator

IPv4Underlay

The IPv4Underlay ned-file

See also: IPv4UnderlayConfigurator

SimpleUnderlay

The SimpleUnderlay ned-file

See also: SimpleNetConfigurator

Parameters:

Name Type Description
useGlobalFunctions numeric

are globalFunctions used?

globalFunctionsType string

type of globalFunctions

Unassigned submodule parameters:

Name Type Description
bootstrapOracle.maliciousNodeProbability numeric

probability for a node to be malicious on creation

bootstrapOracle.maliciousNodeChange bool

dynamically change number of malicious nodes

bootstrapOracle.maliciousNodeChangeStartTime numeric

simTime at which nodes begin to become malicious

bootstrapOracle.maliciousNodeChangeRate numeric

number of nodes to change to malicious compared to all nodes

bootstrapOracle.maliciousNodeChangeInterval numeric

time between two node changes to malicious

bootstrapOracle.maliciousNodeChangeStartValue numeric

minimum amount of malicious nodes in the peerSet

bootstrapOracle.maliciousNodeChangeStopValue numeric

maximum amount of malicious nodes in the peerSet

bootstrapOracle.maxNumberOfKeys numeric

maximum number of overlay keys the bootstrap oracle handles

bootstrapOracle.keyProbability numeric

probability of keys to be owned by nodes

globalStatistics.outputMinMax bool
globalStatistics.outputStdDev bool
globalStatistics.measureNetwInitPhase bool

fetch statistics in init phase?

globalStatistics.globalStatTimerInterval numeric

interval length of periodic statistic timer

globalParameters.rpcUdpTimeout numeric

default value for underlay rpcs

globalParameters.rpcKeyTimeout numeric

default value for overlay rpcs

globalTraceManager.traceFile string

file name of the trace file

globalTraceManager.numTiers numeric

number of tiers used

globalTraceManager.overlayType string

the overlay used in the simulation

globalTraceManager.channelTypes string

used access technologies

globalTraceManager.tier1Type string

the application on top of the overlay used in the simulation

globalTraceManager.tier2Type string

the module type on top of tier 1

globalTraceManager.tier3Type string

the module type on top of tier 2

Source code:

module GlobalObserver
    parameters:
        useGlobalFunctions: numeric, // are globalFunctions used?
        globalFunctionsType: string; // type of globalFunctions

    submodules:
        bootstrapOracle: BootstrapOracle;
            display: "p=60,60;i=block/control";
        globalStatistics: GlobalStatistics;
            display: "p=180,60;i=block/control";
        globalParameters: GlobalParameters;
            display: "p=180,180;i=block/control";
        globalTraceManager: GlobalTraceManager;
            display: "p=60,180;i=block/control";
        globalFunctions: globalFunctionsType[min(1, useGlobalFunctions)] like GlobalFunctions;
            display: "p=60,300;i=block/control";
endmodule