Get user id without forking a shell.
[fuel.git] / deploy / scenario / no-ha_odl-l2_sfc_heat_ceilometer_scenario_0.0.1.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-L2-SFC No-HA deployment
25    version: 0.0.1
26    created: Feb 10 2016
27    comment: Fuel ODL-L2 SFC No HA with Ceph, Ceilometer and Heat Rebased for 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: nsh-ovs
36     module-config-name: fuel-nshovs
37     module-config-version: 0.0.1
38     module-config-override:
39
40 # Note that the module substitionion does not support arrays
41 # This is a quick fix
42 #   - module: opendaylight
43 #     module-config-name: fuel-odl
44 #     module-config-version: 0.0.2
45 #     module-config-override:
46 #       # Module config overrides
47 #       rest_api_port:
48 #         value: '8282'
49 #       enable_gbp:
50 #         value: false
51 #       enable_l3_odl:
52 #         value: false
53 #       enable_sfc:
54 #         value: false
55
56 ##############################################################################
57 # By editing the override-config sections below, you can override arbitrary
58 # configuration name-space settings
59 dea-override-config:
60
61   nodes:
62   - id: 1
63     interfaces: interfaces_1
64     role: mongo,controller,opendaylight
65     transformations: transformations_1
66   - id: 2
67     interfaces: interfaces_1
68     role: ceph-osd,compute
69     transformations: transformations_1
70   - id: 3
71     interfaces: interfaces_1
72     role: ceph-osd,compute
73     transformations: transformations_1
74   - id: 4
75     interfaces: interfaces_1
76     role: ceph-osd,compute
77     transformations: transformations_1
78   settings:
79     editable:
80       opendaylight:
81         metadata:
82           # chosen_id: Assigned during installation
83           class: plugin
84           default: false
85           enabled: true
86           label: OpenDaylight plugin
87           toggleable: true
88           versions:
89           - enable_gbp:
90               label: GBP features
91               type: checkbox
92               value: true
93               weight: 14
94             enable_l3_odl:
95               label: Use ODL to manage L3 traffic
96               restrictions:
97               - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type.
98               - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes
99               type: checkbox
100               value: false
101               weight: 12
102             enable_sfc:
103               label: SFC features
104               type: checkbox
105               value: true
106               weight: 13
107             metadata:
108               always_editable: false
109               odl_features:
110                 default:
111                 - config
112                 - standard
113                 - region
114                 - package
115                 - kar
116                 - ssh
117                 - management
118                 - odl-restconf-all
119                 gbp:
120                 - odl-groupbasedpolicy-neutronmapper
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-model
129                 - odl-sfc-provider
130                 - odl-sfc-provider-rest.
131                 - odl-sfc-sb-rest
132                 - odl-sfc-ui
133                 - odl-sfc-netconf
134                 - odl-sfc-ovs
135                 - odl-sfcofl2
136                 vpn:
137                 - odl-vpnservice-api
138                 - odl-vpnservice-impl
139                 - odl-vpnservice-impl-rest
140                 - odl-vpnservice-impl-ui
141                 - odl-vpnservice-core
142                 - odl-vpnservice-openstack
143               # plugin_id: Assigned during installation
144               plugin_version: 0.8.0
145               restrictions:
146               - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight
147             rest_api_port:
148               description: Port on which ODL REST API will be available.
149               label: Port number
150               regex:
151                 error: Invalid port number
152                 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])$
153               type: text
154               value: '8282'
155               weight: 40
156           weight: 70
157
158 dha-override-config:
159 #  disks:
160 #    contrail: 500G
161
162 ##############################################################################
163 # The verification pipeline may populate the section below with arbitrary
164 # testing information, which post deploy can be retreived from the fuel master:
165 # /root/deploy-config.yaml
166 test: