Merge "Uplift deployment code for Fuel 8.0" into stable/brahmaputra
[fuel.git] / deploy / scenario / ha_onos_heat_ceilometer_scenario_0.0.3.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 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: 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     mode: ha
49     net_segment_type: tun
50   wanted_release: Kilo on Ubuntu 14.04
51   nodes:
52   - id: 1
53     interfaces: interfaces_1
54     role: controller,onos
55     transformations: transformations_1
56   - id: 2
57     interfaces: interfaces_1
58     role: mongo,controller
59     transformations: transformations_1
60   - id: 3
61     interfaces: interfaces_1
62     role: ceph-osd,controller
63     transformations: transformations_1
64   - id: 4
65     interfaces: interfaces_1
66     role: ceph-osd,compute
67     transformations: transformations_1
68   - id: 5
69     interfaces: interfaces_1
70     role: ceph-osd,compute
71     transformations: transformations_1
72
73   settings:
74     editable:
75       additional_components:
76         ceilometer:
77           description: If selected, Ceilometer component will be installed
78           label: Install Ceilometer
79           type: checkbox
80           value: true
81           weight: 40
82         heat:
83           description: ''
84           label: ''
85           type: hidden
86           value: true
87           weight: 30
88         metadata:
89           label: Additional Components
90           weight: 20
91       storage:
92         ephemeral_ceph:
93           description: Configures Nova to store ephemeral volumes in RBD. This works
94             best if Ceph is enabled for volumes and images, too. Enables live migration
95             of all types of Ceph backed VMs (without this option, live migration will
96             only work with VMs launched from Cinder volumes).
97           label: Ceph RBD for ephemeral volumes (Nova)
98           type: checkbox
99           value: true
100           weight: 75
101         images_ceph:
102           description: Configures Glance to use the Ceph RBD backend to store images.
103             If enabled, this option will prevent Swift from installing.
104           label: Ceph RBD for images (Glance)
105           restrictions:
106           - settings:storage.images_vcenter.value == true: Only one Glance backend could
107               be selected.
108           type: checkbox
109           value: true
110           weight: 30
111
112 dha-override-config:
113   nodes:
114   - id: 1
115     libvirtName: controller1
116     libvirtTemplate: templates/virtual_environment/vms/controller.xml
117   - id: 2
118     libvirtName: controller2
119     libvirtTemplate: templates/virtual_environment/vms/controller.xml
120   - id: 3
121     libvirtName: controller3
122     libvirtTemplate: templates/virtual_environment/vms/controller.xml
123   - id: 4
124     libvirtName: compute1
125     libvirtTemplate: templates/virtual_environment/vms/compute.xml
126   - id: 5
127     libvirtName: compute2
128     libvirtTemplate: templates/virtual_environment/vms/compute.xml
129   - id: 6
130     libvirtName: fuel-master
131     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
132     isFuel: yes
133     username: root
134     password: r00tme
135
136 ##############################################################################
137 # The verification pipeline may populate the section below with arbitrary
138 # testing information, which post deploy can be retreived from the fuel master:
139 # /root/deploy-config.yaml
140 test: