Merge "Add requested_size to extend_volume"

This commit is contained in:
Zuul 2019-03-22 17:22:22 +00:00 committed by Gerrit Code Review
commit a98977a170
1 changed files with 3 additions and 1 deletions

View File

@ -751,12 +751,14 @@ class PowerVMDriver(driver.ComputeDriver):
# to revise in the future as volume connectors evolve.
instance.save()
def extend_volume(self, connection_info, instance):
def extend_volume(self, connection_info, instance, requested_size):
"""Extend the disk attached to the instance.
:param dict connection_info: The connection for the extended volume.
:param nova.objects.instance.Instance instance:
The instance whose volume gets extended.
:param int requested_size: The requested new volume size in bytes. This
parameter is unused by this driver.
:return: None
"""
vol_drv = vol_attach.build_volume_driver(