This code implements the blueprint oslo-db-support NOTES: 1. The new section is database (this is backward compatible with DATABASE) 2. The sql_* are deprecated. They are also backward compatible. 3. Eventlets DB pool is no longer supported Change-Id: I6fa7c3817f6a5d8bef48382e0e754b88521f2289
37 lines
1.5 KiB
INI
37 lines
1.5 KiB
INI
[database]
|
|
# This line MUST be changed to actually run the plugin.
|
|
# Example:
|
|
# connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
|
|
# Replace 127.0.0.1 above with the IP address of the database used by the
|
|
# main quantum server. (Leave it as is if the database runs on this host.)
|
|
connection = mysql://root:password@localhost/quantum_metaplugin?charset=utf8
|
|
|
|
# Database reconnection retry times - in event connectivity is lost
|
|
# set to -1 implgies an infinite retry count
|
|
# max_retries = 10
|
|
# Database reconnection interval in seconds - if the initial connection to the
|
|
# database fails
|
|
retry_interval = 2
|
|
|
|
# Minimum number of SQL connections to keep open in a pool
|
|
# min_pool_size = 1
|
|
# Maximum number of SQL connections to keep open in a pool
|
|
# max_pool_size = 5
|
|
# Timeout in seconds before idle sql connections are reaped
|
|
# idle_timeout = 3600
|
|
|
|
[meta]
|
|
## This is list of flavor:quantum_plugins
|
|
# extension method is used in the order of this list
|
|
plugin_list= 'openvswitch:quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2,linuxbridge:quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2'
|
|
l3_plugin_list= 'openvswitch:quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2,linuxbridge:quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2'
|
|
|
|
# Default value of flavor
|
|
default_flavor = 'openvswitch'
|
|
default_l3_flavor = 'openvswitch'
|
|
|
|
# supported extentions
|
|
supported_extension_aliases = 'providernet'
|
|
# specific method map for each flavor to extensions
|
|
extension_map = 'get_port_stats:nvp'
|