The ceilometer.tests.tempest.service.images.glance_http Module¶
-
class
ceilometer.tests.tempest.service.images.glance_http.HTTPClient(auth_provider, filters, **kwargs)[source]¶ Bases:
object
-
class
ceilometer.tests.tempest.service.images.glance_http.OpenSSLConnectionDelegator(*args, **kwargs)[source]¶ Bases:
objectAn OpenSSL.SSL.Connection delegator.
Supplies an additional ‘makefile’ method which httplib requires and is not present in OpenSSL.SSL.Connection.
Note: Since it is not possible to inherit from OpenSSL.SSL.Connection a delegator must be used.
-
class
ceilometer.tests.tempest.service.images.glance_http.ResponseBodyIterator(resp)[source]¶ Bases:
objectA class that acts as an iterator over an HTTP response.
-
class
ceilometer.tests.tempest.service.images.glance_http.VerifiedHTTPSConnection(host, port=None, key_file=None, cert_file=None, ca_certs=None, timeout=None, insecure=False, ssl_compression=True)[source]¶ Bases:
httplib.HTTPSConnectionExtended HTTPSConnection which uses OpenSSL library for enhanced SSL
- Note: Much of this functionality can eventually be replaced
- with native Python 3.3 code.