Yoga Series Release Notes

4.3.0

Bug Fixes

  • Fixes creation of hashmap mappings with a zero cost.

4.2.0

Bug Fixes

  • Fix create_threshold method when using cost as 0. When using 0 as the cost, the create_threshold method throws an exception. That happens because 0 (zero) is evaluated to False. Therefore, we need to change the validation method to check if the values are None.

4.1.0

New Features

  • Support for the GET /v2/dataframes endpoint has been added to the client. A new dataframes get CLI command is also available.

4.0.0

New Features

  • Support for the /v2/dataframes endpoint has been added to the client. A new dataframes add CLI command is also available.

Upgrade Notes

  • Python 2.7 support has been dropped. The last release of cloudkittyclient to support python 2.7 is OpenStack Train (3.1.0). The minimum version of Python now supported by cloudkittyclient is Python 3.6.

3.0.0

New Features

  • Support for the /v2/summary endpoint has been added to the client. The summary get CLI command as well as the client.summary object in the python library have been overriden in case the v2 API is used.

Upgrade Notes

  • The client has been adapted to allow adding support for v2 API endpoints. The v2 client class implements all v1 endpoints, but v1 endpoints ported to v2 will be overriden. The API version to use can be specified through the --os-rating-api-version option or the OS_RATING_API_VERSION.

Bug Fixes

  • The rating.get_quotation method of the client has been fixed: the json body has been updated to match the API reference.

2.0.0

Prelude

python-cloudkittyclient has been completely rewritten in order to be easier to maintain. It is now built with cliff.

New Features

    • Client-side CSV report generation: It is possible for users to generate CSV reports with the new client. There is a default format, but reports may also be configured through a yaml config file. (see documentation)

    • The documentation has been improved. (A few examples on how to use the python library + complete API bindings and CLI reference).

    • It is now possible to use the client without Keystone authentication (this requires that CK’s API is configured to use the noauth auth strategy).

    • Various features are brought by cliff: completion, command output formatting (table, shell, yaml, json…).

    • The ‘python-cloudkittyclient’ module is now compatible with python 2.7 and 3.5 .

    • Integration tests (for ‘openstack rating’ and ‘cloudkitty’) have been added. These should allow to create gate jobs running against a CK devstack.

    • Tests are now ran with stestr instead of testr, which allows a better control over execution.

    • The dependency list has been reduced and upper constraints have been set.

    • Simplification of commands. Most commands are now more http-like: no more ‘list’ and ‘get’ commands, but only ‘get’ with or without a resource ID.