Added Keystone and RequestID headers to CORS middleware

This patch makes use of oslo.config's genconfig hooks to add
nova-specific default config values to the generated configuration.
It also adds this same method to nova's configuration parsing logic,
to ensure that these default values are also the ones used at runtime.

Closes-bug: 1551836
Change-Id: Ic799aea89f681ef8626e996f0357ade388f76ca9
This commit is contained in:
Michael Krotscheck 2016-03-01 10:49:32 -08:00
parent 363b1b502f
commit 6182b014de

View File

@ -36,6 +36,9 @@ oslo.config.opts =
nova.virt = nova.virt.opts:list_opts nova.virt = nova.virt.opts:list_opts
nova.cache_utils = nova.cache_utils:list_opts nova.cache_utils = nova.cache_utils:list_opts
oslo.config.opts.defaults =
oslo.middleware = nova.common.config:set_middleware_defaults
nova.compute.monitors.cpu = nova.compute.monitors.cpu =
virt_driver = nova.compute.monitors.cpu.virt_driver:Monitor virt_driver = nova.compute.monitors.cpu.virt_driver:Monitor
nova.compute.resources = nova.compute.resources =