Merge "Adds cluster status check_and_fail before running upgrade (step0)"
[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   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   ContrailAAAMode:
22     description: AAAmode can be no-auth, cloud-admin or rbac
23     type: string
24     default: 'rbac'
25   ContrailAAAModeAnalytics:
26     description: AAAmode for analytics can be no-auth, cloud-admin or rbac
27     type: string
28     default: 'no-auth'
29   AdminPassword:
30     description: Keystone admin user password
31     type: string
32     hidden: true
33   AdminTenantName:
34     description: Keystone admin tenant name
35     type: string
36     default: 'admin'
37   AdminToken:
38     description: Keystone admin token
39     type: string
40     hidden: true
41   AdminUser:
42     description: Keystone admin user name
43     type: string
44     default: 'admin'
45   AuthPortSSL:
46     default: 13357
47     description: Keystone SSL port
48     type: number
49   AuthPortSSLPublic:
50     default: 13000
51     description: Keystone Public SSL port
52     type: number
53   ContrailAuth:
54     default: 'keystone'
55     description: Keystone authentication method
56     type: string
57   ContrailInsecure:
58     default: false
59     description: Keystone insecure mode
60     type: boolean
61   ContrailMemcachedServer:
62     default: '127.0.0.1:12111'
63     description: Memcached server
64     type: string
65   RabbitPassword:
66     description: The password for RabbitMQ
67     type: string
68     hidden: true
69   RabbitUserName:
70     default: guest
71     description: The username for RabbitMQ
72     type: string
73   RabbitClientPort:
74     default: 5672
75     description: Set rabbit subscriber port, change this if using SSL
76     type: number
77
78 outputs:
79   role_data:
80     description: Shared role data for the Contrail services.
81     value:
82       service_name: contrail_base
83       config_settings:
84         contrail::aaa_mode: {get_param: ContrailAAAMode}
85         contrail::analytics_aaa_mode: {get_param: ContrailAAAModeAnalytics}
86         contrail::admin_password: {get_param: AdminPassword}
87         contrail::admin_tenant_name: {get_param: AdminTenantName}
88         contrail::admin_token: {get_param: AdminToken}
89         contrail::admin_user: {get_param: AdminUser}
90         contrail::auth: {get_param: ContrailAuth}
91         contrail::auth_host: {get_param: [EndpointMap, KeystonePublic, host] }
92         contrail::auth_port: {get_param: [EndpointMap, KeystoneAdmin, port] }
93         contrail::auth_port_ssl: {get_param: AuthPortSSL }
94         contrail::auth_port_public: {get_param: [EndpointMap, KeystonePublic, port] }
95         contrail::auth_port_ssl_public: {get_param: AuthPortSSLPublic }
96         contrail::auth_protocol: {get_param: [EndpointMap, KeystoneInternal, protocol] }
97         contrail::api_port: {get_param: [EndpointMap, ContrailConfigInternal, port] }
98         contrail::disc_server_port: {get_param: [EndpointMap, ContrailDiscoveryInternal, port] }
99         contrail::insecure: {get_param: ContrailInsecure}
100         contrail::memcached_server: {get_param: ContrailMemcachedServer}
101         contrail::rabbit_password: {get_param: RabbitPassword}
102         contrail::rabbit_user: {get_param: RabbitUserName}
103         contrail::rabbit_port: {get_param: RabbitClientPort}