Skip to content

Commit

Permalink
Add sqlalchemy_pool_size option to default config files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aaronorosen committed May 29, 2013
1 parent c554de0 commit 67ad85d
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/quantum/plugins/bigswitch/restproxy.ini
Expand Up @@ -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]'
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/brocade/brocade.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/hyperv/hyperv_quantum_plugin.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/metaplugin/metaplugin.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/midonet/midonet.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/nec/nec.ini
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions etc/quantum/plugins/nicira/nvp.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/plumgrid/plumgrid.ini
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions etc/quantum/plugins/ryu/ryu.ini
Expand Up @@ -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
Expand Down

0 comments on commit 67ad85d

Please sign in to comment.