Guest User

Untitled

a guest
Sep 19th, 2024
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.90 KB | None | 0 0
  1. [DEFAULT]
  2.  
  3. #
  4. # From neutron.ml2.ovs.agent
  5. #
  6.  
  7. # Maximum seconds to wait for a response from an RPC call. (integer value)
  8. #rpc_response_max_timeout = 600
  9.  
  10. #
  11. # From oslo.log
  12. #
  13.  
  14. # If set to true, the logging level will be set to DEBUG instead of the default
  15. # INFO level. (boolean value)
  16. # Note: This option can be changed without restarting.
  17. #debug = false
  18.  
  19. # The name of a logging configuration file. This file is appended to any
  20. # existing logging configuration files. For details about logging configuration
  21. # files, see the Python logging module documentation. Note that when logging
  22. # configuration files are used then all logging configuration is set in the
  23. # configuration file and other logging configuration options are ignored (for
  24. # example, log-date-format). (string value)
  25. # Note: This option can be changed without restarting.
  26. # Deprecated group/name - [DEFAULT]/log_config
  27. #log_config_append = <None>
  28.  
  29. # Defines the format string for %%(asctime)s in log records. Default:
  30. # %(default)s . This option is ignored if log_config_append is set. (string
  31. # value)
  32. #log_date_format = %Y-%m-%d %H:%M:%S
  33.  
  34. # (Optional) Name of log file to send logging output to. If no default is set,
  35. # logging will go to stderr as defined by use_stderr. This option is ignored if
  36. # log_config_append is set. (string value)
  37. # Deprecated group/name - [DEFAULT]/logfile
  38. #log_file = <None>
  39.  
  40. # (Optional) The base directory used for relative log_file paths. This option
  41. # is ignored if log_config_append is set. (string value)
  42. # Deprecated group/name - [DEFAULT]/logdir
  43. #log_dir = <None>
  44.  
  45. # Uses logging handler designed to watch file system. When log file is moved or
  46. # removed this handler will open a new log file with specified path
  47. # instantaneously. It makes sense only if log_file option is specified and
  48. # Linux platform is used. This option is ignored if log_config_append is set.
  49. # (boolean value)
  50. #watch_log_file = false
  51.  
  52. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  53. # changed later to honor RFC5424. This option is ignored if log_config_append
  54. # is set. (boolean value)
  55. #use_syslog = false
  56.  
  57. # Enable journald for logging. If running in a systemd environment you may wish
  58. # to enable journal support. Doing so will use the journal native protocol
  59. # which includes structured metadata in addition to log messages.This option is
  60. # ignored if log_config_append is set. (boolean value)
  61. #use_journal = false
  62.  
  63. # Syslog facility to receive log lines. This option is ignored if
  64. # log_config_append is set. (string value)
  65. #syslog_log_facility = LOG_USER
  66.  
  67. # Use JSON formatting for logging. This option is ignored if log_config_append
  68. # is set. (boolean value)
  69. #use_json = false
  70.  
  71. # Log output to standard error. This option is ignored if log_config_append is
  72. # set. (boolean value)
  73. #use_stderr = false
  74.  
  75. # DEPRECATED: Log output to Windows Event Log. (boolean value)
  76. # This option is deprecated for removal.
  77. # Its value may be silently ignored in the future.
  78. # Reason: Windows support is no longer maintained.
  79. #use_eventlog = false
  80.  
  81. # The amount of time before the log files are rotated. This option is ignored
  82. # unless log_rotation_type is set to "interval". (integer value)
  83. #log_rotate_interval = 1
  84.  
  85. # Rotation interval type. The time of the last file change (or the time when
  86. # the service was started) is used when scheduling the next rotation. (string
  87. # value)
  88. # Possible values:
  89. # Seconds - <No description provided>
  90. # Minutes - <No description provided>
  91. # Hours - <No description provided>
  92. # Days - <No description provided>
  93. # Weekday - <No description provided>
  94. # Midnight - <No description provided>
  95. #log_rotate_interval_type = days
  96.  
  97. # Maximum number of rotated log files. (integer value)
  98. #max_logfile_count = 30
  99.  
  100. # Log file maximum size in MB. This option is ignored if "log_rotation_type" is
  101. # not set to "size". (integer value)
  102. #max_logfile_size_mb = 200
  103.  
  104. # Log rotation type. (string value)
  105. # Possible values:
  106. # interval - Rotate logs at predefined time intervals.
  107. # size - Rotate logs once they reach a predefined size.
  108. # none - Do not rotate log files.
  109. #log_rotation_type = none
  110.  
  111. # Format string to use for log messages with context. Used by
  112. # oslo_log.formatters.ContextFormatter (string value)
  113. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(global_request_id)s %(request_id)s %(user_identity)s] %(instance)s%(message)s
  114.  
  115. # Format string to use for log messages when context is undefined. Used by
  116. # oslo_log.formatters.ContextFormatter (string value)
  117. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  118.  
  119. # Additional data to append to log message when logging level for the message
  120. # is DEBUG. Used by oslo_log.formatters.ContextFormatter (string value)
  121. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  122.  
  123. # Prefix each line of exception output with this format. Used by
  124. # oslo_log.formatters.ContextFormatter (string value)
  125. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  126.  
  127. # Defines the format string for %(user_identity)s that is used in
  128. # logging_context_format_string. Used by oslo_log.formatters.ContextFormatter
  129. # (string value)
  130. #logging_user_identity_format = %(user)s %(project)s %(domain)s %(system_scope)s %(user_domain)s %(project_domain)s
  131.  
  132. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  133. # if log_config_append is set. (list value)
  134. #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,oslo_policy=INFO,dogpile.core.dogpile=INFO
  135.  
  136. # Enables or disables publication of error events. (boolean value)
  137. #publish_errors = false
  138.  
  139. # The format for an instance that is passed with the log message. (string
  140. # value)
  141. #instance_format = "[instance: %(uuid)s] "
  142.  
  143. # The format for an instance UUID that is passed with the log message. (string
  144. # value)
  145. #instance_uuid_format = "[instance: %(uuid)s] "
  146.  
  147. # Interval, number of seconds, of log rate limiting. (integer value)
  148. #rate_limit_interval = 0
  149.  
  150. # Maximum number of logged messages per rate_limit_interval. (integer value)
  151. #rate_limit_burst = 0
  152.  
  153. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  154. # or empty string. Logs with level greater or equal to rate_limit_except_level
  155. # are not filtered. An empty string means that all levels are filtered. (string
  156. # value)
  157. #rate_limit_except_level = CRITICAL
  158.  
  159. # Enables or disables fatal status of deprecations. (boolean value)
  160. #fatal_deprecations = false
  161.  
  162.  
  163. [agent]
  164.  
  165. #
  166. # From neutron.ml2.ovs.agent
  167. #
  168.  
  169. # Minimize polling by monitoring OVSDB for interface changes. (boolean value)
  170. #minimize_polling = true
  171.  
  172. # The number of seconds to wait before respawning the OVSDB monitor after
  173. # losing communication with it. (integer value)
  174. #ovsdb_monitor_respawn_interval = 30
  175.  
  176. # Network types supported by the agent (gre, vxlan and/or geneve). (list value)
  177. #tunnel_types =
  178.  
  179. # The UDP port to use for VXLAN tunnels. (port value)
  180. # Minimum value: 0
  181. # Maximum value: 65535
  182. #vxlan_udp_port = 4789
  183.  
  184. # Use ML2 l2population mechanism driver to learn remote MAC and IPs and improve
  185. # tunnel scalability. (boolean value)
  186. #l2_population = false
  187.  
  188. # Enable local ARP responder if it is supported. Requires OVS 2.1 and ML2
  189. # l2population driver. Allows the switch (when supporting an overlay) to
  190. # respond to an ARP request locally without performing a costly ARP broadcast
  191. # into the overlay. NOTE: If enable_distributed_routing is set to True then
  192. # arp_responder will automatically be set to True in the agent, regardless of
  193. # the setting in the config file. (boolean value)
  194. #arp_responder = false
  195.  
  196. # Set or un-set the do not fragment (DF) bit on outgoing IP packet carrying
  197. # GRE/VXLAN tunnel. (boolean value)
  198. #dont_fragment = true
  199.  
  200. # Make the l2 agent run in DVR mode. (boolean value)
  201. #enable_distributed_routing = false
  202.  
  203. # Reset flow table on start. Setting this to True will cause brief traffic
  204. # interruption. (boolean value)
  205. #drop_flows_on_start = false
  206.  
  207. # Set or un-set the tunnel header checksum on outgoing IP packet carrying
  208. # GRE/VXLAN tunnel. (boolean value)
  209. #tunnel_csum = false
  210.  
  211. # Enable the agent to process Smart NIC ports. (boolean value)
  212. #baremetal_smartnic = false
  213.  
  214. # When set to True, the accepted egress unicast traffic will not use action
  215. # NORMAL. The accepted egress packets will be taken care of in the final egress
  216. # tables direct output flows for unicast traffic. (boolean value)
  217. #explicitly_egress_direct = false
  218.  
  219. # Extensions list to use (list value)
  220. #extensions =
  221. [vxlan]
  222. local_ip = 10.0.0.11
  223. l2_population = true
  224.  
  225. [dhcp]
  226.  
  227. #
  228. # From neutron.ml2.ovs.agent
  229. #
  230.  
  231. # When set to True, the OVS agent DHCP extension will add related flows for
  232. # DHCPv6 packets. (boolean value)
  233. #enable_ipv6 = true
  234.  
  235. # DHCP renewal time T1 (in seconds). If set to 0, it will default to half of
  236. # the lease time. (integer value)
  237. #dhcp_renewal_time = 0
  238.  
  239. # DHCP rebinding time T2 (in seconds). If set to 0, it will default to 7/8 of
  240. # the lease time. (integer value)
  241. #dhcp_rebinding_time = 0
  242.  
  243.  
  244. [metadata]
  245.  
  246. #
  247. # From neutron.ml2.ovs.agent
  248. #
  249.  
  250. # Certificate Authority public key (CA cert) file for ssl (string value)
  251. #auth_ca_cert = <None>
  252.  
  253. # IP address or DNS name of Nova metadata server. (host address value)
  254. #nova_metadata_host = 127.0.0.1
  255.  
  256. # TCP Port used by Nova metadata server. (port value)
  257. # Minimum value: 0
  258. # Maximum value: 65535
  259. #nova_metadata_port = 8775
  260.  
  261. # When proxying metadata requests, Neutron signs the Instance-ID header with a
  262. # shared secret to prevent spoofing. You may select any string for a secret,
  263. # but it must match here and in the configuration used by the Nova metadata
  264. # server. NOTE: Nova uses the same config key, but in [neutron] section.
  265. # (string value)
  266. #metadata_proxy_shared_secret =
  267.  
  268. # Protocol to access Nova metadata, http or https (string value)
  269. # Possible values:
  270. # http - <No description provided>
  271. # https - <No description provided>
  272. #nova_metadata_protocol = http
  273.  
  274. # Allow to perform insecure SSL (https) requests to Nova metadata (boolean
  275. # value)
  276. #nova_metadata_insecure = false
  277.  
  278. # Client certificate for Nova metadata api server. (string value)
  279. #nova_client_cert =
  280.  
  281. # Private key of client certificate. (string value)
  282. #nova_client_priv_key =
  283.  
  284.  
  285. [network_log]
  286.  
  287. #
  288. # From neutron.ml2.ovs.agent
  289. #
  290.  
  291. # Maximum packets logging per second. (integer value)
  292. # Minimum value: 100
  293. #rate_limit = 100
  294.  
  295. # Maximum number of packets per rate_limit. (integer value)
  296. # Minimum value: 25
  297. #burst_limit = 25
  298.  
  299. # Output logfile path on agent side, default syslog file. (string value)
  300. #local_output_log_base = <None>
  301.  
  302.  
  303. [ovs]
  304. bridge_mappings = provider:enp0s25
  305.  
  306. #
  307. # From neutron.ml2.ovs.agent
  308. #
  309.  
  310. # Integration bridge to use. Do not change this parameter unless you have a
  311. # good reason to. This is the name of the OVS integration bridge. There is one
  312. # per hypervisor. The integration bridge acts as a virtual 'patch bay'. All VM
  313. # VIFs are attached to this bridge and then 'patched' according to their
  314. # network connectivity. (string value)
  315. #integration_bridge = br-int
  316.  
  317. # Tunnel bridge to use. (string value)
  318. #tunnel_bridge = br-tun
  319.  
  320. # Peer patch port in integration bridge for tunnel bridge. (string value)
  321. #int_peer_patch_port = patch-tun
  322.  
  323. # Peer patch port in tunnel bridge for integration bridge. (string value)
  324. #tun_peer_patch_port = patch-int
  325.  
  326. # IP address of local overlay (tunnel) network endpoint. Use either an IPv4 or
  327. # IPv6 address that resides on one of the host network interfaces. The IP
  328. # version of this value must match the value of the 'overlay_ip_version' option
  329. # in the ML2 plug-in configuration file on the neutron server node(s). (IP
  330. # address value)
  331. #local_ip = <None>
  332.  
  333. # Comma-separated list of <physical_network>:<bridge> tuples mapping physical
  334. # network names to the agent's node-specific Open vSwitch bridge names to be
  335. # used for flat and VLAN networks. The length of bridge names should be no more
  336. # than 11. Each bridge must exist, and should have a physical network interface
  337. # configured as a port. All physical networks configured on the server should
  338. # have mappings to appropriate bridges on each agent. Note: If you remove a
  339. # bridge from this mapping, make sure to disconnect it from the integration
  340. # bridge as it won't be managed by the agent anymore. (list value)
  341. #bridge_mappings =
  342.  
  343. # Comma-separated list of <bridge>:<egress_bw>:<ingress_bw> tuples, showing the
  344. # available bandwidth for the given bridge in the given direction. The
  345. # direction is meant from VM perspective. Bandwidth is measured in kilobits per
  346. # second (kbps). The bridge must appear in bridge_mappings as the value. But
  347. # not all bridges in bridge_mappings must be listed here. For a bridge not
  348. # listed here we neither create a resource provider in placement nor report
  349. # inventories against. An omitted direction means we do not report an inventory
  350. # for the corresponding class. (list value)
  351. #resource_provider_bandwidths =
  352.  
  353. # Mapping of bridges to hypervisors: <bridge>:<hypervisor>,... hypervisor name
  354. # is used to locate the parent of the resource provider tree. Only needs to be
  355. # set in the rare case when the hypervisor name is different from the
  356. # resource_provider_default_hypervisor config option value as known by the
  357. # nova-compute managing that hypervisor. (dict value)
  358. #resource_provider_hypervisors =
  359.  
  360. # Comma-separated list of <hypervisor>:<packet_rate> tuples, defining the
  361. # minimum packet rate the OVS backend can guarantee in kilo (1000) packet per
  362. # second. The hypervisor name is used to locate the parent of the resource
  363. # provider tree. Only needs to be set in the rare case when the hypervisor name
  364. # is different from the DEFAULT.host config option value as known by the nova-
  365. # compute managing that hypervisor or if multiple hypervisors are served by the
  366. # same OVS backend. The default is :0 which means no packet processing capacity
  367. # is guaranteed on the hypervisor named according to DEFAULT.host. (list value)
  368. #resource_provider_packet_processing_without_direction =
  369.  
  370. # Similar to the resource_provider_packet_processing_without_direction but used
  371. # in case the OVS backend has hardware offload capabilities. In this case the
  372. # format is <hypervisor>:<egress_pkt_rate>:<ingress_pkt_rate> which allows
  373. # defining packet processing capacity per traffic direction. The direction is
  374. # meant from the VM perspective. Note that the
  375. # resource_provider_packet_processing_without_direction and the
  376. # resource_provider_packet_processing_with_direction are mutually exclusive
  377. # options. (list value)
  378. #resource_provider_packet_processing_with_direction =
  379.  
  380. # The default hypervisor name used to locate the parent of the resource
  381. # provider. If this option is not set, canonical name is used (string value)
  382. #resource_provider_default_hypervisor = <None>
  383.  
  384. # Key:value pairs to specify defaults used while reporting resource provider
  385. # inventories. Possible keys with their types: allocation_ratio:float,
  386. # max_unit:int, min_unit:int, reserved:int, step_size:int, See also:
  387. # https://docs.openstack.org/api-ref/placement/#update-resource-provider-
  388. # inventories (dict value)
  389. #resource_provider_inventory_defaults = allocation_ratio:1.0,min_unit:1,reserved:0,step_size:1
  390.  
  391. # Key:value pairs to specify defaults used while reporting packet rate
  392. # inventories. Possible keys with their types: allocation_ratio:float,
  393. # max_unit:int, min_unit:int, reserved:int, step_size:int, See also:
  394. # https://docs.openstack.org/api-ref/placement/#update-resource-provider-
  395. # inventories (dict value)
  396. #resource_provider_packet_processing_inventory_defaults = allocation_ratio:1.0,min_unit:1,reserved:0,step_size:1
  397.  
  398. # OVS datapath to use. 'system' is the default value and corresponds to the
  399. # kernel datapath. To enable the userspace datapath set this value to 'netdev'.
  400. # (string value)
  401. # Possible values:
  402. # system - <No description provided>
  403. # netdev - <No description provided>
  404. #datapath_type = system
  405.  
  406. # OVS vhost-user socket directory. (string value)
  407. #vhostuser_socket_dir = /var/run/openvswitch
  408.  
  409. # Address to listen on for OpenFlow connections. (IP address value)
  410. #of_listen_address = 127.0.0.1
  411.  
  412. # Port to listen on for OpenFlow connections. (port value)
  413. # Minimum value: 0
  414. # Maximum value: 65535
  415. #of_listen_port = 6633
  416.  
  417. # Timeout in seconds to wait for the local switch connecting the controller.
  418. # (integer value)
  419. #of_connect_timeout = 300
  420.  
  421. # Timeout in seconds to wait for a single OpenFlow request. (integer value)
  422. #of_request_timeout = 300
  423.  
  424. # The inactivity_probe interval in seconds for the local switch connection to
  425. # the controller. A value of 0 disables inactivity probes. (integer value)
  426. #of_inactivity_probe = 10
  427.  
  428. # If enabled, all OpenFlow rules associated to a port are processed at once, in
  429. # one single transaction. That avoids possible inconsistencies during OVS agent
  430. # restart and port updates. If disabled, the flows will be processed in batches
  431. # of ``_constants.AGENT_RES_PROCESSING_STEP`` number of OpenFlow rules.
  432. # (boolean value)
  433. #openflow_processed_per_port = false
  434.  
  435. # The connection string for the OVSDB backend. Will be used for all OVSDB
  436. # commands and by ovsdb-client when monitoring (string value)
  437. #ovsdb_connection = tcp:127.0.0.1:6640
  438.  
  439. # The SSL private key file to use when interacting with OVSDB. Required when
  440. # using an "ssl:" prefixed ovsdb_connection (string value)
  441. #ssl_key_file = <None>
  442.  
  443. # The SSL certificate file to use when interacting with OVSDB. Required when
  444. # using an "ssl:" prefixed ovsdb_connection (string value)
  445. #ssl_cert_file = <None>
  446.  
  447. # The Certificate Authority (CA) certificate to use when interacting with
  448. # OVSDB. Required when using an "ssl:" prefixed ovsdb_connection (string value)
  449. #ssl_ca_cert_file = <None>
  450.  
  451. # Enable OVSDB debug logs (boolean value)
  452. #ovsdb_debug = false
  453.  
  454.  
  455. [securitygroup]
  456. enable_security_group = true
  457. firewall_driver = openvswitch
  458. #firewall_driver = iptables_hybrid
  459.  
  460. #
  461. # From neutron.ml2.ovs.agent
  462. #
  463.  
  464. # Driver for security groups firewall in the L2 agent (string value)
  465. #firewall_driver = <None>
  466.  
  467. # Controls whether the neutron security group API is enabled in the server. It
  468. # should be false when using no security groups or using the Nova security
  469. # group API. (boolean value)
  470. #enable_security_group = true
  471.  
  472. # Use IPsets to speed-up the iptables based security groups. Enabling IPset
  473. # support requires that ipset is installed on the L2 agent node. (boolean
  474. # value)
  475. #enable_ipset = true
  476.  
  477. # Comma-separated list of ethertypes to be permitted, in hexadecimal (starting
  478. # with "0x"). For example, "0x4008" to permit InfiniBand. (list value)
  479. #permitted_ethertypes =
  480.  
Advertisement
Add Comment
Please, Sign In to add comment