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