Cloud bursting with HP CloudSystem Matrix infrastructure orchestration: Matrix-to-Matrix, HP Matrix KVM Private Cloud, HP Cloud Services, and Amazon EC2

Appendix B: Sample files
Matrix-to-Matrix sample files
Image filter file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
This image filter file determines which images are visible in the software inventory.
Filter rules:
- The image set is the aggregate of one or more FilterSets.
- A FilterSet includes one or more IncludeFilters and zero or more ExcludeFilters.
- IncludeFilters are processed and aggregated before ExcludeFilters are applied.
- Each IncludeFilter and ExcludeFilter can contain multiple FilterCriterion
elements. A filter is considered a match if all its criteria match.
- FilterCriterion names are "name", "image-id", "status", "server.id" and "metadata.<name>".
- A FilterCriterion can contain multiple values, of which only one needs to match.
- FilterCriterion values can contain wildcards:
* matches zero or more characters
? matches exactly one character
- A backslash can be used to escape special characters in a FilterCriterion value.
-->
<Filters>
<FilterSet>
<!-- Include all active images -->
<IncludeFilter>
<FilterCriterion>
<name>name</name>
<value>*</value>
</FilterCriterion>
<FilterCriterion>
<name>status</name>
<value>active</value>
</FilterCriterion>
</IncludeFilter>
</FilterSet>
</Filters>
Capacity pool definition file - Nova adapter
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
This file defines cloud capacity pools. A capacity pool definition appears as a
Cloud Resource in the server inventory. Add, remove, and modify Resources elements
as necessary to represent cloud resource capacity.
For each Resources element:
- The Id value is used to locate the corresponding capacity pool configuration file.
For example, the configuration for a capacity pool with Id "sample-hpcs-pool"
would be found in the file "sample-hpcs-pool.properties". The Id value is
also used to access provisioned resources and must not be modified when the
pool is in use.
- The Name value is used as the Cloud Resource name for display purposes.
- The Provider value is the name of the underlying provider of the cloud resources.
- The ProviderConsoleUrl, if specified, provides a convenience link from the Cloud
Resource in the Matrix infrastructure orchestration Console to the cloud
provider console.
- The PublicCloudLicenseRequired value is used to distinguish between on-premise and
public cloud resources, for the verification of usage of each resource type
for license management purposes. It is set to true by default.
-->
<CapacityPool xmlns="http://hp.com/2007/ess/sw/model/InfrastructureUtilitySchema">
<Resources xsi:type="CloudCapacityPool" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
<Id>sample-hpcs-pool</Id>
<Name>Sample HP Cloud Services capacity pool</Name>
23