Compound Module OverlayVast

Package: oversim.overlay.vast
File: src/overlay/vast/Vast.ned

(no description)

Vast

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.

Gates:

Name Direction Size Description
udpIn input

gate from the UDP layer

udpOut output

gate to the UDP layer

tcpIn input

gate from the TCP layer

tcpOut output

gate to the TCP layer

appIn input

gate from the application

appOut output

gate to the application

Unassigned submodule parameters:

Name Type Default value Description
vast.rpcUdpTimeout double

default timeout value for direct RPCs

vast.rpcKeyTimeout double

default timeout value for routed RPCs

vast.optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

vast.rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

vast.localPort int

UDP port for overlay messages

vast.overlayId int

identifies the overlay this node belongs to (used for multiple overlays)

vast.debugOutput bool

enable debug output

vast.keyLength int

overlay key length in bits

vast.nodeId string

optional nodeId as string in hexadecimal notation

vast.useCommonAPIforward bool

enable CommonAPI forward() calls

vast.drawOverlayTopology bool

draw arrow to successor node?

vast.hopCountMax int

maximum number of overlay hops

vast.recNumRedundantNodes int

numRedundantNodes for recursive routing

vast.joinOnApplicationRequest bool

only join the overlay on application request

vast.collectPerHopDelay bool

delay statistics for single hops

vast.routeMsgAcks bool

use RPCs for route messages

vast.lookupRedundantNodes int

number of next hops in each step

vast.lookupParallelPaths int

number of parallel paths

vast.lookupParallelRpcs int

number of nodes to ask in parallel

vast.lookupVerifySiblings bool

true, if siblings need to be authenticated with a ping

vast.lookupMajoritySiblings bool

true, if sibling candidates are selected by a majority decision if using parallel paths

vast.lookupMerge bool

true, if parallel Rpc results should be merged

vast.lookupFailedNodeRpcs bool

communicate failed nodes

vast.lookupStrictParallelRpcs bool

limited the number of concurrent rpcs to parameter parallelRpcs

vast.lookupUseAllParallelResponses bool

merge all parallel responses from earlier steps

vast.lookupNewRpcOnEveryTimeout bool

send a new RPC immediately after an RPC timeouts

vast.lookupNewRpcOnEveryResponse bool

send a new RPC after every response, even if there was no progress

vast.lookupFinishOnFirstUnchanged bool

finish lookup, if the last pending RPC returned without progress

vast.lookupVisitOnlyOnce bool

if true, the same node is never asked twice during a single lookup

vast.lookupAcceptLateSiblings bool

if true, a FindNodeResponse with sibling flag set is always accepted, even if it is from a previous lookup step

vast.routingType string

default routing mode (iterative, semi-recursive,...)

vast.rejoinOnFailure bool

rejoin after loosing connection to the overlay?

vast.sendRpcResponseToLastHop bool

needed by KBR protocols for NAT support

vast.recordRoute bool

record visited hops on route

vast.dropFindNodeAttack bool

if node is malicious, it tries a findNode attack

vast.isSiblingAttack bool

if node is malicious, it tries a isSibling attack

vast.invalidNodesAttack bool

if node is malicious, it tries a invalidNode attack

vast.dropRouteMessageAttack bool

if node is malicious, it drops all received BaseRouteMessages

vast.measureAuthBlock bool

if true, measure the overhead of signatures in rpc messages

vast.restoreContext bool

if true, a node rejoins with its old nodeId and malicious state

vast.areaDimension double

movement range from [0.0, 0.0] to [areaDimension, areaDimension]

vast.debugVastOutput bool

enable voronoi diagram debug information

vast.AOIWidth double

this nodes area of interest

vast.stockListSize double

size of the stockList

vast.joinTimeout double

retry join timeout in seconds

vast.pingTimeout double

ping neighbor status in seconds

vast.discoveryIntervall double

asks stock neighbors for their neighborslist

vast.criticalCheckIntervall double

checks intervall for NeighborLevel for preventing partitions

vast.criticalThreshold double

threshold to activate backup operation

Source code:

module OverlayVast like IOverlay
{
    gates:
        input udpIn; // gate from the UDP layer
        output udpOut; // gate to the UDP layer
        input tcpIn;    // gate from the TCP layer
        output tcpOut;    // gate to the TCP layer
        input appIn; // gate from the application
        output appOut; // gate to the application

    submodules:
        vast: Vast {
            parameters:
                @display("p=60,60");

        }
    connections allowunconnected:
        udpIn --> vast.udpIn;
        udpOut <-- vast.udpOut;
        appIn --> vast.appIn;
        appOut <-- vast.appOut;
}