| # 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. |
| |
| { |
| "zones": [ |
| { |
| "name": "Zone-A", |
| "enabled": "True", |
| "physical_networks": [ |
| { |
| "broadcastdomainrange": "Zone", |
| "name": "physical_network", |
| "traffictypes": [ |
| { |
| "typ": "Guest" |
| }, |
| { |
| "typ": "Management" |
| } |
| ], |
| "providers": [ |
| { |
| "broadcastdomainrange": "ZONE", |
| "name": "VirtualRouter" |
| }, |
| { |
| "broadcastdomainrange": "Pod", |
| "name": "SecurityGroupProvider" |
| } |
| ] |
| } |
| ], |
| "primaryStorages": [ |
| { |
| "url": "SP_API_HTTP=1.1.1.1:81;SP_AUTH_TOKEN=11111111;SP_TEMPLATE=ssd", |
| "name": "ssd", |
| "provider": "StorPool", |
| "hypervisor": "KVM", |
| "path": "/dev/storpool/", |
| "protocol": "SharedMountPoint", |
| "capacitybytes": 300000000000, |
| "tags": "ssd" |
| }, |
| { |
| "url": "SP_API_HTTP=1.1.1.1:81;SP_AUTH_TOKEN=1111111;SP_TEMPLATE=ssd2", |
| "name": "", |
| "provider": "StorPool", |
| "hypervisor": "KVM", |
| "path": "/dev/storpool/", |
| "protocol": "SharedMountPoint", |
| "capacitybytes": 300000000000, |
| "tags": "" |
| }, |
| { |
| "url": "nfs://1.1.1.1/export/primary", |
| "name": "primary", |
| "hypervisor": "KVM", |
| "tags": "nfs" |
| }, |
| { |
| "url": "rbd://cloudstack:342343223==@1.1.1.1/cloudstack", |
| "hypervisor": "KVM", |
| "name": "ceph", |
| "tags": "ceph" |
| } |
| ], |
| "spEndpoint": [SP_API_HTTP_HOST], |
| "spEndpointPort": 81, |
| "spAuthToken": [SP_AUTH_TOKEN] |
| }, |
| { |
| "name": "Zone-B", |
| "enabled": "True", |
| "physical_networks": [ |
| { |
| "broadcastdomainrange": "Zone", |
| "name": "physical_network", |
| "traffictypes": [ |
| { |
| "typ": "Guest" |
| }, |
| { |
| "typ": "Management" |
| } |
| ], |
| "providers": [ |
| { |
| "broadcastdomainrange": "ZONE", |
| "name": "VirtualRouter" |
| }, |
| { |
| "broadcastdomainrange": "Pod", |
| "name": "SecurityGroupProvider" |
| } |
| ] |
| } |
| ], |
| "primaryStorages": [ |
| { |
| "url": "SP_API_HTTP=1.1.1.1:81;SP_AUTH_TOKEN=111111;SP_TEMPLATE=default", |
| "name": "", |
| "provider": "StorPool", |
| "hypervisor": "KVM", |
| "path": "/dev/storpool/", |
| "protocol": "SharedMountPoint", |
| "capacitybytes": 300000000000, |
| "tags": "" |
| }, |
| { |
| "url": "nfs://1.1.1.1/export/primary", |
| "name": "", |
| "hypervisor": "KVM", |
| "tags": "" |
| } |
| ], |
| "spEndpoint": [SP_API_HTTP_HOST], |
| "spEndpointPort": 81, |
| "spAuthToken": [SP_AUTH_TOKEN] |
| } |
| ], |
| "dbSvr": { |
| "dbSvr": "127.0.0.1", |
| "passwd": "cloud", |
| "db": "cloud", |
| "port": 3306, |
| "user": "cloud" |
| }, |
| "logger": { |
| "LogFolderPath": "/tmp/" |
| }, |
| "mgtSvr": [ |
| { |
| "mgtSvrIp": "", |
| "port": 8096, |
| "user": "", |
| "passwd": "", |
| "hypervisor": "kvm" |
| } |
| ] |
| } |