Merge "Add zaqar service for composable upgrade"
[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: {get_attr: [NeutronBase, role_data, step_config]}
48       service_config_settings: {get_attr: [NeutronBase, role_data, service_config_settings]}
49       # BEGIN DOCKER SETTINGS
50       docker_image: &docker_image
51         list_join:
52           - '/'
53           - [ {get_param: DockerNamespace}, {get_param: DockerNeutronConfigImage} ]
54       puppet_tags: ''
55       config_volume: 'neutron'
56       config_image: *docker_image
57       kolla_config: {}
58       docker_config: {}