Align hugepages size with dpdk reqirements
[fuel.git] / deploy / scenario / ha_nfv-kvm_nfv-ovs-dpdk_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 and OVS-DPDK HA deployment
26    version: 0.0.1
27    created: Dec 20 2016
28    comment: NFV KVM and OVS-DPDK
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 ##############################################################################
43 # By editing the override-config sections below, you can override arbitrary
44 # configuration name-space settings
45 dea-override-config:
46   fuel:
47     FEATURE_GROUPS:
48     - experimental
49   environment:
50     net_segment_type: vlan
51   nodes:
52   - id: 1
53     interfaces: interfaces_vlan
54     role: controller
55   - id: 2
56     interfaces: interfaces_vlan
57     role: mongo,controller
58   - id: 3
59     interfaces: interfaces_vlan
60     role: ceph-osd,controller
61   - id: 4
62     interfaces: interfaces_dpdk
63     role: ceph-osd,compute
64     attributes: attributes_1
65   - id: 5
66     interfaces: interfaces_dpdk
67     role: ceph-osd,compute
68     attributes: attributes_1
69
70   attributes_1:
71     hugepages:
72       dpdk:
73         value: 1024
74       nova:
75         value:
76           '2048': 1024
77
78   network:
79     networking_parameters:
80       segmentation_type: vlan
81       vlan_range:
82       - 1000
83       - 1030
84     networks:
85     - cidr: null
86       gateway: null
87       ip_ranges: []
88       meta:
89         configurable: false
90         map_priority: 2
91         name: private
92         neutron_vlan_range: true
93         notation: null
94         render_addr_mask: null
95         render_type: null
96         seg_type: vlan
97         use_gateway: false
98         vlan_start: null
99       name: private
100       vlan_start: null
101
102   settings:
103     editable:
104       storage:
105         ephemeral_ceph:
106           description: Configures Nova to store ephemeral volumes in RBD. This works
107             best if Ceph is enabled for volumes and images, too. Enables live migration
108             of all types of Ceph backed VMs (without this option, live migration will
109             only work with VMs launched from Cinder volumes).
110           label: Ceph RBD for ephemeral volumes (Nova)
111           type: checkbox
112           value: true
113           weight: 75
114         images_ceph:
115           description: Configures Glance to use the Ceph RBD backend to store images.
116             If enabled, this option will prevent Swift from installing.
117           label: Ceph RBD for images (Glance)
118           restrictions:
119           - settings:storage.images_vcenter.value == true: Only one Glance backend could
120               be selected.
121           type: checkbox
122           value: true
123           weight: 30
124         iser:
125           description: 'High performance block storage: Cinder volumes over iSER protocol (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC, and will use a dedicated virtual function for the storage network.'
126           label: iSER protocol for volumes (Cinder)
127           restrictions:
128           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
129           - action: hide
130             condition: not ('experimental' in version:feature_groups)
131           type: checkbox
132           value: false
133           weight: 11
134
135 dha-override-config:
136   nodes:
137   - id: 1
138     libvirtName: controller1
139     libvirtTemplate: templates/virtual_environment/vms/controller.xml
140   - id: 2
141     libvirtName: controller2
142     libvirtTemplate: templates/virtual_environment/vms/controller.xml
143   - id: 3
144     libvirtName: controller3
145     libvirtTemplate: templates/virtual_environment/vms/controller.xml
146   - id: 4
147     libvirtName: compute1
148     libvirtTemplate: templates/virtual_environment/vms/compute.xml
149   - id: 5
150     libvirtName: compute2
151     libvirtTemplate: templates/virtual_environment/vms/compute.xml
152   - id: 6
153     libvirtName: fuel-master
154     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
155     isFuel: yes
156     username: root
157     password: r00tme
158
159 ##############################################################################
160 # The verification pipeline may populate the section below with arbitrary
161 # testing information, which post deploy can be retreived from the fuel master:
162 # /root/deploy-config.yaml
163 test: