Compound Module GlobalObserver

File: Common/GlobalObserver.ned

global module that contains the bootstrapOracle and the globalStatistics module

bootstrapOracle: BootstrapOracle globalStatistics: GlobalStatistics 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 modul that supports bootstrap process and key distribution

GlobalFunctions (no description)
GlobalStatistics (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
bootstrapOracle.maliciousNodeChangeRate numeric
bootstrapOracle.maliciousNodeChangeInterval numeric
bootstrapOracle.maliciousNodeChangeStartValue numeric
bootstrapOracle.maliciousNodeChangeStopValue numeric
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.outputVariance bool
globalStatistics.measureNetwInitPhase bool
globalStatistics.globalStatTimerInterval numeric

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";

            globalFunctions: globalFunctionsType[min(1, useGlobalFunctions)] like GlobalFunctions;
                display: "p=60,180;i=block/control";
endmodule