Simple Module SingleHostConfigurator

File: Underlay/SingleHostUnderlay/SingleHostConfigurator.ned

C++ definition: click here

Configurator of the SingleHostUnderlay

Configures a single Host (with a connection to a real network)

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.

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

Parameters:

Name Type Description
nodeIP string

IP of the node

nodeInterface string

interface name

stunServer string

name of a STUN server (optional)

bootstrapIP string

IP of an overlay node for bootstrapping

bootstrapPort numeric

Port of the bootstrap node

channelTypes string

not used, but required by the base class

gracefulLeaveDelay numeric

not used, but required by the base class

gracefulLeaveProbability numeric

not used, but required by the base class

churnGeneratorTypes string

a list of churn generators; ignored but must be set

terminalTypes string

list of terminal types

transitionTime numeric

time to wait before measuring after init phase is finished

measurementTime numeric

duration of the simulation after init and transition phase

Source code:

simple SingleHostConfigurator
    parameters:

        nodeIP : string, // IP of the node
        nodeInterface :  string, // interface name 
        stunServer : string,   // name of a STUN server (optional)
        bootstrapIP : string, // IP of an overlay node for bootstrapping
        bootstrapPort : numeric, // Port of the bootstrap node

        channelTypes : string,    // not used, but required by the base class
        gracefulLeaveDelay : numeric,    // not used, but required by the base class
        gracefulLeaveProbability : numeric,    // not used, but required by the base class
        churnGeneratorTypes : string,    // a list of churn generators; ignored but must be set
        terminalTypes: string,     // list of terminal types
        transitionTime : numeric,    // time to wait before measuring after init phase is finished
        measurementTime : numeric;    // duration of the simulation after init and transition phase

endsimple