Merge "[noha] ctl01: Enable jumbo frames"
[fuel.git] / mcp / reclass / classes / cluster / mcp-vpp-noha / openstack / compute.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 {%- import 'net_map.j2' as nm with context %}
9 {%- import 'net_macros.j2' as ma with context %}
10 {%- set vlan_private_start = (nm.vlan_private | string).rsplit('-')[0] %}
11 ---
12 classes:
13   - service.neutron.compute.single
14   - cluster.mcp-common-noha.openstack_compute
15   - cluster.mcp-vpp-noha
16 parameters:
17   linux:
18     network:
19       interface:
20         pxe_admin_int:
21           # For scenarios without public network on cmp, set admin gw
22           gateway: {{ nm.net_admin_gw }}
23           name_servers:
24             - {{ nm.net_admin_gw }}
25         br-mesh:
26           enabled: true
27           type: bridge
28           proto: static
29           address: ${_param:tenant_address}
30           netmask: ${_param:opnfv_net_private_mask}
31           use_interfaces:
32             - {{ ma.interface_str(nm.cmp001.nic_private, vlan_private_start) }}