fef8d48655ed335db09c6bfb83e3ab8809109251
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_gateway.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   - cluster.all-mcp-arch-common.backports
11   - cluster.mcp-common-noha.openstack_gateway_pdf
12 parameters:
13   _param:
14     linux_system_codename: xenial
15   neutron:
16     gateway:
17       notification: true
18       agent_mode: ${_param:neutron_gateway_agent_mode}
19       vlan_aware_vms: true
20       root_helper_daemon: false
21       dhcp_lease_duration: 3600
22       report_interval: 120
23   linux:
24     system:
25       file:
26         /var/tmp/dhcp_agent.patch:
27           contents: |
28             549,551c549,550
29             <                 self.schedule_resync("Duplicate IP addresses found, "
30             <                                      "DHCP cache is out of sync",
31             <                                      created_port.network_id)
32             ---
33             >                 LOG.info("Duplicate IP addresses found for %s network",
34             >                          created_port.network_id)