Add license headers where missing
[fuel.git] / mcp / reclass / classes / cluster / virtual-mcp-ocata-common / openstack_compute.yml
1 ##############################################################################
2 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 classes:
10   - system.linux.storage.loopback
11   - service.nfs.client
12   - system.nova.compute.single
13   - service.neutron.compute.single
14   - service.cinder.volume.single
15   - system.cinder.volume.backend.lvm
16   - system.ceilometer.agent.cluster
17   - system.ceilometer.client.nova_compute
18   - system.ceilometer.client.cinder_volume
19 parameters:
20   _param:
21     primary_interface: ${_param:opnfv_fn_vm_secondary_interface}
22     tenant_interface: ${_param:opnfv_fn_vm_tertiary_interface}
23     external_interface: ${_param:opnfv_fn_vm_quaternary_interface}
24     interface_mtu: 9000
25     linux_system_codename: xenial
26     loopback_device_size: 20
27   nova:
28     compute:
29       libvirt_service: libvirtd
30       libvirt_bin: /etc/default/libvirtd
31       vncproxy_url: http://${_param:cluster_vip_address}:6080
32       network:
33         region: ${_param:openstack_region}
34         user: neutron
35         tenant: service
36         password: ${_param:keystone_neutron_password}
37   neutron:
38     compute:
39       notification: true
40       agent_mode: ${_param:neutron_compute_agent_mode}
41       message_queue:
42         host: ${_param:openstack_control_address}
43       metadata:
44         host: ${_param:openstack_control_address}
45   cinder:
46     volume:
47       database:
48         host: ${_param:cluster_local_address}
49       identity:
50         host: ${_param:cluster_local_address}
51       glance:
52         host: ${_param:cluster_local_address}
53       message_queue:
54         host: ${_param:cluster_local_address}
55   nfs:
56     client:
57       mount:
58         nfs:
59           path: /var/lib/nova/instances
60           fstype: nfs
61           device: ${_param:openstack_control_address}:/srv/nova/instances
62   linux:
63     system:
64       repo:
65         uca:
66           source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
67           architectures: amd64
68           key_id: EC4926EA
69           key_server: keyserver.ubuntu.com
70       kernel:
71         sysctl:
72           vm.dirty_ratio: 10
73           vm.dirty_background_ratio: 5
74     network:
75       bridge: openvswitch
76       interface:
77         dhcp_int:
78           enabled: true
79           name: ${_param:opnfv_fn_vm_primary_interface}
80           proto: dhcp
81           type: eth
82           mtu: ${_param:interface_mtu}
83         primary_interface:
84           enabled: true
85           name: ${_param:primary_interface}
86           proto: manual
87           type: eth
88         tenant_interface:
89           enabled: true
90           name: ${_param:tenant_interface}
91           mtu: ${_param:interface_mtu}
92           proto: manual
93           type: eth
94         br-mgmt:
95           enabled: true
96           type: bridge
97           proto: static
98           address: ${_param:single_address}
99           netmask: 255.255.255.0
100           use_interfaces:
101             - ${_param:primary_interface}