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