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/metering_agent.ini | |
| 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/metering_agent.ini')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/metering_agent.ini | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/metering_agent.ini b/meta-openstack/recipes-devtools/python/python-neutron/metering_agent.ini new file mode 100644 index 0000000..19c7868 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/metering_agent.ini | |||
| @@ -0,0 +1,173 @@ | |||
| 1 | [DEFAULT] | ||
| 2 | |||
| 3 | # | ||
| 4 | # From neutron.base.agent | ||
| 5 | # | ||
| 6 | |||
| 7 | # Name of Open vSwitch bridge to use (string value) | ||
| 8 | #ovs_integration_bridge = br-int | ||
| 9 | |||
| 10 | # Uses veth for an OVS interface or not. Support kernels with limited namespace | ||
| 11 | # support (e.g. RHEL 6.5) so long as ovs_use_veth is set to True. (boolean | ||
| 12 | # value) | ||
| 13 | #ovs_use_veth = false | ||
| 14 | |||
| 15 | # The driver used to manage the virtual interface. (string value) | ||
| 16 | #interface_driver = <None> | ||
| 17 | |||
| 18 | # Timeout in seconds for ovs-vsctl commands. If the timeout expires, ovs | ||
| 19 | # commands will fail with ALARMCLOCK error. (integer value) | ||
| 20 | #ovs_vsctl_timeout = 10 | ||
| 21 | |||
| 22 | # | ||
| 23 | # From neutron.metering.agent | ||
| 24 | # | ||
| 25 | |||
| 26 | # Metering driver (string value) | ||
| 27 | #driver = neutron.services.metering.drivers.noop.noop_driver.NoopMeteringDriver | ||
| 28 | |||
| 29 | # Interval between two metering measures (integer value) | ||
| 30 | #measure_interval = 30 | ||
| 31 | |||
| 32 | # Interval between two metering reports (integer value) | ||
| 33 | #report_interval = 300 | ||
| 34 | |||
| 35 | # | ||
| 36 | # From oslo.log | ||
| 37 | # | ||
| 38 | |||
| 39 | # If set to true, the logging level will be set to DEBUG instead of the default | ||
| 40 | # INFO level. (boolean value) | ||
| 41 | # Note: This option can be changed without restarting. | ||
| 42 | #debug = false | ||
| 43 | |||
| 44 | # The name of a logging configuration file. This file is appended to any | ||
| 45 | # existing logging configuration files. For details about logging configuration | ||
| 46 | # files, see the Python logging module documentation. Note that when logging | ||
| 47 | # configuration files are used then all logging configuration is set in the | ||
| 48 | # configuration file and other logging configuration options are ignored (for | ||
| 49 | # example, logging_context_format_string). (string value) | ||
| 50 | # Note: This option can be changed without restarting. | ||
| 51 | # Deprecated group/name - [DEFAULT]/log_config | ||
| 52 | #log_config_append = <None> | ||
| 53 | |||
| 54 | # Defines the format string for %%(asctime)s in log records. Default: | ||
| 55 | # %(default)s . This option is ignored if log_config_append is set. (string | ||
| 56 | # value) | ||
| 57 | #log_date_format = %Y-%m-%d %H:%M:%S | ||
| 58 | |||
| 59 | # (Optional) Name of log file to send logging output to. If no default is set, | ||
| 60 | # logging will go to stderr as defined by use_stderr. This option is ignored if | ||
| 61 | # log_config_append is set. (string value) | ||
| 62 | # Deprecated group/name - [DEFAULT]/logfile | ||
| 63 | #log_file = <None> | ||
| 64 | |||
| 65 | # (Optional) The base directory used for relative log_file paths. This option | ||
| 66 | # is ignored if log_config_append is set. (string value) | ||
| 67 | # Deprecated group/name - [DEFAULT]/logdir | ||
| 68 | #log_dir = <None> | ||
| 69 | |||
| 70 | # Uses logging handler designed to watch file system. When log file is moved or | ||
| 71 | # removed this handler will open a new log file with specified path | ||
| 72 | # instantaneously. It makes sense only if log_file option is specified and | ||
| 73 | # Linux platform is used. This option is ignored if log_config_append is set. | ||
| 74 | # (boolean value) | ||
| 75 | #watch_log_file = false | ||
| 76 | |||
| 77 | # Use syslog for logging. Existing syslog format is DEPRECATED and will be | ||
| 78 | # changed later to honor RFC5424. This option is ignored if log_config_append | ||
| 79 | # is set. (boolean value) | ||
| 80 | #use_syslog = false | ||
| 81 | |||
| 82 | # Enable journald for logging. If running in a systemd environment you may wish | ||
| 83 | # to enable journal support. Doing so will use the journal native protocol | ||
| 84 | # which includes structured metadata in addition to log messages.This option is | ||
| 85 | # ignored if log_config_append is set. (boolean value) | ||
| 86 | #use_journal = false | ||
| 87 | |||
| 88 | # Syslog facility to receive log lines. This option is ignored if | ||
| 89 | # log_config_append is set. (string value) | ||
| 90 | #syslog_log_facility = LOG_USER | ||
| 91 | |||
| 92 | # Log output to standard error. This option is ignored if log_config_append is | ||
| 93 | # set. (boolean value) | ||
| 94 | #use_stderr = false | ||
| 95 | |||
| 96 | # Format string to use for log messages with context. (string value) | ||
| 97 | #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s | ||
| 98 | |||
| 99 | # Format string to use for log messages when context is undefined. (string | ||
| 100 | # value) | ||
| 101 | #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | ||
| 102 | |||
| 103 | # Additional data to append to log message when logging level for the message | ||
| 104 | # is DEBUG. (string value) | ||
| 105 | #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d | ||
| 106 | |||
| 107 | # Prefix each line of exception output with this format. (string value) | ||
| 108 | #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s | ||
| 109 | |||
| 110 | # Defines the format string for %(user_identity)s that is used in | ||
| 111 | # logging_context_format_string. (string value) | ||
| 112 | #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s | ||
| 113 | |||
| 114 | # List of package logging levels in logger=LEVEL pairs. This option is ignored | ||
| 115 | # if log_config_append is set. (list value) | ||
| 116 | #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 | ||
| 117 | |||
| 118 | # Enables or disables publication of error events. (boolean value) | ||
| 119 | #publish_errors = false | ||
| 120 | |||
| 121 | # The format for an instance that is passed with the log message. (string | ||
| 122 | # value) | ||
| 123 | #instance_format = "[instance: %(uuid)s] " | ||
| 124 | |||
| 125 | # The format for an instance UUID that is passed with the log message. (string | ||
| 126 | # value) | ||
| 127 | #instance_uuid_format = "[instance: %(uuid)s] " | ||
| 128 | |||
| 129 | # Interval, number of seconds, of log rate limiting. (integer value) | ||
| 130 | #rate_limit_interval = 0 | ||
| 131 | |||
| 132 | # Maximum number of logged messages per rate_limit_interval. (integer value) | ||
| 133 | #rate_limit_burst = 0 | ||
| 134 | |||
| 135 | # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG | ||
| 136 | # or empty string. Logs with level greater or equal to rate_limit_except_level | ||
| 137 | # are not filtered. An empty string means that all levels are filtered. (string | ||
| 138 | # value) | ||
| 139 | #rate_limit_except_level = CRITICAL | ||
| 140 | |||
| 141 | # Enables or disables fatal status of deprecations. (boolean value) | ||
| 142 | #fatal_deprecations = false | ||
| 143 | |||
| 144 | |||
| 145 | [agent] | ||
| 146 | |||
| 147 | # | ||
| 148 | # From neutron.base.agent | ||
| 149 | # | ||
| 150 | |||
| 151 | # Seconds between nodes reporting state to server; should be less than | ||
| 152 | # agent_down_time, best if it is half or less than agent_down_time. (floating | ||
| 153 | # point value) | ||
| 154 | #report_interval = 30 | ||
| 155 | |||
| 156 | # Log agent heartbeats (boolean value) | ||
| 157 | #log_agent_heartbeats = false | ||
| 158 | |||
| 159 | |||
| 160 | [ovs] | ||
| 161 | |||
| 162 | # | ||
| 163 | # From neutron.base.agent | ||
| 164 | # | ||
| 165 | |||
| 166 | # The interface for interacting with the OVSDB (string value) | ||
| 167 | # Allowed values: vsctl, native | ||
| 168 | #ovsdb_interface = native | ||
| 169 | |||
| 170 | # The connection string for the OVSDB backend. Will be used by ovsdb-client | ||
| 171 | # when monitoring and used for the all ovsdb commands when native | ||
| 172 | # ovsdb_interface is enabled (string value) | ||
| 173 | #ovsdb_connection = tcp:127.0.0.1:6640 | ||
