
bug 985470 bug 985646 The fixes enable the OVS and linuxbridge agenets to "keep alive" when the host running the server/plugin is down. Fixes after comments. Better logging Fixes after comments - added reconnect interval + cleanup Fixes after comments - simplify code + ovs intervals moved to configuration file Fixes after comments - move int conversion to configuration Fixes after comments - if one of the polling interval or reconnect interval are not defined in the relevant ini files then a default value is used. Fixes after comments and merges with HACKING.rst fixes Fixes after port binding comments Fixes after comments from gongysh Fixes after comments - align comments in agent ini files Fixes - revert some code Change-Id: I9194f142478b130e8ef198b019539357a9916d7f
67 lines
2.3 KiB
INI
67 lines
2.3 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://
|
|
|
|
[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
|
|
|
|
# Uncomment this line if enable-tunneling is True above.
|
|
# In most cases, the default value should be fine.
|
|
# tunnel-bridge = br-tun
|
|
|
|
# Uncomment this line if enable-tunneling is True above.
|
|
# This file contains a list of IP addresses (one per line) that point to
|
|
# hypervisors to which tunnels should be connected. It is best to use
|
|
# an absolute path to this file.
|
|
# remote-ip-file = /opt/stack/remote-ips.txt
|
|
|
|
# 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
|
|
# Agent's database reconnection interval in seconds - in event connectivity is lost
|
|
reconnect_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
|