Merge "Remove unshelve handler from novaclient wrapper"

This commit is contained in:
Zuul 2020-01-10 04:56:53 +00:00 committed by Gerrit Code Review
commit 1b81775d4d

View File

@ -162,19 +162,7 @@ class BlazarNovaClient(object):
return getattr(self.nova, name)
# TODO(dbelova): remove these lines after novaclient 2.16.0 will be released
class BlazarServer(servers.Server):
def unshelve(self):
"""Unshelve -- Unshelve the server."""
self.manager.unshelve(self)
class ServerManager(servers.ServerManager):
resource_class = BlazarServer
def unshelve(self, server):
"""Unshelve the server."""
self._action('unshelve', server, None)
def create_image(self, server, image_name=None, metadata=None):
"""Snapshot a server."""