diff options
author | Alex Schultz <aschultz@redhat.com> | 2017-03-15 09:55:05 -0600 |
---|---|---|
committer | Sarath Kumar Sankaran Kutty <sarath.kutty@bigswitch.com> | 2017-03-31 18:01:10 +0000 |
commit | f9d2ce123bf0fcebb50a97fce4db7412d0d70e38 (patch) | |
tree | 5aedbf49e3c23ee780eba546f656761324115395 /puppet/services/neutron-bigswitch-agent.yaml | |
parent | 51813d8b3407cb31d8d2c501c4d8b60f0b06bfe9 (diff) |
Re-Add bigswitch agent support
The agent configuration was lost in newton during the puppet-tripleo and
THT role conversion. This change adds support for including the bigswitch
agent service for composable roles.
Change-Id: I46896389e48cdbe2864bf5b609a786f1c84ef908
Closes-Bug: #1673126
(cherry picked from commit 8eaa5f8e10a801be8fc45eeaaa479e7774d97997)
Diffstat (limited to 'puppet/services/neutron-bigswitch-agent.yaml')
-rw-r--r-- | puppet/services/neutron-bigswitch-agent.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/puppet/services/neutron-bigswitch-agent.yaml b/puppet/services/neutron-bigswitch-agent.yaml new file mode 100644 index 00000000..845f0da0 --- /dev/null +++ b/puppet/services/neutron-bigswitch-agent.yaml @@ -0,0 +1,31 @@ +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 + } |