Temporary fix for PXE booting from the wrong NIC
[fuel.git] / deploy / scenario / ha_odl-l3_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: ODL-L3 HA deployment
25    version: 0.0.5
26    created: Jun 02 2016
27    comment: Rebased to Fuel9
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 # Note that the module substitionion does not support arrays
35 # This is a quick fix
36 stack-extensions:
37 #   - module: opendaylight
38 #     module-config-name: fuel-odl
39 #     module-config-version: 0.0.2
40 #     module-config-override:
41 #       # Module config overrides
42 #       rest_api_port:
43 #         value: '8282'
44 #       enable_gbp:
45 #         value: false
46 #       enable_l3_odl:
47 #         value: true
48 #       enable_sfc:
49 #         value: false
50
51 ##############################################################################
52 # By editing the override-config sections below, you can override arbitrary
53 # configuration name-space settings
54 dea-override-config:
55   nodes:
56   - id: 1
57     interfaces: interfaces_1
58     role: controller,opendaylight
59     transformations: transformations_1
60   - id: 2
61     interfaces: interfaces_1
62     role: mongo,controller
63     transformations: transformations_1
64   - id: 3
65     interfaces: interfaces_1
66     role: ceph-osd,controller
67     transformations: transformations_1
68   - id: 4
69     interfaces: interfaces_1
70     role: ceph-osd,compute
71     transformations: transformations_1
72   - id: 5
73     interfaces: interfaces_1
74     role: ceph-osd,compute
75     transformations: transformations_1
76   settings:
77     editable:
78       public_network_assignment:
79         assign_to_all_nodes:
80           value: true
81       opendaylight:
82         metadata:
83           # chosen_id: Assigned during installation
84           class: plugin
85           default: false
86           enabled: true
87           label: OpenDaylight plugin
88           toggleable: true
89           versions:
90           - bgpvpn_gateway:
91               description: Define the default gateway for BGPVPN
92               label: Default Gateway
93               regex:
94                 error: Invalid ip number
95                 source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
96               restrictions:
97               - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN
98                   is enabled.
99               type: text
100               value: 0.0.0.0
101               weight: 16
102             enable_bgpvpn:
103               description: 'This enables the bgpvpn extension of neutron togethere with
104                 the corresponding sdnvpn features in odl. This feature will disable the
105                 standart ovsdb feature from ODL.
106
107                 '
108               label: BGPVPN extensions
109               type: checkbox
110               value: false
111               weight: 15
112             enable_l3_odl:
113               label: Use ODL to manage L3 traffic
114               restrictions:
115               - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation
116                   type.
117               - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign
118                   public network to all nodes
119               type: checkbox
120               value: true
121               weight: 12
122             enable_sfc:
123               label: SFC features
124               type: checkbox
125               value: false
126               weight: 13
127             metadata:
128               default_credentials:
129                 password: admin
130                 user: admin
131               hot_pluggable: false
132               jetty_port: 8181
133               odl_features:
134                 cluster:
135                 - odl-jolokia
136                 default:
137                 - config
138                 - standard
139                 - region
140                 - package
141                 - kar
142                 - ssh
143                 - management
144                 gcr:
145                 - odl-groupbasedpolicy-ovssfc
146                 ncr:
147                 - odl-ovsdb-sfc
148                 - odl-ovsdb-sfc-rest
149                 odl-default:
150                 - odl-restconf-all
151                 - odl-aaa-authn
152                 - odl-dlux-all
153                 ovs:
154                 - odl-ovsdb-openstack
155                 sfc:
156                 - odl-sfc-model
157                 - odl-sfc-provider
158                 - odl-sfc-provider-rest
159                 - odl-sfc-sb-rest
160                 - odl-sfc-ui
161                 - odl-sfc-netconf
162                 - odl-sfc-ovs
163                 - odl-sfcofl2
164                 vpn:
165                 - odl-vpnservice-openstack
166               # plugin_id: Assigned during installation
167               plugin_version: 0.9.0
168               restrictions:
169               - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight
170             odl_v2:
171               description: V2 version is considered as experimental
172               label: Use V2 ML2 driver
173               type: checkbox
174               value: true
175               weight: 17
176             rest_api_port:
177               description: Port on which ODL REST API will be available.
178               label: Port number
179               regex:
180                 error: Invalid port number
181                 source: ^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$
182               type: text
183               value: '8282'
184               weight: 40
185             sfc_class:
186               description: 'Classifier determines what traffic needs to be chained based
187                 on policy based on yang model. The OpenDayLight actually supports the
188                 OVSDB NetVirt and the GBP classifier in case of SFC.
189
190                 '
191               label: Classifier used by SFC
192               restrictions:
193               - action: hide
194                 condition: settings:opendaylight.enable_sfc.value == false
195               type: select
196               value: ncr
197               values:
198               - data: ncr
199                 label: NetVirt
200               - data: gcr
201                 label: GBP
202               weight: 14
203           weight: 70
204
205 dha-override-config:
206   nodes:
207   - id: 1
208     libvirtName: controller1
209     libvirtTemplate: templates/virtual_environment/vms/controller.xml
210   - id: 2
211     libvirtName: controller2
212     libvirtTemplate: templates/virtual_environment/vms/controller.xml
213   - id: 3
214     libvirtName: controller3
215     libvirtTemplate: templates/virtual_environment/vms/controller.xml
216   - id: 4
217     libvirtName: compute1
218     libvirtTemplate: templates/virtual_environment/vms/compute.xml
219   - id: 5
220     libvirtName: compute2
221     libvirtTemplate: templates/virtual_environment/vms/compute.xml
222   - id: 6
223     libvirtName: fuel-master
224     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
225     isFuel: yes
226     username: root
227     password: r00tme
228
229 ##############################################################################
230 # The verification pipeline may populate the section below with arbitrary
231 # testing information, which post deploy can be retreived from the fuel master:
232 # /root/deploy-config.yaml
233 test: