Merge "Fix wrong offset in environment array" into stable/brahmaputra
[fuel.git] / deploy / scenario / ha_odl-l3_heat_ceilometer_scenario_0.0.2.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: ODL-L3 HA deployment
25    version: 0.0.2
26    created: Jan 19 2016
27    comment: Rebased to Fuel8
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: opendaylight
36      module-config-name: fuel-odl
37      module-config-version: 0.0.1
38      module-config-override:
39        # Module config overrides
40        rest_api_port:
41          value: '8282'
42        enable_gbp:
43          value: false
44        enable_l3_odl:
45          value: true
46        enable_sfc:
47          value: false
48
49 ##############################################################################
50 # By editing the override-config sections below, you can override arbitrary
51 # configuration name-space settings
52 dea-override-config:
53   environment:
54     mode: ha
55     net_segment_type: tun
56   wanted_release: Kilo on Ubuntu 14.04
57   nodes:
58   - id: 1
59     interfaces: interfaces_1
60     role: controller,opendaylight
61     transformations: transformations_1
62   - id: 2
63     interfaces: interfaces_1
64     role: mongo,controller
65     transformations: transformations_1
66   - id: 3
67     interfaces: interfaces_1
68     role: ceph-osd,controller
69     transformations: transformations_1
70   - id: 4
71     interfaces: interfaces_1
72     role: ceph-osd,compute
73     transformations: transformations_1
74   - id: 5
75     interfaces: interfaces_1
76     role: ceph-osd,compute
77     transformations: transformations_1
78
79   settings:
80     editable:
81       additional_components:
82         ceilometer:
83           description: If selected, Ceilometer component will be installed
84           label: Install Ceilometer
85           type: checkbox
86           value: true
87           weight: 40
88         heat:
89           description: ''
90           label: ''
91           type: hidden
92           value: true
93           weight: 30
94         metadata:
95           label: Additional Components
96           weight: 20
97       storage:
98         ephemeral_ceph:
99           description: Configures Nova to store ephemeral volumes in RBD. This works
100             best if Ceph is enabled for volumes and images, too. Enables live migration
101             of all types of Ceph backed VMs (without this option, live migration will
102             only work with VMs launched from Cinder volumes).
103           label: Ceph RBD for ephemeral volumes (Nova)
104           type: checkbox
105           value: true
106           weight: 75
107         images_ceph:
108           description: Configures Glance to use the Ceph RBD backend to store images.
109             If enabled, this option will prevent Swift from installing.
110           label: Ceph RBD for images (Glance)
111           restrictions:
112           - settings:storage.images_vcenter.value == true: Only one Glance backend could
113               be selected.
114           type: checkbox
115           value: true
116           weight: 30
117
118 dha-override-config:
119   nodes:
120   - id: 1
121     libvirtName: controller1
122     libvirtTemplate: templates/virtual_environment/vms/controller.xml
123   - id: 2
124     libvirtName: controller2
125     libvirtTemplate: templates/virtual_environment/vms/controller.xml
126   - id: 3
127     libvirtName: controller3
128     libvirtTemplate: templates/virtual_environment/vms/controller.xml
129   - id: 4
130     libvirtName: compute1
131     libvirtTemplate: templates/virtual_environment/vms/compute.xml
132   - id: 5
133     libvirtName: compute2
134     libvirtTemplate: templates/virtual_environment/vms/compute.xml
135   - id: 6
136     libvirtName: fuel-master
137     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
138     isFuel: yes
139     username: root
140     password: r00tme
141
142 ##############################################################################
143 # The verification pipeline may populate the section below with arbitrary
144 # testing information, which post deploy can be retreived from the fuel master:
145 # /root/deploy-config.yaml
146 test: