Go to file
Claudiu Belu 33b24a6984 Fixes missing socket attribute error during init_poolmanager
On Windows, the 'socket' python module does not contain the
attributes TCP_KEEPCNT or TCP_KEEPINTVL, causing services
consuming the library to malfunction.

Adds conditionals for adding the mentioned socket attributes
to the socket options.

socket.SIO_KEEPALIVE_VALS cannot be added as a socket option
for Windows, as there is another way entirely to enable that
option.

Change-Id: I2e9746ae65400bbd23c3b48dfc3167de9eb66494
Partial-Bug: #1483696
2015-08-26 09:15:20 +03:00
2013-09-24 12:34:17 +10:00
2014-05-07 12:12:43 -07:00
2015-02-13 17:55:34 +11:00
2012-09-29 16:03:23 -07:00
2015-06-03 21:01:18 -05:00
2011-10-25 16:50:08 -07:00
2013-05-17 14:43:31 -07:00
2015-02-13 17:55:34 +11:00
2015-07-15 01:37:25 +00:00
2015-07-13 04:53:17 -07:00

Python bindings to the OpenStack Identity API (Keystone)

This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the keystoneclient module) for OpenStack's Identity Service. For command line interface support, use OpenStackClient.

Contents:

Python API

By way of a quick-start:

# use v2.0 auth with http://example.com:5000/v2.0
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL)
>>> keystone.tenants.list()
>>> tenant = keystone.tenants.create(tenant_name="test", description="My new tenant!", enabled=True)
>>> tenant.delete()
Description
OpenStack Identity (Keystone) Client
Readme 33 MiB
Languages
Python 100%