Merge "Update for fuel10 onos plugin"
[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    - module: fuel-plugin-collectd-ceilometer
42      module-config-name: fuel-barometer
43      module-config-version: 1.0.0
44      module-config-override:
45        # Module config overrides
46
47 ##############################################################################
48 # By editing the override-config sections below, you can override arbitrary
49 # configuration name-space settings
50 dea-override-config:
51   fuel:
52     FEATURE_GROUPS:
53     - experimental
54   environment:
55     net_segment_type: vlan
56   nodes:
57   - id: 1
58     interfaces: interfaces_vlan
59     role: controller
60   - id: 2
61     interfaces: interfaces_vlan
62     role: mongo,controller
63   - id: 3
64     interfaces: interfaces_vlan
65     role: ceph-osd,controller
66   - id: 4
67     interfaces: interfaces_dpdk
68     role: ceph-osd,compute
69     attributes: attributes_1
70   - id: 5
71     interfaces: interfaces_dpdk
72     role: ceph-osd,compute
73     attributes: attributes_1
74
75   attributes_1:
76     hugepages:
77       dpdk:
78         value: 1024
79       nova:
80         value:
81           '2048': 1024
82
83   network:
84     networking_parameters:
85       segmentation_type: vlan
86     networks:
87     - cidr: null
88       gateway: null
89       ip_ranges: []
90       meta:
91         configurable: false
92         map_priority: 2
93         name: private
94         neutron_vlan_range: true
95         notation: null
96         render_addr_mask: null
97         render_type: null
98         seg_type: vlan
99         use_gateway: false
100         vlan_start: null
101       name: private
102       vlan_start: null
103
104   settings:
105     editable:
106       storage:
107         ephemeral_ceph:
108           description: Configures Nova to store ephemeral volumes in RBD. This works
109             best if Ceph is enabled for volumes and images, too. Enables live migration
110             of all types of Ceph backed VMs (without this option, live migration will
111             only work with VMs launched from Cinder volumes).
112           label: Ceph RBD for ephemeral volumes (Nova)
113           type: checkbox
114           value: true
115           weight: 75
116         images_ceph:
117           description: Configures Glance to use the Ceph RBD backend to store images.
118             If enabled, this option will prevent Swift from installing.
119           label: Ceph RBD for images (Glance)
120           restrictions:
121           - settings:storage.images_vcenter.value == true: Only one Glance backend could
122               be selected.
123           type: checkbox
124           value: true
125           weight: 30
126
127 dha-override-config:
128   nodes:
129   - id: 1
130     libvirtName: controller1
131     libvirtTemplate: templates/virtual_environment/vms/controller.xml
132   - id: 2
133     libvirtName: controller2
134     libvirtTemplate: templates/virtual_environment/vms/controller.xml
135   - id: 3
136     libvirtName: controller3
137     libvirtTemplate: templates/virtual_environment/vms/controller.xml
138   - id: 4
139     libvirtName: compute1
140     libvirtTemplate: templates/virtual_environment/vms/compute.xml
141   - id: 5
142     libvirtName: compute2
143     libvirtTemplate: templates/virtual_environment/vms/compute.xml
144   - id: 6
145     libvirtName: fuel-master
146     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
147     isFuel: yes
148     username: root
149     password: r00tme
150
151 ##############################################################################
152 # The verification pipeline may populate the section below with arbitrary
153 # testing information, which post deploy can be retreived from the fuel master:
154 # /root/deploy-config.yaml
155 test: