[ha] Update OpenStack version to Queens
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-ha / openstack_interface_vcp_triport.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-common-ha.include.maas_proxy
12   - cluster.mcp-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     control_nic: ${_param:opnfv_vcp_vm_tertiary_interface}
18   linux:
19     network:
20       interface:
21         dhcp_int:
22           enabled: true
23           type: eth
24           proto: dhcp
25           name: ${_param:dhcp_nic}
26         single_int:
27           enabled: true
28           type: eth
29           proto: static
30           name: ${_param:single_nic}
31           address: ${_param:single_address}
32           netmask: ${_param:opnfv_net_public_mask}
33           route:
34             public:
35               address: 0.0.0.0
36               netmask: 0.0.0.0
37               gateway: ${_param:opnfv_net_public_gw}
38         control_int:
39           enabled: true
40           type: eth
41           proto: static
42           name: ${_param:control_nic}
43           address: ${_param:control_address}
44           netmask: 255.255.255.0
45 {%- endif %}