summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/control.yml
blob: 7f81a4ae302d2965a9c65d813404ffe9e05c88cd (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
35
36
37
38
39
40
##############################################################################
# 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:
  - system.neutron.control.cluster
  - cluster.mcp-common-ha.openstack_interface_vcp_biport
  - cluster.mcp-common-ha.openstack_control
  - cluster.mcp-ovn-ha.infra
parameters:
  _param:
    neutron_control_dvr: "False"
    neutron_l3_ha: "False"
    neutron_global_physnet_mtu: 1500
    neutron_external_mtu: 1500
    neutron_enable_qos: "False"
    neutron_enable_vlan_aware_vms: "False"
  neutron:
    server:
      global_physnet_mtu: ${_param:neutron_global_physnet_mtu}
      l3_ha: ${_param:neutron_l3_ha}
      dvr: ${_param:neutron_control_dvr}
      qos: ${_param:neutron_enable_qos}
      vlan_aware_vms: ${_param:neutron_enable_vlan_aware_vms}
      backend:
        engine: ovn
        tenant_network_types: "${_param:neutron_tenant_network_types}"
        external_mtu: ${_param:neutron_external_mtu}
        mechanism:
          ovn:
            driver: ovn
      ovn_ctl_opts:
        db-nb-create-insecure-remote: 'yes'
        db-sb-create-insecure-remote: 'yes'
        db-nb-addr: ${_param:cluster_vip_address}
        db-sb-addr: ${_param:cluster_vip_address}