|
a/src/DIF/RA/ResourceAllocator.ned |
|
b/src/DIF/RA/ResourceAllocator.ned |
|
... |
|
... |
18 |
package rina.DIF.RA;
|
18 |
package rina.DIF.RA;
|
19 |
|
19 |
|
20 |
import rina.policies.DIF.RA.QueueAlloc.IntRAQueueAlloc;
|
20 |
import rina.policies.DIF.RA.QueueAlloc.IntRAQueueAlloc;
|
21 |
import rina.policies.DIF.RA.QueueIDGen.IntRAQueueIDGen;
|
21 |
import rina.policies.DIF.RA.QueueIDGen.IntRAQueueIDGen;
|
22 |
import rina.policies.DIF.RA.AddressComparator.IntAddressComparator;
|
22 |
import rina.policies.DIF.RA.AddressComparator.IntAddressComparator;
|
23 |
import rina.policies.DIF.RA.Forwarding.IntPDUFTGPolicy;
|
23 |
import rina.policies.DIF.RA.PDUFG.IntPDUFG;
|
24 |
|
24 |
|
25 |
|
25 |
|
26 |
module ResourceAllocator
|
26 |
module ResourceAllocator
|
27 |
{
|
27 |
{
|
28 |
parameters:
|
28 |
parameters:
|
29 |
@display("i=block/segm;bgb=486,352");
|
29 |
@display("i=block/segm;bgb=470,352");
|
30 |
string queueAllocPolicyName = default("SingleQueue");
|
30 |
string queueAllocPolicyName = default("SingleQueue");
|
|
|
31 |
string pduftType = default("SimplePDUForwardingTable");
|
31 |
string pduftgPolicyName = default("StaticRoutingPolicy");
|
32 |
string pdufgPolicyName = default("StaticGenerator");
|
32 |
string queueIdGenName = default("SingleID");
|
33 |
string queueIdGenName = default("SingleID");
|
33 |
string addrComparatorName = default("ExactMatch");
|
34 |
string addrComparatorName = default("ExactMatch");
|
34 |
|
35 |
|
35 |
submodules:
|
36 |
submodules:
|
36 |
pduForwardingTable: PDUForwardingTable {
|
|
|
37 |
@display("p=60,60");
|
|
|
38 |
}
|
|
|
39 |
pduFwdTabGenerator: PDUFwdTabGenerator {
|
|
|
40 |
@display("p=180,60");
|
|
|
41 |
}
|
|
|
42 |
ra: RA {
|
37 |
ra: RA {
|
43 |
@display("p=300,60");
|
38 |
@display("p=55,55");
|
44 |
}
|
39 |
}
|
45 |
nm1FlowTable: NM1FlowTable {
|
40 |
nm1FlowTable: NM1FlowTable {
|
46 |
@display("p=420,60");
|
41 |
@display("p=175,55");
|
47 |
}
|
42 |
}
|
48 |
|
43 |
pduFwdGenerator: <pdufgPolicyName> like IntPDUFG {
|
|
|
44 |
@display("p=55,150");
|
|
|
45 |
}
|
49 |
queueAllocPolicy: <queueAllocPolicyName> like IntRAQueueAlloc {
|
46 |
queueAllocPolicy: <queueAllocPolicyName> like IntRAQueueAlloc {
|
50 |
@display("p=60,163");
|
47 |
@display("p=175,150");
|
51 |
}
|
48 |
}
|
52 |
queueIdGenerator: <queueIdGenName> like IntRAQueueIDGen {
|
49 |
queueIdGenerator: <queueIdGenName> like IntRAQueueIDGen {
|
53 |
@display("p=180,163");
|
50 |
@display("p=295,150");
|
54 |
}
|
|
|
55 |
PDUFTGPolicy: <pduftgPolicyName> like IntPDUFTGPolicy {
|
|
|
56 |
@display("p=300,163");
|
|
|
57 |
}
|
51 |
}
|
58 |
addressComparator: <addrComparatorName> like IntAddressComparator {
|
52 |
addressComparator: <addrComparatorName> like IntAddressComparator {
|
59 |
@display("p=420,163");
|
53 |
@display("p=415,150");
|
60 |
}
|
54 |
}
|
61 |
}
|
55 |
}
|