RINASim  October 2016
Documentation of framework for OMNeT++
ini.php
Go to the documentation of this file.
1 [General]
2 network = BigDC
3 **.pduTracing = false
4 **.scalar-recording = false
5 **.vector-recording = false
6 
7 seed-set = ${runnumber}
8 
9 #DIF Allocator settings
10 **.difAllocator.directory.configData = xmldoc("directory.xml", "DA")
11 
12 #Shim-Flows allocation
13 **.ra.preallocation = xmldoc("connectionset.xml", "ConnectionSet")
14 **.flowAllocator.newFlowReqPolicyType = "MinComparer"
15 **.isSelfEnrolled = true
16 
17 ##---Backbone---
18 
19 #QoS settings
20 **.relayIpc.**.ra.qoscubesData = xmldoc("qoscube.xml", "QoSCubesSet")
21 **.relayIpc.**.ra.qosReqData = xmldoc("qosreq.xml", "QoSReqSet")
22 
23 **.ipcProcess[*].**.ra.qoscubesData = xmldoc("qoscube.xml", "QoSCubesSet")
24 **.ipcProcess[*].**.ra.qosReqData = xmldoc("qosreq.xml", "QoSReqSet")
25 
26 
27 #DC DIF
28 **.relayIpc.difName = "DC"
29 
30 <?php
31  for($i = 0; $i < $p; $i++) {
32  for($j = 0; $j < $t; $j++) {
33 ?>
34 **.T_<?=$i;?>_<?=$j;?>.relayIpc.ipcAddress = "0.<?=$i;?>.<?=$j;?>"
35 <?php
36  }
37  }
38 ?>
39 
40 <?php
41  for($i = 0; $i < $p; $i++) {
42  for($j = 0; $j < $f; $j++) {
43 ?>
44 **.F_<?=$i;?>_<?=$j;?>.relayIpc.ipcAddress = "1.<?=$i;?>.<?=$j;?>"
45 <?php
46  }
47  }
48 ?>
49 
50 <?php
51  for($i = 0; $i < $f; $i++) {
52  for($j = 0; $j < $s; $j++) {
53 ?>
54 **.S_<?=$i;?>_<?=$j;?>.relayIpc.ipcAddress = "2.<?=$i;?>.<?=$j;?>"
55 <?php
56  }
57  }
58 ?>
59 
60 <?php
61  for($i = 0; $i < $e; $i++) {
62  for($j = 0; $j < $f; $j++) {
63 ?>
64 **.E_<?=$i;?>_<?=$j;?>.relayIpc.ipcAddress = "3.<?=$i;?>.<?=$j;?>"
65 <?php
66  }
67  }
68 ?>
69 
70 
71 
72 #shim DIF
73 
74 **.T_**.ipcProcess[*].ipcAddress = "0"
75 **.F_**.ipcProcess[*].ipcAddress = "1"
76 **.S_**.ipcProcess[*].ipcAddress = "2"
77 **.E_**.ipcProcess[*].ipcAddress = "3"
78 
79 <?php
80  for($i = 0; $i < $p; $i++) {
81  for($j = 0; $j < $t; $j++) {
82  for($k = 0; $k < $f; $k++) {
83 ?>
84 **.T_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k;?>].difName = "tf<?=$i;?>.<?=$j;?>.<?=$k;?>"
85 <?php
86  }
87  }
88  }
89 ?>
90 
91 
92 <?php
93  for($i = 0; $i < $p; $i++) {
94  for($j = 0; $j < $f; $j++) {
95  for($k = 0; $k < $t; $k++) {
96 ?>
97 **.F_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k;?>].difName = "tf<?=$i;?>.<?=$k;?>.<?=$j;?>"
98 <?php
99  }
100 
101  for($k = 0; $k < $s; $k++) {
102 ?>
103 **.F_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k+$t;?>].difName = "fs<?=$i;?>.<?=$j;?>.<?=$k;?>"
104 <?php
105  }
106  }
107  }
108 ?>
109 
110 <?php
111  for($i = 0; $i < $e; $i++) {
112  for($j = 0; $j < $f; $j++) {
113  for($k = 0; $k < $s; $k++) {
114 ?>
115 **.E_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k;?>].difName = "es<?=$i;?>.<?=$j;?>.<?=$k;?>"
116 <?php
117  }
118  }
119  }
120 ?>
121 
122 <?php
123  for($i = 0; $i < $f; $i++) {
124  for($j = 0; $j < $s; $j++) {
125  for($k = 0; $k < $p; $k++) {
126 ?>
127 **.S_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k;?>].difName = "fs<?=$k;?>.<?=$i;?>.<?=$j;?>"
128 <?php
129  }
130 
131  for($k = 0; $k < $e; $k++) {
132 ?>
133 **.S_<?=$i;?>_<?=$j;?>.ipcProcess[<?= $k+$p;?>].difName = "es<?=$k;?>.<?=$i;?>.<?=$j;?>"
134 <?php
135  }
136  }
137  }
138 ?>
139 
140 
141 
142 **.defaultThreshQLength = 0
143 **.defaultMaxQLength = 10
144 
145 **.efcp.maxPDUSize = 100000B
146 **.efcp.maxSDUSize = 100000B
147 
148 
149 **.ipcProcess[*].**.queueAllocPolicyName = "QueuePerNFlow"
150 **.ipcProcess[*].**.queueIdGenName = "IDPerNFlow"
151 
152 **.ipcProcess[*].relayAndMux.maxQPolicyName = "TailDrop"
153 **.ipcProcess[*].relayAndMux.qMonitorPolicyName = "IterativeStopMonitor"
154 **.ipcProcess[*].relayAndMux.schedPolicyName = "IterativeScheduling"
155 
156 
157 **.relayIpc.**.queueAllocPolicyName = "QueuePerNQoS"
158 **.relayIpc.**.queueIdGenName = "IDPerNQoS"
159 
160 **.relayIpc.relayAndMux.maxQPolicyName = "DumbMaxQ"
161 **.relayIpc.relayAndMux.qMonitorPolicyName = "ModularMonitor"
162 **.relayIpc.relayAndMux.schedPolicyName = "DumbSch"
163 **.relayIpc.relayAndMux.queueMonitorPolicy.outputOutSubModule_Type = "MM_DL_Out"
164 **.relayIpc.relayAndMux.queueMonitorPolicy.outputOutSubModule.data = xmldoc("modules.xml", "Configuration/DLOUT")
165 
166 **.relayIpc.relayAndMux.queueMonitorPolicy.outputDropSubModule_Type = "MM_DQ_Drop"
167 **.relayIpc.relayAndMux.queueMonitorPolicy.outputDropSubModule.data = xmldoc("modules.xml", "Configuration/DQQueueDrop")
168 
169 **.infection.pods = <?= $p; ?>
170 **.infection.torXpod = <?= $t; ?>
171 **.infection.fabricXpod = <?= $f; ?>
172 **.infection.spineXfabric = <?= $s; ?>
173 **.infection.edgeSets = <?= $e; ?>
174 
175 **.infection.qosId = "BE"
176 
177 **.infection.iniTime = 100
178 **.infection.interTime = 1
179 **.infection.loop = 1
180 **.infection.toTors = true
181 **.infection.toFabric = true
182 **.infection.toSpines = true
183 **.infection.toEdges = true
184 
185 **.flowListener.killCount = 5
186 **.flowListener.killTime = 50
187 
188 [Config SimpleTable]
189 
190 #Routing settings
191 **.relayIpc.resourceAllocator.pdufgPolicyName = "SimpleHopMEntries"
192 **.relayIpc.resourceAllocator.pduFwdGenerator.infinite = 32
193 
194 **.relayIpc.relayAndMux.ForwardingPolicyName = "MultiMiniTable"
195 
196 **.relayIpc.routingPolicyName = "TSimpleDV"
197 
198 
199 
200 [Config DCForwarding]
201 
202 #Routing settings
203 **.relayIpc.resourceAllocator.pdufgPolicyName = "SimpleDCGenerator"
204 **.relayIpc.resourceAllocator.pduFwdGenerator.infinite = 32
205 
206 **.T**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleTORForwarding"
207 **.F**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleFabricForwarding"
208 **.S**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleSpineForwarding"
209 **.E**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleEdgeForwarding"
210 
211 **.T**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $f; ?>
212 **.F**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $s; ?>
213 **.F**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $t; ?>
214 **.S**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $e; ?>
215 **.S**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $p; ?>
216 **.E**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $s; ?>
217 
218 **.relayIpc.routingPolicyName = "TSimpleDV"
219 
220 
221 
222 [Config MDCRouting]
223 
224 #Routing settings
225 **.relayIpc.resourceAllocator.pdufgPolicyName = "VoidDCGenerator"
226 **.relayIpc.resourceAllocator.pduFwdGenerator.infinite = 32
227 
228 **.T**.relayIpc.routingPolicyName = "TOR_Routing"
229 **.F**.relayIpc.routingPolicyName = "Fabric_Routing"
230 **.S**.relayIpc.routingPolicyName = "Spine_Routing"
231 **.E**.relayIpc.routingPolicyName = "Edge_Routing"
232 
233 **.T**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleTORForwarding"
234 **.F**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleFabricForwarding"
235 **.S**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleSpineForwarding"
236 **.E**.relayIpc.relayAndMux.ForwardingPolicyName = "SimpleEdgeForwarding"
237 
238 **.T**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $f; ?>
239 **.F**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $s; ?>
240 **.F**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $t; ?>
241 **.S**.relayIpc.relayAndMux.pduForwardingPolicy.upCount = <?= $e; ?>
242 **.S**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $p; ?>
243 **.E**.relayIpc.relayAndMux.pduForwardingPolicy.downCount = <?= $s; ?>
244 
245 **.relayIpc.routingPolicy.pods = <?= $p; ?>
246 **.relayIpc.routingPolicy.torXpod = <?= $t; ?>
247 **.relayIpc.routingPolicy.fabricXpod = <?= $f; ?>
248 **.relayIpc.routingPolicy.spineXfabric = <?= $s; ?>
249 **.relayIpc.routingPolicy.edgeSets = <?= $e; ?>
$t
Definition: action.php:14
$e
Definition: action.php:17
$f
Definition: action.php:15
$s
Definition: action.php:16
if(isset($_GET['show'])) else if(isset($_GET['download'])) $p
Definition: action.php:13