stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [2/4] stratos git commit: Adding amazon ec2 configuration sample to cloud-controller.xml
Date Mon, 22 Dec 2014 07:42:00 GMT
Adding amazon ec2 configuration sample to cloud-controller.xml


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/120c5731
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/120c5731
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/120c5731

Branch: refs/heads/master
Commit: 120c57318d1d91267f916910046d5c5d6afe4aaa
Parents: fbc20b0
Author: Imesh Gunaratne <imesh@apache.org>
Authored: Mon Dec 22 11:22:35 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Mon Dec 22 13:11:51 2014 +0530

----------------------------------------------------------------------
 .../src/main/resources/conf/cloud-controller.xml         | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/120c5731/features/cloud-controller/org.apache.stratos.cloud.controller.feature/src/main/resources/conf/cloud-controller.xml
----------------------------------------------------------------------
diff --git a/features/cloud-controller/org.apache.stratos.cloud.controller.feature/src/main/resources/conf/cloud-controller.xml
b/features/cloud-controller/org.apache.stratos.cloud.controller.feature/src/main/resources/conf/cloud-controller.xml
index 6c2967a..5a0737a 100644
--- a/features/cloud-controller/org.apache.stratos.cloud.controller.feature/src/main/resources/conf/cloud-controller.xml
+++ b/features/cloud-controller/org.apache.stratos.cloud.controller.feature/src/main/resources/conf/cloud-controller.xml
@@ -53,6 +53,17 @@
 			<property name="X" value="x" />
 			<property name="Y" value="y" />
 		</iaasProvider -->
+        <!-- iaasProvider type="ec2" name="Amazon EC2">
+            <className>org.apache.stratos.cloud.controller.iaases.JcloudsEC2Iaas</className>
+            <provider>aws-ec2</provider>
+            <identity svns:secretAlias="cloud.controller.ec2.identity">identity</identity>
+            <credential svns:secretAlias="cloud.controller.ec2.credential">credential</credential>
+            <property name="jclouds.ec2.ami-query" value="owner-id=owner-id;state=available;image-type=machine"/>
+            <property name="availabilityZone" value="ap-southeast-1b"/>
+            <property name="securityGroups" value="security-group"/>
+            <property name="autoAssignIp" value="true" />
+            <property name="keyPair" value="keypair-name"/>
+        </iaasProvider -->
         <iaasProvider type="kubernetes" name="Kubernetes">
             <className>org.apache.stratos.cloud.controller.iaases.KubernetesIaas</className>
             <provider>kubernetes</provider>


Mime
View raw message