ha, noha: Fix Horizon stale cache after install
[fuel.git] / mcp / reclass / classes / cluster / mcp-odl-ha / openstack / compute.yml
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   - service.neutron.gateway.opendaylight.single
11   - cluster.mcp-common-ha.openstack_compute
12   - cluster.mcp-odl-ha.openstack.compute_pdf
13   - cluster.mcp-odl-ha.infra
14 parameters:
15   neutron:
16     gateway:
17       agent_mode: ${_param:neutron_gateway_agent_mode}
18       backend:
19         ovsdb_connection: tcp:127.0.0.1:6640
20       opendaylight:
21         ovsdb_server_iface: ptcp:6640:127.0.0.1
22   linux:
23     system:
24       file:
25         /var/tmp/odl_hostconfig.patch:
26           contents: |
27             420c420
28             <                 if datapath_types.find(datapath_type) >= 0)
29             ---
30             >                 if datapath_type in datapath_types)
31             460c460
32             <         return subprocess.check_output(command_line).strip()  # nosec
33             ---
34             >         return subprocess.check_output(command_line).strip().decode()  # nosec