Merge "[baremetal] reclass: Fix class order for common" into stable/euphrates
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-ocata-odl-ha / openstack / compute.yml
1 ##############################################################################
2 # Copyright (c) 2017 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.baremetal-mcp-ocata-common.openstack_compute
11   - cluster.baremetal-mcp-ocata-odl-ha.infra
12   - system.neutron.gateway.opendaylight.single
13 parameters:
14   _param:
15     tenant_nic: ${_param:opnfv_baremetal_secondary_nic}
16     neutron_agents:
17       - neutron-dhcp-agent
18       - neutron-metadata-agent
19   opendaylight:
20     client:
21       ovsdb_server_iface: ptcp:6639:127.0.0.1
22       ovsdb_odl_iface: tcp:${_param:opendaylight_service_host}:6640
23       tunnel_ip: ${_param:tenant_address}
24       provider_mappings: physnet1:br-floating
25   neutron:
26     gateway:
27       agent_mode: ${_param:neutron_gateway_agent_mode}
28       pkgs: ${_param:neutron_agents}
29       services: ${_param:neutron_agents}
30       backend:
31         router: ${_param:opendaylight_router}
32   linux:
33     network:
34       interface:
35         tenant_nic:
36           enabled: true
37           type: eth
38           proto: manual
39           name: ${_param:tenant_nic}
40         br-mesh:
41           enabled: true
42           type: bridge
43           address: ${_param:tenant_address}
44           netmask: 255.255.255.0
45           mtu: 1500
46           use_interfaces:
47             - ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan}
48         tenant-vlan:
49           enabled: true
50           proto: manual
51           type: vlan
52           name: ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan}
53           use_interfaces:
54             - ${_param:tenant_nic}