File Overlay/Broose/OverlayBroose.ned
Contains:
import
"BrooseBucket",
"Broose";
module OverlayBroose
parameters:
keyLength: numeric,
localPort: numeric,
debugOutput: bool,
joinOnApplicationRequest : bool,
lookupRedundantNodes : numeric,
lookupParallelPaths : numeric,
lookupParallelRpcs : numeric,
lookupSecure : bool,
lookupMerge : bool,
lookupFailedNodeRpcs : bool,
shiftingBits : numeric,
hopCountMax: numeric,
measureNetwInitPhase: bool,
drawOverlayTopology: bool;
gates:
in: from_udp;
out: to_udp;
in: from_app;
out: to_app;
submodules:
rBucket : BrooseBucket[2^shiftingBits];
display: "i=block/table";
lBucket : BrooseBucket;
display: "p=360,60;i=block/table";
bBucket : BrooseBucket;
display: "p=420,60;i=block/table";
broose: Broose;
parameters:
keyLength = keyLength,
localPort = localPort,
debugOutput = debugOutput,
joinOnApplicationRequest = joinOnApplicationRequest,
shiftingBits = shiftingBits,
lookupRedundantNodes = lookupRedundantNodes,
lookupParallelPaths = lookupParallelPaths,
lookupParallelRpcs = lookupParallelRpcs,
lookupSecure = lookupSecure,
lookupMerge = lookupMerge,
lookupFailedNodeRpcs = lookupFailedNodeRpcs,
hopCountMax = hopCountMax,
measureNetwInitPhase = measureNetwInitPhase,
drawOverlayTopology = drawOverlayTopology;
display: "p=60,60;i=block/circle";
connections:
from_udp --> broose.from_udp++;
to_udp <-- broose.to_udp++;
from_app --> broose.from_app;
to_app <-- broose.to_app;
endmodule