Merge "Filter out non-cluster nodes"
[fuel.git] / deploy / scenario / ha_odl-l2_sfc_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-L2 SFC HA deployment
25    version: 0.0.1
26    created: Feb 10 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 stack-extensions:
35   - module: fuel-plugin-ovs
36     module-config-name: fuel-nshovs
37     module-config-version: 0.9.0
38     module-config-override:
39       metadata:
40         versions:
41           - install_nsh:
42               value: true
43             metadata:
44               plugin_version: 0.9.0
45   - module: opendaylight
46     module-config-name: fuel-odl
47     module-config-version: 0.9.0
48     module-config-override:
49       metadata:
50         versions:
51           - enable_sfc:
52               value: true
53             metadata:
54               plugin_version: 0.9.0
55 # Note that the module substitionion does not support arrays
56 # This is a quick fix
57 #   - module: opendaylight
58 #     module-config-name: fuel-odl
59 #     module-config-version: 0.0.2
60 #     module-config-override:
61        # Module config overrides
62 #       rest_api_port:
63 #         value: '8282'
64 #       enable_gbp:
65 #         value: false
66 #       enable_l3_odl:
67 #         value: false
68 #       enable_sfc:
69 #         value: false
70
71 ##############################################################################
72 # By editing the override-config sections below, you can override arbitrary
73 # configuration name-space settings
74 dea-override-config:
75   nodes:
76   - id: 1
77     interfaces: interfaces_1
78     role: controller,opendaylight
79     transformations: transformations_1
80   - id: 2
81     interfaces: interfaces_1
82     role: mongo,controller
83     transformations: transformations_1
84   - id: 3
85     interfaces: interfaces_1
86     role: ceph-osd,controller
87     transformations: transformations_1
88   - id: 4
89     interfaces: interfaces_1
90     role: ceph-osd,compute
91     transformations: transformations_1
92   - id: 5
93     interfaces: interfaces_1
94     role: ceph-osd,compute
95     transformations: transformations_1
96 dha-override-config:
97   nodes:
98   - id: 1
99     libvirtName: controller1
100     libvirtTemplate: templates/virtual_environment/vms/controller.xml
101   - id: 2
102     libvirtName: controller2
103     libvirtTemplate: templates/virtual_environment/vms/controller.xml
104   - id: 3
105     libvirtName: controller3
106     libvirtTemplate: templates/virtual_environment/vms/controller.xml
107   - id: 4
108     libvirtName: compute1
109     libvirtTemplate: templates/virtual_environment/vms/compute.xml
110   - id: 5
111     libvirtName: compute2
112     libvirtTemplate: templates/virtual_environment/vms/compute.xml
113   - id: 6
114     libvirtName: fuel-master
115     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
116     isFuel: yes
117     username: root
118     password: r00tme
119
120 ##############################################################################
121 # The verification pipeline may populate the section below with arbitrary
122 # testing information, which post deploy can be retreived from the fuel master:
123 # /root/deploy-config.yaml
124 test: