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}
35 name: ${_param:single_nic}
36 address: ${_param:single_address}
37 netmask: ${_param:opnfv_net_public_mask}
38 gateway: ${_param:opnfv_net_public_gw}
39 name_servers: {{ nm.dns_public }}
44 name: ${_param:control_nic}
45 address: ${_param:control_address}
46 netmask: ${_param:opnfv_net_mgmt_mask}
48 {#- For NOVCP scenarios, base config is in kvm_pdf, only add/override gw #}
55 gateway: ${_param:opnfv_net_public_gw}
56 name_servers: {{ nm.dns_public }}