Advertisement
raniaadouni

/etc/neutron/plugins/ml2/ml2_conf.ini

Oct 4th, 2018
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  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. 35 # Deprecated group/name - [DEFAULT]/logdir
  36. 36 #log_dir = <None>
  37. 37
  38. 38 # Uses logging handler designed to watch file system. When log file is moved or
  39. 39 # removed this handler will open a new log file with specified path
  40. 40 # instantaneously. It makes sense only if log_file option is specified and
  41. 41 # Linux platform is used. This option is ignored if log_config_append is set.
  42. 42 # (boolean value)
  43. 43 #watch_log_file = false
  44. 44
  45. 45 # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  46. 46 # changed later to honor RFC5424. This option is ignored if log_config_append
  47. 47 # is set. (boolean value)
  48. 48 #use_syslog = false
  49. 49
  50. 50 # Enable journald for logging. If running in a systemd environment you may wish
  51. 51 # to enable journal support. Doing so will use the journal native protocol
  52. 52 # which includes structured metadata in addition to log messages.This option is
  53. 53 # ignored if log_config_append is set. (boolean value)
  54. 54 #use_journal = false
  55. 55
  56. 56 # Syslog facility to receive log lines. This option is ignored if
  57. 57 # log_config_append is set. (string value)
  58. 58 #syslog_log_facility = LOG_USER
  59. 59
  60. 60 # Log output to standard error. This option is ignored if log_config_append is
  61. 61 # set. (boolean value)
  62. 62 #use_stderr = false
  63. 63
  64. 64 # Format string to use for log messages with context. (string value)
  65. 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. 66
  67. 67 # Format string to use for log messages when context is undefined. (string
  68. 68 # value)
  69. 69 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  70. # Additional data to append to log message when logging level for the message
  71. 72 # is DEBUG. (string value)
  72. 73 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  73. 74
  74. 75 # Prefix each line of exception output with this format. (string value)
  75. 76 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  76. 77
  77. 78 # Defines the format string for %(user_identity)s that is used in
  78. 79 # logging_context_format_string. (string value)
  79. 80 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  80. 81
  81. 82 # List of package logging levels in logger=LEVEL pairs. This option is ignored
  82. 83 # if log_config_append is set. (list value)
  83. 84 #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requ ests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WA RN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
  84. 85
  85. 86 # Enables or disables publication of error events. (boolean value)
  86. 87 #publish_errors = false
  87. 88
  88. 89 # The format for an instance that is passed with the log message. (string
  89. 90 # value)
  90. 91 #instance_format = "[instance: %(uuid)s] "
  91. 92
  92. 93 # The format for an instance UUID that is passed with the log message. (string
  93. 94 # value)
  94. 95 #instance_uuid_format = "[instance: %(uuid)s] "
  95. 96
  96. 97 # Interval, number of seconds, of log rate limiting. (integer value)
  97. 98 #rate_limit_interval = 0
  98. 99
  99. 100 # Maximum number of logged messages per rate_limit_interval. (integer value)
  100. 101 #rate_limit_burst = 0
  101. 102
  102. 103 # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  103. 104 # or empty string. Logs with level greater or equal to rate_limit_except_level
  104. 105 # are not filtered. An empty string means that all levels are filtered. (string
  105. 106 # value)
  106. 107 #rate_limit_except_level = CRITICAL
  107. 108
  108. 109 # Enables or disables fatal status of deprecations. (boolean value)
  109. 110 #fatal_deprecations = false
  110. 111
  111. 112
  112. 113 [l2pop]
  113. 114
  114. 115 #
  115. 116 # From neutron.ml2
  116. 117 #
  117. 118
  118. 119 # Delay within which agent is expected to update existing ports when it
  119. 120 # restarts (integer value)
  120. 121 #agent_boot_time = 180
  121. 122
  122. 123
  123. 124 [ml2]
  124. 125
  125. 126 #
  126. 127 # From neutron.ml2
  127. 128 #
  128. 129
  129. 130 # List of network type driver entrypoints to be loaded from the
  130. 131 # neutron.ml2.type_drivers namespace. (list value)
  131. 132 #type_drivers = local,flat,vlan,gre,vxlan,geneve
  132. 133 type_drivers = flat,vlan,vxlan
  133. 134
  134. 135 # Ordered list of network_types to allocate as tenant networks. The default
  135. 136 # value 'local' is useful for single-box testing but provides no connectivity
  136. 137 # between hosts. (list value)
  137. 138 #tenant_network_types = local
  138. 139 tenant_network_types = vxlan
  139. 141 # An ordered list of networking mechanism driver entrypoints to be loaded from
  140. 142 # the neutron.ml2.mechanism_drivers namespace. (list value)
  141. 143 #mechanism_drivers =
  142. 144 mechanism_drivers = linuxbridge,l2population
  143. 145
  144. 146 # An ordered list of extension driver entrypoints to be loaded from the
  145. 147 # neutron.ml2.extension_drivers namespace. For example: extension_drivers =
  146. 148 # port_security,qos (list value)
  147. 149 #extension_drivers =
  148. 150 extension_drivers = port_security
  149. 151
  150. 152 # Maximum size of an IP packet (MTU) that can traverse the underlying physical
  151. 153 # network infrastructure without fragmentation when using an overlay/tunnel
  152. 154 # protocol. This option allows specifying a physical network MTU value that
  153. 155 # differs from the default global_physnet_mtu value. (integer value)
  154. 156 #path_mtu = 0
  155. 157 #path_mtu = 1450
  156. 158 # A list of mappings of physical networks to MTU values. The format of the
  157. 159 # mapping is <physnet>:<mtu val>. This mapping allows specifying a physical
  158. 160 # network MTU value that differs from the default global_physnet_mtu value.
  159. 161 # (list value)
  160. 162 #physical_network_mtus =
  161. 163 #physical_network_mtus = provider:1450
  162. 164
  163. 165 # Default network type for external networks when no provider attributes are
  164. 166 # specified. By default it is None, which means that if provider attributes are
  165. 167 # not specified while creating external networks then they will have the same
  166. 168 # type as tenant networks. Allowed values for external_network_type config
  167. 169 # option depend on the network type values configured in type_drivers config
  168. 170 # option. (string value)
  169. 171 #external_network_type = <None>
  170. 172
  171. 173 # IP version of all overlay (tunnel) network endpoints. Use a value of 4 for
  172. 174 # IPv4 or 6 for IPv6. (integer value)
  173. 175 #overlay_ip_version = 4
  174. 177
  175. 178 [ml2_type_flat]
  176. 179 flat_networks = provider
  177. 180
  178. 181 #
  179. 182 # From neutron.ml2
  180. 183 #
  181. 184
  182. 185 # List of physical_network names with which flat networks can be created. Use
  183. 186 # default '*' to allow flat networks with arbitrary physical_network names. Use
  184. 187 # an empty list to disable flat networks. (list value)
  185. 188 #flat_networks = *
  186. 189
  187. 190
  188. 191 [ml2_type_geneve]
  189. 192
  190. 193 #
  191. 194 # From neutron.ml2
  192. 195 #
  193. 196
  194. 197 # Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
  195. 198 # Geneve VNI IDs that are available for tenant network allocation (list value)
  196. 199 #vni_ranges =
  197. 200
  198. 201 # Geneve encapsulation header size is dynamic, this value is used to calculate
  199. 202 # the maximum MTU for the driver. This is the sum of the sizes of the outer ETH
  200. 203 # + IP + UDP + GENEVE header sizes. The default size for this field is 50,
  201. 204 # which is the size of the Geneve header without any additional option headers.
  202. 205 # (integer value)
  203. 206 #max_header_size = 30
  204. 207
  205. 208
  206. 209 [ml2_type_gre]
  207. 210
  208. 211 #
  209. 212 # From neutron.ml2
  210. 213 #
  211. # Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE
  212. 216 # tunnel IDs that are available for tenant network allocation (list value)
  213. 217 #tunnel_id_ranges =
  214. 218
  215. 219
  216. 220 [ml2_type_vlan]
  217. 221
  218. 222 #
  219. 223 # From neutron.ml2
  220. 224 #
  221. 225
  222. 226 # List of <physical_network>:<vlan_min>:<vlan_max> or <physical_network>
  223. 227 # specifying physical_network names usable for VLAN provider and tenant
  224. 228 # networks, as well as ranges of VLAN tags on each available for allocation to
  225. 229 # tenant networks. (list value)
  226. 230 #network_vlan_ranges =
  227. 231
  228. 232
  229. 233 [ml2_type_vxlan]
  230. 234 vni_ranges = 1:1000
  231. 235
  232. 236 #
  233. 237 # From neutron.ml2
  234. 238 #
  235. 239
  236. 240 # Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
  237. 241 # VXLAN VNI IDs that are available for tenant network allocation (list value)
  238. 242 #vni_ranges =
  239. 243
  240. 244 # Multicast group for VXLAN. When configured, will enable sending all broadcast
  241. 245 # traffic to this multicast group. When left unconfigured, will disable
  242. 246 # multicast VXLAN mode. (string value)
  243. 247 #vxlan_group = <None>
  244. 248
  245. 249
  246. 250 [securitygroup]
  247. 251
  248. 252 #
  249. 253 # From neutron.ml2
  250. 254 #
  251. 255
  252. 256 # Driver for security groups firewall in the L2 agent (string value)
  253. 257 #firewall_driver = <None>
  254. 258
  255. 259 # Controls whether the neutron security group API is enabled in the server. It
  256. 260 # should be false when using no security groups or using the nova security
  257. 261 # group API. (boolean value)
  258. 262 #enable_security_group = true
  259. 263
  260. 264 # Use ipset to speed-up the iptables based security groups. Enabling ipset
  261. 265 # support requires that ipset is installed on L2 agent node. (boolean value)
  262. 266 enable_ipset = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement