mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
- adding service providers for zone configuration - getting the python framework working with providers
346 lines
13 KiB
INI
346 lines
13 KiB
INI
{
|
|
"zones": [
|
|
{
|
|
"name": "Sandbox-Simulator",
|
|
"guestcidraddress": "10.1.1.0/24",
|
|
"dns2": "10.223.110.254",
|
|
"dns1": "4.2.2.2",
|
|
"vlan": "100-300",
|
|
"ipranges": [
|
|
{
|
|
"startip": "172.1.2.2",
|
|
"endip": "172.1.2.200",
|
|
"netmask": "255.255.255.0",
|
|
"vlan": "30",
|
|
"gateway": "172.1.2.1"
|
|
}
|
|
],
|
|
"networktype": "Advanced",
|
|
"pods": [
|
|
{
|
|
"endip": "172.1.1.200",
|
|
"name": "POD0",
|
|
"startip": "172.1.1.2",
|
|
"netmask": "255.255.255.0",
|
|
"clusters": [
|
|
{
|
|
"clustername": "POD1-CLUSTER1",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-1",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-2",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/1",
|
|
"name": "spool1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER2",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-3",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-4",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/2",
|
|
"name": "spool2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER3",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-5",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-6",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/3",
|
|
"name": "spool3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER4",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-7",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-8",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/4",
|
|
"name": "spool4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER5",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-9",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-10",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/5",
|
|
"name": "spool5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER6",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-11",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-12",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/6",
|
|
"name": "spool6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER7",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-13",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-14",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/7",
|
|
"name": "spool7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER8",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-15",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-16",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/8",
|
|
"name": "spool8"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER9",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-17",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-18",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/9",
|
|
"name": "spool9"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"clustername": "POD1-CLUSTER10",
|
|
"hypervisor": "Simulator",
|
|
"hosts": [
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-19",
|
|
"password": "password"
|
|
},
|
|
{
|
|
"username": "root",
|
|
"url": "http://sim/test-20",
|
|
"password": "password"
|
|
}
|
|
],
|
|
"clustertype": "CloudManaged",
|
|
"primaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.24.32/export/path/10",
|
|
"name": "spool10"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"gateway": "172.1.1.1"
|
|
}
|
|
],
|
|
"internaldns1": "10.147.28.6",
|
|
"internaldns2": "10.223.110.254",
|
|
"secondaryStorages": [
|
|
{
|
|
"url": "nfs://172.16.25.32/secondary/path"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dbSvr": {
|
|
"dbSvr": "10.147.28.40",
|
|
"passwd": "cloud",
|
|
"db": "cloud",
|
|
"port": 3306,
|
|
"user": "cloud"
|
|
},
|
|
"logger": [
|
|
{
|
|
"name": "TestClient",
|
|
"file": "/var/log/testclient.log"
|
|
},
|
|
{
|
|
"name": "TestCase",
|
|
"file": "/var/log/testcase.log"
|
|
}
|
|
],
|
|
"globalConfig": [
|
|
{
|
|
"name": "use.user.concentrated.pod.allocation",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "default.page.size",
|
|
"value": "10000"
|
|
},
|
|
{
|
|
"name": "direct.agent.load.size",
|
|
"value": "1000"
|
|
},
|
|
{
|
|
"name": "expunge.delay",
|
|
"value": "60"
|
|
},
|
|
{
|
|
"name": "vm.allocation.algorithm",
|
|
"value": "random"
|
|
},
|
|
{
|
|
"name": "check.pod.cidrs",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "instance.name",
|
|
"value": "SIMQA"
|
|
},
|
|
{
|
|
"name": "workers",
|
|
"value": "10"
|
|
},
|
|
{
|
|
"name": "vm.op.wait.interval",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"name": "guest.domain.suffix",
|
|
"value": "sandbox.simulator"
|
|
},
|
|
{
|
|
"name": "expunge.interval",
|
|
"value": "60"
|
|
},
|
|
{
|
|
"name": "linkLocalIp.nums",
|
|
"value": "10"
|
|
},
|
|
{
|
|
"name": "expunge.workers",
|
|
"value": "3"
|
|
}
|
|
],
|
|
"mgtSvr": [
|
|
{
|
|
"mgtSvrIp": "10.147.28.40",
|
|
"port": 8096
|
|
}
|
|
]
|
|
} |