Align scenario short names between installers
[fuel.git] / deploy / scenario / ha_onos_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: ONOS HA deployment
25    version: 0.0.2
26    created: Jan 10 2016
27    comment: Fuel ONOS HA with Ceph, Ceilometer and Heat
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: onos
36      module-config-name: fuel-onos
37      module-config-version: 0.0.1
38      module-config-override:
39        # Module config overrides
40        public_eth:
41          value: 'eth3'
42
43 ##############################################################################
44 # By editing the override-config sections below, you can override arbitrary
45 # configuration name-space settings
46 dea-override-config:
47   environment:
48     name: onos_ha
49     mode: ha
50     net_segment_type: tun
51   wanted_release: Kilo on Ubuntu 14.04
52   nodes:
53   - id: 1
54     interfaces: interfaces_1
55     role: mongo,controller,onos
56     transformations: transformations_1
57   - id: 2
58     interfaces: interfaces_1
59     role: mongo,controller
60     transformations: transformations_1
61   - id: 3
62     interfaces: interfaces_1
63     role: mongo,controller
64     transformations: transformations_1
65   - id: 4
66     interfaces: interfaces_1
67     role: ceph-osd,compute
68     transformations: transformations_2
69   - id: 5
70     interfaces: interfaces_1
71     role: ceph-osd,compute
72     transformations: transformations_2
73
74 # Unique network transformation for ONOS deployment
75   transformations_2:
76     transformations:
77     - action: add-br
78       name: br-fw-admin
79     - action: add-br
80       name: br-mgmt
81     - action: add-br
82       name: br-storage
83     - action: add-br
84       name: br-mesh
85     - action: add-port
86       bridge: br-fw-admin
87       name: eth0
88     - action: add-port
89       bridge: br-mgmt
90       name: eth0.101
91     - action: add-port
92       bridge: br-storage
93       name: eth1.102
94     - action: add-port
95       bridge: br-mesh
96       name: eth2.103
97
98   settings:
99     editable:
100       common:
101         libvirt_type:
102           # ONOS requires QEMU
103           value: qemu
104       public_network_assignment:
105         assign_to_all_nodes:
106           # ONOS should not have public network assignment to all nodes
107           value: false
108       additional_components:
109         ceilometer:
110           description: If selected, Ceilometer component will be installed
111           label: Install Ceilometer
112           type: checkbox
113           value: true
114           weight: 40
115         heat:
116           description: ''
117           label: ''
118           type: hidden
119           value: true
120           weight: 30
121         metadata:
122           label: Additional Components
123           weight: 20
124       storage:
125         ephemeral_ceph:
126           description: Configures Nova to store ephemeral volumes in RBD. This works
127             best if Ceph is enabled for volumes and images, too. Enables live migration
128             of all types of Ceph backed VMs (without this option, live migration will
129             only work with VMs launched from Cinder volumes).
130           label: Ceph RBD for ephemeral volumes (Nova)
131           type: checkbox
132           value: true
133           weight: 75
134         images_ceph:
135           description: Configures Glance to use the Ceph RBD backend to store images.
136             If enabled, this option will prevent Swift from installing.
137           label: Ceph RBD for images (Glance)
138           restrictions:
139           - settings:storage.images_vcenter.value == true: Only one Glance backend could
140               be selected.
141           type: checkbox
142           value: true
143           weight: 30
144
145 dha-override-config:
146   nodes:
147   - id: 1
148     libvirtName: controller1
149     libvirtTemplate: templates/virtual_environment/vms/controller.xml
150   - id: 2
151     libvirtName: controller2
152     libvirtTemplate: templates/virtual_environment/vms/controller.xml
153   - id: 3
154     libvirtName: controller3
155     libvirtTemplate: templates/virtual_environment/vms/controller.xml
156   - id: 4
157     libvirtName: compute1
158     libvirtTemplate: templates/virtual_environment/vms/compute.xml
159   - id: 5
160     libvirtName: compute2
161     libvirtTemplate: templates/virtual_environment/vms/compute.xml
162   - id: 6
163     libvirtName: fuel-master
164     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
165     isFuel: yes
166     username: root
167     password: r00tme
168
169 ##############################################################################
170 # The verification pipeline may populate the section below with arbitrary
171 # testing information, which post deploy can be retreived from the fuel master:
172 # /root/deploy-config.yaml
173 test: