Auto Generated INFO.yaml file
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-pike-ovs-dpdk-ha / openstack / compute.yml.j2
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 {%- if conf.idf is defined and conf.idf.net_config is defined -%}
9     {%- set vlan_private = conf['idf']['net_config']['private']['vlan'] -%}
10 {%- else -%}
11     {%- set vlan_private = '1000' -%}
12 {%- endif -%}
13 ---
14 classes:
15   - cluster.baremetal-mcp-pike-common-ha.openstack_compute
16   - cluster.baremetal-mcp-pike-ovs-dpdk-ha.infra
17   - system.neutron.compute.nfv.dpdk
18 parameters:
19   neutron:
20     gateway:
21       dpdk: 'True'
22       vhost_socket_dir: ${_param:compute_ovs_vhost_socket_dir}
23       backend:
24         tenant_vlan_range: ${_param:neutron_tenant_vlan_range}
25   nova:
26     compute:
27       libvirt_service: libvirtd
28       libvirt_bin: /etc/default/libvirtd
29   linux:
30     network:
31       interface:
32         dpdk0:
33           name: ${_param:dpdk0_name}
34           pci: ${_param:dpdk0_pci}
35           driver: igb_uio
36           enabled: true
37           bridge: br-prv
38           type: dpdk_ovs_port
39           n_rxq: 2
40         br-prv:
41           enabled: true
42           type: dpdk_ovs_bridge
43           address: ${_param:tenant_address}
44           netmask: 255.255.255.0
45           {%- if vlan_private and vlan_private != 'native' %}
46           tag: {{ vlan_private }}
47           {%- endif %}