diff options
author | Surya Seetharaman <suryaseetharaman.9@gmail.com> | 2019-08-13 20:39:09 +0000 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2019-08-20 11:32:51 -0400 |
commit | a3e44e8b39492e9604724cdfc5c9d2ede06e6c02 (patch) | |
tree | c82de583019501fc1cac6c49f762354faf8a359b | |
parent | 0e873a2d5a69d559299da4c403a5c17cf8a70462 (diff) | |
download | python-novaclient-a3e44e8b39492e9604724cdfc5c9d2ede06e6c02.tar.gz |
API microversion 2.76: Add 'power-update' external event
The 2.76 microversion adds the 'power-update' server
external event to the os-server-external-events API.
This is an admin-only API by default and this event is
currently only used by Ironic as part of updating the
power-state of a physical instance, and therefore does not
have any CLI or python API binding impacts in the client.
Depends-On: https://review.opendev.org/#/c/645611/
Part of blueprint nova-support-instance-power-update
Story: 2004969
Task: 34271
Change-Id: I1f5de90e19b7b13c7746fea8bbdf8e09bcb92cff
-rw-r--r-- | novaclient/__init__.py | 2 | ||||
-rw-r--r-- | novaclient/tests/unit/v2/test_shell.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/novaclient/__init__.py b/novaclient/__init__.py index fc031f18..eaf45277 100644 --- a/novaclient/__init__.py +++ b/novaclient/__init__.py @@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1") # when client supported the max version, and bumped sequentially, otherwise # the client may break due to server side new version may include some # backward incompatible change. -API_MAX_VERSION = api_versions.APIVersion("2.75") +API_MAX_VERSION = api_versions.APIVersion("2.76") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index cbadfdd5..7eb86d7a 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -4276,6 +4276,7 @@ class ShellTest(utils.TestCase): 72, # There are no version-wrapped shell method changes for this. 74, # There are no version-wrapped shell method changes for this. 75, # There are no version-wrapped shell method changes for this. + 76, # doesn't require any changes in novaclient. ]) versions_supported = set(range(0, novaclient.API_MAX_VERSION.ver_minor + 1)) |