File: allow-api-user-to-use-latest-6b80e9f584eaaa4e.yaml

package info (click to toggle)
python-ironicclient 5.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,632 kB
  • sloc: python: 25,269; makefile: 22; sh: 8
file content (26 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
features:
  - |
    Allows a python API user to pass ``latest`` to the client creation request
    for the ``os_ironic_api_version`` parameter. The version utilized for REST
    API requests will, as a result, be the highest available version
    understood by both the ironicclient library and the server.
  - |
    Adds base client properties to provide insight to a python API user of
    what the current REST API version that will be utilized, and if API
    version negotiation has occurred.
    These new properties are ``client.current_api_version`` and
    ``client.is_api_version_negotiated`` respectively.
  - |
    Adds additional base client method to allow a python API user to trigger
    version negotiation and return the negotiated version. This new method is
    ``client.negotiate_api_version()``.
other:
  - |
    The maximum supported version supported for negotiation is now defined
    in the ``common/http.py`` file. Any new feature added to the API client
    library must increment this version.
  - |
    The maximum known version supported by the ``OpenStackClient`` plugin is
    now defined by the maximum supported version for API negotiation as
    defined in the ``common/http.py`` file.