summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-01-17 10:12:28 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-01-18 10:47:31 -0500
commit992463503e844fe40f3bb2a56df5db0cb715942e (patch)
tree725e632d5155ac9a79a25cae4781eb9742176b4a /meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample
parenta49d21ce53618b12ae0b03806fd56f1a8949f243 (diff)
downloadmeta-cloud-services-992463503e844fe40f3bb2a56df5db0cb715942e.tar.gz
python-neutron: uprev to latest stable/pike
Following along with other recent openstack component uprevs the configuration has been changed to match the installation/setup configuration documented by the openstack community. We have also made the switch to using systemd. The initial configuration file (neutron.conf) was generated by getting things mostly updated and running, then copying/cloning the source repo on the target and running the setup scripts (see ./tools/generate_config_file_samples.sh) With these updates neutron is running and available but is yet to be fully tested, this must be done once we have a running compute node and guests. Required updates/uprevs/introduction to: python-ryu, python-neutron-lib, python-os-xenapi, python-oslo.privsep, python-ovs, python-weakrefmethod, and more Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample259
1 files changed, 259 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample b/meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample
new file mode 100644
index 0000000..ca203b2
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-neutron/ml2/ml2_conf.ini.sample
@@ -0,0 +1,259 @@
1[DEFAULT]
2
3#
4# From oslo.log
5#
6
7# If set to true, the logging level will be set to DEBUG instead of the default
8# INFO level. (boolean value)
9# Note: This option can be changed without restarting.
10#debug = false
11
12# The name of a logging configuration file. This file is appended to any
13# existing logging configuration files. For details about logging configuration
14# files, see the Python logging module documentation. Note that when logging
15# configuration files are used then all logging configuration is set in the
16# configuration file and other logging configuration options are ignored (for
17# example, logging_context_format_string). (string value)
18# Note: This option can be changed without restarting.
19# Deprecated group/name - [DEFAULT]/log_config
20#log_config_append = <None>
21
22# Defines the format string for %%(asctime)s in log records. Default:
23# %(default)s . This option is ignored if log_config_append is set. (string
24# value)
25#log_date_format = %Y-%m-%d %H:%M:%S
26
27# (Optional) Name of log file to send logging output to. If no default is set,
28# logging will go to stderr as defined by use_stderr. This option is ignored if
29# log_config_append is set. (string value)
30# Deprecated group/name - [DEFAULT]/logfile
31#log_file = <None>
32
33# (Optional) The base directory used for relative log_file paths. This option
34# is ignored if log_config_append is set. (string value)
35# Deprecated group/name - [DEFAULT]/logdir
36#log_dir = <None>
37
38# Uses logging handler designed to watch file system. When log file is moved or
39# removed this handler will open a new log file with specified path
40# instantaneously. It makes sense only if log_file option is specified and
41# Linux platform is used. This option is ignored if log_config_append is set.
42# (boolean value)
43#watch_log_file = false
44
45# Use syslog for logging. Existing syslog format is DEPRECATED and will be
46# changed later to honor RFC5424. This option is ignored if log_config_append
47# is set. (boolean value)
48#use_syslog = false
49
50# Enable journald for logging. If running in a systemd environment you may wish
51# to enable journal support. Doing so will use the journal native protocol
52# which includes structured metadata in addition to log messages.This option is
53# ignored if log_config_append is set. (boolean value)
54#use_journal = false
55
56# Syslog facility to receive log lines. This option is ignored if
57# log_config_append is set. (string value)
58#syslog_log_facility = LOG_USER
59
60# Log output to standard error. This option is ignored if log_config_append is
61# set. (boolean value)
62#use_stderr = false
63
64# Format string to use for log messages with context. (string value)
65#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
66
67# Format string to use for log messages when context is undefined. (string
68# value)
69#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
70
71# Additional data to append to log message when logging level for the message
72# is DEBUG. (string value)
73#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
74
75# Prefix each line of exception output with this format. (string value)
76#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
77
78# Defines the format string for %(user_identity)s that is used in
79# logging_context_format_string. (string value)
80#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
81
82# List of package logging levels in logger=LEVEL pairs. This option is ignored
83# if log_config_append is set. (list value)
84#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
85
86# Enables or disables publication of error events. (boolean value)
87#publish_errors = false
88
89# The format for an instance that is passed with the log message. (string
90# value)
91#instance_format = "[instance: %(uuid)s] "
92
93# The format for an instance UUID that is passed with the log message. (string
94# value)
95#instance_uuid_format = "[instance: %(uuid)s] "
96
97# Interval, number of seconds, of log rate limiting. (integer value)
98#rate_limit_interval = 0
99
100# Maximum number of logged messages per rate_limit_interval. (integer value)
101#rate_limit_burst = 0
102
103# Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
104# or empty string. Logs with level greater or equal to rate_limit_except_level
105# are not filtered. An empty string means that all levels are filtered. (string
106# value)
107#rate_limit_except_level = CRITICAL
108
109# Enables or disables fatal status of deprecations. (boolean value)
110#fatal_deprecations = false
111
112
113[l2pop]
114
115#
116# From neutron.ml2
117#
118
119# Delay within which agent is expected to update existing ports when it
120# restarts (integer value)
121#agent_boot_time = 180
122
123
124[ml2]
125
126#
127# From neutron.ml2
128#
129
130# List of network type driver entrypoints to be loaded from the
131# neutron.ml2.type_drivers namespace. (list value)
132#type_drivers = local,flat,vlan,gre,vxlan,geneve
133
134# Ordered list of network_types to allocate as tenant networks. The default
135# value 'local' is useful for single-box testing but provides no connectivity
136# between hosts. (list value)
137#tenant_network_types = local
138
139# An ordered list of networking mechanism driver entrypoints to be loaded from
140# the neutron.ml2.mechanism_drivers namespace. (list value)
141#mechanism_drivers =
142
143# An ordered list of extension driver entrypoints to be loaded from the
144# neutron.ml2.extension_drivers namespace. For example: extension_drivers =
145# port_security,qos (list value)
146#extension_drivers =
147
148# Maximum size of an IP packet (MTU) that can traverse the underlying physical
149# network infrastructure without fragmentation when using an overlay/tunnel
150# protocol. This option allows specifying a physical network MTU value that
151# differs from the default global_physnet_mtu value. (integer value)
152#path_mtu = 0
153
154# A list of mappings of physical networks to MTU values. The format of the
155# mapping is <physnet>:<mtu val>. This mapping allows specifying a physical
156# network MTU value that differs from the default global_physnet_mtu value.
157# (list value)
158#physical_network_mtus =
159
160# Default network type for external networks when no provider attributes are
161# specified. By default it is None, which means that if provider attributes are
162# not specified while creating external networks then they will have the same
163# type as tenant networks. Allowed values for external_network_type config
164# option depend on the network type values configured in type_drivers config
165# option. (string value)
166#external_network_type = <None>
167
168# IP version of all overlay (tunnel) network endpoints. Use a value of 4 for
169# IPv4 or 6 for IPv6. (integer value)
170#overlay_ip_version = 4
171
172
173[ml2_type_flat]
174
175#
176# From neutron.ml2
177#
178
179# List of physical_network names with which flat networks can be created. Use
180# default '*' to allow flat networks with arbitrary physical_network names. Use
181# an empty list to disable flat networks. (list value)
182#flat_networks = *
183
184
185[ml2_type_geneve]
186
187#
188# From neutron.ml2
189#
190
191# Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
192# Geneve VNI IDs that are available for tenant network allocation (list value)
193#vni_ranges =
194
195# Geneve encapsulation header size is dynamic, this value is used to calculate
196# the maximum MTU for the driver. This is the sum of the sizes of the outer ETH
197# + IP + UDP + GENEVE header sizes. The default size for this field is 50,
198# which is the size of the Geneve header without any additional option headers.
199# (integer value)
200#max_header_size = 30
201
202
203[ml2_type_gre]
204
205#
206# From neutron.ml2
207#
208
209# Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE
210# tunnel IDs that are available for tenant network allocation (list value)
211#tunnel_id_ranges =
212
213
214[ml2_type_vlan]
215
216#
217# From neutron.ml2
218#
219
220# List of <physical_network>:<vlan_min>:<vlan_max> or <physical_network>
221# specifying physical_network names usable for VLAN provider and tenant
222# networks, as well as ranges of VLAN tags on each available for allocation to
223# tenant networks. (list value)
224#network_vlan_ranges =
225
226
227[ml2_type_vxlan]
228
229#
230# From neutron.ml2
231#
232
233# Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
234# VXLAN VNI IDs that are available for tenant network allocation (list value)
235#vni_ranges =
236
237# Multicast group for VXLAN. When configured, will enable sending all broadcast
238# traffic to this multicast group. When left unconfigured, will disable
239# multicast VXLAN mode. (string value)
240#vxlan_group = <None>
241
242
243[securitygroup]
244
245#
246# From neutron.ml2
247#
248
249# Driver for security groups firewall in the L2 agent (string value)
250#firewall_driver = <None>
251
252# Controls whether the neutron security group API is enabled in the server. It
253# should be false when using no security groups or using the nova security
254# group API. (boolean value)
255#enable_security_group = true
256
257# Use ipset to speed-up the iptables based security groups. Enabling ipset
258# support requires that ipset is installed on L2 agent node. (boolean value)
259#enable_ipset = true