[reclass] Parameterize tenant VLAN ranges
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-odl-ha / openstack / init.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 classes:
10   - cluster.mcp-pike-common-ha.openstack_init
11 parameters:
12   _param:
13     # opendaylight options
14     opendaylight_service_host: ${_param:opendaylight_server_node01_single_address}
15
16     neutron_tenant_network_types: "flat,vxlan"
17 {%- if conf.MCP_VCP %}
18   linux:
19     network:
20       host:
21         odl01:
22           address: ${_param:opendaylight_service_host}
23           names:
24             - ${_param:opendaylight_server_node01_hostname}
25             - ${_param:opendaylight_server_node01_hostname}.${_param:cluster_domain}
26 {%- endif %}