Hi,
I'm going to separate out the partition definitions from the
cloud-controller.xml and put them in another configuration file inside the
auto-scaler. The requirement for this is currently the deployment policy
lies inside the AS where we specify the partition groups. WE need to
validate the deployment policy since a user might put a partition in
deployment policy which is not a valid partition.
Below is an example partition definition file.
<?xml version="1.0" encoding="utf-8"?>
<!--
Licence text
-->
*<partitions>*
* <partition>*
* <id>P1</id>*
* <!-- prvider is a required property --> *
* <property name="provider" value="ec2"/>*
* <property name="name1" value="value1"/>*
* <property name="name2" value="name2"/>*
* </partition>*
* <partition>*
* <id>P2</id> *
* <property name="provider" value="openstack"/>*
* </p*artition>
</partitions>
--
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897