
This patchset separates the configuration of the proxy from that of the queues server. This was done in order to simplify the configuration file for each, and because it is not expected that the proxy and the queues servers would be launched on the same host. Furthermore, many of the proxy options are not relevant to the queues server. Furthermore, to allow this, common.config had to be modified to take a prog parameter. This enabled the ability to save multiple configuration files to one directory. See below for details. The new files are: - etc/marconi-proxy.conf - etc/marconi-queues.conf They are expected to be saved to one of: - ~/.marconi - /etc/marconi Regarding namespaces, queues specific options are associated with the 'queues:*' group and proxy specific options are associated to the 'proxy:*' group. The appropriate changes are also applied to the test suite and helpers. Change-Id: I7cf25e47ecff47934b50c21000b31308e1a4c8a9 Implements: blueprint placement-service
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Log to this file!
|
|
; log_file = /var/log/marconi/server.log
|
|
|
|
;auth_strategy =
|
|
|
|
# ================= Syslog Options ============================
|
|
|
|
# Send logs to syslog (/dev/log) instead of to file specified
|
|
# by `log_file`
|
|
;use_syslog = False
|
|
|
|
# Facility to use. If unset defaults to LOG_USER.
|
|
;syslog_log_facility = LOG_LOCAL0
|
|
|
|
|
|
[queues:drivers]
|
|
# Transport driver module (e.g., wsgi, zmq)
|
|
transport = wsgi
|
|
# Storage driver module (e.g., mongodb, sqlite)
|
|
storage = sqlite
|
|
|
|
[queues:drivers:transport:wsgi]
|
|
bind = 127.0.0.1
|
|
port = 8888
|
|
|
|
# Maximum Content-Length allowed for metadata updating and
|
|
# message posting.
|
|
;metadata_max_length = 65536
|
|
;content_max_length = 262144
|
|
|
|
;[queues:drivers:transport:zmq]
|
|
;port = 9999
|
|
|
|
[queues:limits:transport]
|
|
# The maximum number of queue records per page when listing queues
|
|
;queue_paging_uplimit = 20
|
|
# The maximum number of messages in a message posting, maximum
|
|
# number of messages per page when listing or claiming messages,
|
|
# and maximum number of messages involved in a bulk operation.
|
|
;message_paging_uplimit = 20
|
|
# Expiration limits; the minimal values are all 60 (seconds)
|
|
;message_ttl_max = 1209600
|
|
;claim_ttl_max = 43200
|
|
;claim_grace_max = 43200
|
|
|
|
# Maximum compact-JSON (without whitespace) size in bytes allowed
|
|
# for each metadata body and each message body
|
|
;metadata_size_uplimit = 65536
|
|
;message_size_uplimit = 262144
|