Bases: cinder.api.openstack.wsgi.MetadataXMLDeserializer
Bases: cinder.api.openstack.xmlutil.TemplateBuilder
Bases: cinder.api.openstack.wsgi.MetadataXMLDeserializer
Bases: cinder.api.openstack.xmlutil.TemplateBuilder
Bases: cinder.api.openstack.xmlutil.TemplateElement
Bases: cinder.api.openstack.wsgi.XMLDeserializer
Marshal the metadata attribute of a parsed request
Bases: object
Model API responses as dictionaries.
Return marker, limit tuple from request.
Parameters: | request – wsgi.Request possibly containing ‘marker’ and ‘limit’ GET variables. ‘marker’ is the id of the last element the client has seen, and ‘limit’ is the maximum number of items to return. If ‘limit’ is not specified, 0, or > max_limit, we default to max_limit. Negative values for either marker or limit will cause exc.HTTPBadRequest() exceptions to be raised. |
---|
Return a slice of items according to requested offset and limit.
Parameters: |
|
---|
Return a slice of items according to the requested marker and limit.
Removes the first api version from the href.
Given: ‘http://www.cinder.com/v1.1/123‘ Returns: ‘http://www.cinder.com/123‘
Given: ‘http://www.cinder.com/v1.1‘ Returns: ‘http://www.cinder.com‘