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