Align hugepages size with dpdk reqirements
[fuel.git] / deploy / scenario / ha_nfv-ovs_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: NFV OVS HA deployment
25    version: 1.0.0
26    created: Jul 12 2016
27    comment: Rebased to Fuel10
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    #
36    # Disable this plugin since Fuel already has newer
37    # version of openvswitch out of the box
38    #
39    # - module: fuel-plugin-ovs
40    #   module-config-name: fuel-nshovs
41    #   module-config-version: 1.0.0
42    #   module-config-override:
43    #     metadata:
44    #       versions:
45    #         - install_dpdk:
46    #             value: true
47    #           metadata:
48    #             plugin_version: 1.0.0
49
50 ##############################################################################
51 # By editing the override-config sections below, you can override arbitrary
52 # configuration name-space settings
53 dea-override-config:
54   fuel:
55     FEATURE_GROUPS:
56     - experimental
57   environment:
58     net_segment_type: vlan
59   nodes:
60   - id: 1
61     interfaces: interfaces_vlan
62     role: controller
63   - id: 2
64     interfaces: interfaces_vlan
65     role: mongo,controller
66   - id: 3
67     interfaces: interfaces_vlan
68     role: ceph-osd,controller
69   - id: 4
70     interfaces: interfaces_dpdk
71     role: ceph-osd,compute
72     attributes: attributes_1
73   - id: 5
74     interfaces: interfaces_dpdk
75     role: ceph-osd,compute
76     attributes: attributes_1
77
78   attributes_1:
79     hugepages:
80       dpdk:
81         value: 1024
82       nova:
83         value:
84           '2048': 1024
85
86   network:
87     networking_parameters:
88       segmentation_type: vlan
89       vlan_range:
90       - 1000
91       - 1030
92     networks:
93     - cidr: null
94       gateway: null
95       ip_ranges: []
96       meta:
97         configurable: false
98         map_priority: 2
99         name: private
100         neutron_vlan_range: true
101         notation: null
102         render_addr_mask: null
103         render_type: null
104         seg_type: vlan
105         use_gateway: false
106         vlan_start: null
107       name: private
108       vlan_start: null
109
110 dha-override-config:
111   nodes:
112   - id: 1
113     libvirtName: controller1
114     libvirtTemplate: templates/virtual_environment/vms/controller.xml
115   - id: 2
116     libvirtName: controller2
117     libvirtTemplate: templates/virtual_environment/vms/controller.xml
118   - id: 3
119     libvirtName: controller3
120     libvirtTemplate: templates/virtual_environment/vms/controller.xml
121   - id: 4
122     libvirtName: compute1
123     libvirtTemplate: templates/virtual_environment/vms/compute.xml
124   - id: 5
125     libvirtName: compute2
126     libvirtTemplate: templates/virtual_environment/vms/compute.xml
127   - id: 6
128     libvirtName: fuel-master
129     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
130     isFuel: yes
131     username: root
132     password: r00tme
133
134 ##############################################################################
135 # The verification pipeline may populate the section below with arbitrary
136 # testing information, which post deploy can be retreived from the fuel master:
137 # /root/deploy-config.yaml
138 test: