The designateclient.v2.utils Module

The designateclient.v2.utils Module

designateclient.v2.utils.get_all(function, criterion=None, args=None)[source]
  • function – Function to be called to get data
  • criterion – dict of filters to be applied
  • args – arguments to be given to the function



Helper to get key bits of data from the “next” url returned from the API on collections :param url: :return: dict

designateclient.v2.utils.resolve_by_name(func, name, *args)[source]

Helper to resolve a “name” a’la to it’s ID by using REST api’s query support and filtering on name.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-designateclient 2.10.1.dev3