1+ # Licensed to the Apache Software Foundation (ASF) under one
2+ # or more contributor license agreements. See the NOTICE file
3+ # distributed with this work for additional information
4+ # regarding copyright ownership. The ASF licenses this file
5+ # to you under the Apache License, Version 2.0 (the
6+ # "License"); you may not use this file except in compliance
7+ # with the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing,
12+ # software distributed under the License is distributed on an
13+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ # KIND, either express or implied. See the License for the
15+ # specific language governing permissions and limitations
16+ # under the License.
17+ {
18+ " zones" : [
19+ {
20+ " name" : " ZoneBaremetal" ,
21+ " guestcidraddress" : " 10.1.1.0/24" ,
22+ " providers" : [
23+ {
24+ " broadcastdomainrange" : " ZONE" ,
25+ " name" : " VirtualRouter"
26+ }
27+ ],
28+ " dns1" : " 10.x.x.x" ,
29+
30+ " physical_networks" : [
31+ {
32+ " broadcastdomainrange" : " Zone" ,
33+ " name" : " Sandbox-pnet" ,
34+ " vlan" : " 1020-1025" ,
35+ " traffictypes" : [
36+ {
37+ " typ" : " Guest"
38+ },
39+ {
40+ " typ" : " Management"
41+ },
42+ {
43+ " typ" : " Public"
44+ }
45+ ],
46+ " providers" : [
47+ {
48+ " broadcastdomainrange" : " ZONE" ,
49+ " name" : " VirtualRouter"
50+ }
51+ ]
52+ }
53+ ],
54+ " logger" : {
55+ " LogFolderPath" : " /Marvin"
56+ },
57+ " ipranges" : [
58+ {
59+ " startip" : " 10.x.x.x" ,
60+ " endip" : " 10.x.x.x" ,
61+ " netmask" : " 255.255.255.0" ,
62+ " vlan" : " 1220" ,
63+ " gateway" : " 10.x.x.1"
64+ }
65+ ],
66+ " networktype" : " Advanced" ,
67+ " pods" : [
68+ {
69+ " endip" : " 10.x.x.x" ,
70+ " name" : " POD01" ,
71+ " startip" : " 10.x.x.x" ,
72+ " netmask" : " 255.255.255.192" ,
73+ " vmwaredc" :{" name" :" dc-baremetal" ," vcenter" :" 10.x.x.x" ," username" :" Administrator@vsphere.local" ," password" :" Password" },
74+ " clusters" : [
75+ {
76+ " clustername" : " 10.x.x.x/dc-baremetal/cluster1" ,
77+ " hypervisor" : " VmWare" ,
78+ " username" : " Administrator@vsphere.local" ,
79+ " clustertype" : " ExternalManaged" ,
80+ " password" : " Password" ,
81+ " url" : " http://10.x.x.x/dc-baremetal/cluster1" ,
82+ " hosts" : [
83+ {
84+ " username" : " root" ,
85+ " url" : " http://10.x.x.x" ,
86+ " password" : " password"
87+ },
88+ {
89+ " username" : " root" ,
90+ " url" : " http://10.x.x.x" ,
91+ " password" : " password"
92+ }
93+ ],
94+ " primaryStorages" : [
95+ {
96+ " url" : " nfs://10.x.x.x:/export/home/primary" ,
97+ " name" : " PS0"
98+ }
99+ ]
100+ },
101+ {
102+ " clustername" : " C1" ,
103+ " hypervisor" : " BareMetal" ,
104+ " hosts" : [
105+ {
106+ " username" : " root" ,
107+ " url" : " http://10.x.x.x" ,
108+ " password" : " password" ,
109+ " hostmac" : " xx:xx:xx:xx:xx:xx" ,
110+ " cpunumber" : " 1" ,
111+ " cpuspeed" : " 1000" ,
112+ " memory" : " 1024" ,
113+ " hosttags" : " host15"
114+ }
115+ ],
116+ " clustertype" : " CloudManaged"
117+ }
118+ ],
119+ " gateway" : " 10.x.x.x"
120+ }
121+ ],
122+ " internaldns1" : " 10.x.x.x" ,
123+ " baremetalrcturl" : " http://10.x.x.x/baremetal/baremetalrct.json" ,
124+ " secondaryStorages" : [
125+ {
126+ " url" : " nfs://10.x.x.x:/export/home/secondary" ,
127+ " provider" : " nfs" ,
128+ " name" :" secondary"
129+ }
130+ ]
131+ }
132+ ],
133+ " dbSvr" : {
134+ " dbSvr" : " 10.x.x.x" ,
135+ " passwd" : " password" ,
136+ " db" : " cloud" ,
137+ " port" : 3306,
138+ " user" : " root"
139+ },
140+
141+ " globalConfig" : [
142+ {
143+ " name" : " network.gc.wait" ,
144+ " value" : " 60"
145+ },
146+ {
147+ " name" : " storage.cleanup.interval" ,
148+ " value" : " 30"
149+ },
150+ {
151+ " name" : " account.cleanup.interval" ,
152+ " value" : " 60"
153+ },
154+ {
155+ " name" : " secstorage.allowed.internal.sites" ,
156+ " value" : " 10.x.x.0/24"
157+ },
158+ {
159+ " name" : " vm.op.wait.interval" ,
160+ " value" : " 5"
161+ },
162+ {
163+ " name" : " network.gc.interval" ,
164+ " value" : " 60"
165+ },
166+ {
167+ " name" : " guest.domain.suffix" ,
168+ " value" : " auto.advanced"
169+ },
170+ {
171+ " name" : " expunge.delay" ,
172+ " value" : " 60"
173+ },
174+ {
175+ " name" : " vm.allocation.algorithm" ,
176+ " value" : " userdispersing"
177+ },
178+ {
179+ " name" : " expunge.interval" ,
180+ " value" : " 60"
181+ },
182+ {
183+ " name" : " instance.name" ,
184+ " value" : " QA"
185+ },
186+ {
187+ " name" : " expunge.workers" ,
188+ " value" : " 3"
189+ },
190+ {
191+ " name" : " baremetal.internal.storage.server.ip" ,
192+ " value" : " 10.2.1.2"
193+ },
194+ {
195+ " name" : " check.pod.cidrs" ,
196+ " value" : " true"
197+ }
198+ ],
199+ " mgtSvr" : [
200+ {
201+ " mgtSvrIp" : " 10.x.x.x" ,
202+ " port" : 8096,
203+ " user" : " root" ,
204+ " password" : " password" ,
205+ " hypervisor" : " vmware"
206+ }
207+ ]
208+ }
0 commit comments