Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / docker / services / neutron-plugin-ml2.yaml
1 heat_template_version: pike
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-server:latest'
25     type: string
26   DefaultPasswords:
27     default: {}
28     type: json
29   RoleName:
30     default: ''
31     description: Role name on which the service is applied
32     type: string
33   RoleParameters:
34     default: {}
35     description: Parameters specific to the role
36     type: json
37
38 resources:
39
40   NeutronBase:
41     type: ../../puppet/services/neutron-plugin-ml2.yaml
42     properties:
43       EndpointMap: {get_param: EndpointMap}
44       ServiceNetMap: {get_param: ServiceNetMap}
45       DefaultPasswords: {get_param: DefaultPasswords}
46       RoleName: {get_param: RoleName}
47       RoleParameters: {get_param: RoleParameters}
48
49 outputs:
50   role_data:
51     description: Role data for the Neutron ML2 Plugin role.
52     value:
53       service_name: {get_attr: [NeutronBase, role_data, service_name]}
54       config_settings:
55         map_merge:
56           - get_attr: [NeutronBase, role_data, config_settings]
57       step_config: &step_config
58         get_attr: [NeutronBase, role_data, step_config]
59       service_config_settings: {get_attr: [NeutronBase, role_data, service_config_settings]}
60       # BEGIN DOCKER SETTINGS
61       puppet_config:
62         config_volume: 'neutron'
63         puppet_tags: ''
64         step_config: *step_config
65         config_image:
66           list_join:
67             - '/'
68             - [ {get_param: DockerNamespace}, {get_param: DockerNeutronConfigImage} ]
69       kolla_config: {}
70       docker_config: {}