The goal of this example is to introduce the templates usage.
It focus on showing that appropriate templates may be included in various computing resource levels and moreover can be formed using other templates.
Simulated architecture consist of data center with 2 racks named rack1 and rack2 respectively.
Rack1 contains 2 computing nodes - node11 and node22, described in common way.
Nodes in rack2 are defined using template. Node21 refers to template modelNodeA,
and thus will be created with respect to the specification given in that template.
Node22 contains 8 processors which definition is included in modeProcessorB template.
modelNodeA
modelProcessorB
FCFSLocalSchedulingPlugin
dataCenter
There are two processor templates named modelProcessorA (with speed 2) and modelProcessorB (with speed 1).
There is also one computing node template denoted as modelNodeA, which contains 4 processors that refer to modelProcessorA template.
That means that the given processors will be created according to the guidelines defined in template modelProcessorA.
modelProcessorA
2
1