[VCP VMs] AArch64: Switch seeding back to qemu-nbd
[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     neutron_tenant_network_types: "flat,vxlan"
14
15     # opendaylight options
16     opendaylight_service_host: ${_param:opnfv_opendaylight_server_address}
17     opendaylight_rest_port: 8282
18 {%- if conf.MCP_VCP %}
19     opendaylight_server_node01_hostname: odl01
20     opendaylight_server_node02_hostname: odl02
21     opendaylight_server_node03_hostname: odl03
22     opendaylight_server_node01_address: ${_param:opnfv_opendaylight_server_node01_address}
23     opendaylight_server_node02_address: ${_param:opnfv_opendaylight_server_node02_address}
24     opendaylight_server_node03_address: ${_param:opnfv_opendaylight_server_node03_address}
25   linux:
26     network:
27       host:
28   {%- for i in range(1, 4) %}
29         odl0{{ i }}:
30           address: ${_param:opendaylight_server_node0{{ i }}_address}
31           names:
32             - ${_param:opendaylight_server_node0{{ i }}_hostname}
33             - ${_param:opendaylight_server_node0{{ i }}_hostname}.${_param:cluster_domain}
34   {%- endfor %}
35 {%- else %}
36     opendaylight_control_hostname: ${_param:openstack_control_node02_hostname}
37     opendaylight_server_node01_hostname: ${_param:opendaylight_control_hostname}
38     opendaylight_server_node01_address: ${_param:opnfv_openstack_control_node02_address}
39 {%- endif %}