← Back to team overview

openstack team mailing list archive

Openstack Nova/Quantum :; api-paste.ini file

 

Hi-

What is the significance of api-paste.ini file in the configuration of nova
and quantum and other modules of openstack?

How this configuration is parsed and used? by which api of the openstack
modules?

My quantum api-paste.ini looks this way.

[composite:quantum]
use = egg:Paste#urlmap
/: quantumversions
/v2.0: quantumapi_v2_0

[composite:quantumapi_v2_0]
use = call:quantum.auth:pipeline_factory
noauth = extensions quantumapiapp_v2_0
keystone = 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 = localhost
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = 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_v2_0]
paste.app_factory = quantum.api.v2.router:APIRouter.factory

What does these "[  ]" arguments mean?

Can any one kindly help me understand these doubts.

thanks in advance.

-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130

Follow ups