Merge "Auto Generated INFO.yaml file"
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-odl-noha / openstack / compute.yml.j2
1 ##############################################################################
2 # Copyright (c) 2018 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   - service.neutron.compute.single
11   - service.neutron.compute.opendaylight.single
12 {%- if conf.MCP_DPDK_MODE %}
13   - system.nova.compute.nfv.hugepages
14   - system.neutron.compute.nfv.dpdk
15 {%- endif %}
16   - cluster.mcp-pike-common-noha.openstack_compute
17   - cluster.mcp-pike-odl-noha
18 parameters:
19   linux:
20     network:
21       interface:
22 {%- if conf.MCP_DPDK_MODE %}
23         dpdk0:
24           name: ${_param:dpdk0_name}
25           pci: ${_param:dpdk0_pci}
26           driver: ${_param:dpdk0_driver}
27           enabled: true
28           bridge: br-prv
29           type: dpdk_ovs_port
30           n_rxq: ${_param:dpdk0_n_rxq}
31         br-prv:
32           enabled: true
33           type: dpdk_ovs_bridge
34           proto: static
35           address: ${_param:tenant_address}
36           netmask: 255.255.255.0
37         tenant_interface:
38           type: dpdk  # Not a meaningful type, just match 'dpdk' for filtering
39 {%- endif %}
40         external_interface:
41           enabled: true
42           type: eth
43           name: ${_param:external_interface}
44           mtu: ${_param:interface_mtu}
45           proto: manual
46         br-mesh:
47           enabled: true
48           type: bridge
49           proto: static
50           address: ${_param:tenant_address}
51           netmask: 255.255.255.0
52           use_interfaces:
53             - ${_param:tenant_interface}
54         br-floating:
55           enabled: true
56           type: ovs_bridge
57           mtu: ${_param:interface_mtu}
58         float-to-ex:
59           enabled: true
60           type: ovs_port
61           mtu: ${_param:interface_mtu}
62           bridge: br-floating
63         br-ex:
64           enabled: true
65           type: bridge
66           mtu: ${_param:interface_mtu}
67           address: ${_param:external_address}
68           netmask: ${_param:opnfv_net_public_mask}
69           use_interfaces:
70             - ${_param:external_interface}
71           use_ovs_ports:
72             - float-to-ex