725d636da5
Fixes bug 1160442 The defualt parameters are used unless otherwise configured. This is applicable for: - pool_size - max_overflow - pool_timeout By increasing the pool_size and the max_overflow and lowering the timeout the issue reported in the bug is resolved. NOTE: the configuration values enable the user to make use of the default QueuePool tuning values. Change-Id: Ic258442531a2caf2db4f05c4ddd6fbfb0c180f17
46 lines
1.8 KiB
INI
46 lines
1.8 KiB
INI
# Config file for Quantum PLUMgrid plugin
|
|
|
|
[DATABASE]
|
|
# This line MUST be changed to actually run the plugin.
|
|
# Example:
|
|
# sql_connection = mysql://<user>:<pass>@<host>:3306/plumgrid_quantum
|
|
# Replace <host> above with the IP address of the database used by the
|
|
# main quantum server.
|
|
# sql_connection = sqlite://
|
|
# Database reconnection retry times - in event connectivity is lost
|
|
# set to -1 implies an infinite retry count
|
|
# sql_max_retries = 10
|
|
# Database reconnection interval in seconds - if the initial connection to the
|
|
# database fails
|
|
# reconnect_interval = 2
|
|
# Enable the use of eventlet's db_pool for MySQL. The flags sql_min_pool_size,
|
|
# sql_max_pool_size and sql_idle_timeout are relevant only if this is enabled.
|
|
# sql_dbpool_enable = False
|
|
# Minimum number of SQL connections to keep open in a pool
|
|
# sql_min_pool_size = 1
|
|
# Maximum number of SQL connections to keep open in a pool
|
|
# 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
|
|
# Example sqlalchemy_pool_size = 5
|
|
# Maximum number of overflow connections in a QueuePool in SQLAlchemy
|
|
# Example sqlalchemy_max_overflow = 10
|
|
# Timeout of the open connections QueuePool in SQLAlchemy
|
|
# Example sqlalchemy_pool_timeout = 30
|
|
|
|
[PLUMgridNOS]
|
|
# This line should be pointing to the NOS server,
|
|
# for the PLUMgrid platform. In other deployments,
|
|
# this is known as controller
|
|
# nos_server=<nos-ip-address>
|
|
# nos_server_port=<nos-port>
|
|
# Authentification parameters for the NOS server.
|
|
# These are the admin credentials to manage and control
|
|
# the NOS server.
|
|
# username=<nos-admin-username>
|
|
# password=<nos-admin-password>
|
|
# servertimeout=5
|
|
# Name of the network topology to be deployed by NOS
|
|
# topologyname=<nos-topology-name>
|