Add role specific information to the service template
[apex-tripleo-heat-templates.git] / puppet / services / network / contrail-base.yaml
1 heat_template_version: ocata
2
3 description: >
4   Base parameters for all Contrail Services.
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   ContrailAAAMode:
30     description: AAAmode can be no-auth, cloud-admin or rbac
31     type: string
32     default: 'rbac'
33   ContrailAAAModeAnalytics:
34     description: AAAmode for analytics can be no-auth, cloud-admin or rbac
35     type: string
36     default: 'no-auth'
37   AdminPassword:
38     description: Keystone admin user password
39     type: string
40     hidden: true
41   AdminTenantName:
42     description: Keystone admin tenant name
43     type: string
44     default: 'admin'
45   AdminToken:
46     description: Keystone admin token
47     type: string
48     hidden: true
49   AdminUser:
50     description: Keystone admin user name
51     type: string
52     default: 'admin'
53   AuthPortSSL:
54     default: 13357
55     description: Keystone SSL port
56     type: number
57   AuthPortSSLPublic:
58     default: 13000
59     description: Keystone Public SSL port
60     type: number
61   ContrailAuth:
62     default: 'keystone'
63     description: Keystone authentication method
64     type: string
65   ContrailInsecure:
66     default: false
67     description: Keystone insecure mode
68     type: boolean
69   ContrailMemcachedServer:
70     default: '127.0.0.1:12111'
71     description: Memcached server
72     type: string
73   RabbitPassword:
74     description: The password for RabbitMQ
75     type: string
76     hidden: true
77   RabbitUserName:
78     default: guest
79     description: The username for RabbitMQ
80     type: string
81   RabbitClientPort:
82     default: 5672
83     description: Set rabbit subscriber port, change this if using SSL
84     type: number
85
86 outputs:
87   role_data:
88     description: Shared role data for the Contrail services.
89     value:
90       service_name: contrail_base
91       config_settings:
92         contrail::aaa_mode: {get_param: ContrailAAAMode}
93         contrail::analytics_aaa_mode: {get_param: ContrailAAAModeAnalytics}
94         contrail::admin_password: {get_param: AdminPassword}
95         contrail::admin_tenant_name: {get_param: AdminTenantName}
96         contrail::admin_token: {get_param: AdminToken}
97         contrail::admin_user: {get_param: AdminUser}
98         contrail::auth: {get_param: ContrailAuth}
99         contrail::auth_host: {get_param: [EndpointMap, KeystonePublic, host] }
100         contrail::auth_port: {get_param: [EndpointMap, KeystoneAdmin, port] }
101         contrail::auth_port_ssl: {get_param: AuthPortSSL }
102         contrail::auth_port_public: {get_param: [EndpointMap, KeystonePublic, port] }
103         contrail::auth_port_ssl_public: {get_param: AuthPortSSLPublic }
104         contrail::auth_protocol: {get_param: [EndpointMap, KeystoneInternal, protocol] }
105         contrail::api_port: {get_param: [EndpointMap, ContrailConfigInternal, port] }
106         contrail::disc_server_port: {get_param: [EndpointMap, ContrailDiscoveryInternal, port] }
107         contrail::insecure: {get_param: ContrailInsecure}
108         contrail::memcached_server: {get_param: ContrailMemcachedServer}
109         contrail::rabbit_password: {get_param: RabbitPassword}
110         contrail::rabbit_user: {get_param: RabbitUserName}
111         contrail::rabbit_port: {get_param: RabbitClientPort}