what does the app named with api-paste.ini in glance-api

Asked by Ethan_熠森张

In glance-api.py

there is a statement server.start(config.load_paste_app(), default_port=9292)

It's true that the value of config.load_paste_app() is obtained from glance-api-paste.ini
[app:apiv2app]
paste.app_factory = glance.api.v2.router:API.factory

Would you tell me that the value of config.load_paste_app() equals glance.api.v2.router.API.factory?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
Ethan_熠森张
Solved:
Last query:
Last reply:
Revision history for this message
Ethan_熠森张 (networm2) said :
#1

I trace the glance runtime, and find out the value is like thant "glance.api.v2.router.API.factory(confparm)