Files
python-cinderclient/releasenotes/notes/cli-api-ver-negotiation-9f8fd8b77ae299fd.yaml
Eric Harney d1b044b82a Autonegotiate API version for shell
If OS_VOLUME_API_VERSION is not set, use the highest
supported by both the client and the server.

If OS_VOLUME_API_VERSION exceeds that supported by the server,
use the highest supported by both the client and the server.
A warning message is printed for the user indicating that this
happened.

(This is similar to the behavior of the manila CLI, and is
mostly code from manilaclient tweaked to work in cinderclient.)

Change-Id: Ie1403eca2a191f62169e60c0cde1622575327387
2019-08-28 11:57:02 -04:00

13 lines
420 B
YAML

---
features:
- |
Automatic version negotiation for the cinderclient CLI.
If an API version is not specified, the CLI will use the newest
supported by the client and the server.
If an API version newer than the server supports is requested,
the CLI will fall back to the newest version supported by the server
and issue a warning message.
This does not affect cinderclient library usage.