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

asked 2013-03-04 16:25:43 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-05 11:24:20 -0500

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-04 16:25:43 -0500

Seen: 41 times

Last updated: Mar 05 '13