aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/control.yml
blob: 0faf1b86a43596891e5344de4a9635a2623c5511 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
##############################################################################
# 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.mcp-common-noha.openstack_control
  - cluster.mcp-fdio-noha
  - system.neutron.control.single
  - service.etcd.server.single
  - system.galera.server.database.neutron
# NOTE: All this configuration should later be moved to reclass.system as
# neutron.control.vpp.single
parameters:
  _param:
    # yamllint disable rule:truthy
    neutron_control_dvr: True
    neutron_l3_ha: False
    neutron_enable_qos: False
    neutron_enable_vlan_aware_vms: False
    neutron_enable_bgp_vpn: False
    # yamllint enable rule:truthy
    neutron_global_physnet_mtu: 1500
    neutron_external_mtu: 1500
    neutron_bgp_vpn_driver: bagpipe
    internal_protocol: 'http'
    neutron_firewall_driver: 'iptables_hybrid'
    openstack_node_role: primary
  neutron:
    server:
      role: ${_param:openstack_node_role}
      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}
      firewall_driver: ${_param:neutron_firewall_driver}
      bgp_vpn:
        enabled: ${_param:neutron_enable_bgp_vpn}
        driver: ${_param:neutron_bgp_vpn_driver}
      backend:
        engine: ml2
        router: 'vpp-router'
        tenant_network_types: "${_param:neutron_tenant_network_types}"
        external_mtu: ${_param:neutron_external_mtu}
        mechanism:
          vpp:
            driver: vpp
            etcd_port: ${_param:node_port}
            etcd_host: ${_param:node_address}
            l3_hosts: ${_param:openstack_gateway_node01_hostname}
        physnets:
          physnet1:
            vpp_interface: ${_param:external_vpp_tap}
          physnet2:
            # NOTE: Not a meaningful interface name, just avoid a filter-out
            vpp_interface: 'dummy'
            vlan_range: '${_param:opnfv_net_tenant_vlan}'
      compute:
        region: ${_param:openstack_region}
      database:
        host: ${_param:openstack_database_address}
      identity:
        region: ${_param:openstack_region}
        protocol: ${_param:internal_protocol}
      message_queue:
        members:
          - host: ${_param:single_address}