Merge "Add a dha adapter python file for ZTE hardware."
[fuel.git] / deploy / scenario / ha_vlan_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: OpenStack-only, HA deployment with VLAN segmentation
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
36 ##############################################################################
37 # By editing the override-config sections below, you can override arbitrary
38 # configuration name-space settings
39 dea-override-config:
40   environment:
41     mode: ha
42     net_segment_type: vlan
43     name: opnfv-vlan-noha
44   nodes:
45   - id: 1
46     interfaces: interfaces_1
47     role: controller
48     transformations: transformations_1
49   - id: 2
50     interfaces: interfaces_1
51     role: mongo,controller
52     transformations: transformations_1
53   - id: 3
54     interfaces: interfaces_1
55     role: ceph-osd,controller
56     transformations: transformations_1
57   - id: 4
58     interfaces: interfaces_1
59     role: ceph-osd,compute
60     transformations: transformations_1
61   - id: 5
62     interfaces: interfaces_1
63     role: ceph-osd,compute
64     transformations: transformations_1
65
66   settings:
67     editable:
68       additional_components:
69         ceilometer:
70           description: If selected, Ceilometer component will be installed
71           label: Install Ceilometer
72           type: checkbox
73           value: true
74           weight: 40
75         heat:
76           description: ''
77           label: ''
78           type: hidden
79           value: true
80           weight: 30
81         metadata:
82           label: Additional Components
83           weight: 20
84       storage:
85         ephemeral_ceph:
86           description: Configures Nova to store ephemeral volumes in RBD. This works
87             best if Ceph is enabled for volumes and images, too. Enables live migration
88             of all types of Ceph backed VMs (without this option, live migration will
89             only work with VMs launched from Cinder volumes).
90           label: Ceph RBD for ephemeral volumes (Nova)
91           type: checkbox
92           value: true
93           weight: 75
94         images_ceph:
95           description: Configures Glance to use the Ceph RBD backend to store images.
96             If enabled, this option will prevent Swift from installing.
97           label: Ceph RBD for images (Glance)
98           restrictions:
99           - settings:storage.images_vcenter.value == true: Only one Glance backend could
100               be selected.
101           type: checkbox
102           value: true
103           weight: 30
104
105 dha-override-config:
106 # These overrides only take effect for virtual deployment scenarios
107   nodes:
108   - id: 1
109     libvirtName: controller1
110     libvirtTemplate: templates/virtual_environment/vms/controller.xml
111   - id: 2
112     libvirtName: controller2
113     libvirtTemplate: templates/virtual_environment/vms/controller.xml
114   - id: 3
115     libvirtName: controller3
116     libvirtTemplate: templates/virtual_environment/vms/controller.xml
117   - id: 4
118     libvirtName: compute1
119     libvirtTemplate: templates/virtual_environment/vms/compute.xml
120   - id: 5
121     libvirtName: compute2
122     libvirtTemplate: templates/virtual_environment/vms/compute.xml
123   - id: 6
124     libvirtName: fuel-master
125     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
126     isFuel: yes
127     username: root
128     password: r00tme
129
130 ##############################################################################
131 # The verification pipeline may populate the section below with arbitrary
132 # testing information, which post deploy can be retreived from the fuel master:
133 # /root/deploy-config.yaml
134 test: