Scenario uplift to Fuel8
[fuel.git] / deploy / scenario / no-ha_onos_heat_ceilometer_scenario_0.0.2.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: ONOS No-HA deployment
25    version: 0.0.2
26    created: Jan 10 2016
27    comment: ONOS No HA with Ceph, Ceilometer and Heat
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: onos
36      module-config-name: fuel-onos
37      module-config-version: 0.0.1
38      module-config-override:
39        # Module config overrides
40        public_eth:
41          value: 'eth3'
42
43 ##############################################################################
44 # By editing the override-config sections below, you can override arbitrary
45 # configuration name-space settings
46 dea-override-config:
47   environment:
48     mode: ha
49     net_segment_type: tun
50     name: onos_no-ha
51
52   wanted_release: Kilo on Ubuntu 14.04
53   nodes:
54   - id: 1
55     interfaces: interfaces_1
56     role: mongo,controller,onos
57     transformations: transformations_1
58   - id: 2
59     interfaces: interfaces_1
60     role: ceph-osd,compute
61     transformations: transformations_2
62   - id: 3
63     interfaces: interfaces_1
64     role: ceph-osd,compute
65     transformations: transformations_2
66   - id: 4
67     interfaces: interfaces_1
68     role: ceph-osd,compute
69     transformations: transformations_2
70
71 # Unique network transformation for ONOS deployment
72   transformations_2:
73     transformations:
74     - action: add-br
75       name: br-fw-admin
76     - action: add-br
77       name: br-mgmt
78     - action: add-br
79       name: br-storage
80     - action: add-br
81       name: br-mesh
82     - action: add-port
83       bridge: br-fw-admin
84       name: eth0
85     - action: add-port
86       bridge: br-mgmt
87       name: eth0.101
88     - action: add-port
89       bridge: br-storage
90       name: eth1.102
91     - action: add-port
92       bridge: br-mesh
93       name: eth2.103
94
95   settings:
96     editable:
97       common:
98         libvirt_type:
99           # ONOS requires QEMU
100           value: qemu
101       public_network_assignment:
102         assign_to_all_nodes:
103           # ONOS should not have public network assignment to all nodes
104           value: false
105       additional_components:
106         ceilometer:
107           description: If selected, Ceilometer component will be installed
108           label: Install Ceilometer
109           type: checkbox
110           value: true
111           weight: 40
112         heat:
113           description: ''
114           label: ''
115           type: hidden
116           value: true
117           weight: 30
118         metadata:
119           label: Additional Components
120           weight: 20
121       storage:
122         ephemeral_ceph:
123           description: Configures Nova to store ephemeral volumes in RBD. This works
124             best if Ceph is enabled for volumes and images, too. Enables live migration
125             of all types of Ceph backed VMs (without this option, live migration will
126             only work with VMs launched from Cinder volumes).
127           label: Ceph RBD for ephemeral volumes (Nova)
128           type: checkbox
129           value: true
130           weight: 75
131         images_ceph:
132           description: Configures Glance to use the Ceph RBD backend to store images.
133             If enabled, this option will prevent Swift from installing.
134           label: Ceph RBD for images (Glance)
135           restrictions:
136           - settings:storage.images_vcenter.value == true: Only one Glance backend could
137               be selected.
138           type: checkbox
139           value: true
140           weight: 30
141
142 dha-override-config:
143 #  disks:
144 #    contrail: 500G
145
146 ##############################################################################
147 # The verification pipeline may populate the section below with arbitrary
148 # testing information, which post deploy can be retreived from the fuel master:
149 # /root/deploy-config.yaml
150 test: