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 {%- import 'net_map.j2' as nm with context %}
9 {%- import 'net_macros.j2' as ma with context %}
10 {%- set vlan_private_start = (nm.vlan_private | string).rsplit('-')[0] %}
13 - service.neutron.compute.single
14 - service.neutron.compute.opendaylight.single
15 {%- if '-ovs-' in conf.MCP_DEPLOY_SCENARIO %}
16 - system.nova.compute.nfv.hugepages
17 - system.neutron.compute.nfv.dpdk
19 - cluster.mcp-common-noha.openstack_compute
20 - cluster.mcp-odl-noha
26 {%- if '-ovs-' in conf.MCP_DEPLOY_SCENARIO %}
28 name: ${_param:dpdk0_name}
29 pci: ${_param:dpdk0_pci}
30 driver: ${_param:dpdk0_driver}
34 n_rxq: ${_param:dpdk0_n_rxq}
35 mtu: ${_param:interface_mtu}
40 address: ${_param:tenant_address}
41 netmask: ${_param:opnfv_net_private_mask}
42 {{ nm.cmp001.nic_private }}:
43 type: dpdk # Not a meaningful type, just match 'dpdk' for filtering
44 {{ nm.cmp001.nic_public }}:
47 mtu: ${_param:interface_mtu}
58 mtu: ${_param:interface_mtu}
60 ovs_bridge: br-floating
65 address: ${_param:external_address}
66 netmask: ${_param:opnfv_net_public_mask}
68 - {{ ma.interface_str(nm.cmp001.nic_public, nm.vlan_public) }}
71 gateway: ${_param:opnfv_net_public_gw}
72 name_servers: {{ nm.dns_public }}
79 address: ${_param:tenant_address}
80 netmask: ${_param:opnfv_net_private_mask}
82 - {{ ma.interface_str(nm.cmp001.nic_private, vlan_private_start) }}
83 ovs_port_{{ nm.cmp001.nic_public }}:
85 name: {{ ma.interface_str(nm.cmp001.nic_public, nm.vlan_public) }}
86 mtu: ${_param:interface_mtu}
88 ovs_port_type: OVSPort
90 ovs_bridge: br-floating
96 address: ${_param:external_address}
97 netmask: ${_param:opnfv_net_public_mask}
99 - {{ ma.interface_str(nm.cmp001.nic_public, nm.vlan_public) }}
100 gateway: ${_param:opnfv_net_public_gw}
101 name_servers: {{ nm.dns_public }}