Merge "Pass hieradata relevant for httpd in the Heat APIs"
[apex-tripleo-heat-templates.git] / docker / services / neutron-plugin-ml2.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack containerized Neutron ML2 Plugin 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   ServiceNetMap:
13     default: {}
14     description: Mapping of service_name -> network name. Typically set
15                  via parameter_defaults in the resource registry.  This
16                  mapping overrides those in ServiceNetMapDefaults.
17     type: json
18   DockerNamespace:
19     description: namespace
20     default: 'tripleoupstream'
21     type: string
22   DockerNeutronConfigImage:
23     description: image
24     default: 'centos-binary-neutron-openvswitch-agent:latest'
25     type: string
26   DefaultPasswords:
27     default: {}
28     type: json
29
30 resources:
31
32   NeutronBase:
33     type: ../../puppet/services/neutron-plugin-ml2.yaml
34     properties:
35       EndpointMap: {get_param: EndpointMap}
36       ServiceNetMap: {get_param: ServiceNetMap}
37       DefaultPasswords: {get_param: DefaultPasswords}
38
39 outputs:
40   role_data:
41     description: Role data for the Neutron ML2 Plugin role.
42     value:
43       service_name: {get_attr: [NeutronBase, role_data, service_name]}
44       config_settings:
45         map_merge:
46           - get_attr: [NeutronBase, role_data, config_settings]
47       step_config: &step_config
48         get_attr: [NeutronBase, role_data, step_config]
49       service_config_settings: {get_attr: [NeutronBase, role_data, service_config_settings]}
50       # BEGIN DOCKER SETTINGS
51       puppet_config:
52         config_volume: 'neutron'
53         puppet_tags: ''
54         step_config: *step_config
55         config_image:
56           list_join:
57             - '/'
58             - [ {get_param: DockerNamespace}, {get_param: DockerNeutronConfigImage} ]
59       kolla_config: {}
60       docker_config: {}