aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/neutron-base.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-06-08 15:51:18 -0400
committerDan Prince <dprince@redhat.com>2016-06-13 21:57:58 -0400
commitdea033bca6997bff226391bf10c5afebcfd4dd18 (patch)
tree5d57f49f74266d855ab9d6808010da6374ea5b5d /puppet/services/neutron-base.yaml
parente1238aa903f088f49699cd4c1e10a55655e08ab5 (diff)
Move Neutron core and service plugin to base
Move the settings/parameters for the neutron core plugin and neutron service plugins into the base role. Partially-implements: blueprint composable-services-within-roles Change-Id: Ieb307fa7bc5ecfbc500787e3f292488476f7d850
Diffstat (limited to 'puppet/services/neutron-base.yaml')
-rw-r--r--puppet/services/neutron-base.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/puppet/services/neutron-base.yaml b/puppet/services/neutron-base.yaml
index b34bdd22..8bd8d989 100644
--- a/puppet/services/neutron-base.yaml
+++ b/puppet/services/neutron-base.yaml
@@ -26,6 +26,18 @@ parameters:
type: number
default: 3
description: The number of neutron dhcp agents to schedule per network
+ NeutronCorePlugin:
+ default: 'ml2'
+ description: |
+ The core plugin for Neutron. The value should be the entrypoint to be loaded
+ from neutron.core_plugins namespace.
+ type: string
+ NeutronServicePlugins:
+ default: "router,qos"
+ description: |
+ Comma-separated list of service plugin entrypoints to be loaded from the
+ neutron.service_plugins namespace.
+ type: comma_delimited_list
Debug:
type: string
default: ''
@@ -41,4 +53,10 @@ outputs:
neutron::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
neutron::rabbit_port: {get_param: RabbitClientPort}
neutron::dhcp_agents_per_network: {get_param: NeutronDhcpAgentsPerNetwork}
+ neutron::core_plugin: {get_param: NeutronCorePlugin}
+ neutron::service_plugins:
+ str_replace:
+ template: PLUGINS
+ params:
+ PLUGINS: {get_param: NeutronServicePlugins}
neutron::debug: {get_param: Debug}