3c6ec654b4
Heat now supports release name aliases, so we can replace the inconsistent mix of date related versions with one consistent version that aligns with the supported version of heat for this t-h-t branch. This should also help new users who sometimes copy/paste old templates and discover intrinsic functions in the t-h-t docs don't work because their template version is too old. Change-Id: Ib415e7290fea27447460baa280291492df197e54
75 lines
2.8 KiB
YAML
75 lines
2.8 KiB
YAML
heat_template_version: ocata
|
|
|
|
description: >
|
|
OpenStack Neutron Opencontrail plugin
|
|
|
|
parameters:
|
|
ServiceNetMap:
|
|
default: {}
|
|
description: Mapping of service_name -> network name. Typically set
|
|
via parameter_defaults in the resource registry. This
|
|
mapping overrides those in ServiceNetMapDefaults.
|
|
type: json
|
|
DefaultPasswords:
|
|
default: {}
|
|
type: json
|
|
EndpointMap:
|
|
default: {}
|
|
description: Mapping of service endpoint -> protocol. Typically set
|
|
via parameter_defaults in the resource registry.
|
|
type: json
|
|
AdminPassword:
|
|
description: The password for the keystone admin account, used for monitoring, querying neutron etc.
|
|
type: string
|
|
hidden: true
|
|
AdminToken:
|
|
description: The keystone auth secret and db password.
|
|
type: string
|
|
hidden: true
|
|
ContrailApiServerIp:
|
|
description: IP address of the OpenContrail API server
|
|
type: string
|
|
ContrailApiServerPort:
|
|
description: Port of the OpenContrail API
|
|
type: string
|
|
default: 8082
|
|
ContrailMultiTenancy:
|
|
description: Whether to enable multi tenancy
|
|
type: boolean
|
|
default: false
|
|
ContrailExtensions:
|
|
description: List of OpenContrail extensions to be enabled
|
|
type: comma_delimited_list
|
|
default: ''
|
|
|
|
resources:
|
|
|
|
NeutronBase:
|
|
type: ./neutron-base.yaml
|
|
properties:
|
|
ServiceNetMap: {get_param: ServiceNetMap}
|
|
DefaultPasswords: {get_param: DefaultPasswords}
|
|
EndpointMap: {get_param: EndpointMap}
|
|
|
|
outputs:
|
|
role_data:
|
|
description: Role data for the Neutron Opencontrail plugin
|
|
value:
|
|
service_name: neutron_plugin_opencontrail
|
|
config_settings:
|
|
map_merge:
|
|
- get_attr: [NeutronBase, role_data, config_settings]
|
|
- neutron::api_extensions_path: /usr/lib/python2.7/site-packages/neutron_plugin_contrail/extensions,/usr/lib/python2.7/site-packages/neutron_lbaas/extensions
|
|
|
|
neutron::plugins::opencontrail::api_server_ip: {get_param: ContrailApiServerIp}
|
|
neutron::plugins::opencontrail::api_server_port: {get_param: ContrailApiServerPort}
|
|
neutron::plugins::opencontrail::multi_tenancy: {get_param: ContrailMultiTenancy}
|
|
neutron::plugins::opencontrail::contrail_extensions: {get_param: ContrailExtensions}
|
|
neutron::plugins::opencontrail::keystone_auth_url: {get_param: [EndpointMap, KeystoneInternal, uri] }
|
|
neutron::plugins::opencontrail::keystone_admin_user: admin
|
|
neutron::plugins::opencontrail::keystone_admin_tenant_name: admin
|
|
neutron::plugins::opencontrail::keystone_admin_password: {get_param: AdminPassword}
|
|
neutron::plugins::opencontrail::keystone_admin_token: {get_param: AdminToken}
|
|
step_config: |
|
|
include tripleo::profile::base::neutron::plugins::opencontrail
|