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 %}
11 {%- if conf.MCP_VCP %}
13 - cluster.all-mcp-arch-common.opnfv.maas_proxy
14 - cluster.all-mcp-arch-common.opnfv.lab_proxy_pdf
17 pxe_admin_interface: ${_param:opnfv_vcp_vm_primary_interface}
18 single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
19 control_nic: ${_param:opnfv_vcp_vm_tertiary_interface}
27 name: ${_param:pxe_admin_interface}
28 address: ${_param:pxe_admin_address}
29 netmask: ${_param:opnfv_net_admin_mask}
31 mtu: ${_param:interface_mtu}
36 name: ${_param:single_nic}
37 address: ${_param:single_address}
38 netmask: ${_param:opnfv_net_public_mask}
39 gateway: ${_param:opnfv_net_public_gw}
40 name_servers: {{ nm.dns_public }}
41 mtu: ${_param:interface_mtu}
46 name: ${_param:control_nic}
47 address: ${_param:control_address}
48 netmask: ${_param:opnfv_net_mgmt_mask}
49 mtu: ${_param:interface_mtu}
51 {#- For NOVCP scenarios, base config is in kvm_pdf, only add/override gw #}
58 gateway: ${_param:opnfv_net_public_gw}
59 name_servers: {{ nm.dns_public }}