| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| --> |
| <cloudController xmlns:svns="http://org.wso2.securevault/configuration"> |
| <svns:secureVault provider="org.wso2.securevault.secret.handler.SecretManagerSecretCallbackHandler"/> |
| |
| <!-- BAM data publisher configuration --> |
| <dataPublisher enable="false"> |
| <bamServer> |
| <!-- BAM server URL should be specified in carbon.xml --> |
| <adminUserName>admin</adminUserName> |
| <adminPassword svns:secretAlias="cloud.controller.bam.server.admin.password">admin</adminPassword> |
| </bamServer> |
| <!-- Default cron expression is '1 * * * * ? *' meaning 'first second of every minute'. |
| Optional element. --> |
| <cron>1 * * * * ? *</cron> |
| </dataPublisher> |
| |
| <!-- Complete topology event publisher cron configuration --> |
| <topologySync enable="true"> |
| <property name="cron" value="1 * * * * ? *"/> |
| </topologySync> |
| |
| <!-- Specify the properties that are common to an IaaS here. This element |
| is not necessary [0..1]. But you can use this section to avoid specifying |
| same property over and over again. --> |
| <iaasProviders> |
| <!-- iaasProvider type="openstack" name="Openstack"> |
| <className>org.apache.stratos.cloud.controller.iaases.openstack.OpenstackIaas</className> |
| <provider>openstack-nova</provider> |
| <identity svns:secretAlias="cloud.controller.openstack.identity">project:username</identity> |
| <credential svns:secretAlias="cloud.controller.openstack.credential">credential</credential> |
| <property name="jclouds.endpoint" value="http://192.168.16.99:5000/v2.0" /> |
| <property name="jclouds.openstack-nova.auto-create-floating-ips" value="false"/> |
| <property name="jclouds.api-version" value="2.0/" /> |
| <property name="openstack.networking.provider" value="nova" /> |
| <property name="keyPair" value="keypair-name" /> |
| <property name="securityGroups" value="default" /> |
| </iaasProvider --> |
| <!-- iaasProvider type="ec2" name="Amazon EC2"> |
| <className>org.apache.stratos.cloud.controller.iaases.ec2.EC2Iaas</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="default"/> |
| <property name="autoAssignIp" value="true" /> |
| <property name="keyPair" value="keypair-name"/> |
| </iaasProvider --> |
| <iaasProvider type="kubernetes" name="Kubernetes"> |
| <className>org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas</className> |
| <provider>kubernetes</provider> |
| <identity svns:secretAlias="cloud.controller.kubernetes.identity">identity</identity> |
| <credential svns:secretAlias="cloud.controller.kubernetes.credential">credential</credential> |
| </iaasProvider> |
| <iaasProvider type="mock" name="Mock"> |
| <className>org.apache.stratos.cloud.controller.iaases.mock.MockIaas</className> |
| <provider>mock</provider> |
| <identity svns:secretAlias="cloud.controller.mock.identity">identity</identity> |
| <credential svns:secretAlias="cloud.controller.mock.credential">credential</credential> |
| <property name="api.endpoint" value="https://localhost:9443/mock-iaas/api"/> |
| </iaasProvider> |
| </iaasProviders> |
| </cloudController> |