Simple Module BootstrapList

File: Common/BootstrapList.ned

C++ definition: click here

The BootstrapList module maintains a list of bootstrap node candidates received from various sources (BootstrapOracle for simulations and Zeroconf for SingleHostUnderlay). This list is also used to detect overlay partitions and triggers the merging process.

Author: Bin Zheng, Ingmar Baumgart

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.

SingleHost

simulates a single host to connect it to a real network

OverlayHost

Host that participates in the overlay

OverlayRouter

Router in the overlay network

OverlayAccessRouter

Access router that participates in the overlay

SimpleMultiOverlayHost

Host in the simple network that participates in the overlay

SimpleOverlayHost

Host in the simple network that participates in the overlay

Parameters:

Name Type Description
debugOutput bool

enable debug output

mergeOverlayPartitions bool

if true, detect and merge overlay partitions

maintainList bool

maintain a list of bootstrap candidates and check them periodically

Gates:

Name Direction Description
direct_in input

gate for sendDirect

trace_in input

gate for trace file commands

from_udp input

gate from the UDP layer

to_udp output

gate to the UDP layer

Source code:

simple BootstrapList
    parameters:
        debugOutput : bool,    // enable debug output
        mergeOverlayPartitions : bool,  // if true, detect and merge overlay partitions
        maintainList : bool; //maintain a list of bootstrap candidates and check them periodically
    gates:
        in: direct_in;   // gate for sendDirect
        in: trace_in;    // gate for trace file commands
        in: from_udp;    // gate from the UDP layer
        out: to_udp;     // gate to the UDP layer
endsimple