|
a/src/DIF/IPCProcess.ned |
|
b/src/DIF/IPCProcess.ned |
|
... |
|
... |
22 |
import rina.DIF.Enrollment.Enrollment;
|
22 |
import rina.DIF.Enrollment.Enrollment;
|
23 |
import rina.DIF.FA.FlowAllocator;
|
23 |
import rina.DIF.FA.FlowAllocator;
|
24 |
import rina.DIF.RA.ResourceAllocator;
|
24 |
import rina.DIF.RA.ResourceAllocator;
|
25 |
import rina.DIF.RIB.RIBDaemon;
|
25 |
import rina.DIF.RIB.RIBDaemon;
|
26 |
import rina.DIF.RMT.RelayAndMux;
|
26 |
import rina.DIF.RMT.RelayAndMux;
|
|
|
27 |
import rina.policies.DIF.Routing.IntRouting;
|
27 |
|
28 |
|
28 |
module IPCProcess
|
29 |
module IPCProcess
|
29 |
{
|
30 |
{
|
30 |
parameters:
|
31 |
parameters:
|
31 |
@display("bgb=457,307;i=misc/square,#FF8000,50");
|
32 |
@display("bgb=457,307;i=misc/square,#FF8000,50");
|
32 |
string ipcAddress;
|
33 |
string ipcAddress;
|
33 |
string difName;
|
34 |
string difName;
|
34 |
string apName = default(ipcAddress + "_" + difName);
|
35 |
string apName = default(ipcAddress + "_" + difName);
|
35 |
bool relay = default(false);
|
36 |
bool relay = default(false);
|
36 |
//int rank;
|
37 |
string routingPolicyName = default("DummyRouting");
|
37 |
gates:
|
38 |
gates:
|
38 |
inout southIo[];
|
39 |
inout southIo[];
|
39 |
inout northIo[];
|
40 |
inout northIo[];
|
40 |
//inout test;
|
|
|
41 |
submodules:
|
41 |
submodules:
|
42 |
flowAllocator: FlowAllocator {
|
42 |
flowAllocator: FlowAllocator {
|
43 |
@display("p=167,50");
|
43 |
@display("p=167,50");
|
44 |
}
|
44 |
}
|
45 |
relayAndMux: RelayAndMux {
|
45 |
relayAndMux: RelayAndMux {
|
46 |
@display("p=79,249;i=block/dispatch");
|
46 |
@display("p=79,249;i=block/dispatch");
|
47 |
}
|
47 |
}
|
48 |
ribDaemon: RIBDaemon {
|
48 |
ribDaemon: RIBDaemon {
|
49 |
@display("p=238,147");
|
49 |
@display("p=229,153");
|
50 |
}
|
50 |
}
|
51 |
|
51 |
|
52 |
efcp: EFCPModule {
|
52 |
efcp: EFCPModule {
|
53 |
@display("p=79,50");
|
53 |
@display("p=79,50");
|
54 |
}
|
54 |
}
|
|
|
55 |
enrollment: Enrollment {
|
|
|
56 |
@display("p=390,50");
|
|
|
57 |
}
|
|
|
58 |
routingPolicy: <routingPolicyName> like IntRouting {
|
|
|
59 |
@display("p=390,153");
|
|
|
60 |
}
|
55 |
resourceAllocator: ResourceAllocator {
|
61 |
resourceAllocator: ResourceAllocator {
|
56 |
@display("p=390,195");
|
62 |
@display("p=390,249");
|
57 |
}
|
63 |
}
|
58 |
enrollment: Enrollment {
|
64 |
|
59 |
@display("p=390,100");
|
|
|
60 |
}
|
|
|
61 |
connections allowunconnected:
|
65 |
connections allowunconnected:
|
62 |
relayAndMux.ribdIo <--> ribDaemon.rmtIo;
|
66 |
relayAndMux.ribdIo <--> ribDaemon.rmtIo;
|
63 |
}
|
67 |
}
|