07bbf797fc
Implements the blueprint use-common-cfg In order for the linuxbridge plugin to use the rpc code soon to be merged into openstack-common, we need to parse our configuration using cfg. Here we make the most simple, backwards compatible change in that direction. The same is relevant for the openvswitch implementation Fixes after comments. Change-Id: I70fc1898a802cb4198f72741453283d114added2
62 lines
2.0 KiB
INI
62 lines
2.0 KiB
INI
[DATABASE]
|
|
# This line MUST be changed to actually run the plugin.
|
|
# Example:
|
|
# sql_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.)
|
|
sql_connection = sqlite://
|
|
# Database reconnection interval in seconds - in event connectivity is lost
|
|
reconnect_interval = 2
|
|
|
|
[OVS]
|
|
# This enables the new OVSQuantumTunnelAgent which enables tunneling
|
|
# between hybervisors. Leave it set to False or omit for legacy behavior.
|
|
enable_tunneling = False
|
|
|
|
# Do not change this parameter unless you have a good reason to.
|
|
# This is the name of the OVS integration bridge. There is one per hypervisor.
|
|
# The integration bridge acts as a virtual "patch port". All VM VIFs are
|
|
# attached to this bridge and then "patched" according to their network
|
|
# connectivity.
|
|
integration_bridge = br-int
|
|
|
|
# Only used if enable-tunneling (above) is True.
|
|
# In most cases, the default value should be fine.
|
|
tunnel_bridge = br-tun
|
|
|
|
# Uncomment this line if enable-tunneling is True above.
|
|
# Set local-ip to be the local IP address of this hypervisor.
|
|
# local_ip = 10.0.0.3
|
|
|
|
[AGENT]
|
|
# Agent's polling interval in seconds
|
|
polling_interval = 2
|
|
# Change to "sudo quantum-rootwrap" to limit commands that can be run
|
|
# as root.
|
|
root_helper = sudo
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Sample Configurations.
|
|
#-----------------------------------------------------------------------------
|
|
#
|
|
# 1. Without tunneling.
|
|
# [DATABASE]
|
|
# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
|
|
# [OVS]
|
|
# enable_tunneling = False
|
|
# integration_bridge = br-int
|
|
# [AGENT]
|
|
# root_helper = sudo
|
|
#
|
|
# 2. With tunneling.
|
|
# [DATABASE]
|
|
# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
|
|
# [OVS]
|
|
# enable_tunneling = True
|
|
# integration_bridge = br-int
|
|
# tunnel_bridge = br-tun
|
|
# remote-ip-file = /opt/stack/remote-ips.txt
|
|
# local_ip = 10.0.0.3
|
|
# [AGENT]
|
|
# root_helper = sudo
|