Merge "KVMFORNFV: Implementing kvmfornfv Scenarios."
[fuel.git] / deploy / scenario / ha_nfv-kvm_nfv-ovs-dpdk-bar_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 ###############################################################################
11 # Description:
12 # This .yaml configuration file defines the configuration of the fuel
13 # deployment and is passed as an argument to deploy.sh
14 # eg. deploy.sh -c https://artifact.opnfv.org/fuel/config
15 # This will make build.sh fetch this configuration file and configure the
16 # deployment accordingly.
17 # After the deployment, a copy of this file gets uploaded to fuel:
18 # /root/deploy-config.yaml, as well as the sha-1 sum of this file:
19 # /root/deploy-config.sha1
20 ##############################################################################
21
22 ##############################################################################
23 # deployment configuration meta-data
24 deployment-scenario-metadata:
25    title: NFV KVM OVS-DPDK and Barometer HA deployment
26    version: 0.0.1
27    created: Feb 6 2016
28    comment: NFV KVM OVS-DPDK and Barometer
29
30 ##############################################################################
31 # Stack extentions are opnfv added value features in form of a fuel-plugin
32 # plug-ins listed below will be enabled and configured according to the
33 # <module-config-base-uri>/<module-config-name>_<module-config-version>.yaml
34 # It does so by copying the config file to the local plugin config directory
35 stack-extensions:
36    - module: fuel-plugin-kvm
37      module-config-name: fuel-nfvkvm
38      module-config-version: 1.0.0
39      module-config-override:
40        # Module config overrides
41
42 stack-extensions:
43    - module: fuel-plugin-collectd-ceilometer
44      module-config-name: fuel-barometer
45      module-config-version: 1.0.0
46      module-config-override:
47        # Module config overrides
48
49 ##############################################################################
50 # By editing the override-config sections below, you can override arbitrary
51 # configuration name-space settings
52 dea-override-config:
53   fuel:
54     FEATURE_GROUPS:
55     - experimental
56   environment:
57     net_segment_type: vlan
58   nodes:
59   - id: 1
60     interfaces: interfaces_vlan
61     role: controller
62   - id: 2
63     interfaces: interfaces_vlan
64     role: mongo,controller
65   - id: 3
66     interfaces: interfaces_vlan
67     role: ceph-osd,controller
68   - id: 4
69     interfaces: interfaces_dpdk
70     role: ceph-osd,compute
71     attributes: attributes_1
72   - id: 5
73     interfaces: interfaces_dpdk
74     role: ceph-osd,compute
75     attributes: attributes_1
76
77   attributes_1:
78     hugepages:
79       dpdk:
80         value: 1024
81       nova:
82         value:
83           '2048': 1024
84
85   network:
86     networking_parameters:
87       segmentation_type: vlan
88       vlan_range:
89       - 1000
90       - 1030
91     networks:
92     - cidr: null
93       gateway: null
94       ip_ranges: []
95       meta:
96         configurable: false
97         map_priority: 2
98         name: private
99         neutron_vlan_range: true
100         notation: null
101         render_addr_mask: null
102         render_type: null
103         seg_type: vlan
104         use_gateway: false
105         vlan_start: null
106       name: private
107       vlan_start: null
108
109   settings:
110     editable:
111       storage:
112         ephemeral_ceph:
113           description: Configures Nova to store ephemeral volumes in RBD. This works
114             best if Ceph is enabled for volumes and images, too. Enables live migration
115             of all types of Ceph backed VMs (without this option, live migration will
116             only work with VMs launched from Cinder volumes).
117           label: Ceph RBD for ephemeral volumes (Nova)
118           type: checkbox
119           value: true
120           weight: 75
121         images_ceph:
122           description: Configures Glance to use the Ceph RBD backend to store images.
123             If enabled, this option will prevent Swift from installing.
124           label: Ceph RBD for images (Glance)
125           restrictions:
126           - settings:storage.images_vcenter.value == true: Only one Glance backend could
127               be selected.
128           type: checkbox
129           value: true
130           weight: 30
131
132 dha-override-config:
133   nodes:
134   - id: 1
135     libvirtName: controller1
136     libvirtTemplate: templates/virtual_environment/vms/controller.xml
137   - id: 2
138     libvirtName: controller2
139     libvirtTemplate: templates/virtual_environment/vms/controller.xml
140   - id: 3
141     libvirtName: controller3
142     libvirtTemplate: templates/virtual_environment/vms/controller.xml
143   - id: 4
144     libvirtName: compute1
145     libvirtTemplate: templates/virtual_environment/vms/compute.xml
146   - id: 5
147     libvirtName: compute2
148     libvirtTemplate: templates/virtual_environment/vms/compute.xml
149   - id: 6
150     libvirtName: fuel-master
151     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
152     isFuel: yes
153     username: root
154     password: r00tme
155
156 ##############################################################################
157 # The verification pipeline may populate the section below with arbitrary
158 # testing information, which post deploy can be retreived from the fuel master:
159 # /root/deploy-config.yaml
160 test: