aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/neutron-bigswitch-agent.yaml
diff options
context:
space:
mode:
authorAlex Schultz <aschultz@redhat.com>2017-03-15 09:55:05 -0600
committerAlex Schultz <aschultz@redhat.com>2017-03-17 15:10:39 -0600
commit8eaa5f8e10a801be8fc45eeaaa479e7774d97997 (patch)
tree09fda0961db4153fcabf2f4355ea14965fb7d0e4 /puppet/services/neutron-bigswitch-agent.yaml
parent5b2a1bc3293d02689a70f8f5b35128bf216edd96 (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
Diffstat (limited to 'puppet/services/neutron-bigswitch-agent.yaml')
-rw-r--r--puppet/services/neutron-bigswitch-agent.yaml31
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
+ }