1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
---|
3 | elementFormDefault="qualified" attributeFormDefault="unqualified"> |
---|
4 | |
---|
5 | <xs:complexType name="pluginType"> |
---|
6 | <xs:annotation> |
---|
7 | <xs:documentation>Base plugin type. |
---|
8 | Plugins allow configuring and adapting the simulation framework to his/her experiment |
---|
9 | starting from modeling job performance, through method of calculating energy estimation up to implementation of scheduling policies |
---|
10 | Name of the plugin specifies the JAVA class that implements dedicated interface.</xs:documentation> |
---|
11 | </xs:annotation> |
---|
12 | <xs:sequence> |
---|
13 | <xs:element name="name" type="xs:string"></xs:element> |
---|
14 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
15 | </xs:sequence> |
---|
16 | </xs:complexType> |
---|
17 | |
---|
18 | <xs:complexType name="timeEstimationPluginType"> |
---|
19 | <xs:annotation> |
---|
20 | <xs:documentation>TimeEstimationPlugin derived from pluginType. |
---|
21 | Time estimation plugin provides means to include specific application performance models during simulations |
---|
22 | and allows introducing specific ways of calculating task execution time.</xs:documentation> |
---|
23 | </xs:annotation> |
---|
24 | <xs:complexContent> |
---|
25 | <xs:restriction base="pluginType"> |
---|
26 | <xs:sequence> |
---|
27 | <xs:element name="name" type="xs:string" default="ExecTimeEstimationPlugin"></xs:element> |
---|
28 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
29 | </xs:sequence> |
---|
30 | </xs:restriction> |
---|
31 | </xs:complexContent> |
---|
32 | </xs:complexType> |
---|
33 | |
---|
34 | <xs:complexType name="resourceType"> |
---|
35 | <xs:annotation> |
---|
36 | <xs:documentation>Base resource type. |
---|
37 | It allows to define simulation entities like computing resources, devices, schedulers. |
---|
38 | Attributes: class - determines the component of the architecture i.e. rack, processor, memory, storage etc. |
---|
39 | type - type of resource; for instance, continuous for memory, bandwidth, etc. and discrete for processors |
---|
40 | name - unique resource identifier, if not specified it will be generated by the simulator in the following manner: class + "_" + subsequent_natural_number |
---|
41 | </xs:documentation> |
---|
42 | </xs:annotation> |
---|
43 | <xs:sequence> |
---|
44 | <xs:element name="description" type="xs:string" minOccurs="0"></xs:element> |
---|
45 | </xs:sequence> |
---|
46 | <xs:attribute name="type" type="xs:string" use="optional"/> |
---|
47 | <xs:attribute name="name" type="xs:ID" use="optional"/> |
---|
48 | </xs:complexType> |
---|
49 | |
---|
50 | <xs:complexType name="computingResourceType"> |
---|
51 | <xs:annotation> |
---|
52 | <xs:documentation>ComputingResourceTemplate derived from resourceType. |
---|
53 | It allows user to define model of computing resource component that may constitute other computing resources |
---|
54 | Computing resource templates can be then referred in computing resource definition</xs:documentation> |
---|
55 | </xs:annotation> |
---|
56 | <xs:complexContent> |
---|
57 | <xs:extension base="resourceType"> |
---|
58 | <xs:choice> |
---|
59 | <xs:sequence> |
---|
60 | <xs:element name="resourceUnit" type="resourceUnitType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
61 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
62 | <xs:element name="profile" type="profileType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
63 | <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
64 | </xs:sequence> |
---|
65 | <xs:sequence> |
---|
66 | <xs:element name="templateId" type="xs:IDREF"/> |
---|
67 | <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
68 | </xs:sequence> |
---|
69 | </xs:choice> |
---|
70 | <xs:attribute name="groupId" type="xs:integer" use="optional"/> |
---|
71 | <xs:attribute name="count" type="xs:integer" use="optional"/> |
---|
72 | </xs:extension> |
---|
73 | </xs:complexContent> |
---|
74 | </xs:complexType> |
---|
75 | |
---|
76 | <xs:complexType name="genericComputingResourceType"> |
---|
77 | <xs:complexContent> |
---|
78 | <xs:extension base="computingResourceType"> |
---|
79 | <xs:choice> |
---|
80 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
81 | <xs:element name="dataCenter" type="dataCenterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
82 | <xs:element name="rack" type="rackType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
83 | <xs:element name="computingNode" type="computingNodeType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
84 | <xs:element name="processor" type="processorType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
85 | <xs:element name="core" type="coreType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
86 | </xs:choice> |
---|
87 | <xs:attribute name="class" type="xs:string" use="required"/> |
---|
88 | </xs:extension> |
---|
89 | </xs:complexContent> |
---|
90 | </xs:complexType> |
---|
91 | |
---|
92 | <xs:complexType name="dataCenterType"> |
---|
93 | <xs:complexContent> |
---|
94 | <xs:extension base="computingResourceType"> |
---|
95 | <xs:choice> |
---|
96 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
97 | <xs:element name="rack" type="rackType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
98 | </xs:choice> |
---|
99 | </xs:extension> |
---|
100 | </xs:complexContent> |
---|
101 | </xs:complexType> |
---|
102 | |
---|
103 | <xs:complexType name="rackType"> |
---|
104 | <xs:complexContent> |
---|
105 | <xs:extension base="computingResourceType"> |
---|
106 | <xs:choice> |
---|
107 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
108 | <xs:element name="computingNode" type="computingNodeType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
109 | </xs:choice> |
---|
110 | </xs:extension> |
---|
111 | </xs:complexContent> |
---|
112 | </xs:complexType> |
---|
113 | |
---|
114 | <xs:complexType name="computingNodeType"> |
---|
115 | <xs:complexContent> |
---|
116 | <xs:extension base="computingResourceType"> |
---|
117 | <xs:choice> |
---|
118 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
119 | <xs:element name="processor" type="processorType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
120 | </xs:choice> |
---|
121 | </xs:extension> |
---|
122 | </xs:complexContent> |
---|
123 | </xs:complexType> |
---|
124 | |
---|
125 | <xs:complexType name="processorType"> |
---|
126 | <xs:complexContent> |
---|
127 | <xs:extension base="resourceType"> |
---|
128 | <xs:sequence> |
---|
129 | <xs:choice> |
---|
130 | <xs:sequence> |
---|
131 | <xs:element name="resourceUnit" type="resourceUnitType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
132 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
133 | <xs:element name="profile" type="cpuProfileType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
134 | <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
135 | </xs:sequence> |
---|
136 | <xs:sequence> |
---|
137 | <xs:element name="templateId" type="xs:IDREF"/> |
---|
138 | <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
139 | </xs:sequence> |
---|
140 | </xs:choice> |
---|
141 | <xs:choice> |
---|
142 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
143 | <xs:element name="core" type="coreType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
144 | </xs:choice> |
---|
145 | </xs:sequence> |
---|
146 | <xs:attribute name="groupId" type="xs:integer" use="optional"/> |
---|
147 | <xs:attribute name="count" type="xs:integer" use="optional"/> |
---|
148 | </xs:extension> |
---|
149 | </xs:complexContent> |
---|
150 | </xs:complexType> |
---|
151 | |
---|
152 | <xs:complexType name="coreType"> |
---|
153 | <xs:complexContent> |
---|
154 | <xs:extension base="computingResourceType"> |
---|
155 | <xs:choice> |
---|
156 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
157 | </xs:choice> |
---|
158 | </xs:extension> |
---|
159 | </xs:complexContent> |
---|
160 | </xs:complexType> |
---|
161 | |
---|
162 | <xs:complexType name="computingResourceTemplateType"> |
---|
163 | <xs:annotation> |
---|
164 | <xs:documentation>ComputingResourceTemplate derived from resourceType. |
---|
165 | It allows user to define model of computing resource component that may constitute other computing resources |
---|
166 | Computing resource templates can be then referred in computing resource definition</xs:documentation> |
---|
167 | </xs:annotation> |
---|
168 | <xs:complexContent> |
---|
169 | <xs:extension base="resourceType"> |
---|
170 | <xs:sequence> |
---|
171 | <xs:element name="resourceUnit" type="resourceUnitType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
172 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
173 | <xs:element name="profile" type="profileType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
174 | <xs:choice> |
---|
175 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
176 | <xs:element name="dataCenter" type="dataCenterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
177 | <xs:element name="rack" type="rackType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
178 | <xs:element name="computingNode" type="computingNodeType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
179 | <xs:element name="processor" type="processorType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
180 | <xs:element name="core" type="coreType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
181 | </xs:choice> |
---|
182 | </xs:sequence> |
---|
183 | <xs:attribute name="class" type="xs:string" use="optional"/> |
---|
184 | </xs:extension> |
---|
185 | </xs:complexContent> |
---|
186 | </xs:complexType> |
---|
187 | |
---|
188 | |
---|
189 | <xs:complexType name="ComputingResourceTemplateType"> |
---|
190 | <xs:annotation> |
---|
191 | <xs:documentation>ComputingResourceTemplate derived from resourceType. |
---|
192 | It allows user to define model of computing resource component that may constitute other computing resources |
---|
193 | Computing resource templates can be then referred in computing resource definition</xs:documentation> |
---|
194 | </xs:annotation> |
---|
195 | <xs:complexContent> |
---|
196 | <xs:extension base="resourceType"> |
---|
197 | <xs:sequence> |
---|
198 | <xs:sequence> |
---|
199 | <xs:element name="resourceUnit" type="resourceUnitType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
200 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
201 | <xs:element name="profile" type="profileType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
202 | </xs:sequence> |
---|
203 | <xs:choice> |
---|
204 | <xs:element name="computingResource" type="genericComputingResourceType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
205 | <xs:element name="dataCenter" type="dataCenterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
206 | <xs:element name="rack" type="rackType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
207 | <xs:element name="computingNode" type="computingNodeType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
208 | <xs:element name="processor" type="processorType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
209 | <xs:element name="core" type="coreType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
210 | </xs:choice> |
---|
211 | </xs:sequence> |
---|
212 | <xs:attribute name="count" type="xs:integer" use="optional"/> |
---|
213 | </xs:extension> |
---|
214 | </xs:complexContent> |
---|
215 | </xs:complexType> |
---|
216 | |
---|
217 | <xs:complexType name="schedulerType"> |
---|
218 | <xs:annotation> |
---|
219 | <xs:documentation>Scheduler derived from resourceType. |
---|
220 | It allows to model scheduling entity responsible for managing resources.</xs:documentation> |
---|
221 | </xs:annotation> |
---|
222 | <xs:complexContent> |
---|
223 | <xs:extension base="resourceType"> |
---|
224 | <xs:sequence> |
---|
225 | <xs:element name="schedulingPlugin" type="schedulingPluginType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
226 | <xs:choice minOccurs="1" maxOccurs="unbounded"> |
---|
227 | <xs:element name="scheduler" type="schedulerType"></xs:element> |
---|
228 | <xs:element name="managedComputingResources" type="managedComputingResourcesType"></xs:element> |
---|
229 | </xs:choice> |
---|
230 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
231 | </xs:sequence> |
---|
232 | <xs:attribute name="class" type="xs:string" use="optional"/> |
---|
233 | </xs:extension> |
---|
234 | </xs:complexContent> |
---|
235 | </xs:complexType> |
---|
236 | |
---|
237 | <xs:complexType name="schedulingPluginType"> |
---|
238 | <xs:annotation> |
---|
239 | <xs:documentation>SchedulingPlugin derived from pluginType. |
---|
240 | Scheduling plugins allow plugging scheduling algorithms into the simulated environment. |
---|
241 | Elements: frequency - is used to enable scheduling periodically; it specifies the time interval (in seconds by default) between subsequent scheduling invocations |
---|
242 | </xs:documentation> |
---|
243 | </xs:annotation> |
---|
244 | <xs:complexContent> |
---|
245 | <xs:extension base="pluginType"> |
---|
246 | <xs:sequence> |
---|
247 | <xs:element name="frequency" type="doubleValueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
248 | </xs:sequence> |
---|
249 | </xs:extension> |
---|
250 | </xs:complexContent> |
---|
251 | </xs:complexType> |
---|
252 | |
---|
253 | <xs:complexType name="resourceUnitType"> |
---|
254 | <xs:annotation> |
---|
255 | <xs:documentation>Resource unit is used to define non-computing resource like memory, storage etc. |
---|
256 | Elements: amount - represents concrete amount (values) of specific resource unit</xs:documentation> |
---|
257 | </xs:annotation> |
---|
258 | <xs:complexContent> |
---|
259 | <xs:extension base="resourceType"> |
---|
260 | <xs:sequence> |
---|
261 | <xs:element name="amount" type="doubleValueWithUnitType"/> |
---|
262 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
263 | </xs:sequence> |
---|
264 | <xs:attribute name="class" type="xs:string" use="required"/> |
---|
265 | </xs:extension> |
---|
266 | </xs:complexContent> |
---|
267 | </xs:complexType> |
---|
268 | |
---|
269 | <xs:complexType name="doubleValueWithUnitType"> |
---|
270 | <xs:annotation> |
---|
271 | <xs:documentation>DoubleValueWitUnit derived from double. Allows providing units in which the given value is expressed |
---|
272 | Attributes: unit - indicates appropriate units, for instance: seconds, watts, bytes etc. </xs:documentation> |
---|
273 | </xs:annotation> |
---|
274 | <xs:simpleContent> |
---|
275 | <xs:extension base="xs:double"> |
---|
276 | <xs:attribute name="unit" type="xs:string" use="optional"/> |
---|
277 | </xs:extension> |
---|
278 | </xs:simpleContent> |
---|
279 | </xs:complexType> |
---|
280 | |
---|
281 | <xs:complexType name="stringValueWithUnitType"> |
---|
282 | <xs:annotation> |
---|
283 | <xs:documentation>StringValueWitUnit derived from string. Allows providing units in which the given value is expressed |
---|
284 | Attributes: unit - indicates appropriate units. </xs:documentation> |
---|
285 | </xs:annotation> |
---|
286 | <xs:simpleContent> |
---|
287 | <xs:extension base="xs:string"> |
---|
288 | <xs:attribute name="unit" type="xs:string" use="optional"/> |
---|
289 | </xs:extension> |
---|
290 | </xs:simpleContent> |
---|
291 | </xs:complexType> |
---|
292 | |
---|
293 | <xs:complexType name="managedComputingResourcesType"> |
---|
294 | <xs:annotation> |
---|
295 | <xs:documentation>ManagedComputingResource type specifies computing resources controlled by scheduler. |
---|
296 | They can be provided either by listing their names or listing the group ids which they belong to. |
---|
297 | Attributes: include - specifies whether the given resource layer (listed resources) can be allocated by the scheduler |
---|
298 | In other words, false (default) value indicates that scheduler maneges only the subcomponents of the listed resources; |
---|
299 | true value determines that also listed resources will be under the control of the defined scheduler</xs:documentation> |
---|
300 | </xs:annotation> |
---|
301 | <xs:choice> |
---|
302 | <xs:element name="resourceName" type="xs:string" minOccurs="1" maxOccurs="unbounded"></xs:element> |
---|
303 | <xs:element name="resourceGroupId" type="xs:string" minOccurs="1" maxOccurs="unbounded"></xs:element> |
---|
304 | </xs:choice> |
---|
305 | <xs:attribute name="include" type="xs:boolean" default="false"/> |
---|
306 | </xs:complexType> |
---|
307 | |
---|
308 | <xs:complexType name="energyEstimationPluginType"> |
---|
309 | <xs:annotation> |
---|
310 | <xs:documentation>EnergyEstimationPlugin derived from pluginType. |
---|
311 | Energy estimation plugin is used to estimate energy consumption of the given computing resource. |
---|
312 | It has access to the detailed resource description including power and air throughput profiles |
---|
313 | and application characteristics running on a given resource</xs:documentation> |
---|
314 | </xs:annotation> |
---|
315 | <xs:complexContent> |
---|
316 | <xs:extension base="pluginType"/> |
---|
317 | </xs:complexContent> |
---|
318 | </xs:complexType> |
---|
319 | |
---|
320 | <xs:complexType name="profileType"> |
---|
321 | <xs:annotation> |
---|
322 | <xs:documentation>Profile acts as a container for resource profiles: power and air throughput</xs:documentation> |
---|
323 | </xs:annotation> |
---|
324 | <xs:sequence> |
---|
325 | <xs:element name="powerProfile" type="powerProfileType" minOccurs="0"></xs:element> |
---|
326 | <xs:element name="airThroughputProfile" type="airThroughputProfileType" minOccurs="0"></xs:element> |
---|
327 | </xs:sequence> |
---|
328 | </xs:complexType> |
---|
329 | |
---|
330 | <xs:complexType name="powerProfileType"> |
---|
331 | <xs:annotation> |
---|
332 | <xs:documentation>Power profile provides energyEstimation plugin, powerStates and other power-related parameters definition</xs:documentation> |
---|
333 | </xs:annotation> |
---|
334 | <xs:sequence> |
---|
335 | <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
336 | <xs:element name="powerStates" type="powerStatesType" minOccurs="0"></xs:element> |
---|
337 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
338 | </xs:sequence> |
---|
339 | </xs:complexType> |
---|
340 | |
---|
341 | <xs:complexType name="powerStatesType"> |
---|
342 | <xs:annotation> |
---|
343 | <xs:documentation>PowerState type act as a container for power states. It contains energy-related characteristics of the computing resource</xs:documentation> |
---|
344 | </xs:annotation> |
---|
345 | <xs:sequence> |
---|
346 | <xs:element name="powerState" type="powerStateType" minOccurs="1" maxOccurs="unbounded"></xs:element> |
---|
347 | </xs:sequence> |
---|
348 | </xs:complexType> |
---|
349 | |
---|
350 | <xs:complexType name="powerStateType"> |
---|
351 | <xs:annotation> |
---|
352 | <xs:documentation>Power state defines available (for computing resource) power states. |
---|
353 | Elements: name - denotes name of the given power state |
---|
354 | powerUsage - defines power consumption in the given state |
---|
355 | transition - specifies possible power states transitions form the given power state</xs:documentation> |
---|
356 | </xs:annotation> |
---|
357 | <xs:sequence> |
---|
358 | <xs:element name="name" type="xs:string"></xs:element> |
---|
359 | <xs:element name="powerUsage" type="doubleValueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
360 | <xs:element name="transition" type="powerStatesTransitionType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
361 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
362 | </xs:sequence> |
---|
363 | </xs:complexType> |
---|
364 | |
---|
365 | <xs:complexType name="powerStatesTransitionType"> |
---|
366 | <xs:annotation> |
---|
367 | <xs:documentation>Description of power states transtition |
---|
368 | Elements: to - denotes name of target power state |
---|
369 | powerUsage - defines transition cost in the form of power consumption |
---|
370 | time - specifies transition time</xs:documentation> |
---|
371 | </xs:annotation> |
---|
372 | <xs:sequence> |
---|
373 | <xs:element name="to" type="xs:string"></xs:element> |
---|
374 | <xs:element name="powerUsage" type="doubleValueWithUnitType"></xs:element> |
---|
375 | <xs:element name="time" type="doubleValueWithUnitType"></xs:element> |
---|
376 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
377 | </xs:sequence> |
---|
378 | </xs:complexType> |
---|
379 | |
---|
380 | <xs:complexType name="cpuProfileType"> |
---|
381 | <xs:annotation> |
---|
382 | <xs:documentation>Profile acts as a container for resource profiles: power and air throughput</xs:documentation> |
---|
383 | </xs:annotation> |
---|
384 | <xs:sequence> |
---|
385 | <xs:element name="powerProfile" type="cpuPowerProfileType" minOccurs="0"></xs:element> |
---|
386 | <xs:element name="airThroughputProfile" type="airThroughputProfileType" minOccurs="0"></xs:element> |
---|
387 | </xs:sequence> |
---|
388 | </xs:complexType> |
---|
389 | |
---|
390 | |
---|
391 | <xs:complexType name="cpuPowerProfileType"> |
---|
392 | <xs:annotation> |
---|
393 | <xs:documentation>Power profile provides energyEstimation plugin, powerStates and other power-related parameters definition</xs:documentation> |
---|
394 | </xs:annotation> |
---|
395 | <xs:sequence> |
---|
396 | <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
397 | <xs:element name="powerStates" type="powerStatesType" minOccurs="0"></xs:element> |
---|
398 | <xs:element name="pStates" type="pStatesType" minOccurs="0"></xs:element> |
---|
399 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
400 | </xs:sequence> |
---|
401 | </xs:complexType> |
---|
402 | |
---|
403 | <xs:complexType name="pStatesType"> |
---|
404 | <xs:annotation> |
---|
405 | <xs:documentation>Definition of supported p-states</xs:documentation> |
---|
406 | </xs:annotation> |
---|
407 | <xs:sequence minOccurs="1" maxOccurs="unbounded"> |
---|
408 | <xs:element name="pState" type="pStateType"></xs:element> |
---|
409 | </xs:sequence> |
---|
410 | </xs:complexType> |
---|
411 | |
---|
412 | <xs:complexType name="pStateType"> |
---|
413 | <xs:annotation> |
---|
414 | <xs:documentation>Definition of the p-state</xs:documentation> |
---|
415 | </xs:annotation> |
---|
416 | <xs:sequence> |
---|
417 | <xs:element name="name" type="xs:string"></xs:element> |
---|
418 | <xs:element name="frequency" type="doubleValueWithUnitType"></xs:element> |
---|
419 | <xs:element name="voltage" type="doubleValueWithUnitType"></xs:element> |
---|
420 | <xs:element name="powerUsage" type="doubleValueWithUnitType"></xs:element> |
---|
421 | </xs:sequence> |
---|
422 | </xs:complexType> |
---|
423 | |
---|
424 | <xs:complexType name="airThroughputEstimationPluginType"> |
---|
425 | <xs:annotation> |
---|
426 | <xs:documentation>AirThroughputEstimationPlugin derived from pluginType. |
---|
427 | Air Throughput plugin is used to estimate air flow value based on the defined air throughput states</xs:documentation> |
---|
428 | </xs:annotation> |
---|
429 | <xs:complexContent> |
---|
430 | <xs:extension base="pluginType"/> |
---|
431 | </xs:complexContent> |
---|
432 | </xs:complexType> |
---|
433 | |
---|
434 | <xs:complexType name="airThroughputProfileType"> |
---|
435 | <xs:annotation> |
---|
436 | <xs:documentation>AirThrouhputProfile provides airThroughputEstimation plugin, airThroughputStates and other airThroughput-related parameters definition</xs:documentation> |
---|
437 | </xs:annotation> |
---|
438 | <xs:sequence> |
---|
439 | <xs:element name="airThroughputEstimationPlugin" type="airThroughputEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
440 | <xs:element name="airThroughputStates" type="airThroughputStatesType" minOccurs="1" maxOccurs="unbounded"></xs:element> |
---|
441 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
442 | </xs:sequence> |
---|
443 | </xs:complexType> |
---|
444 | |
---|
445 | <xs:complexType name="airThroughputStatesType"> |
---|
446 | <xs:annotation> |
---|
447 | <xs:documentation>AirThroughputStates type act as a container for air throughput states.</xs:documentation> |
---|
448 | </xs:annotation> |
---|
449 | <xs:sequence> |
---|
450 | <xs:element name="airThroughputState" type="airThroughputStateType" minOccurs="1" maxOccurs="unbounded"></xs:element> |
---|
451 | </xs:sequence> |
---|
452 | </xs:complexType> |
---|
453 | |
---|
454 | <xs:complexType name="airThroughputStateType"> |
---|
455 | <xs:annotation> |
---|
456 | <xs:documentation>Air througput state provides means to define air flow level. |
---|
457 | It can represent, for instance, a fan working state</xs:documentation> |
---|
458 | </xs:annotation> |
---|
459 | <xs:sequence> |
---|
460 | <xs:element name="name" type="xs:string"></xs:element> |
---|
461 | <xs:element name="value" type="doubleValueWithUnitType"></xs:element> |
---|
462 | <xs:element name="powerUsage" type="doubleValueWithUnitType" minOccurs="0"></xs:element> |
---|
463 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
464 | </xs:sequence> |
---|
465 | </xs:complexType> |
---|
466 | |
---|
467 | <xs:complexType name="locationType"> |
---|
468 | <xs:annotation> |
---|
469 | <xs:documentation>The location type describes placement of the computing resource using 3 coordinates</xs:documentation> |
---|
470 | </xs:annotation> |
---|
471 | <xs:sequence> |
---|
472 | <xs:element name="horizontal" type="xs:long"/> |
---|
473 | <xs:element name="vertical" type="xs:long"/> |
---|
474 | <xs:element name="depth" type="xs:long"/> |
---|
475 | <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> |
---|
476 | </xs:sequence> |
---|
477 | </xs:complexType> |
---|
478 | |
---|
479 | <xs:complexType name="parameterType"> |
---|
480 | <xs:annotation> |
---|
481 | <xs:documentation>Parameter of resource. Allows defining additional resource parameters. |
---|
482 | Contains a list of parameter values or a list of key-value pairs. |
---|
483 | Attribute : name - denotes parameter name</xs:documentation> |
---|
484 | </xs:annotation> |
---|
485 | <xs:choice> |
---|
486 | <xs:element name="value" type="stringValueWithUnitType" minOccurs="0" maxOccurs="unbounded"/> |
---|
487 | <xs:sequence> |
---|
488 | <xs:element name="property" minOccurs="0" maxOccurs="unbounded"> |
---|
489 | <xs:complexType> |
---|
490 | <xs:annotation> |
---|
491 | <xs:documentation>Property of parameter. Allows defining additional properties of parameter as a list of values. |
---|
492 | Attribute : name - denotes property name</xs:documentation> |
---|
493 | </xs:annotation> |
---|
494 | <xs:sequence> |
---|
495 | <xs:element name="value" type="stringValueWithUnitType" minOccurs="0" maxOccurs="unbounded"/> |
---|
496 | </xs:sequence> |
---|
497 | <xs:attribute name="name" type="xs:string" use="required"/> |
---|
498 | </xs:complexType> |
---|
499 | </xs:element> |
---|
500 | </xs:sequence> |
---|
501 | </xs:choice> |
---|
502 | <xs:attribute name="name" type="xs:string" use="required"/> |
---|
503 | </xs:complexType> |
---|
504 | |
---|
505 | <xs:element name="environment"> |
---|
506 | <xs:annotation> |
---|
507 | <xs:documentation>Schema describing simulation environment</xs:documentation> |
---|
508 | </xs:annotation> |
---|
509 | <xs:complexType> |
---|
510 | <xs:sequence> |
---|
511 | <xs:element name="description" type="xs:string" minOccurs="0" ></xs:element> |
---|
512 | <xs:element name="timeEstimationPlugin" type="timeEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> |
---|
513 | <xs:element name="resources"> |
---|
514 | <xs:annotation> |
---|
515 | <xs:documentation>Description of resources</xs:documentation> |
---|
516 | </xs:annotation> |
---|
517 | <xs:complexType> |
---|
518 | <xs:sequence> |
---|
519 | <xs:element name="description" type="xs:string" minOccurs="0" ></xs:element> |
---|
520 | <xs:element name="dataCenter" type="dataCenterType" maxOccurs="unbounded"/> |
---|
521 | <xs:element name="scheduler" type="schedulerType" maxOccurs="unbounded"/> |
---|
522 | </xs:sequence> |
---|
523 | </xs:complexType> |
---|
524 | </xs:element> |
---|
525 | <xs:element name="templates" minOccurs="0"> |
---|
526 | <xs:annotation> |
---|
527 | <xs:documentation>Definition of computing resource templates that can/will be used in resource description section </xs:documentation> |
---|
528 | </xs:annotation> |
---|
529 | <xs:complexType> |
---|
530 | <xs:sequence> |
---|
531 | <xs:element name="description" type="xs:string" minOccurs="0" ></xs:element> |
---|
532 | <xs:element name="computingResourceTemplate" type="computingResourceTemplateType" maxOccurs="unbounded"/> |
---|
533 | </xs:sequence> |
---|
534 | </xs:complexType> |
---|
535 | </xs:element> |
---|
536 | </xs:sequence> |
---|
537 | </xs:complexType> |
---|
538 | </xs:element> |
---|
539 | |
---|
540 | </xs:schema> |
---|