summaryrefslogtreecommitdiffstats
path: root/puppet/post-upgrade.j2.yaml
blob: c51b6e1b07e2965ac2e150629cd000f3257b162b (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
heat_template_version: pike

description: >
  Post-upgrade configuration steps via puppet for all roles
  where upgrade is not disabled as defined in ../roles_data.yaml

parameters:
  servers:
    type: json
    description: Mapping of Role name e.g Controller to a list of servers

  role_data:
    type: json
    description: Mapping of Role name e.g Controller to the per-role data

  DeployIdentifier:
    default: ''
    type: string
    description: >
      Setting this to a unique value will re-run any deployment tasks which
      perform configuration on a Heat stack-update.

resources:
# Note the include here is the same as post.j2.yaml but the data used at
# the time of rendering is different if any roles disable upgrades
{% set roles = roles|rejectattr('disable_upgrade_deployment')|list -%}
{% include 'puppet-steps.j2' %}
> default: {} type: json EndpointMap: default: {} description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json NeutronMechanismDrivers: default: 'openvswitch' description: | The mechanism drivers for the Neutron tenant network. type: comma_delimited_list NeutronTypeDrivers: default: "vxlan,vlan,flat,gre" description: | Comma-separated list of network type driver entrypoints to be loaded. type: comma_delimited_list NeutronFlatNetworks: type: comma_delimited_list default: 'datacentre' description: If set, flat networks to configure in neutron plugins. NeutronPluginExtensions: default: "qos,port_security" description: | Comma-separated list of extensions enabled for the Neutron plugin. type: comma_delimited_list NeutronNetworkVLANRanges: default: 'datacentre:1:1000' description: > The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the Neutron documentation for permitted values. Defaults to permitting any VLAN on the 'datacentre' physical network (See NeutronBridgeMappings). type: comma_delimited_list NeutronTunnelIdRanges: description: | Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation default: ["1:4094", ] type: comma_delimited_list NeutronVniRanges: description: | Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of VXLAN VNI IDs that are available for tenant network allocation default: ["1:4094", ] type: comma_delimited_list NeutronNetworkType: default: 'vxlan' description: The tenant network type for Neutron. type: comma_delimited_list resources: NeutronBase: type: ./neutron-base.yaml properties: ServiceNetMap: {get_param: ServiceNetMap} DefaultPasswords: {get_param: DefaultPasswords} EndpointMap: {get_param: EndpointMap} outputs: role_data: description: Role data for the Neutron ML2 plugin. value: service_name: neutron_plugin_ml2 config_settings: map_merge: - get_attr: [NeutronBase, role_data, config_settings] - neutron::plugins::ml2::mechanism_drivers: {get_param: NeutronMechanismDrivers} neutron::plugins::ml2::type_drivers: {get_param: NeutronTypeDrivers} neutron::plugins::ml2::flat_networks: {get_param: NeutronFlatNetworks} neutron::plugins::ml2::extension_drivers: {get_param: NeutronPluginExtensions} neutron::plugins::ml2::network_vlan_ranges: {get_param: NeutronNetworkVLANRanges} neutron::plugins::ml2::tunnel_id_ranges: {get_param: NeutronTunnelIdRanges} neutron::plugins::ml2::vni_ranges: {get_param: NeutronVniRanges} neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType} step_config: | include ::tripleo::profile::base::neutron::plugins::ml2 service_config_settings: horizon: neutron::plugins::ml2::mechanism_drivers: {get_param: NeutronMechanismDrivers}