Merge "Upgrade scripts to migrate aodh alarm data"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-ovs-agent.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron OVS agent configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   NeutronEnableL2Pop:
13     type: string
14     description: >
15         Enable/disable the L2 population feature in the Neutron agents.
16     default: "False"
17   NeutronBridgeMappings:
18     description: >
19       The OVS logical->physical bridge mappings to use. See the Neutron
20       documentation for details. Defaults to mapping br-ex - the external
21       bridge on hosts - to a physical name 'datacentre' which can be used
22       to create provider networks (and we use this for the default floating
23       network) - if changing this either use different post-install network
24       scripts or be sure to keep 'datacentre' as a mapping network name.
25     type: comma_delimited_list
26     default: "datacentre:br-ex"
27   NeutronTunnelTypes:
28     default: 'vxlan'
29     description: |
30         The tunnel types for the Neutron tenant network.
31     type: comma_delimited_list
32   NeutronAgentExtensions:
33     default: "qos"
34     description: |
35         Comma-separated list of extensions enabled for the Neutron agents.
36     type: comma_delimited_list
37   NeutronEnableDVR:
38     default: False
39     description: |
40       Enable support for distributed routing in the OVS Agent.
41     type: boolean
42
43 resources:
44
45   NeutronBase:
46     type: ./neutron-base.yaml
47
48 outputs:
49   role_data:
50     description: Role data for the Neutron OVS agent service.
51     value:
52       service_name: neutron_ovs_agent
53       config_settings:
54         map_merge:
55           - get_attr: [NeutronBase, role_data, config_settings]
56             neutron::agents::ml2::ovs::l2_population: {get_param: NeutronEnableL2Pop}
57             neutron::agents::ml2::ovs::enable_distributed_routing: {get_param: NeutronEnableDVR}
58             neutron::agents::ml2::ovs::bridge_mappings:
59               str_replace:
60                 template: MAPPINGS
61                 params:
62                   MAPPINGS: {get_param: NeutronBridgeMappings}
63             neutron::agents::ml2::ovs::tunnel_types:
64               str_replace:
65                 template: TYPES
66                 params:
67                   TYPES: {get_param: NeutronTunnelTypes}
68             neutron::agents::ml2::ovs::extensions:
69               str_replace:
70                 template: AGENT_EXTENSIONS
71                 params:
72                   AGENT_EXTENSIONS: {get_param: NeutronAgentExtensions}
73       step_config: |
74         include ::tripleo::profile::base::neutron::ovs