16.01.2014 Views

Merging of TOSCA Cloud Topology Templates - IAAS

Merging of TOSCA Cloud Topology Templates - IAAS

Merging of TOSCA Cloud Topology Templates - IAAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Concept for Matching <strong>of</strong> <strong>Topology</strong> <strong>Templates</strong><br />

Consideration <strong>of</strong> Derived Node Types<br />

The different cases discussed above assume that the Node Types must possess an identical<br />

id and targetNamespace attribute in order to even take into consideration the matching <strong>of</strong><br />

two Node <strong>Templates</strong>. However, the concept <strong>of</strong> matching can be expanded to Node Types<br />

that are not identical but have some kind <strong>of</strong> relation with each other in a Node Type inheritance<br />

tree. Fig. 5.5 shows the relationship between different application server Node Types.<br />

In this example a Websphere Application Server (WAS) 6.1 with Web Service Feature Pack is<br />

derived from Websphere Application Server 6.1 which itself is derived from a generic Application<br />

Server Node Type. The DerivedFrom attribute indicates the respective Node Type that<br />

is extended. The relationships between the Node Types in Fig. 5.5 form an “inverted” tree<br />

with the arcs pointing in the direction <strong>of</strong> the root Node Type (Generic) Application Server.<br />

Fig. 5.5: Node Type parent relationships<br />

A similar case is depicted by Fig. 5.6. Two application server Node Types from different<br />

s<strong>of</strong>tware vendors share the same root Node Type and thus are siblings in the inheritance<br />

tree.<br />

To match Node <strong>Templates</strong> using node Types that are not identical but are related with each<br />

other as indicated by the inheritance tree, the author <strong>of</strong> this work proposes an extension <strong>of</strong><br />

the <strong>TOSCA</strong>Merge framework discussed above with its generic part and the type-specific<br />

plugins. The generic part must recursively resolve the actual properties <strong>of</strong> the Node Type<br />

under evaluation. That means if a Node Type used by a Node Template has a filled De-<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!