Fuel plugin for bare metal configuration and provisioning ready to deploy VMs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

environment_config.yaml 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. # Copyright 2016 AT&T, Inc.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  4. # not use this file except in compliance with the License. You may obtain
  5. # a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12. # License for the specific language governing permissions and limitations
  13. # under the License.
  14. attributes:
  15. metadata:
  16. # Settings group can be one of "general", "security", "compute", "network",
  17. # "storage", "logging", "openstack_services" and "other".
  18. group: 'other'
  19. puppet_master_address:
  20. value: 'localhost'
  21. label: 'Puppet master address'
  22. description: 'This will make entry of puppet master in Nitrous nodes.'
  23. weight: 21
  24. type: "text"
  25. env_proxy:
  26. value: 'undef'
  27. label: 'Enviornment Proxy'
  28. description: 'Use if the server requires a proxy. The default value is "undef".'
  29. weight: 22
  30. type: "text"
  31. node_additional_config:
  32. label: "Nitrous config"
  33. type: "textarea"
  34. validate: "yaml"
  35. weight: 30
  36. value: |
  37. webvirt: xxx.xxx.xxx.xx
  38. dhcp_helper: xxx.xxx.xxx.11
  39. site_name: YOUR_SITENAME
  40. ubuntu_repo: http://archive.ubuntu.com/ubuntu/
  41. domain_name: YOUR_DOMAIN
  42. network:
  43. bonds:
  44. - bond-mode: active-backup
  45. members:
  46. - em1
  47. - em2
  48. name: bond0
  49. vlans:
  50. - name: 100
  51. native: true
  52. - bond-mode: 802.3ad
  53. members:
  54. - p1p1
  55. - p1p2
  56. - p2p1
  57. - p2p2
  58. mtu: '9000'
  59. name: bond1
  60. vlans:
  61. - name: 101 #Management
  62. - name: 102 #Storage
  63. - name: 103 #Private
  64. dhcp-ranges:
  65. - end: 10.1.0.252
  66. gateway: 10.1.0.1
  67. mask: 255.255.255.255
  68. name: rack01
  69. start: 10.1.0.12
  70. dns-nameservers:
  71. - 8.8.8.8
  72. storage:
  73. iscsi_reservation_enabled: false
  74. lun_mapping:
  75. #ADD YOUR STORAGE LUN INFORMATION
  76. storage_backend: local
  77. storage_blacklist_enabled: true
  78. storage_subnets:
  79. - xxx.xx.xxx.0/24
  80. storage_type: idc
  81. storage_vlan: 102
  82. targets:
  83. - xxx.xx.xxx.xx
  84. nodes:
  85. - host_profile: cp-hp2
  86. ipmi_address: xxx.xxx.xxx.1
  87. ipmi_password: YOUR_PASSWORD
  88. ipmi_username: YOUR_USERNAME
  89. mac_address: xx:xx:xx:xx:xx:xx
  90. name: svr01r01a001
  91. power_type: ipmi
  92. pxe_address: 10.1.0.5
  93. pxe_subnet: rack01
  94. server_hardware: DellR900
  95. storage:
  96. initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a001-6383eecf
  97. luns:
  98. #ADD YOUR STORAGE LUN INFORMATION
  99. type: seed
  100. vlans:
  101. - address:
  102. address: 10.1.0.5
  103. gateway: 10.1.0.1
  104. netmask: 255.255.255.255
  105. name: 100
  106. - address:
  107. address: 10.1.1.5
  108. gateway: 10.1.1.3
  109. netmask: 255.255.255.255
  110. name: 101
  111. - address:
  112. address: 10.1.2.5
  113. gateway: 10.1.2.3
  114. netmask: 255.255.255.255
  115. name: 102
  116. - address:
  117. address: 10.1.3.5
  118. gateway: 10.1.3.3
  119. netmask: 255.255.255.255
  120. name: 103
  121. - host_profile: cp-hp2
  122. ipmi_address: xxx.xxx.xxx.2
  123. ipmi_password: YOUR_PASSWORD
  124. ipmi_username: YOUR_USERNAME
  125. mac_address: xx:xx:xx:xx:xx:xx
  126. name: svr01r01a002
  127. power_type: ipmi
  128. pxe_address: 10.1.0.6
  129. pxe_subnet: rack01
  130. server_hardware: DellR900
  131. storage:
  132. initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a002-0bfa33c0
  133. luns:
  134. #ADD YOUR STORAGE LUN INFORMATION
  135. type: lcp
  136. vlans:
  137. - address:
  138. address: 10.1.0.6
  139. gateway: 10.1.0.1
  140. netmask: 255.255.255.255
  141. name: 100
  142. - address:
  143. address: 10.1.1.6
  144. gateway: 10.1.1.3
  145. netmask: 255.255.255.255
  146. name: 101
  147. - address:
  148. address: 10.1.2.6
  149. gateway: 10.1.2.3
  150. netmask: 255.255.255.255
  151. name: 102
  152. - address:
  153. address: 10.1.3.6
  154. gateway: 10.1.3.3
  155. netmask: 255.255.255.255
  156. name: 103
  157. - host_profile: cp-hp2
  158. ipmi_address: xxx.xxx.xxx.3
  159. ipmi_password: YOUR_PASSWORD
  160. ipmi_username: YOUR_USERNAME
  161. mac_address: xx:xx:xx:xx:xx:xx
  162. name: svr01r01a003
  163. power_type: ipmi
  164. pxe_address: 10.1.0.7
  165. pxe_subnet: rack01
  166. server_hardware: DellR900
  167. storage:
  168. initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a003-cab3c6a4
  169. luns:
  170. #ADD YOUR STORAGE LUN INFORMATION
  171. type: lcp
  172. vlans:
  173. - address:
  174. address: 10.1.0.7
  175. gateway: 10.1.0.1
  176. netmask: 255.255.255.255
  177. name: 100
  178. - address:
  179. address: 10.1.1.7
  180. gateway: 10.1.1.3
  181. netmask: 255.255.255.255
  182. name: 101
  183. - address:
  184. address: 10.1.2.7
  185. gateway: 10.1.2.3
  186. netmask: 255.255.255.255
  187. name: 102
  188. - address:
  189. address: 10.1.3.7
  190. gateway: 10.1.3.3
  191. netmask: 255.255.255.255
  192. name: 103
  193. - availability_zone: null
  194. host_profile: nv-hp1
  195. ipmi_address: xxx.xxx.xxx.4
  196. ipmi_password: YOUR_PASSWORD
  197. ipmi_username: YOUR_USERNAME
  198. mac_address: xx:xx:xx:xx:xx:xx
  199. name: svr01r01a004
  200. power_type: ipmi
  201. pxe_address: 10.1.0.8
  202. pxe_subnet: rack04
  203. server_hardware: DellR900
  204. storage:
  205. initiator_name: iqn.xxxx-xx.abc.abcdefg:svr01r01a004-98c8ace6
  206. type: compute
  207. vlans:
  208. - address:
  209. address: 10.1.0.8
  210. gateway: 10.1.0.1
  211. netmask: 255.255.255.255
  212. name: 100
  213. - address:
  214. address: 10.1.1.8
  215. gateway: 10.1.1.3
  216. netmask: 255.255.255.255
  217. name: 101
  218. - address:
  219. address: 10.1.2.8
  220. gateway: 10.1.2.3
  221. netmask: 255.255.255.255
  222. name: 102
  223. - address:
  224. address: 10.1.3.8
  225. gateway: 10.1.3.3
  226. netmask: 255.255.255.255
  227. name: 103
  228. image_base_path: /var/lib/libvirt/images/
  229. host_aggregates:
  230. - host_profiles:
  231. - nd-hp1
  232. - nd-hp2
  233. meta:
  234. - nd: true
  235. - cpu_allocation_ratio: 1.0
  236. name: svr01-nd-ha01
  237. - host_profiles:
  238. - nv-hp1
  239. meta:
  240. - nv: true
  241. - cpu_allocation_ratio: 1.0
  242. name: svr01-nv-ha01
  243. - host_profiles:
  244. - gv-hp1
  245. meta:
  246. - gv: true
  247. - c2: true
  248. - cpu_allocation_ratio: 2.0
  249. name: svr01-gv-ha01
  250. selective_default_bridge:
  251. label: "Select network bridge for KVM Host"
  252. description: 'Default network bridge is "Linux", select as per your requirement.'
  253. type: "radio"
  254. weight: 40
  255. value: "linuxbr"
  256. values:
  257. - data: "linuxbr"
  258. label: "Linux Bridge"
  259. - data: "ovsbr"
  260. label: "OVS Bridge"
  261. selective_opsvm_pool:
  262. label: "Select storage pool for OpenStack Vms"
  263. description: 'Default pool type for OpenStack vms is directory(dir), please select storage pool type as per your equirement.'
  264. type: "radio"
  265. weight: 50
  266. value: "dir"
  267. values:
  268. - data: "dir"
  269. label: "Directory"
  270. - data: "mpath"
  271. label: "Multipath"
  272. ops_server_config:
  273. label: "OpenStack Vms config"
  274. type: "textarea"
  275. validate: "yaml"
  276. weight: 60
  277. value: |
  278. - app_volume_name: null
  279. cpu: 8
  280. app_disk: 120
  281. log_disk: 15
  282. os_disk: 80
  283. ignore: false
  284. is_vm: true
  285. kvm: svr01r01a002
  286. mac_address: 52:54:00:e5:e4:06
  287. name: mosc01
  288. network_profile: vm_ops-profile
  289. os_volume_name: mpath_mosc01
  290. ram: 32
  291. server_type: controller
  292. - app_volume_name: null
  293. cpu: 8
  294. app_disk: 120
  295. log_disk: 15
  296. os_disk: 80
  297. ignore: true
  298. is_vm: false
  299. kvm: svr01r01a003
  300. mac_address: 52:54:00:c2:dd:c5
  301. name: mosc02
  302. network_profile: vm_ops-profile
  303. os_volume_name: mpath_mosc02
  304. ram: 32
  305. server_type: controller
  306. - app_volume_name: null
  307. cpu: 8
  308. app_disk: 120
  309. log_disk: 15
  310. os_disk: 80
  311. ignore: true
  312. is_vm: false
  313. kvm: svr01r01a002
  314. mac_address: 52:54:00:b3:dc:b2
  315. name: mosc03
  316. network_profile: vm_ops-profile
  317. os_volume_name: mpath_mosc03
  318. ram: 32
  319. server_type: controller
  320. - app_volume_name: null
  321. cpu: 8
  322. app_disk: 120
  323. log_disk: 15
  324. os_disk: 80
  325. ignore: false
  326. is_vm: true
  327. kvm: svr01r01a002
  328. mac_address: 52:54:00:3b:e5:fb
  329. name: dbmq01
  330. network_profile: vm_ops-profile
  331. os_volume_name: mpath_dbmq01
  332. ram: 32
  333. server_type: dbmq
  334. - app_volume_name: null
  335. cpu: 8
  336. app_disk: 120
  337. log_disk: 15
  338. os_disk: 80
  339. ignore: true
  340. is_vm: false
  341. kvm: svr01r01a003
  342. mac_address: 52:54:00:92:35:52
  343. name: dbmq02
  344. network_profile: vm_ops-profile
  345. os_volume_name: mpath_dbmq02
  346. ram: 32
  347. server_type: dbmq
  348. - app_volume_name: null
  349. cpu: 8
  350. app_disk: 120
  351. log_disk: 15
  352. os_disk: 80
  353. ignore: true
  354. is_vm: false
  355. kvm: svr01r01a003
  356. mac_address: 52:54:00:aa:53:25
  357. name: dbmq03
  358. network_profile: vm_ops-profile
  359. os_volume_name: mpath_dbmq03
  360. ram: 32
  361. server_type: dbmq
  362. - app_volume_name: null
  363. cpu: 8
  364. app_disk: 120
  365. log_disk: 15
  366. os_disk: 80
  367. ignore: true
  368. is_vm: false
  369. kvm: svr01r01a002
  370. mac_address: 52:54:00:7d:8c:ad
  371. name: mong01
  372. network_profile: vm_ops-profile
  373. os_volume_name: mpath_mong01
  374. ram: 32
  375. server_type: mongo_db
  376. - app_volume_name: null
  377. cpu: 8
  378. app_disk: 120
  379. log_disk: 15
  380. os_disk: 80
  381. ignore: true
  382. is_vm: false
  383. kvm: svr01r01a003
  384. mac_address: 52:54:00:21:5d:b3
  385. name: mong02
  386. network_profile: vm_ops-profile
  387. os_volume_name: mpath_mong02
  388. ram: 32
  389. server_type: mongo_db
  390. - app_volume_name: null
  391. cpu: 8
  392. app_disk: 120
  393. log_disk: 15
  394. os_disk: 80
  395. ignore: true
  396. is_vm: false
  397. kvm: svr01r01a003
  398. mac_address: 52:54:00:00:86:3e
  399. name: mong03
  400. network_profile: vm_ops-profile
  401. os_volume_name: mpath_mong03
  402. ram: 32
  403. server_type: mongo_db
  404. - app_volume_name: null
  405. cpu: 8
  406. app_disk: 120
  407. log_disk: 15
  408. os_disk: 80
  409. ignore: false
  410. is_vm: true
  411. kvm: svr01r01a002
  412. mac_address: 52:54:00:f0:2b:5d
  413. name: hapr01
  414. network_profile: vm_ops-profile
  415. os_volume_name: mpath_hapr01
  416. ram: 32
  417. server_type: haproxy
  418. - app_volume_name: null
  419. cpu: 8
  420. app_disk: 120
  421. log_disk: 15
  422. os_disk: 80
  423. ignore: true
  424. is_vm: false
  425. kvm: svr01r01a003
  426. mac_address: 52:54:00:9a:d8:61
  427. name: hapr02
  428. network_profile: vm_ops-profile
  429. os_volume_name: mpath_hapr02
  430. ram: 32
  431. server_type: haproxy
  432. - app_volume_name: null
  433. cpu: 8
  434. app_disk: 120
  435. log_disk: 15
  436. os_disk: 80
  437. ignore: true
  438. is_vm: false
  439. kvm: svr01r01a002
  440. mac_address: 52:54:00:5c:b3:eb
  441. name: hapr03
  442. network_profile: vm_ops-profile
  443. os_volume_name: mpath_hapr03
  444. ram: 32
  445. server_type: haproxy
  446. - app_volume_name: null
  447. cpu: 8
  448. app_disk: 120
  449. log_disk: 15
  450. os_disk: 80
  451. ignore: false
  452. is_vm: true
  453. kvm: svr01r01a002
  454. mac_address: 52:54:00:07:f1:bd
  455. name: kshz01
  456. network_profile: vm_ops-profile
  457. os_volume_name: mpath_kshz01
  458. ram: 32
  459. server_type: identity
  460. - app_volume_name: null
  461. cpu: 8
  462. app_disk: 120
  463. log_disk: 15
  464. os_disk: 80
  465. ignore: true
  466. is_vm: false
  467. kvm: svr01r01a003
  468. mac_address: 52:54:00:75:24:24
  469. name: kshz02
  470. network_profile: vm_ops-profile
  471. os_volume_name: mpath_kshz02
  472. ram: 32
  473. server_type: identity
  474. - app_volume_name: null
  475. cpu: 8
  476. app_disk: 120
  477. log_disk: 15
  478. os_disk: 80
  479. ignore: true
  480. is_vm: false
  481. kvm: svr01r01a003
  482. mac_address: 52:54:00:5d:08:78
  483. name: kshz03
  484. network_profile: vm_ops-profile
  485. os_volume_name: mpath_kshz03
  486. ram: 32
  487. server_type: identity
  488. - app_volume_name: null
  489. cpu: 0
  490. ignore: true
  491. is_vm: false
  492. kvm: xx:xx:xx:xx:xx:xx
  493. name: svr01r01a004
  494. network_profile: dellr900_nv-hp1
  495. os_volume_name: null
  496. ram: 0
  497. server_type: compute