Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / neutron-midonet.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Midonet plugin and services
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   NeutronPassword:
13     description: The password for the neutron service and db account, used by neutron agents.
14     type: string
15     hidden: true
16   AdminPassword:
17     description: The password for the keystone admin account, used for monitoring, querying neutron etc.
18     type: string
19     hidden: true
20   AdminToken:
21     description: The keystone auth secret and db password.
22     type: string
23     hidden: true
24   EnableZookeeperOnController:
25     label: Enable Zookeeper On Controller
26     description: 'Whether enable Zookeeper cluster on Controller'
27     type: boolean
28     default: false
29   EnableCassandraOnController:
30     label: Enable Cassandra On Controller
31     description: 'Whether enable Cassandra cluster on Controller'
32     type: boolean
33     default: false
34
35 outputs:
36   role_data:
37     description: Role data for the Neutron Midonet plugin and services
38     value:
39       service_name: neutron-midonet
40       config_settings:
41         tripleo::profile::base::neutron::midonet::admin_password: {get_param: AdminPassword}
42         tripleo::profile::base::neutron::midonet::keystone_admin_token: {get_param: AdminToken}
43         tripleo::profile::base::neutron::midonet::neutron_auth_password: {get_param: NeutronPassword}
44         tripleo::profile::base::neutron::midonet::zk_on_controller: {get_param: EnableZookeeperOnController}
45         tripleo::profile::base::neutron::midonet::neutron_auth_tenant: 'service'
46         enable_cassandra_on_controller: {get_param: EnableCassandraOnController}
47         neutron::service_plugins: []
48       step_config: |
49         include tripleo::profile::base::neutron::plugins::midonet