65 lines
2.5 KiB
INI
65 lines
2.5 KiB
INI
# Config file for quantum-proxy-plugin.
|
|
|
|
[database]
|
|
# This line MUST be changed to actually run the plugin.
|
|
# Example:
|
|
# sql_connection = mysql://root:pass@127.0.0.1:3306/restproxy_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.)
|
|
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
|
|
|
|
[restproxy]
|
|
# All configuration for this plugin is in section '[restproxy]'
|
|
#
|
|
# The following parameters are supported:
|
|
# servers : <host:port>[,<host:port>]* (Error if not set)
|
|
# server_auth : <username:password> (default: no auth)
|
|
# server_ssl : True | False (default: False)
|
|
# sync_data : True | False (default: False)
|
|
# server_timeout : 10 (default: 10 seconds)
|
|
#
|
|
servers=localhost:8080
|
|
#server_auth=username:password
|
|
#server_ssl=True
|
|
#sync_data=True
|
|
#server_timeout=10
|
|
|
|
[nova]
|
|
# Specify the VIF_TYPE that will be controlled on the Nova compute instances
|
|
# options: ivs or ovs
|
|
# default: ovs
|
|
# vif_type = ovs
|
|
|
|
[ROUTER]
|
|
# Specify the default router rules installed in newly created tenant routers
|
|
# Specify multiple times for multiple rules
|
|
# Format is <tenant>:<source>:<destination>:<action>
|
|
# Optionally, a comma-separated list of nexthops may be included after <action>
|
|
# Use an * to specify default for all tenants
|
|
# Default is any any allow for all tenants
|
|
#tenant_default_router_rule=*:any:any:permit
|
|
# Maximum number of rules that a single router may have
|
|
# Default is 200
|
|
#max_router_rules=200
|