summaryrefslogtreecommitdiff
path: root/environment_config.yaml
blob: 09f0c12b15d3a06f268111c697323fa63e7d8d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
# Copyright 2016 AT&T, Inc.
#
# Licensed 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.

attributes:
  metadata:
    # Settings group can be one of "general", "security", "compute", "network",
    # "storage", "logging", "openstack_services" and "other".
    group: 'other'
  puppet_master_address:
    value: 'localhost'
    label: 'Puppet master address'
    description: 'This will make entry of puppet master in Nitrous nodes.'
    weight: 21
    type: "text"
  env_proxy:
    value: 'undef'
    label: 'Enviornment Proxy'
    description: 'Use if the server requires a proxy.  The default value is "undef".'
    weight: 22
    type: "text"
  node_additional_config:
    label: "Nitrous config"
    type: "textarea"
    validate: "yaml"
    weight: 30
    value: |
      webvirt: xxx.xxx.xxx.xx
      dhcp_helper: xxx.xxx.xxx.11
      site_name: YOUR_SITENAME
      ubuntu_repo: http://archive.ubuntu.com/ubuntu/
      domain_name: YOUR_DOMAIN
      network:
        bonds:
        - bond-mode: active-backup
          members:
          - em1
          - em2
          name: bond0
          vlans:
          - name: 100
            native: true
        - bond-mode: 802.3ad
          members:
          - p1p1
          - p1p2
          - p2p1
          - p2p2
          mtu: '9000'
          name: bond1
          vlans:
          - name: 101  #Management
          - name: 102  #Storage
          - name: 103  #Private
        dhcp-ranges:
        - end: 10.1.0.252
          gateway: 10.1.0.1
          mask: 255.255.255.255
          name: rack01
          start: 10.1.0.12
        dns-nameservers:
        - 8.8.8.8
      storage:
        iscsi_reservation_enabled: false
        lun_mapping:
          #ADD YOUR STORAGE LUN INFORMATION
        storage_backend: local
        storage_blacklist_enabled: true
        storage_subnets:
        - xxx.xx.xxx.0/24
        storage_type: idc
        storage_vlan: 102
        targets:
        - xxx.xx.xxx.xx
      nodes:
      - host_profile: cp-hp2
        ipmi_address: xxx.xxx.xxx.1
        ipmi_password: YOUR_PASSWORD
        ipmi_username: YOUR_USERNAME
        mac_address: xx:xx:xx:xx:xx:xx
        name: svr01r01a001
        power_type: ipmi
        pxe_address: 10.1.0.5
        pxe_subnet: rack01
        server_hardware: DellR900
        storage:
          initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a001-6383eecf
          luns:
            #ADD YOUR STORAGE LUN INFORMATION
        type: seed
        vlans:
        - address:
            address: 10.1.0.5
            gateway: 10.1.0.1
            netmask: 255.255.255.255
          name: 100
        - address:
            address: 10.1.1.5
            gateway: 10.1.1.3
            netmask: 255.255.255.255
          name: 101
        - address:
            address: 10.1.2.5
            gateway: 10.1.2.3
            netmask: 255.255.255.255
          name: 102
        - address:
            address: 10.1.3.5
            gateway: 10.1.3.3
            netmask: 255.255.255.255
          name: 103
      - host_profile: cp-hp2
        ipmi_address: xxx.xxx.xxx.2
        ipmi_password: YOUR_PASSWORD
        ipmi_username: YOUR_USERNAME
        mac_address: xx:xx:xx:xx:xx:xx
        name: svr01r01a002
        power_type: ipmi
        pxe_address: 10.1.0.6
        pxe_subnet: rack01
        server_hardware: DellR900
        storage:
          initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a002-0bfa33c0
          luns:
            #ADD YOUR STORAGE LUN INFORMATION
        type: lcp
        vlans:
        - address:
            address: 10.1.0.6
            gateway: 10.1.0.1
            netmask: 255.255.255.255
          name: 100
        - address:
            address: 10.1.1.6
            gateway: 10.1.1.3
            netmask: 255.255.255.255
          name: 101
        - address:
            address: 10.1.2.6
            gateway: 10.1.2.3
            netmask: 255.255.255.255
          name: 102
        - address:
            address: 10.1.3.6
            gateway: 10.1.3.3
            netmask: 255.255.255.255
          name: 103
      - host_profile: cp-hp2
        ipmi_address: xxx.xxx.xxx.3
        ipmi_password: YOUR_PASSWORD
        ipmi_username: YOUR_USERNAME
        mac_address: xx:xx:xx:xx:xx:xx
        name: svr01r01a003
        power_type: ipmi
        pxe_address: 10.1.0.7
        pxe_subnet: rack01
        server_hardware: DellR900
        storage:
          initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a003-cab3c6a4
          luns:
            #ADD YOUR STORAGE LUN INFORMATION
        type: lcp
        vlans:
        - address:
            address: 10.1.0.7
            gateway: 10.1.0.1
            netmask: 255.255.255.255
          name: 100
        - address:
            address: 10.1.1.7
            gateway: 10.1.1.3
            netmask: 255.255.255.255
          name: 101
        - address:
            address: 10.1.2.7
            gateway: 10.1.2.3
            netmask: 255.255.255.255
          name: 102
        - address:
            address: 10.1.3.7
            gateway: 10.1.3.3
            netmask: 255.255.255.255
          name: 103
      - availability_zone: null
        host_profile: nv-hp1
        ipmi_address: xxx.xxx.xxx.4
        ipmi_password: YOUR_PASSWORD
        ipmi_username: YOUR_USERNAME
        mac_address: xx:xx:xx:xx:xx:xx
        name: svr01r01a004
        power_type: ipmi
        pxe_address: 10.1.0.8
        pxe_subnet: rack04
        server_hardware: DellR900
        storage:
          initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a004-98c8ace6
        type: compute
        vlans:
        - address:
            address: 10.1.0.8
            gateway: 10.1.0.1
            netmask: 255.255.255.255
          name: 100
        - address:
            address: 10.1.1.8
            gateway: 10.1.1.3
            netmask: 255.255.255.255
          name: 101
        - address:
            address: 10.1.2.8
            gateway: 10.1.2.3
            netmask: 255.255.255.255
          name: 102
        - address:
            address: 10.1.3.8
            gateway: 10.1.3.3
            netmask: 255.255.255.255
          name: 103
      image_base_path: /var/lib/libvirt/images/
      host_aggregates:
      - host_profiles:
        - nd-hp1
        - nd-hp2
        meta:
        - nd: true
        - cpu_allocation_ratio: 1.0
        name: svr01-nd-ha01
      - host_profiles:
        - nv-hp1
        meta:
        - nv: true
        - cpu_allocation_ratio: 1.0
        name: svr01-nv-ha01
      - host_profiles:
        - gv-hp1
        meta:
        - gv: true
        - c2: true
        - cpu_allocation_ratio: 2.0
        name: svr01-gv-ha01
  selective_default_bridge:
    label: "Select network bridge for KVM Host"
    description: 'Default network bridge is "Linux", select as per your requirement.'
    type: "radio"
    weight: 40
    value: "linuxbr"
    values:
      - data:  "linuxbr"
        label: "Linux Bridge"
      - data:  "ovsbr"
        label: "OVS Bridge"
  selective_opsvm_pool:
    label: "Select storage pool for OpenStack Vms"
    description: 'Default pool type for OpenStack vms is directory(dir), please select storage pool type as per your equirement.'
    type: "radio"
    weight: 50
    value: "dir"
    values:
      - data:  "dir"
        label: "Directory"
      - data:  "mpath"
        label: "Multipath"
  ops_server_config:
    label: "OpenStack Vms config"
    type: "textarea"
    validate: "yaml"
    weight: 60
    value: |
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: false
        is_vm: true
        kvm: svr01r01a002
        mac_address: 52:54:00:e5:e4:06
        name: mosc01
        network_profile: vm_ops-profile
        os_volume_name: mpath_mosc01
        ram: 32
        server_type: controller
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:c2:dd:c5
        name: mosc02
        network_profile: vm_ops-profile
        os_volume_name: mpath_mosc02
        ram: 32
        server_type: controller
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a002
        mac_address: 52:54:00:b3:dc:b2
        name: mosc03
        network_profile: vm_ops-profile
        os_volume_name: mpath_mosc03
        ram: 32
        server_type: controller        
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: false
        is_vm: true
        kvm: svr01r01a002
        mac_address: 52:54:00:3b:e5:fb
        name: dbmq01
        network_profile: vm_ops-profile
        os_volume_name: mpath_dbmq01
        ram: 32
        server_type: dbmq
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:92:35:52
        name: dbmq02
        network_profile: vm_ops-profile
        os_volume_name: mpath_dbmq02
        ram: 32
        server_type: dbmq
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:aa:53:25
        name: dbmq03
        network_profile: vm_ops-profile
        os_volume_name: mpath_dbmq03
        ram: 32
        server_type: dbmq       
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a002
        mac_address: 52:54:00:7d:8c:ad
        name: mong01
        network_profile: vm_ops-profile
        os_volume_name: mpath_mong01
        ram: 32
        server_type: mongo_db
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:21:5d:b3
        name: mong02
        network_profile: vm_ops-profile
        os_volume_name: mpath_mong02
        ram: 32
        server_type: mongo_db
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:00:86:3e
        name: mong03
        network_profile: vm_ops-profile
        os_volume_name: mpath_mong03
        ram: 32
        server_type: mongo_db
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: false
        is_vm: true
        kvm: svr01r01a002
        mac_address: 52:54:00:f0:2b:5d
        name: hapr01
        network_profile: vm_ops-profile
        os_volume_name: mpath_hapr01
        ram: 32
        server_type: haproxy
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:9a:d8:61
        name: hapr02
        network_profile: vm_ops-profile
        os_volume_name: mpath_hapr02
        ram: 32
        server_type: haproxy
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a002
        mac_address: 52:54:00:5c:b3:eb
        name: hapr03
        network_profile: vm_ops-profile
        os_volume_name: mpath_hapr03
        ram: 32
        server_type: haproxy
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: false
        is_vm: true
        kvm: svr01r01a002
        mac_address: 52:54:00:07:f1:bd
        name: kshz01
        network_profile: vm_ops-profile
        os_volume_name: mpath_kshz01
        ram: 32
        server_type: identity
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:75:24:24
        name: kshz02
        network_profile: vm_ops-profile
        os_volume_name: mpath_kshz02
        ram: 32
        server_type: identity
      - app_volume_name: null
        cpu: 8
        app_disk: 120
        log_disk: 15
        os_disk: 80
        ignore: true
        is_vm: false
        kvm: svr01r01a003
        mac_address: 52:54:00:5d:08:78
        name: kshz03
        network_profile: vm_ops-profile
        os_volume_name: mpath_kshz03
        ram: 32
        server_type: identity
      - app_volume_name: null
        cpu: 0
        ignore: true
        is_vm: false
        kvm: xx:xx:xx:xx:xx:xx
        name: svr01r01a004
        network_profile: dellr900_nv-hp1
        os_volume_name: null
        ram: 0
        server_type: compute