cookbook-openstack-network/templates/default/plugins/plumgrid/plumgrid.ini.erb

39 lines
1.8 KiB
Plaintext

<%= node["openstack"]["network"]["custom_template_banner"] %>
[DATABASE]
# This line MUST be changed to actually run the plugin.
# Example:
# sql_connection = mysql://<user>:<pass>@<host>:3306/plumgrid_neutron
# Replace <host> above with the IP address of the database used by the
# main neutron server.
sql_connection = <%= @sql_connection %>
# 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
[PLUMgridNOS]
# This line should be pointing to the NOS server,
# for the PLUMgrid platform. In other deployments,
# this is known as controller
nos_server = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>
nos_server_port = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>
# Authentification parameters for the NOS server.
# These are the admin credentials to manage and control
# the NOS server.
username = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>
password = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>
servertimeout = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>
# Name of the network topology to be deployed by NOS
topologyname = <%= node["openstack"]["network"]["plumgrid"]["nos_server"] %>