Simple Module GlobalNodeList

Package: oversim.common
File: src/common/GlobalNodeList.ned

C++ definition

Global module that supports bootstrap process and key distribution

GlobalNodeList

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
GlobalObserver compound module

global module that contains the globalNodeList and the globalStatistics module

Parameters:

Name Type Default value Description
maliciousNodeProbability double

probability for a node to be malicious on creation

maliciousNodeChange bool

dynamically change number of malicious nodes

maliciousNodeChangeStartTime double

simTime at which nodes begin to become malicious

maliciousNodeChangeRate double

number of nodes to change to malicious compared to all nodes

maliciousNodeChangeInterval double

time between two node changes to malicious

maliciousNodeChangeStartValue double

minimum amount of malicious nodes in the peerSet

maliciousNodeChangeStopValue double

maximum amount of malicious nodes in the peerSet

maxNumberOfKeys int

maximum number of overlay keys the bootstrap oracle handles

keyProbability double

probability of keys to be owned by nodes

Properties:

Name Value Description
display i=block/control

Source code:

//
// Global module that supports bootstrap process and key distribution
//
simple GlobalNodeList
{
    parameters:
        double maliciousNodeProbability;              // probability for a node to be malicious on creation
        bool maliciousNodeChange;                     // dynamically change number of malicious nodes
        double maliciousNodeChangeStartTime @unit(s); // simTime at which nodes begin to become malicious
        volatile double maliciousNodeChangeRate;              // number of nodes to change to malicious compared to all nodes
        volatile double maliciousNodeChangeInterval @unit(s); // time between two node changes to malicious
        volatile double maliciousNodeChangeStartValue;        // minimum amount of malicious nodes in the peerSet
        volatile double maliciousNodeChangeStopValue;         // maximum amount of malicious nodes in the peerSet

        int maxNumberOfKeys;             // maximum number of overlay keys the bootstrap oracle handles
        double keyProbability;           // probability of keys to be owned by nodes
        @display("i=block/control");
}