Compound Module OverlayDummyModules

Package: oversim.applications.i3
File: src/applications/i3/OverlayDummy.ned
OverlayDummy

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
overlayDummy.rpcUdpTimeout double

default timeout value for direct RPCs

overlayDummy.rpcKeyTimeout double

default timeout value for routed RPCs

overlayDummy.optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

overlayDummy.rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

overlayDummy.localPort int

UDP port for overlay messages

overlayDummy.overlayId int

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

overlayDummy.debugOutput bool

enable debug output

overlayDummy.keyLength int

overlay key length in bits

overlayDummy.nodeId string

optional nodeId as string in hexadecimal notation

overlayDummy.useCommonAPIforward bool

enable CommonAPI forward() calls

overlayDummy.drawOverlayTopology bool

draw arrow to successor node?

overlayDummy.hopCountMax int

maximum number of overlay hops

overlayDummy.recNumRedundantNodes int

numRedundantNodes for recursive routing

overlayDummy.joinOnApplicationRequest bool

only join the overlay on application request

overlayDummy.collectPerHopDelay bool

delay statistics for single hops

overlayDummy.routeMsgAcks bool

use RPCs for route messages

overlayDummy.lookupRedundantNodes int

number of next hops in each step

overlayDummy.lookupParallelPaths int

number of parallel paths

overlayDummy.lookupParallelRpcs int

number of nodes to ask in parallel

overlayDummy.lookupVerifySiblings bool

true, if siblings need to be authenticated with a ping

overlayDummy.lookupMajoritySiblings bool

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

overlayDummy.lookupMerge bool

true, if parallel Rpc results should be merged

overlayDummy.lookupFailedNodeRpcs bool

communicate failed nodes

overlayDummy.lookupStrictParallelRpcs bool

limited the number of concurrent rpcs to parameter parallelRpcs

overlayDummy.lookupUseAllParallelResponses bool

merge all parallel responses from earlier steps

overlayDummy.lookupNewRpcOnEveryTimeout bool

send a new RPC immediately after an RPC timeouts

overlayDummy.lookupNewRpcOnEveryResponse bool

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

overlayDummy.lookupFinishOnFirstUnchanged bool

finish lookup, if the last pending RPC returned without progress

overlayDummy.lookupVisitOnlyOnce bool

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

overlayDummy.lookupAcceptLateSiblings bool

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

overlayDummy.routingType string

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

overlayDummy.rejoinOnFailure bool

rejoin after loosing connection to the overlay?

overlayDummy.sendRpcResponseToLastHop bool

needed by KBR protocols for NAT support

overlayDummy.recordRoute bool

record visited hops on route

overlayDummy.dropFindNodeAttack bool

if node is malicious, it tries a findNode attack

overlayDummy.isSiblingAttack bool

if node is malicious, it tries a isSibling attack

overlayDummy.invalidNodesAttack bool

if node is malicious, it tries a invalidNode attack

overlayDummy.dropRouteMessageAttack bool

if node is malicious, it drops all received BaseRouteMessages

overlayDummy.measureAuthBlock bool

if true, measure the overhead of signatures in rpc messages

overlayDummy.restoreContext bool

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

Source code:

module OverlayDummyModules 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:
        overlayDummy: OverlayDummy {
            parameters:
                @display("p=60,60");

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