diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2018-01-17 10:12:28 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-01-18 10:47:31 -0500 |
| commit | 992463503e844fe40f3bb2a56df5db0cb715942e (patch) | |
| tree | 725e632d5155ac9a79a25cae4781eb9742176b4a /meta-openstack/recipes-devtools/python/python-neutron/ml2 | |
| parent | a49d21ce53618b12ae0b03806fd56f1a8949f243 (diff) | |
| download | meta-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')
5 files changed, 1088 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ml2/linuxbridge_agent.ini.sample b/meta-openstack/recipes-devtools/python/python-neutron/ml2/linuxbridge_agent.ini.sample new file mode 100644 index 0000000..8cc3110 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/ml2/linuxbridge_agent.ini.sample | |||
| @@ -0,0 +1,231 @@ | |||
| 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 | [agent] | ||
| 114 | |||
| 115 | # | ||
| 116 | # From neutron.ml2.linuxbridge.agent | ||
| 117 | # | ||
| 118 | |||
| 119 | # The number of seconds the agent will wait between polling for local device | ||
| 120 | # changes. (integer value) | ||
| 121 | #polling_interval = 2 | ||
| 122 | |||
| 123 | # Set new timeout in seconds for new rpc calls after agent receives SIGTERM. If | ||
| 124 | # value is set to 0, rpc timeout won't be changed (integer value) | ||
| 125 | #quitting_rpc_timeout = 10 | ||
| 126 | |||
| 127 | # Extensions list to use (list value) | ||
| 128 | #extensions = | ||
| 129 | |||
| 130 | |||
| 131 | [linux_bridge] | ||
| 132 | |||
| 133 | # | ||
| 134 | # From neutron.ml2.linuxbridge.agent | ||
| 135 | # | ||
| 136 | |||
| 137 | # Comma-separated list of <physical_network>:<physical_interface> tuples | ||
| 138 | # mapping physical network names to the agent's node-specific physical network | ||
| 139 | # interfaces to be used for flat and VLAN networks. All physical networks | ||
| 140 | # listed in network_vlan_ranges on the server should have mappings to | ||
| 141 | # appropriate interfaces on each agent. (list value) | ||
| 142 | #physical_interface_mappings = | ||
| 143 | |||
| 144 | # List of <physical_network>:<physical_bridge> (list value) | ||
| 145 | #bridge_mappings = | ||
| 146 | |||
| 147 | |||
| 148 | [securitygroup] | ||
| 149 | |||
| 150 | # | ||
| 151 | # From neutron.ml2.linuxbridge.agent | ||
| 152 | # | ||
| 153 | |||
| 154 | # Driver for security groups firewall in the L2 agent (string value) | ||
| 155 | #firewall_driver = <None> | ||
| 156 | |||
| 157 | # Controls whether the neutron security group API is enabled in the server. It | ||
| 158 | # should be false when using no security groups or using the nova security | ||
| 159 | # group API. (boolean value) | ||
| 160 | #enable_security_group = true | ||
| 161 | |||
| 162 | # Use ipset to speed-up the iptables based security groups. Enabling ipset | ||
| 163 | # support requires that ipset is installed on L2 agent node. (boolean value) | ||
| 164 | #enable_ipset = true | ||
| 165 | |||
| 166 | |||
| 167 | [vxlan] | ||
| 168 | |||
| 169 | # | ||
| 170 | # From neutron.ml2.linuxbridge.agent | ||
| 171 | # | ||
| 172 | |||
| 173 | # Enable VXLAN on the agent. Can be enabled when agent is managed by ml2 plugin | ||
| 174 | # using linuxbridge mechanism driver (boolean value) | ||
| 175 | #enable_vxlan = true | ||
| 176 | |||
| 177 | # TTL for vxlan interface protocol packets. (integer value) | ||
| 178 | #ttl = <None> | ||
| 179 | |||
| 180 | # TOS for vxlan interface protocol packets. (integer value) | ||
| 181 | #tos = <None> | ||
| 182 | |||
| 183 | # Multicast group(s) for vxlan interface. A range of group addresses may be | ||
| 184 | # specified by using CIDR notation. Specifying a range allows different VNIs to | ||
| 185 | # use different group addresses, reducing or eliminating spurious broadcast | ||
| 186 | # traffic to the tunnel endpoints. To reserve a unique group for each possible | ||
| 187 | # (24-bit) VNI, use a /8 such as 239.0.0.0/8. This setting must be the same on | ||
| 188 | # all the agents. (string value) | ||
| 189 | #vxlan_group = 224.0.0.1 | ||
| 190 | |||
| 191 | # IP address of local overlay (tunnel) network endpoint. Use either an IPv4 or | ||
| 192 | # IPv6 address that resides on one of the host network interfaces. The IP | ||
| 193 | # version of this value must match the value of the 'overlay_ip_version' option | ||
| 194 | # in the ML2 plug-in configuration file on the neutron server node(s). (IP | ||
| 195 | # address value) | ||
| 196 | #local_ip = <None> | ||
| 197 | |||
| 198 | # The minimum of the UDP source port range used for VXLAN communication. (port | ||
| 199 | # value) | ||
| 200 | # Minimum value: 0 | ||
| 201 | # Maximum value: 65535 | ||
| 202 | #udp_srcport_min = 0 | ||
| 203 | |||
| 204 | # The maximum of the UDP source port range used for VXLAN communication. (port | ||
| 205 | # value) | ||
| 206 | # Minimum value: 0 | ||
| 207 | # Maximum value: 65535 | ||
| 208 | #udp_srcport_max = 0 | ||
| 209 | |||
| 210 | # The UDP port used for VXLAN communication. By default, the Linux kernel | ||
| 211 | # doesn't use the IANA assigned standard value, so if you want to use it, this | ||
| 212 | # option must be set to 4789. It is not set by default because of backward | ||
| 213 | # compatibiltiy. (port value) | ||
| 214 | # Minimum value: 0 | ||
| 215 | # Maximum value: 65535 | ||
| 216 | #udp_dstport = <None> | ||
| 217 | |||
| 218 | # Extension to use alongside ml2 plugin's l2population mechanism driver. It | ||
| 219 | # enables the plugin to populate VXLAN forwarding table. (boolean value) | ||
| 220 | #l2_population = false | ||
| 221 | |||
| 222 | # Enable local ARP responder which provides local responses instead of | ||
| 223 | # performing ARP broadcast into the overlay. Enabling local ARP responder is | ||
| 224 | # not fully compatible with the allowed-address-pairs extension. (boolean | ||
| 225 | # value) | ||
| 226 | #arp_responder = false | ||
| 227 | |||
| 228 | # Optional comma-separated list of <multicast address>:<vni_min>:<vni_max> | ||
| 229 | # triples describing how to assign a multicast address to VXLAN according to | ||
| 230 | # its VNI ID. (list value) | ||
| 231 | #multicast_ranges = | ||
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ml2/macvtap_agent.ini.sample b/meta-openstack/recipes-devtools/python/python-neutron/ml2/macvtap_agent.ini.sample new file mode 100644 index 0000000..0c4d43c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/ml2/macvtap_agent.ini.sample | |||
| @@ -0,0 +1,158 @@ | |||
| 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 | [agent] | ||
| 114 | |||
| 115 | # | ||
| 116 | # From neutron.ml2.macvtap.agent | ||
| 117 | # | ||
| 118 | |||
| 119 | # The number of seconds the agent will wait between polling for local device | ||
| 120 | # changes. (integer value) | ||
| 121 | #polling_interval = 2 | ||
| 122 | |||
| 123 | # Set new timeout in seconds for new rpc calls after agent receives SIGTERM. If | ||
| 124 | # value is set to 0, rpc timeout won't be changed (integer value) | ||
| 125 | #quitting_rpc_timeout = 10 | ||
| 126 | |||
| 127 | |||
| 128 | [macvtap] | ||
| 129 | |||
| 130 | # | ||
| 131 | # From neutron.ml2.macvtap.agent | ||
| 132 | # | ||
| 133 | |||
| 134 | # Comma-separated list of <physical_network>:<physical_interface> tuples | ||
| 135 | # mapping physical network names to the agent's node-specific physical network | ||
| 136 | # interfaces to be used for flat and VLAN networks. All physical networks | ||
| 137 | # listed in network_vlan_ranges on the server should have mappings to | ||
| 138 | # appropriate interfaces on each agent. (list value) | ||
| 139 | #physical_interface_mappings = | ||
| 140 | |||
| 141 | |||
| 142 | [securitygroup] | ||
| 143 | |||
| 144 | # | ||
| 145 | # From neutron.ml2.macvtap.agent | ||
| 146 | # | ||
| 147 | |||
| 148 | # Driver for security groups firewall in the L2 agent (string value) | ||
| 149 | #firewall_driver = <None> | ||
| 150 | |||
| 151 | # Controls whether the neutron security group API is enabled in the server. It | ||
| 152 | # should be false when using no security groups or using the nova security | ||
| 153 | # group API. (boolean value) | ||
| 154 | #enable_security_group = true | ||
| 155 | |||
| 156 | # Use ipset to speed-up the iptables based security groups. Enabling ipset | ||
| 157 | # support requires that ipset is installed on L2 agent node. (boolean value) | ||
| 158 | #enable_ipset = true | ||
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 | ||
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ml2/openvswitch_agent.ini.sample b/meta-openstack/recipes-devtools/python/python-neutron/ml2/openvswitch_agent.ini.sample new file mode 100644 index 0000000..5b45b09 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/ml2/openvswitch_agent.ini.sample | |||
| @@ -0,0 +1,298 @@ | |||
| 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 | [agent] | ||
| 114 | |||
| 115 | # | ||
| 116 | # From neutron.ml2.ovs.agent | ||
| 117 | # | ||
| 118 | |||
| 119 | # The number of seconds the agent will wait between polling for local device | ||
| 120 | # changes. (integer value) | ||
| 121 | #polling_interval = 2 | ||
| 122 | |||
| 123 | # Minimize polling by monitoring ovsdb for interface changes. (boolean value) | ||
| 124 | #minimize_polling = true | ||
| 125 | |||
| 126 | # The number of seconds to wait before respawning the ovsdb monitor after | ||
| 127 | # losing communication with it. (integer value) | ||
| 128 | #ovsdb_monitor_respawn_interval = 30 | ||
| 129 | |||
| 130 | # Network types supported by the agent (gre and/or vxlan). (list value) | ||
| 131 | #tunnel_types = | ||
| 132 | |||
| 133 | # The UDP port to use for VXLAN tunnels. (port value) | ||
| 134 | # Minimum value: 0 | ||
| 135 | # Maximum value: 65535 | ||
| 136 | #vxlan_udp_port = 4789 | ||
| 137 | |||
| 138 | # MTU size of veth interfaces (integer value) | ||
| 139 | #veth_mtu = 9000 | ||
| 140 | |||
| 141 | # Use ML2 l2population mechanism driver to learn remote MAC and IPs and improve | ||
| 142 | # tunnel scalability. (boolean value) | ||
| 143 | #l2_population = false | ||
| 144 | |||
| 145 | # Enable local ARP responder if it is supported. Requires OVS 2.1 and ML2 | ||
| 146 | # l2population driver. Allows the switch (when supporting an overlay) to | ||
| 147 | # respond to an ARP request locally without performing a costly ARP broadcast | ||
| 148 | # into the overlay. (boolean value) | ||
| 149 | #arp_responder = false | ||
| 150 | |||
| 151 | # Set or un-set the don't fragment (DF) bit on outgoing IP packet carrying | ||
| 152 | # GRE/VXLAN tunnel. (boolean value) | ||
| 153 | #dont_fragment = true | ||
| 154 | |||
| 155 | # Make the l2 agent run in DVR mode. (boolean value) | ||
| 156 | #enable_distributed_routing = false | ||
| 157 | |||
| 158 | # Set new timeout in seconds for new rpc calls after agent receives SIGTERM. If | ||
| 159 | # value is set to 0, rpc timeout won't be changed (integer value) | ||
| 160 | #quitting_rpc_timeout = 10 | ||
| 161 | |||
| 162 | # Reset flow table on start. Setting this to True will cause brief traffic | ||
| 163 | # interruption. (boolean value) | ||
| 164 | #drop_flows_on_start = false | ||
| 165 | |||
| 166 | # Set or un-set the tunnel header checksum on outgoing IP packet carrying | ||
| 167 | # GRE/VXLAN tunnel. (boolean value) | ||
| 168 | #tunnel_csum = false | ||
| 169 | |||
| 170 | # DEPRECATED: Selects the Agent Type reported (string value) | ||
| 171 | # This option is deprecated for removal. | ||
| 172 | # Its value may be silently ignored in the future. | ||
| 173 | #agent_type = Open vSwitch agent | ||
| 174 | |||
| 175 | # Extensions list to use (list value) | ||
| 176 | #extensions = | ||
| 177 | |||
| 178 | |||
| 179 | [ovs] | ||
| 180 | |||
| 181 | # | ||
| 182 | # From neutron.ml2.ovs.agent | ||
| 183 | # | ||
| 184 | |||
| 185 | # Integration bridge to use. Do not change this parameter unless you have a | ||
| 186 | # good reason to. This is the name of the OVS integration bridge. There is one | ||
| 187 | # per hypervisor. The integration bridge acts as a virtual 'patch bay'. All VM | ||
| 188 | # VIFs are attached to this bridge and then 'patched' according to their | ||
| 189 | # network connectivity. (string value) | ||
| 190 | #integration_bridge = br-int | ||
| 191 | |||
| 192 | # Tunnel bridge to use. (string value) | ||
| 193 | #tunnel_bridge = br-tun | ||
| 194 | |||
| 195 | # Peer patch port in integration bridge for tunnel bridge. (string value) | ||
| 196 | #int_peer_patch_port = patch-tun | ||
| 197 | |||
| 198 | # Peer patch port in tunnel bridge for integration bridge. (string value) | ||
| 199 | #tun_peer_patch_port = patch-int | ||
| 200 | |||
| 201 | # IP address of local overlay (tunnel) network endpoint. Use either an IPv4 or | ||
| 202 | # IPv6 address that resides on one of the host network interfaces. The IP | ||
| 203 | # version of this value must match the value of the 'overlay_ip_version' option | ||
| 204 | # in the ML2 plug-in configuration file on the neutron server node(s). (IP | ||
| 205 | # address value) | ||
| 206 | #local_ip = <None> | ||
| 207 | |||
| 208 | # Comma-separated list of <physical_network>:<bridge> tuples mapping physical | ||
| 209 | # network names to the agent's node-specific Open vSwitch bridge names to be | ||
| 210 | # used for flat and VLAN networks. The length of bridge names should be no more | ||
| 211 | # than 11. Each bridge must exist, and should have a physical network interface | ||
| 212 | # configured as a port. All physical networks configured on the server should | ||
| 213 | # have mappings to appropriate bridges on each agent. Note: If you remove a | ||
| 214 | # bridge from this mapping, make sure to disconnect it from the integration | ||
| 215 | # bridge as it won't be managed by the agent anymore. (list value) | ||
| 216 | #bridge_mappings = | ||
| 217 | |||
| 218 | # Use veths instead of patch ports to interconnect the integration bridge to | ||
| 219 | # physical networks. Support kernel without Open vSwitch patch port support so | ||
| 220 | # long as it is set to True. (boolean value) | ||
| 221 | #use_veth_interconnection = false | ||
| 222 | |||
| 223 | # DEPRECATED: OpenFlow interface to use. (string value) | ||
| 224 | # Allowed values: ovs-ofctl, native | ||
| 225 | # This option is deprecated for removal. | ||
| 226 | # Its value may be silently ignored in the future. | ||
| 227 | #of_interface = native | ||
| 228 | |||
| 229 | # OVS datapath to use. 'system' is the default value and corresponds to the | ||
| 230 | # kernel datapath. To enable the userspace datapath set this value to 'netdev'. | ||
| 231 | # (string value) | ||
| 232 | # Allowed values: system, netdev | ||
| 233 | #datapath_type = system | ||
| 234 | |||
| 235 | # OVS vhost-user socket directory. (string value) | ||
| 236 | #vhostuser_socket_dir = /var/run/openvswitch | ||
| 237 | |||
| 238 | # Address to listen on for OpenFlow connections. Used only for 'native' driver. | ||
| 239 | # (IP address value) | ||
| 240 | #of_listen_address = 127.0.0.1 | ||
| 241 | |||
| 242 | # Port to listen on for OpenFlow connections. Used only for 'native' driver. | ||
| 243 | # (port value) | ||
| 244 | # Minimum value: 0 | ||
| 245 | # Maximum value: 65535 | ||
| 246 | #of_listen_port = 6633 | ||
| 247 | |||
| 248 | # Timeout in seconds to wait for the local switch connecting the controller. | ||
| 249 | # Used only for 'native' driver. (integer value) | ||
| 250 | #of_connect_timeout = 30 | ||
| 251 | |||
| 252 | # Timeout in seconds to wait for a single OpenFlow request. Used only for | ||
| 253 | # 'native' driver. (integer value) | ||
| 254 | #of_request_timeout = 10 | ||
| 255 | |||
| 256 | # The interface for interacting with the OVSDB (string value) | ||
| 257 | # Allowed values: vsctl, native | ||
| 258 | #ovsdb_interface = native | ||
| 259 | |||
| 260 | # The connection string for the OVSDB backend. Will be used by ovsdb-client | ||
| 261 | # when monitoring and used for the all ovsdb commands when native | ||
| 262 | # ovsdb_interface is enabled (string value) | ||
| 263 | #ovsdb_connection = tcp:127.0.0.1:6640 | ||
| 264 | |||
| 265 | |||
| 266 | [securitygroup] | ||
| 267 | |||
| 268 | # | ||
| 269 | # From neutron.ml2.ovs.agent | ||
| 270 | # | ||
| 271 | |||
| 272 | # Driver for security groups firewall in the L2 agent (string value) | ||
| 273 | #firewall_driver = <None> | ||
| 274 | |||
| 275 | # Controls whether the neutron security group API is enabled in the server. It | ||
| 276 | # should be false when using no security groups or using the nova security | ||
| 277 | # group API. (boolean value) | ||
| 278 | #enable_security_group = true | ||
| 279 | |||
| 280 | # Use ipset to speed-up the iptables based security groups. Enabling ipset | ||
| 281 | # support requires that ipset is installed on L2 agent node. (boolean value) | ||
| 282 | #enable_ipset = true | ||
| 283 | |||
| 284 | |||
| 285 | [xenapi] | ||
| 286 | |||
| 287 | # | ||
| 288 | # From neutron.ml2.xenapi | ||
| 289 | # | ||
| 290 | |||
| 291 | # URL for connection to XenServer/Xen Cloud Platform. (string value) | ||
| 292 | #connection_url = <None> | ||
| 293 | |||
| 294 | # Username for connection to XenServer/Xen Cloud Platform. (string value) | ||
| 295 | #connection_username = <None> | ||
| 296 | |||
| 297 | # Password for connection to XenServer/Xen Cloud Platform. (string value) | ||
| 298 | #connection_password = <None> | ||
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ml2/sriov_agent.ini.sample b/meta-openstack/recipes-devtools/python/python-neutron/ml2/sriov_agent.ini.sample new file mode 100644 index 0000000..50ec959 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/ml2/sriov_agent.ini.sample | |||
| @@ -0,0 +1,142 @@ | |||
| 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 | [agent] | ||
| 114 | |||
| 115 | # | ||
| 116 | # From neutron.ml2.sriov.agent | ||
| 117 | # | ||
| 118 | |||
| 119 | # Extensions list to use (list value) | ||
| 120 | #extensions = | ||
| 121 | |||
| 122 | |||
| 123 | [sriov_nic] | ||
| 124 | |||
| 125 | # | ||
| 126 | # From neutron.ml2.sriov.agent | ||
| 127 | # | ||
| 128 | |||
| 129 | # Comma-separated list of <physical_network>:<network_device> tuples mapping | ||
| 130 | # physical network names to the agent's node-specific physical network device | ||
| 131 | # interfaces of SR-IOV physical function to be used for VLAN networks. All | ||
| 132 | # physical networks listed in network_vlan_ranges on the server should have | ||
| 133 | # mappings to appropriate interfaces on each agent. (list value) | ||
| 134 | #physical_device_mappings = | ||
| 135 | |||
| 136 | # Comma-separated list of <network_device>:<vfs_to_exclude> tuples, mapping | ||
| 137 | # network_device to the agent's node-specific list of virtual functions that | ||
| 138 | # should not be used for virtual networking. vfs_to_exclude is a semicolon- | ||
| 139 | # separated list of virtual functions to exclude from network_device. The | ||
| 140 | # network_device in the mapping should appear in the physical_device_mappings | ||
| 141 | # list. (list value) | ||
| 142 | #exclude_devices = | ||
