summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini')
-rw-r--r--meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini130
1 files changed, 130 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
new file mode 100644
index 0000000..ca68814
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
@@ -0,0 +1,130 @@
1[DATABASE]
2# This line MUST be changed to actually run the plugin.
3# Example:
4# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
5# Replace 127.0.0.1 above with the IP address of the database used by the
6# main quantum server. (Leave it as is if the database runs on this host.)
7sql_connection = postgresql://nova:nova@localhost/quantum
8# Database reconnection retry times - in event connectivity is lost
9# set to -1 implies an infinite retry count
10# sql_max_retries = 10
11# Database reconnection interval in seconds - if the initial connection to the
12# database fails
13reconnect_interval = 2
14# Enable the use of eventlet's db_pool for MySQL. The flags sql_min_pool_size,
15# sql_max_pool_size and sql_idle_timeout are relevant only if this is enabled.
16# sql_dbpool_enable = False
17# Minimum number of SQL connections to keep open in a pool
18# sql_min_pool_size = 1
19# Maximum number of SQL connections to keep open in a pool
20# sql_max_pool_size = 5
21# Timeout in seconds before idle sql connections are reaped
22# sql_idle_timeout = 3600
23
24[OVS]
25# (StrOpt) Type of network to allocate for tenant networks. The
26# default value 'local' is useful only for single-box testing and
27# provides no connectivity between hosts. You MUST either change this
28# to 'vlan' and configure network_vlan_ranges below or change this to
29# 'gre' and configure tunnel_id_ranges below in order for tenant
30# networks to provide connectivity between hosts. Set to 'none' to
31# disable creation of tenant networks.
32#
33# Default: tenant_network_type = local
34# Example: tenant_network_type = gre
35tenant_network_type = gre
36
37# (ListOpt) Comma-separated list of
38# <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
39# of VLAN IDs on named physical networks that are available for
40# allocation. All physical networks listed are available for flat and
41# VLAN provider network creation. Specified ranges of VLAN IDs are
42# available for tenant network allocation if tenant_network_type is
43# 'vlan'. If empty, only gre and local networks may be created.
44#
45# Default: network_vlan_ranges =
46# Example: network_vlan_ranges = physnet1:1000:2999
47
48# (BoolOpt) Set to True in the server and the agents to enable support
49# for GRE networks. Requires kernel support for OVS patch ports and
50# GRE tunneling.
51#
52# Default: enable_tunneling = False
53enable_tunneling = True
54
55# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples
56# enumerating ranges of GRE tunnel IDs that are available for tenant
57# network allocation if tenant_network_type is 'gre'.
58#
59# Default: tunnel_id_ranges =
60# Example: tunnel_id_ranges = 1:1000
61tunnel_id_ranges = 1:1000
62
63# Do not change this parameter unless you have a good reason to.
64# This is the name of the OVS integration bridge. There is one per hypervisor.
65# The integration bridge acts as a virtual "patch bay". All VM VIFs are
66# attached to this bridge and then "patched" according to their network
67# connectivity.
68#
69# Default: integration_bridge = br-int
70
71# Only used for the agent if tunnel_id_ranges (above) is not empty for
72# the server. In most cases, the default value should be fine.
73#
74# Default: tunnel_bridge = br-tun
75
76# Peer patch port in integration bridge for tunnel bridge
77# int_peer_patch_port = patch-tun
78
79# Peer patch port in tunnel bridge for integration bridge
80# tun_peer_patch_port = patch-int
81
82# Uncomment this line for the agent if tunnel_id_ranges (above) is not
83# empty for the server. Set local-ip to be the local IP address of
84# this hypervisor.
85#
86# Default: local_ip =
87
88# (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
89# mapping physical network names to the agent's node-specific OVS
90# bridge names to be used for flat and VLAN networks. The length of
91# bridge names should be no more than 11. Each bridge must
92# exist, and should have a physical network interface configured as a
93# port. All physical networks listed in network_vlan_ranges on the
94# server should have mappings to appropriate bridges on each agent.
95#
96# Default: bridge_mappings =
97# Example: bridge_mappings = physnet1:br-eth1
98
99[AGENT]
100# Agent's polling interval in seconds
101polling_interval = 2
102
103[SECURITYGROUP]
104# Firewall driver for realizing quantum security group function
105# firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
106
107#-----------------------------------------------------------------------------
108# Sample Configurations.
109#-----------------------------------------------------------------------------
110#
111# 1. With VLANs on eth1.
112# [DATABASE]
113# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
114# [OVS]
115# network_vlan_ranges = default:2000:3999
116# tunnel_id_ranges =
117# integration_bridge = br-int
118# bridge_mappings = default:br-eth1
119# [AGENT]
120# Add the following setting, if you want to log to a file
121#
122# 2. With tunneling.
123# [DATABASE]
124# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
125# [OVS]
126# network_vlan_ranges =
127# tunnel_id_ranges = 1:1000
128# integration_bridge = br-int
129# tunnel_bridge = br-tun
130# local_ip = 10.0.0.3