[novcp] Add deploy argument `-N` (experimental)
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-common-ha / openstack_interface_vcp_biport.yml.j2
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 ---
9 {%- if conf.MCP_VCP %}
10 classes:
11   - cluster.mcp-pike-common-ha.include.maas_proxy
12   - cluster.mcp-pike-common-ha.include.lab_proxy_pdf
13 parameters:
14   _param:
15     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
16     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
17   linux:
18     network:
19       interface:
20         dhcp:
21           enabled: true
22           type: eth
23           proto: dhcp
24           name: ${_param:dhcp_nic}
25         single:
26           enabled: true
27           type: eth
28           proto: static
29           name: ${_param:single_nic}
30           address: ${_param:single_address}
31           netmask: ${_param:opnfv_net_public_mask}
32 {%- endif %}