diff options
author | Peter Stachowski <peter@tesora.com> | 2016-02-01 14:42:03 -0500 |
---|---|---|
committer | Peter Stachowski <peter@tesora.com> | 2016-04-22 20:12:47 +0000 |
commit | 9e3860d54cc0fea59e80b1705c02c78cca8e1953 (patch) | |
tree | 7c6cacaea97082aae412d195f021d9465cc7c37c /devstack/settings | |
parent | a3b3fcbd7dd01b51dbaea12993c177e6ca6a1b5a (diff) | |
download | trove-9e3860d54cc0fea59e80b1705c02c78cca8e1953.tar.gz |
Add variables for quota configuration
Many configuration values are hard-coded in the Trove devstack
plugin, however they would be better served letting the
user/developer decide what limits to impose.
The following variables were added to facilitate this:
TROVE_MAX_ACCEPTED_VOLUME_SIZE
TROVE_MAX_INSTANCES_PER_TENANT
TROVE_MAX_VOLUMES_PER_TENANT
TROVE_AGENT_CALL_LOW_TIMEOUT
TROVE_AGENT_CALL_HIGH_TIMEOUT
TROVE_RESIZE_TIME_OUT
TROVE_USAGE_TIMEOUT
TROVE_STATE_CHANGE_WAIT_TIME
These values are only inserted if they are set. If not set,
the Trove defaults are used instead.
Change-Id: I2c568fdfa05064682f372b996a5aebcdd4e93ef3
Diffstat (limited to 'devstack/settings')
-rw-r--r-- | devstack/settings | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/devstack/settings b/devstack/settings index d63a7a72..99647540 100644 --- a/devstack/settings +++ b/devstack/settings @@ -23,7 +23,17 @@ TROVE_DATASTORE_TYPE=${TROVE_DATASTORE_TYPE:-"mysql"} TROVE_DATASTORE_VERSION=${TROVE_DATASTORE_VERSION:-"5.6"} TROVE_DATASTORE_PACKAGE=${TROVE_DATASTORE_PACKAGE:-"mysql-server-5.6"} -# Setup the host gateway +# Configuration values listed here for reference +TROVE_MAX_ACCEPTED_VOLUME_SIZE=${TROVE_MAX_ACCEPTED_VOLUME_SIZE} +TROVE_MAX_INSTANCES_PER_TENANT=${TROVE_MAX_INSTANCES_PER_TENANT} +TROVE_MAX_VOLUMES_PER_TENANT=${TROVE_MAX_VOLUMES_PER_TENANT} +TROVE_AGENT_CALL_LOW_TIMEOUT=${TROVE_AGENT_CALL_LOW_TIMEOUT} +TROVE_AGENT_CALL_HIGH_TIMEOUT=${TROVE_AGENT_CALL_HIGH_TIMEOUT} +TROVE_RESIZE_TIME_OUT=${TROVE_RESIZE_TIME_OUT} +TROVE_USAGE_TIMEOUT=${TROVE_USAGE_TIMEOUT} +TROVE_STATE_CHANGE_WAIT_TIME=${TROVE_STATE_CHANGE_WAIT_TIME} + +# Set up the host gateway if is_service_enabled neutron; then TROVE_HOST_GATEWAY=${PUBLIC_NETWORK_GATEWAY:-172.24.4.1} else |