Remove apparmor for vFuel
[fuel.git] / deploy / scenario / ha_nfv-kvm_heat_ceilometer_scenario_0.0.4.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.4
26    created: Feb 9 2016
27    comment: Rebased to Fuel8 and the new KVM QEMU plugin verssion
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-qemu
36      module-config-name: fuel-nfvkvm
37      module-config-version: 0.0.2
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   environment:
46     net_segment_type: tun
47   nodes:
48   - id: 1
49     interfaces: interfaces_1
50     role: mongo,controller
51     transformations: transformations_1
52   - id: 2
53     interfaces: interfaces_1
54     role: controller
55     transformations: transformations_1
56   - id: 3
57     interfaces: interfaces_1
58     role: controller
59     transformations: transformations_1
60   - id: 4
61     interfaces: interfaces_1
62     role: compute
63     transformations: transformations_1
64   - id: 5
65     interfaces: interfaces_1
66     role: compute
67     transformations: transformations_1
68
69   settings:
70     editable:
71       storage:
72         ephemeral_ceph:
73           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).
74           label: Ceph RBD for ephemeral volumes (Nova)
75           type: checkbox
76           value: false
77           weight: 75
78         images_ceph:
79           description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
80           label: Ceph RBD for images (Glance)
81           restrictions:
82           - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
83           type: checkbox
84           value: false
85           weight: 30
86         images_vcenter:
87           description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
88           label: VMware vCenter/ESXi datastore for images (Glance)
89           restrictions:
90           - action: hide
91             condition: settings:common.use_vcenter.value != true
92           - condition: settings:storage.images_ceph.value == true
93             message: Only one Glance backend could be selected.
94           type: checkbox
95           value: false
96           weight: 35
97         iser:
98           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.'
99           label: iSER protocol for volumes (Cinder)
100           restrictions:
101           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
102           - action: hide
103             condition: not ('experimental' in version:feature_groups)
104           type: checkbox
105           value: false
106           weight: 11
107         metadata:
108           group: storage
109           label: Storage Backends
110           weight: 60
111         objects_ceph:
112           description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
113           label: Ceph RadosGW for objects (Swift API)
114           type: checkbox
115           value: false
116           weight: 80
117         osd_pool_size:
118           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.
119           label: Ceph object replication factor
120           regex:
121             error: Invalid number
122             source: ^[1-9]\d*$
123           type: text
124           value: '3'
125           weight: 85
126         volumes_block_device:
127           description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
128           label: Cinder Block device driver
129           restrictions:
130           - settings:storage.volumes_ceph.value == true
131           type: checkbox
132           value: false
133           weight: 15
134         volumes_ceph:
135           description: Configures Cinder to store volumes in Ceph RBD images.
136           label: Ceph RBD for volumes (Cinder)
137           restrictions:
138           - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
139           type: checkbox
140           value: false
141           weight: 20
142         volumes_lvm:
143           description: It is recommended to have at least one Storage - Cinder LVM node.
144           label: Cinder LVM over iSCSI for volumes
145           restrictions:
146           - settings:storage.volumes_ceph.value == true
147           type: checkbox
148           value: false
149           weight: 10
150
151 dha-override-config:
152   nodes:
153   - id: 1
154     libvirtName: controller1
155     libvirtTemplate: templates/virtual_environment/vms/controller.xml
156   - id: 2
157     libvirtName: controller2
158     libvirtTemplate: templates/virtual_environment/vms/controller.xml
159   - id: 3
160     libvirtName: controller3
161     libvirtTemplate: templates/virtual_environment/vms/controller.xml
162   - id: 4
163     libvirtName: compute1
164     libvirtTemplate: templates/virtual_environment/vms/compute.xml
165   - id: 5
166     libvirtName: compute2
167     libvirtTemplate: templates/virtual_environment/vms/compute.xml
168   - id: 6
169     libvirtName: fuel-master
170     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
171     isFuel: yes
172     username: root
173     password: r00tme
174
175
176 ##############################################################################
177 # The verification pipeline may populate the section below with arbitrary
178 # testing information, which post deploy can be retreived from the fuel master:
179 # /root/deploy-config.yaml
180 test: