diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-08-31 17:17:32 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-09-11 14:09:06 +0100 |
commit | 912b717207d4ea193843dcc5c00515f3ca2b7eb9 (patch) | |
tree | 9643d100334f5897748e808d9aa7b470bc9c81f8 /nova/compute/manager.py | |
parent | 1fd44eb56f2f1ea392d7ec89904fe80f6992fe68 (diff) | |
download | nova-912b717207d4ea193843dcc5c00515f3ca2b7eb9.tar.gz |
virt: Remove 'get_console_pool_info' API
This is no longer used by any in-tree virt drivers and can be removed.
The equivalent RPC API now always raises 'NotImplementedError', which
was the behavior with virt drivers that didn't support the feature.
Change-Id: Iab881ef4f52eff4815e781f10204497968f8a06b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/compute/manager.py')
-rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 60d7c92b30..8aeefa65d2 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1578,7 +1578,7 @@ class ComputeManager(manager.Manager): # TODO(stephenfin): Remove this once we bump the compute API to v6.0 @wrap_exception() def get_console_pool_info(self, context, console_type): - return self.driver.get_console_pool_info(console_type) + raise NotImplementedError() # TODO(stephenfin): Remove this as it's nova-network only @wrap_exception() |