aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/control.yml
blob: 64c16f031d26afb792f44c140f17fbc94aa6ee48 (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
41
42
43
44
45
46
47
48
49
50
51
##############################################################################
# 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
      compute:
        region: ${_param:openstack_region}
      database:
        host: ${_param:opnfv_openstack_database_address}
      identity:
        region: ${_param:openstack_region}
      message_queue:
        members:
          - host: ${_param:openstack_message_queue_node01_address}
          - host: ${_param:openstack_message_queue_node02_address}
          - host: ${_param:openstack_message_queue_node03_address}
      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}