Davide Guerri 34d14b06d9 Move all_tenants and edit_managed attributes to designate Client
Initializing designate client with a pre-existing keystone session
won't work as designate expects keystone session to have the
'all_tenants' and 'edit_managed' attributes:

Example code:

    keystone_session = ksc_session.Session(
      auth=keystone_auth,
      verify=True,
      cert=my_cert
    )

than later:

    self._designate_client = designate_client(
      session=keystone_session,
      region_name=region_name
    )

with that code, wrap_api_call() will raise an exception:

  AttributeError: 'Session' object has no attribute 'all_tenants'

Same goes for 'edit_managed'.

This patch moves both attributes from Keystone session to designate
Client.

Closes-Bug: 1457821
Change-Id: I13d6c9ed46406fefc8cfa5de46811e4be009f1af
2015-05-22 13:40:52 +00:00
2013-06-09 22:08:11 +01:00
2015-05-07 17:23:09 +02:00
2013-06-09 22:08:11 +01:00
2013-06-09 22:08:11 +01:00
2013-06-09 22:08:11 +01:00
2015-05-07 17:23:09 +02:00
2014-07-01 13:11:43 +00:00
2014-07-16 19:25:04 +02:00

Python bindings to the Designate API

This is a client library for Designate built on the Designate API. It provides a Python API (the designateclient module) and a command-line tool (designate).

Development takes place via the usual OpenStack processes as outlined in the developer guide. The master repository is in Git.

See release notes and more at http://docs.openstack.org/developer/python-designateclient/.

Description
OpenStack DNS As A Service (Designate) Client
Readme 5.6 MiB
Languages
Python 100%