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'] -%}
11 {%- set vlan_private = '1000' -%}
15 - cluster.baremetal-mcp-pike-common-ha.openstack_compute
16 - cluster.baremetal-mcp-pike-ovs-dpdk-ha.infra
17 - system.neutron.compute.nfv.dpdk
22 vhost_socket_dir: ${_param:compute_ovs_vhost_socket_dir}
24 tenant_vlan_range: ${_param:neutron_tenant_vlan_range}
27 libvirt_service: libvirtd
28 libvirt_bin: /etc/default/libvirtd
33 name: ${_param:dpdk0_name}
34 pci: ${_param:dpdk0_pci}
43 address: ${_param:tenant_address}
44 netmask: 255.255.255.0
45 {%- if vlan_private and vlan_private != 'native' %}
46 tag: {{ vlan_private }}