c23fd00818
Fixes bug 1029313. The current api-paste.ini does not provide a way to choose a pipeline: there is no way to switching a pipeline between keystone-enabled and noauth pipelines without modifying the pipeline directly. This commit introduces 'auth_strategy' flag to quantum.conf and a pipeline used is determined depending on the flag. Supported values for this flag are 'keystone' (default) and 'noauth' at the moment. Change-Id: Ieafaf31eaaec2b02727ed5d3bd36c907e50aee5b
50 lines
1.3 KiB
Plaintext
50 lines
1.3 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
|
|
|
|
# Address to bind the API server
|
|
bind_host = 0.0.0.0
|
|
|
|
# Port the bind the API server to
|
|
bind_port = 9696
|
|
|
|
# Path to the extensions. Note that this can be a colon-separated list of
|
|
# paths. For example:
|
|
# api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions
|
|
# The __path__ of quantum.extensions is appended to this, so if your
|
|
# extensions are in there you don't need to specify them here
|
|
# api_extensions_path =
|
|
|
|
# Quantum plugin provider module
|
|
core_plugin = quantum.plugins.sample.SamplePlugin.FakePlugin
|
|
|
|
# Paste configuration file
|
|
api_paste_config = api-paste.ini
|
|
|
|
# The strategy to be used for auth.
|
|
# Supported values are 'keystone'(default), 'noauth'.
|
|
# auth_strategy = keystone
|
|
|
|
# Base MAC address. The first 3 bytes will remain unchanged. The
|
|
# lower 3 bytes will be randomly generated.
|
|
# base_mac = fa:16:3e:00:00:00
|
|
|
|
# Maximum amount of retries to generate a unique MAC address
|
|
# mac_generation_retries = 16
|
|
|
|
[QUOTAS]
|
|
# number of networks allowed per tenant
|
|
# quota_network = 10
|
|
|
|
# number of subnets allowed per tenant
|
|
# quota_subnet = 10
|
|
|
|
# number of ports allowed per tenant
|
|
# quota_port = 50
|
|
|
|
# default driver to use for quota checks
|
|
# quota_driver = quantum.quota.ConfDriver
|