Merge "KVMFORNFV: Updating the copyright information for kvmfornfv scenarios."
[fuel.git] / deploy / scenario / ha_nfv-kvm_nfv-ovs-dpdk-bar_heat_ceilometer_scenario.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Intel Corp. and others.
3 # navyax.bathula@intel.com,mpolenchuk@mirantis.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 2017
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     networks:
89     - cidr: null
90       gateway: null
91       ip_ranges: []
92       meta:
93         configurable: false
94         map_priority: 2
95         name: private
96         neutron_vlan_range: true
97         notation: null
98         render_addr_mask: null
99         render_type: null
100         seg_type: vlan
101         use_gateway: false
102         vlan_start: null
103       name: private
104       vlan_start: null
105
106   settings:
107     editable:
108       storage:
109         ephemeral_ceph:
110           description: Configures Nova to store ephemeral volumes in RBD. This works
111             best if Ceph is enabled for volumes and images, too. Enables live migration
112             of all types of Ceph backed VMs (without this option, live migration will
113             only work with VMs launched from Cinder volumes).
114           label: Ceph RBD for ephemeral volumes (Nova)
115           type: checkbox
116           value: true
117           weight: 75
118         images_ceph:
119           description: Configures Glance to use the Ceph RBD backend to store images.
120             If enabled, this option will prevent Swift from installing.
121           label: Ceph RBD for images (Glance)
122           restrictions:
123           - settings:storage.images_vcenter.value == true: Only one Glance backend could
124               be selected.
125           type: checkbox
126           value: true
127           weight: 30
128
129 dha-override-config:
130   nodes:
131   - id: 1
132     libvirtName: controller1
133     libvirtTemplate: templates/virtual_environment/vms/controller.xml
134   - id: 2
135     libvirtName: controller2
136     libvirtTemplate: templates/virtual_environment/vms/controller.xml
137   - id: 3
138     libvirtName: controller3
139     libvirtTemplate: templates/virtual_environment/vms/controller.xml
140   - id: 4
141     libvirtName: compute1
142     libvirtTemplate: templates/virtual_environment/vms/compute.xml
143   - id: 5
144     libvirtName: compute2
145     libvirtTemplate: templates/virtual_environment/vms/compute.xml
146   - id: 6
147     libvirtName: fuel-master
148     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
149     isFuel: yes
150     username: root
151     password: r00tme
152
153 ##############################################################################
154 # The verification pipeline may populate the section below with arbitrary
155 # testing information, which post deploy can be retreived from the fuel master:
156 # /root/deploy-config.yaml
157 test: