9271654adf
More specifically uses global CONF for the quantum.conf file. Added support for the RYU plugin (similar to ovs and lb, which use non-global conf for plugins) patch 27: clean up find_config_file patch 28: for config file use old paths (plugin unit tests) this hopefully will be replaced when we move to common config file patch 30: rebase and merge (utils.py and policy.py) Change-Id: Ic0bf5bdd44f24a557240f7afe4e070dee448c63c
78 lines
2.4 KiB
Plaintext
78 lines
2.4 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
|
|
|
|
[composite:quantum]
|
|
use = egg:Paste#urlmap
|
|
/: quantumversions
|
|
/v1.0: quantumapi_v1_0
|
|
/v1.1: quantumapi_v1_1
|
|
/v2.0: quantumapi_v2_0
|
|
|
|
[pipeline:quantumapi_v1_0]
|
|
# By default, authentication is disabled.
|
|
# To enable Keystone integration comment out the
|
|
# following line and uncomment the next one
|
|
pipeline = extensions quantumapiapp_v1_0
|
|
# pipeline = authtoken keystonecontext extensions quantumapiapp_v1_0
|
|
|
|
[pipeline:quantumapi_v1_1]
|
|
# By default, authentication is disabled.
|
|
# To enable Keystone integration comment out the
|
|
# following line and uncomment the next one
|
|
pipeline = extensions quantumapiapp_v1_1
|
|
# pipeline = authtoken keystonecontext extensions quantumapiapp_v1_1
|
|
|
|
[pipeline:quantumapi_v2_0]
|
|
# By default, authentication is disabled.
|
|
# To enable Keystone integration comment out the
|
|
# following line and uncomment the next one
|
|
pipeline = extensions quantumapiapp_v2_0
|
|
# pipeline = authtoken keystonecontext extensions quantumapiapp_v2_0
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
auth_host = 127.0.0.1
|
|
auth_port = 35357
|
|
auth_protocol = http
|
|
admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
admin_user = %SERVICE_USER%
|
|
admin_password = %SERVICE_PASSWORD%
|
|
|
|
[filter:extensions]
|
|
paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory
|
|
|
|
[app:quantumversions]
|
|
paste.app_factory = quantum.api.versions:Versions.factory
|
|
|
|
[app:quantumapiapp_v1_0]
|
|
paste.app_factory = quantum.api:APIRouterV10.factory
|
|
|
|
[app:quantumapiapp_v1_1]
|
|
paste.app_factory = quantum.api:APIRouterV11.factory
|
|
|
|
[app:quantumapiapp_v2_0]
|
|
paste.app_factory = quantum.api.v2.router:APIRouter.factory
|