From a3e44e8b39492e9604724cdfc5c9d2ede06e6c02 Mon Sep 17 00:00:00 2001 From: Surya Seetharaman Date: Tue, 13 Aug 2019 20:39:09 +0000 Subject: 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 --- novaclient/__init__.py | 2 +- novaclient/tests/unit/v2/test_shell.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.1