File Overlay/Pastry/OverlayPastry.ned
Contains:
import
"Pastry",
"PastryNeighborhoodSet",
"PastryLeafSet",
"PastryRoutingTable";
module OverlayPastry
parameters:
keyLength: numeric,
localPort: numeric,
debugOutput: bool,
joinOnApplicationRequest : bool,
lookupRedundantNodes : numeric,
lookupParallelPaths : numeric,
lookupParallelRpcs : numeric,
lookupSecure : bool,
lookupMerge : bool,
lookupFailedNodeRpcs : bool,
measureNetwInitPhase: bool,
hopCountMax: numeric,
drawOverlayTopology: bool;
gates:
in: from_udp;
out: to_udp;
in: from_app;
out: to_app;
submodules:
pastry: Pastry;
parameters:
keyLength = keyLength,
localPort = localPort,
debugOutput = debugOutput,
joinOnApplicationRequest = joinOnApplicationRequest,
lookupRedundantNodes = lookupRedundantNodes,
lookupParallelPaths = lookupParallelPaths,
lookupParallelRpcs = lookupParallelRpcs,
lookupSecure = lookupSecure,
lookupMerge = lookupMerge,
lookupFailedNodeRpcs = lookupFailedNodeRpcs,
measureNetwInitPhase = measureNetwInitPhase,
hopCountMax = hopCountMax,
drawOverlayTopology = drawOverlayTopology;
display: "p=60,52;i=block/circle";
pastryRoutingTable: PastryRoutingTable;
display: "p=140,68;i=block/table";
pastryLeafSet: PastryLeafSet;
display: "p=220,52;i=block/table";
pastryNeighborhoodSet: PastryNeighborhoodSet;
display: "p=300,68;i=block/table";
connections:
from_udp --> pastry.from_udp++;
to_udp <-- pastry.to_udp++;
from_app --> pastry.from_app;
to_app <-- pastry.to_app;
endmodule