66b07d5b8f8a949f0deb15b9e237a508a5caa1ee
[fuel.git] / deploy / scenario / ha_nfv-ovs_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: NFV OVS HA deployment
25    version: 0.0.5
26    created: Apr 20 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: fuel-plugin-ovsnfv
36      module-config-name: fuel-nfvovs
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: vlan
47   nodes:
48   - id: 1
49     interfaces: interfaces_1
50     role: controller
51     transformations: transformations_1
52   - id: 2
53     interfaces: interfaces_1
54     role: mongo,controller
55     transformations: transformations_1
56   - id: 3
57     interfaces: interfaces_1
58     role: ceph-osd,controller
59     transformations: transformations_1
60   - id: 4
61     interfaces: interfaces_1
62     role: ceph-osd,compute
63     transformations: transformations_1
64   - id: 5
65     interfaces: interfaces_1
66     role: ceph-osd,compute
67     transformations: transformations_1
68
69   transformations_1:
70     transformations:
71     - action: add-br
72       name: br-fw-admin
73     - action: add-br
74       name: br-mgmt
75     - action: add-br
76       name: br-storage
77     - action: add-br
78       name: br-ex
79     - action: add-br
80       name: br-floating
81       provider: ovs
82     - action: add-patch
83       bridges:
84       - br-floating
85       - br-ex
86       mtu: 65000
87       provider: ovs
88     - action: add-br
89       name: br-prv
90       provider: ovs
91     - action: add-br
92       name: br-aux
93     - action: add-patch
94       bridges:
95       - br-prv
96       - br-aux
97       mtu: 65000
98       provider: ovs
99     - action: add-port
100       bridge: br-fw-admin
101       name: eno49
102     - action: add-port
103       bridge: br-mgmt
104       name: ens1f0.100
105     - action: add-port
106       bridge: br-storage
107       name: ens1f0.200
108     - action: add-port
109       bridge: br-aux
110       name: ens1f0
111     - action: add-port
112       bridge: br-ex
113       name: ens1f0.753
114   transformations_2:
115     transformations:
116     - action: add-br
117       name: br-fw-admin
118     - action: add-br
119       name: br-mgmt
120     - action: add-br
121       name: br-storage
122     - action: add-br
123       name: br-prv
124       provider: ovs
125     - action: add-br
126       name: br-aux
127     - action: add-patch
128       bridges:
129       - br-prv
130       - br-aux
131       mtu: 65000
132       provider: ovs
133     - action: add-port
134       bridge: br-fw-admin
135       name: eno49
136     - action: add-port
137       bridge: br-mgmt
138       name: ens1f0.100
139     - action: add-port
140       bridge: br-storage
141       name: ens1f0.200
142     - action: add-port
143       bridge: br-aux
144       name: ens1f0
145
146   network:
147     networking_parameters:
148       segmentation_type: vlan
149       vlan_range:
150       - 1000
151       - 1030
152     networks:
153     - cidr: null
154       gateway: null
155       ip_ranges: []
156       meta:
157         configurable: false
158         map_priority: 2
159         name: private
160         neutron_vlan_range: true
161         notation: null
162         render_addr_mask: null
163         render_type: null
164         seg_type: vlan
165         use_gateway: false
166         vlan_start: null
167       name: private
168       vlan_start: null
169     - cidr: 10.118.101.0/24
170       gateway: 10.118.101.1
171       ip_ranges:
172       - - 10.118.101.180
173         - 10.118.101.190
174       meta:
175         cidr: 172.16.0.0/24
176         configurable: true
177         floating_range_var: floating_ranges
178         ip_range:
179         - 172.16.0.2
180         - 172.16.0.126
181         map_priority: 1
182         name: public
183         notation: ip_ranges
184         render_addr_mask: public
185         render_type: null
186         use_gateway: true
187         vips:
188         - haproxy
189         - vrouter
190         vlan_start: null
191       name: public
192       vlan_start: 753
193     - cidr: 192.168.20.0/24
194       gateway: null
195       ip_ranges:
196       - - 192.168.20.1
197         - 192.168.20.254
198       meta:
199         cidr: 192.168.1.0/24
200         configurable: true
201         map_priority: 2
202         name: storage
203         notation: cidr
204         render_addr_mask: storage
205         render_type: cidr
206         use_gateway: false
207         vlan_start: 102
208       name: storage
209     - cidr: 192.168.10.0/24
210       gateway: null
211       ip_ranges:
212       - - 192.168.10.1
213         - 192.168.10.254
214       meta:
215         cidr: 192.168.0.0/24
216         configurable: true
217         map_priority: 2
218         name: management
219         notation: cidr
220         render_addr_mask: internal
221         render_type: cidr
222         use_gateway: false
223         vips:
224         - haproxy
225         - vrouter
226         vlan_start: 101
227       name: management
228       vlan_start: 100
229     - cidr: 10.20.0.0/24
230       gateway: 10.20.0.2
231       ip_ranges:
232       - - 10.20.0.3
233         - 10.20.0.254
234       meta:
235         configurable: false
236         map_priority: 0
237         notation: ip_ranges
238         render_addr_mask: null
239         render_type: null
240         unmovable: true
241         use_gateway: true
242       name: fuelweb_admin
243       vlan_start: null
244
245 dha-override-config:
246   nodes:
247   - id: 1
248     libvirtName: controller1
249     libvirtTemplate: templates/virtual_environment/vms/controller.xml
250   - id: 2
251     libvirtName: controller2
252     libvirtTemplate: templates/virtual_environment/vms/controller.xml
253   - id: 3
254     libvirtName: controller3
255     libvirtTemplate: templates/virtual_environment/vms/controller.xml
256   - id: 4
257     libvirtName: compute1
258     libvirtTemplate: templates/virtual_environment/vms/compute.xml
259   - id: 5
260     libvirtName: compute2
261     libvirtTemplate: templates/virtual_environment/vms/compute.xml
262   - id: 6
263     libvirtName: fuel-master
264     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
265     isFuel: yes
266     username: root
267     password: r00tme
268
269 ##############################################################################
270 # The verification pipeline may populate the section below with arbitrary
271 # testing information, which post deploy can be retreived from the fuel master:
272 # /root/deploy-config.yaml
273 test: