aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
blob: fef8d48655ed335db09c6bfb83e3ab8809109251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
##############################################################################
# Copyright (c) 2018 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
classes:
  - cluster.all-mcp-arch-common.backports
  - cluster.mcp-common-noha.openstack_gateway_pdf
parameters:
  _param:
    linux_system_codename: xenial
  neutron:
    gateway:
      notification: true
      agent_mode: ${_param:neutron_gateway_agent_mode}
      vlan_aware_vms: true
      root_helper_daemon: false
      dhcp_lease_duration: 3600
      report_interval: 120
  linux:
    system:
      file:
        /var/tmp/dhcp_agent.patch:
          contents: |
            549,551c549,550
            <                 self.schedule_resync("Duplicate IP addresses found, "
            <                                      "DHCP cache is out of sync",
            <                                      created_port.network_id)
            ---
            >                 LOG.info("Duplicate IP addresses found for %s network",
            >                          created_port.network_id)