Simple Module InetUnderlayConfigurator

Package: oversim.underlay.inetunderlay
File: src/underlay/inetunderlay/InetUnderlayConfigurator.ned

C++ definition

Configurator of the IPv4Underlay

Sets up an IPv4Network (backbone and access routers), 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 the given churn model.

Author: Markus Mauch

InetUnderlayConfigurator

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

UnderlayConfigurator (simple module)

UnderlayConfigurator base module

Networks:

InetUnderlayNetwork (network)

The InetUnderlay ned-file

See also: InetUnderlayConfigurator

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

startIP string

IP configuration starts with this IP

gatewayIP string

IP of the gateway (if an outRouter is used)

Properties:

Name Value Description
display i=block/cogwheel
class InetUnderlayConfigurator

Source code:

//
// Configurator of the IPv4Underlay
//
// Sets up an IPv4Network (backbone and access routers), 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 the given churn model.
//
// @author Markus Mauch
//
simple InetUnderlayConfigurator extends UnderlayConfigurator
{
    parameters:
        @class(InetUnderlayConfigurator);
        string startIP; // IP configuration starts with this IP
        string gatewayIP; // IP of the gateway (if an outRouter is used)
}