Add pbr-installed wsgi application for metadata api

Modify the wsgi application for the compute api so that it can be
used by different services and use it for the metadata service,
resulting in a wsgi script named nova-metadata-wsgi.

Change-Id: Icb35fe2b94ab02c0ba8ba8129ae18aae0f794756
This commit is contained in:
Chris Dent
2017-04-24 15:56:52 +00:00
parent 951063b3a9
commit bc257f7a23
4 changed files with 109 additions and 69 deletions
+1
View File
@@ -70,6 +70,7 @@ console_scripts =
wsgi_scripts =
nova-placement-api = nova.api.openstack.placement.wsgi:init_application
nova-api-wsgi = nova.api.openstack.compute.wsgi:init_application
nova-metadata-wsgi = nova.api.metadata.wsgi:init_application
nova.api.v21.extensions =
agents = nova.api.openstack.compute.agents:Agents