[baremetal] MaaS: Fix DHCP dynamic reserved range
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-pike-common-ha / openstack_interface_vcp_triport.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 parameters:
10   _param:
11     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
12     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
13     control_nic: ${_param:opnfv_vcp_vm_tertiary_interface}
14   linux:
15     network:
16       interface:
17         dhcp_int:
18           enabled: true
19           type: eth
20           proto: dhcp
21           name: ${_param:dhcp_nic}
22           route:
23             mcpcontol:
24               address: ${_param:opnfv_net_mcpcontrol}
25               netmask: ${_param:opnfv_net_mcpcontrol_mask}
26               gateway: ${_param:opnfv_infra_maas_node01_deploy_address}
27         single_int:
28           enabled: true
29           type: eth
30           proto: static
31           name: ${_param:single_nic}
32           address: ${_param:single_address}
33           netmask: 255.255.255.0
34           route:
35             public:
36               address: 0.0.0.0
37               netmask: 0.0.0.0
38               gateway: ${_param:opnfv_net_public_gw}
39         control_int:
40           enabled: true
41           type: eth
42           proto: static
43           name: ${_param:control_nic}
44           address: ${_param:control_address}
45           netmask: 255.255.255.0