Merge "ISO: Use --joliet-long names."
[fuel.git] / deploy / scenario / no-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 No-HA deployment
25    version: 0.0.4
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: mongo,controller,opendaylight
59     transformations: transformations_1
60   - id: 2
61     interfaces: interfaces_1
62     role: ceph-osd,compute
63     transformations: transformations_1
64   - id: 3
65     interfaces: interfaces_1
66     role: ceph-osd,compute
67     transformations: transformations_1
68   - id: 4
69     interfaces: interfaces_1
70     role: ceph-osd,compute
71     transformations: transformations_1
72   settings:
73     editable:
74       public_network_assignment:
75         assign_to_all_nodes:
76           value: true
77       opendaylight:
78         metadata:
79           # chosen_id: Assigned during installation
80           class: plugin
81           default: false
82           enabled: true
83           label: OpenDaylight plugin
84           toggleable: true
85           versions:
86           - bgpvpn_gateway:
87               description: Define the default gateway for BGPVPN
88               label: Default Gateway
89               regex:
90                 error: Invalid ip number
91                 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]?)$
92               restrictions:
93               - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN
94                   is enabled.
95               type: text
96               value: 0.0.0.0
97               weight: 16
98             enable_bgpvpn:
99               description: 'This enables the bgpvpn extension of neutron togethere with
100                 the corresponding sdnvpn features in odl. This feature will disable the
101                 standart ovsdb feature from ODL.
102
103                 '
104               label: BGPVPN extensions
105               type: checkbox
106               value: false
107               weight: 15
108             enable_l3_odl:
109               label: Use ODL to manage L3 traffic
110               restrictions:
111               - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation
112                   type.
113               - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign
114                   public network to all nodes
115               type: checkbox
116               value: true
117               weight: 12
118             enable_sfc:
119               label: SFC features
120               type: checkbox
121               value: false
122               weight: 13
123             metadata:
124               default_credentials:
125                 password: admin
126                 user: admin
127               hot_pluggable: false
128               jetty_port: 8181
129               odl_features:
130                 cluster:
131                 - odl-jolokia
132                 default:
133                 - config
134                 - standard
135                 - region
136                 - package
137                 - kar
138                 - ssh
139                 - management
140                 gcr:
141                 - odl-groupbasedpolicy-ovssfc
142                 ncr:
143                 - odl-ovsdb-sfc
144                 - odl-ovsdb-sfc-rest
145                 odl-default:
146                 - odl-restconf-all
147                 - odl-aaa-authn
148                 - odl-dlux-all
149                 ovs:
150                 - odl-ovsdb-openstack
151                 sfc:
152                 - odl-sfc-model
153                 - odl-sfc-provider
154                 - odl-sfc-provider-rest
155                 - odl-sfc-sb-rest
156                 - odl-sfc-ui
157                 - odl-sfc-netconf
158                 - odl-sfc-ovs
159                 - odl-sfcofl2
160                 vpn:
161                 - odl-vpnservice-openstack
162               # plugin_id: Assigned during installation
163               plugin_version: 0.9.0
164               restrictions:
165               - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight
166             odl_v2:
167               description: V2 version is considered as experimental
168               label: Use V2 ML2 driver
169               type: checkbox
170               value: true
171               weight: 17
172             rest_api_port:
173               description: Port on which ODL REST API will be available.
174               label: Port number
175               regex:
176                 error: Invalid port number
177                 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])$
178               type: text
179               value: '8282'
180               weight: 40
181             sfc_class:
182               description: 'Classifier determines what traffic needs to be chained based
183                 on policy based on yang model. The OpenDayLight actually supports the
184                 OVSDB NetVirt and the GBP classifier in case of SFC.
185
186                 '
187               label: Classifier used by SFC
188               restrictions:
189               - action: hide
190                 condition: settings:opendaylight.enable_sfc.value == false
191               type: select
192               value: ncr
193               values:
194               - data: ncr
195                 label: NetVirt
196               - data: gcr
197                 label: GBP
198               weight: 14
199           weight: 70
200
201 dha-override-config:
202 #  disks:
203 #    contrail: 500G
204
205 ##############################################################################
206 # The verification pipeline may populate the section below with arbitrary
207 # testing information, which post deploy can be retreived from the fuel master:
208 # /root/deploy-config.yaml
209 test: