Add NovaApiMaxLimit configure max_limit for nova

Currently, we can't set Nova [api]/max_limit
using a supplied Heat parameter. This change
adds a Heat parameter that will make it easier
for users to configure max_limit in nova.conf.

Change-Id: I4c28c6c90c52f22d4fa81d13e85842ce876ec2b9
closes-bug: 1904096
(cherry picked from commit 603530c711)
This commit is contained in:
Brendan 2020-11-13 15:48:33 +10:00 committed by Purandhar Sairam Mannidi
parent 125d41b857
commit eccd5435d9
2 changed files with 10 additions and 0 deletions

View File

@ -101,6 +101,10 @@ parameters:
default: false
description: Allow destination machine to match source for resize.
type: boolean
NovaApiMaxLimit:
default: 1000
description: Max number of objects returned per API query
type: number
parameter_groups:
- label: deprecated
@ -194,6 +198,7 @@ outputs:
nova::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
nova::keystone::authtoken::region_name: {get_param: KeystoneRegion}
nova::keystone::authtoken::interface: 'internal'
nova::api::max_limit: {get_param: NovaApiMaxLimit}
nova::api::enabled: true
nova::api::default_floating_pool: {get_param: NovaDefaultFloatingPool}
nova::api::enable_proxy_headers_parsing: true

View File

@ -0,0 +1,5 @@
---
features:
- |
The NovaApiMaxLimit parameter allows the operator to set Nova API
max_limit using a Heat parameter in their templates.