diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/ml2/openvswitch_agent.ini.sample')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/ml2/openvswitch_agent.ini.sample | 298 |
1 files changed, 298 insertions, 0 deletions
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> | ||
