Merge "Uplift scenario files to Liberty" into stable/brahmaputra
[fuel.git] / deploy / scenario / ha_odl-l3_heat_ceilometer_scenario_0.0.4.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.4
26    created: Jan 28 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 # 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           - enable_gbp:
91               label: GBP features
92               type: checkbox
93               value: false
94               weight: 14
95             enable_l3_odl:
96               label: Use ODL to manage L3 traffic
97               restrictions:
98               - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type.
99               - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes
100               type: checkbox
101               value: true
102               weight: 12
103             enable_sfc:
104               label: SFC features
105               type: checkbox
106               value: false
107               weight: 13
108             metadata:
109               always_editable: false
110               odl_features:
111                 default:
112                 - config
113                 - standard
114                 - region
115                 - package
116                 - kar
117                 - ssh
118                 - management
119                 gbp:
120                 - odl-groupbasedpolicy-base
121                 - odl-groupbasedpolicy-ofoverlay
122                 ovs:
123                 - odl-ovsdb-openstack
124                 - odl-restconf-all
125                 - odl-aaa-authn
126                 - odl-dlux-all
127                 sfc:
128                 - odl-sfc-core
129                 - odl-sfc-sb-rest
130                 - odl-sfc-ui
131                 - odl-sfc-netconf
132                 - odl-sfc-ovs
133                 - odl-sfcofl2
134                 - odl-sfc-test-consumer
135                 vpn:
136                 - odl-vpnservice-api
137                 - odl-vpnservice-impl
138                 - odl-vpnservice-impl-rest
139                 - odl-vpnservice-impl-ui
140                 - odl-vpnservice-core
141                 - odl-vpnservice-openstack
142               # plugin_id: Assigned during installation
143               plugin_version: 0.8.0
144               restrictions:
145               - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight
146             rest_api_port:
147               description: Port on which ODL REST API will be available.
148               label: Port number
149               regex:
150                 error: Invalid port number
151                 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])$
152               type: text
153               value: '8282'
154               weight: 40
155           weight: 70
156
157 dha-override-config:
158   nodes:
159   - id: 1
160     libvirtName: controller1
161     libvirtTemplate: templates/virtual_environment/vms/controller.xml
162   - id: 2
163     libvirtName: controller2
164     libvirtTemplate: templates/virtual_environment/vms/controller.xml
165   - id: 3
166     libvirtName: controller3
167     libvirtTemplate: templates/virtual_environment/vms/controller.xml
168   - id: 4
169     libvirtName: compute1
170     libvirtTemplate: templates/virtual_environment/vms/compute.xml
171   - id: 5
172     libvirtName: compute2
173     libvirtTemplate: templates/virtual_environment/vms/compute.xml
174   - id: 6
175     libvirtName: fuel-master
176     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
177     isFuel: yes
178     username: root
179     password: r00tme
180
181 ##############################################################################
182 # The verification pipeline may populate the section below with arbitrary
183 # testing information, which post deploy can be retreived from the fuel master:
184 # /root/deploy-config.yaml
185 test: