diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-09-28 17:40:43 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-09-28 17:40:43 +0000 |
commit | 9e918a4a517f62d4417909311041e3e54a726462 (patch) | |
tree | cc12aec5e1b2ded61798b09db0bf8951329a6ba5 /puppet/compute.yaml | |
parent | 02c7a6f12ba5648d3637fce6a57eb9eb4396a683 (diff) | |
parent | 2b2f0c263cd24d3b6f22ac594ddba6ce5ab4f75b (diff) |
Merge "Adding core_plugin, type_drivers and service_plugins parameters"
Diffstat (limited to 'puppet/compute.yaml')
-rw-r--r-- | puppet/compute.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/puppet/compute.yaml b/puppet/compute.yaml index 54a3b69d..a7c1c8c9 100644 --- a/puppet/compute.yaml +++ b/puppet/compute.yaml @@ -149,6 +149,23 @@ parameters: default: 'unset' description: Shared secret to prevent spoofing type: string + 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" + description: | + Comma-separated list of service plugin entrypoints to be loaded from the + neutron.service_plugins namespace. + type: comma_delimited_list + NeutronTypeDrivers: + default: "vxlan,vlan,flat,gre" + description: | + Comma-separated list of network type driver entrypoints to be loaded. + type: comma_delimited_list NeutronMechanismDrivers: default: 'openvswitch' description: | @@ -404,6 +421,9 @@ resources: neutron_router_distributed: {get_input: neutron_router_distributed} neutron_agent_mode: {get_input: neutron_agent_mode} neutron_metadata_proxy_shared_secret: {get_input: neutron_metadata_proxy_shared_secret} + neutron::core_plugin: {get_input: neutron_core_plugin} + neutron::service_plugins: {get_input: neutron_service_plugins} + neutron::plugins::ml2::type_drivers: {get_input: neutron_type_drivers} neutron_mechanism_drivers: {get_input: neutron_mechanism_drivers} neutron_public_interface_raw_device: {get_input: neutron_public_interface_raw_device} admin_password: {get_input: admin_password} @@ -482,6 +502,23 @@ resources: neutron_agent_mode: {get_param: NeutronAgentMode} neutron_router_distributed: {get_param: NeutronDVR} neutron_metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret} + neutron_core_plugin: {get_param: NeutronCorePlugin} + neutron_service_plugins: + str_replace: + template: "['PLUGINS']" + params: + PLUGINS: + list_join: + - "','" + - {get_param: NeutronServicePlugins} + neutron_type_drivers: + str_replace: + template: "['DRIVERS']" + params: + DRIVERS: + list_join: + - "','" + - {get_param: NeutronTypeDrivers} neutron_mechanism_drivers: {get_param: NeutronMechanismDrivers} neutron_public_interface_raw_device: {get_param: NeutronPublicInterfaceRawDevice} neutron_url: |