summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-01-12 14:56:09 -0500
committerTim Rozet <trozet@redhat.com>2017-01-12 14:56:09 -0500
commitc3d69c174beb309c955bd5b00bd075f4273237a3 (patch)
tree4b35debcc214d4728c52bf3bcde0b2c3efe1a877
parent3243a1ab275648a17c98f47735a4490b59478d1e (diff)
Parameterizes Nova API default floating IP pool
This allows a user to modify the parameter based on what name he/she wants to use for the default neutron external network. Closes-Bug: 1656079 Change-Id: Iaa245c234aa7e80818d901bc9947ac57cf5e903a Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r--puppet/services/nova-api.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/services/nova-api.yaml b/puppet/services/nova-api.yaml
index d2ca841f..36ac3e08 100644
--- a/puppet/services/nova-api.yaml
+++ b/puppet/services/nova-api.yaml
@@ -54,6 +54,10 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
+ NovaDefaultFloatingPool:
+ default: 'public'
+ description: Default pool for floating IP addresses
+ type: string
conditions:
nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
@@ -102,7 +106,7 @@ outputs:
nova::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
nova::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
nova::api::enabled: true
- nova::api::default_floating_pool: 'public'
+ nova::api::default_floating_pool: {get_param: NovaDefaultFloatingPool}
nova::api::sync_db_api: true
nova::api::enable_proxy_headers_parsing: true
nova::api::api_bind_address: