Simple Module SimpleUnderlayConfigurator

Package: oversim.underlay.simpleunderlay
File: src/underlay/simpleunderlay/SimpleUnderlayConfigurator.ned

C++ definition

Configurator of the SimpleUnderlay

Sets up a SimpleNetwork, adds overlay nodes to the network in init phase periodically with the interval set by "initPhaseCreationInterval", adds/removes/migrates overlay nodes after init phase according to given churn model.

SimpleUnderlayConfigurator

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.

Extends:

Name Type Description
UnderlayConfigurator simple module

UnderlayConfigurator base module

Networks:

Name Type Description
SimpleUnderlayNetwork network

The SimpleUnderlay ned-file

See also: SimpleUnderlayConfigurator

Parameters:

Name Type Default value Description
terminalTypes string

list of terminal types

churnGeneratorTypes string

a list of churn generators to be used

transitionTime double

time to wait before measuring after init phase is finished

measurementTime double

duration of the simulation after init and transition phase

gracefulLeaveDelay double

time between prekill and removal from overlay

gracefulLeaveProbability double

probability of gracefull leave

fieldSize double

maximum x/y-coordinate for nodes

nodeCoordinateSource string

name of xml-file with coordinates of nodes

sendQueueLength int

send-queue length in bytes (0 = infinite)

fixedNodePositions bool

put nodes on fixed coordiantes in playground

useIPv6Addresses bool

Properties:

Name Value Description
display i=block/cogwheel
class SimpleUnderlayConfigurator

Source code:

//
// Configurator of the SimpleUnderlay
//
// Sets up a SimpleNetwork, adds overlay nodes to the network in init phase
// periodically with the interval set by "initPhaseCreationInterval",
// adds/removes/migrates overlay nodes after init phase according to given
// churn model.
//
simple SimpleUnderlayConfigurator extends UnderlayConfigurator
{
    parameters:
        @class(SimpleUnderlayConfigurator);
        double fieldSize; // maximum x/y-coordinate for nodes
        string nodeCoordinateSource; // name of xml-file with coordinates of nodes
        int sendQueueLength @unit(B); // send-queue length in bytes (0 = infinite)
        bool fixedNodePositions; // put nodes on fixed coordiantes in playground
        bool useIPv6Addresses;
}