KVMFORNFV: Implementing kvmfornfv Scenarios.
[fuel.git] / deploy / scenario / no-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 No-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: mongo,controller
55   - id: 2
56     interfaces: interfaces_dpdk
57     role: ceph-osd,compute
58     attributes: attributes_1
59   - id: 3
60     interfaces: interfaces_dpdk
61     role: ceph-osd,compute
62     attributes: attributes_1
63   - id: 4
64     interfaces: interfaces_dpdk
65     role: ceph-osd,compute
66     attributes: attributes_1
67
68   attributes_1:
69     hugepages:
70       dpdk:
71         value: 128
72       nova:
73         value:
74           '2048': 1024
75
76   network:
77     networking_parameters:
78       segmentation_type: vlan
79       vlan_range:
80       - 1000
81       - 1030
82     networks:
83     - cidr: null
84       gateway: null
85       ip_ranges: []
86       meta:
87         configurable: false
88         map_priority: 2
89         name: private
90         neutron_vlan_range: true
91         notation: null
92         render_addr_mask: null
93         render_type: null
94         seg_type: vlan
95         use_gateway: false
96         vlan_start: null
97       name: private
98       vlan_start: null
99
100   settings:
101     editable:
102       storage:
103         ephemeral_ceph:
104           description: Configures Nova to store ephemeral volumes in RBD. This works
105             best if Ceph is enabled for volumes and images, too. Enables live migration
106             of all types of Ceph backed VMs (without this option, live migration will
107             only work with VMs launched from Cinder volumes).
108           label: Ceph RBD for ephemeral volumes (Nova)
109           type: checkbox
110           value: true
111           weight: 75
112         images_ceph:
113           description: Configures Glance to use the Ceph RBD backend to store images.
114             If enabled, this option will prevent Swift from installing.
115           label: Ceph RBD for images (Glance)
116           restrictions:
117           - settings:storage.images_vcenter.value == true: Only one Glance backend could
118               be selected.
119           type: checkbox
120           value: true
121           weight: 30
122         iser:
123           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.'
124           label: iSER protocol for volumes (Cinder)
125           restrictions:
126           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
127           - action: hide
128             condition: not ('experimental' in version:feature_groups)
129           type: checkbox
130           value: false
131           weight: 11
132
133 dha-override-config:
134 #  disks:
135 #    contrail: 500G
136
137 ##############################################################################
138 # The verification pipeline may populate the section below with arbitrary
139 # testing information, which post deploy can be retreived from the fuel master:
140 # /root/deploy-config.yaml
141 test: