Add sqlalchemy_pool_size option to default config files

This patch exposes the sqlalchemy_pool_size option to config files of
plugins that already expose sql_ options besides sql_connection.

Fixes bug 1185260

Change-Id: Ifaff02fae5e5349efb992c071adc0b02f10d61a7
This commit is contained in:
Aaron Rosen 2013-05-28 20:38:31 -07:00
parent c554de0c35
commit 67ad85db59
11 changed files with 23 additions and 0 deletions

View File

@ -22,6 +22,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[RESTPROXY]
# All configuration for this plugin is in section '[restproxy]'

View File

@ -21,6 +21,8 @@
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
#
# Example:
# sql_connection = mysql://root:pass@localhost/brcd_quantum?charset=utf8

View File

@ -20,6 +20,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[HYPERV]
# (StrOpt) Type of network to allocate for tenant networks. The

View File

@ -42,6 +42,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[LINUX_BRIDGE]
# (ListOpt) Comma-separated list of

View File

@ -22,6 +22,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[META]
## This is list of flavor:quantum_plugins

View File

@ -20,6 +20,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[MIDONET]
# MidoNet API server URI

View File

@ -22,6 +22,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[ovs]
# Do not change this parameter unless you have a good reason to.

View File

@ -90,6 +90,9 @@ sql_connection = sqlite://
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[quotas]
# number of network gateways allowed per tenant, -1 means unlimited

View File

@ -20,6 +20,8 @@ reconnect_interval = 2
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[ovs]
# (StrOpt) Type of network to allocate for tenant networks. The

View File

@ -22,6 +22,8 @@
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[PLUMgridNOS]
# This line should be pointing to the NOS server,

View File

@ -12,6 +12,8 @@ sql_connection = sqlite://
# sql_max_pool_size = 5
# Timeout in seconds before idle sql connections are reaped
# sql_idle_timeout = 3600
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
# sqlalchemy_pool_size = 5
[ovs]
integration_bridge = br-int