f0fabbafacdaf08e9bce3fc032adcbdf05d72ddd
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-pike-common-ha / openstack_interface_vcp_biport.yml
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 ---
9 classes:
10   - cluster.baremetal-mcp-pike-common-ha.include.proxy
11 parameters:
12   _param:
13     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
14     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
15   linux:
16     network:
17       interface:
18         dhcp:
19           enabled: true
20           type: eth
21           proto: dhcp
22           name: ${_param:dhcp_nic}
23         single:
24           enabled: true
25           type: eth
26           proto: static
27           name: ${_param:single_nic}
28           address: ${_param:single_address}
29           netmask: ${_param:opnfv_net_public_mask}