heat_template_version: ocata

description: >
  Installs bigswitch agent and enables the services

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


outputs:
  role_data:
    description: Configure the bigswitch agent services
    value:
      service_name: neutron_bigswitch_agent
      step_config: |
        if hiera('step') >= 4 {
          include ::neutron::agents::bigswitch
        }

heat_template_version: ocata

description: >
  Installs bigswitch agent and enables the services

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


outputs:
  role_data:
    description: Configure the bigswitch agent services
    value:
      service_name: neutron_bigswitch_agent
      step_config: |
        include ::tripleo::profile::base::neutron::agents::bigswitch

Use tripleo profile for bigswitch agent
Use tripleo profile for bigswitch agent

For ease of backporting, we originally just included the neutron agent
configuration for bigswitch within THT directly. This change updates it
to use a profile which is a best practice when configuring a service.

Change-Id: I1c4dfe803fd372fb5db981a9e9a9b0ac7cb3763f
Depends-On: I7a8f7f73c9c8446e21c16a5c378bd7e0f0a4c94e
Closes-Bug: #1674791
