You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2014/11/13 06:28:10 UTC

[10/51] [abbrv] stratos git commit: adding sample

adding sample


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

Branch: refs/heads/master
Commit: febc8966d670ec4988ccbb850653aacd1669384d
Parents: 2aca061
Author: asankasa <as...@wso2.com>
Authored: Tue Oct 28 13:01:13 2014 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Thu Nov 13 10:56:30 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/stratos/blob/febc8966/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 07202f6..18d67d5 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
@@ -49,6 +49,24 @@
 		is not necessary [0..1]. But you can use this section to avoid specifying 
 		same property over and over again. -->
 	<iaasProviders>
+
+		<!--<iaasProvider type="cloudstack" name="cloudstack specific details">
+                	<className>org.apache.stratos.cloud.controller.iaases.CloudstackIaas</className>
+                        <provider>cloudstack</provider>
+                        <identity svns:secretAlias="cloud.controller.cloudstack.identity">api-key</identity>
+                        <credential svns:secretAlias="cloud.controller.cloudstack.credential">secret-key</credential>
+			<property name="jclouds.endpoint" value="ip:port" />		
+			<property name="availabilityZone" value="zone_Id"/>
+			<property name="instanceType" value="instance_type_Id"/>
+			<property name="securityGroupIds" value="security_group_Id1,security_group_id2"/>
+			<property name="networkIds" value="network_Id1,network_Id2"/>
+			<property name="diskOffering" value="disk_offering_Id"/>
+			<property name="userName" value="username"/>
+			<property name="domainId" value="domainId"/>
+			<property name="keyPair" value="asanka-key"/>
+			<property name="tags" value="tag1,tag2,tag3" />
+			<property name="autoAssignIp" value="false" />
+          	 </iaasProvider>-->
         	<!--iaasProvider type="ec2" name="ec2 specific details">
             		<className>org.apache.stratos.cloud.controller.iaases.AWSEC2Iaas</className>
 			<provider>aws-ec2</provider>