Merge "Changing ODL change into FUEL_PLUGIN_ODL"
[fuel.git] / deploy / scenario / ha_nfv-kvm_heat_ceilometer_scenario.yaml
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # jonas.bjurel@ericsson.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 ############################################################################### # Description:
11 # This .yaml configuration file defines the configuration of the fuel
12 # deployment and is passed as an argument to deploy.sh
13 # eg. deploy.sh -c https://artifact.opnfv.org/fuel/config
14 # This will make build.sh fetch this configuration file and configure the
15 # deployment accordingly.
16 # After the deployment, a copy of this file gets uploaded to fuel:
17 # /root/deploy-config.yaml, as well as the sha-1 sum of this file:
18 # /root/deploy-config.sha1
19 ##############################################################################
20
21 ##############################################################################
22 # deployment configuration meta-data
23 deployment-scenario-metadata:
24    title: NFV KVM HA deployment
25    version: 0.0.6
26    created: 27.07.2016
27    comment: Ceph cannot be assigned to compute, ceph is collocated with one of the controllers
28
29 ##############################################################################
30 # Stack extentions are opnfv added value features in form of a fuel-plugin
31 # plug-ins listed below will be enabled and configured according to the
32 # <module-config-base-uri>/<module-config-name>_<module-config-version>.yaml
33 # It does so by copying the config file to the local plugin config directory
34 stack-extensions:
35    - module: fuel-plugin-kvm
36      module-config-name: fuel-nfvkvm
37      module-config-version: 0.9.0
38      module-config-override:
39        # Module config overrides
40
41 ##############################################################################
42 # By editing the override-config sections below, you can override arbitrary
43 # configuration name-space settings
44 dea-override-config:
45   nodes:
46   - id: 1
47     interfaces: interfaces_1
48     role: controller,mongo
49     transformations: transformations_1
50   - id: 2
51     interfaces: interfaces_1
52     role: controller
53     transformations: transformations_1
54   - id: 3
55     interfaces: interfaces_1
56     role: controller
57     transformations: transformations_1
58   - id: 4
59     interfaces: interfaces_1
60     role: compute,ceph-osd
61     transformations: transformations_1
62   - id: 5
63     interfaces: interfaces_1
64     role: compute,ceph-osd
65     transformations: transformations_1
66
67   settings:
68     editable:
69       storage:
70         ephemeral_ceph:
71           description: Configures Nova to store ephemeral volumes in RBD. This works best if Ceph is enabled for volumes and images, too. Enables live migration of all types of Ceph backed VMs (without this option, live migration will only work with VMs launched from Cinder volumes).
72           label: Ceph RBD for ephemeral volumes (Nova)
73           type: checkbox
74           value: false
75           weight: 75
76         images_ceph:
77           description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
78           label: Ceph RBD for images (Glance)
79           restrictions:
80           - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
81           type: checkbox
82           value: false
83           weight: 30
84         images_vcenter:
85           description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
86           label: VMware vCenter/ESXi datastore for images (Glance)
87           restrictions:
88           - action: hide
89             condition: settings:common.use_vcenter.value != true
90           - condition: settings:storage.images_ceph.value == true
91             message: Only one Glance backend could be selected.
92           type: checkbox
93           value: false
94           weight: 35
95         iser:
96           description: 'High performance block storage: Cinder volumes over iSER protocol (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC, and will use a dedicated virtual function for the storage network.'
97           label: iSER protocol for volumes (Cinder)
98           restrictions:
99           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
100           - action: hide
101             condition: not ('experimental' in version:feature_groups)
102           type: checkbox
103           value: false
104           weight: 11
105         metadata:
106           group: storage
107           label: Storage Backends
108           weight: 60
109         objects_ceph:
110           description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
111           label: Ceph RadosGW for objects (Swift API)
112           type: checkbox
113           value: false
114           weight: 80
115         osd_pool_size:
116           description: Configures the default number of object replicas in Ceph. This number must be equal to or lower than the number of deployed 'Storage - Ceph OSD' nodes.
117           label: Ceph object replication factor
118           regex:
119             error: Invalid number
120             source: ^[1-9]\d*$
121           type: text
122           value: '2'
123           weight: 85
124         volumes_block_device:
125           description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
126           label: Cinder Block device driver
127           restrictions:
128           - settings:storage.volumes_ceph.value == true
129           type: checkbox
130           value: false
131           weight: 15
132         volumes_ceph:
133           description: Configures Cinder to store volumes in Ceph RBD images.
134           label: Ceph RBD for volumes (Cinder)
135           restrictions:
136           - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
137           type: checkbox
138           value: true
139           weight: 20
140         volumes_lvm:
141           description: It is recommended to have at least one Storage - Cinder LVM node.
142           label: Cinder LVM over iSCSI for volumes
143           restrictions:
144           - settings:storage.volumes_ceph.value == true
145           type: checkbox
146           value: false
147           weight: 10
148
149 dha-override-config:
150   nodes:
151   - id: 1
152     libvirtName: controller1
153     libvirtTemplate: templates/virtual_environment/vms/controller.xml
154   - id: 2
155     libvirtName: controller2
156     libvirtTemplate: templates/virtual_environment/vms/controller.xml
157   - id: 3
158     libvirtName: controller3
159     libvirtTemplate: templates/virtual_environment/vms/controller.xml
160   - id: 4
161     libvirtName: compute1
162     libvirtTemplate: templates/virtual_environment/vms/compute.xml
163   - id: 5
164     libvirtName: compute2
165     libvirtTemplate: templates/virtual_environment/vms/compute.xml
166   - id: 6
167     libvirtName: fuel-master
168     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
169     isFuel: yes
170     username: root
171     password: r00tme
172
173
174 ##############################################################################
175 # The verification pipeline may populate the section below with arbitrary
176 # testing information, which post deploy can be retreived from the fuel master:
177 # /root/deploy-config.yaml
178 test: