tripleo-heat-templates/deployment/neutron/neutron-lbaas-api-container-puppet.yaml
Dan Prince f101bbe8cf step4: flatten the neutron service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the neutron-lbaas-api, neutron-plugin-ml2-ansible,
and neutron-plugin-ml2-cisco-vts services.

Change-Id: I27abda33af2365eac4b6b91cd87ae528c2144e92
Related-Blueprint: services-yaml-flattening
2019-02-28 09:36:01 -05:00

71 lines
2.3 KiB
YAML

heat_template_version: rocky
description: >
Containerized LBaaS Service Plugin
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
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
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
DockerNeutronConfigImage:
description: The container image to use for the neutron config_volume
type: string
NeutronServiceProviders:
default: 'LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default'
description: Global list of service providers used by neutron. This
list should be passed in to ensure all service
providers desired by the user are included. The
provided default value only set the provider for the LBaaSv2
subsystem.This is currently incompatible with enabling
octavia-api as one service or the other will break because the defaults are different.
type: comma_delimited_list
resources:
ContainersCommon:
type: ../../docker/services/containers-common.yaml
outputs:
role_data:
description: Role data for the LBaaS role.
value:
service_name: neutron_lbaas_api
config_settings: {}
service_config_settings:
neutron_api:
neutron::server::service_providers: {get_param: NeutronServiceProviders}
horizon:
horizon::neutron_options:
enable_lb: True
puppet_config:
config_volume: 'neutron'
puppet_tags: neutron_lbaas_service_config
step_config: |
include ::tripleo::profile::base::neutron::lbaas
config_image: {get_param: DockerNeutronConfigImage}
kolla_config: {}
docker_config: {}