Exemplo n.º 1
0
 def extend_volume(self, volume, size_gb):
     """Extend volume to new size size_gb
     """
     _debug_vol_info('EXTEND_VOL', volume)
     LOG.info('EXTEND_VOL Size %s' % size_gb)
     location = volume.provider_location
     if location is not None:
         LOG.info('DO_EXTEND_VOLUME %s' % (location))
         VDiskController.extend_volume(location=location, size=size_gb)
 def extend_volume(self, volume, size_gb):
     """Extend volume to new size size_gb
     """
     _debug_vol_info("EXTEND_VOL", volume)
     LOG.info("EXTEND_VOL Size %s" % size_gb)
     location = volume.provider_location
     if location is not None:
         LOG.info("DO_EXTEND_VOLUME %s" % (location))
         VDiskController.extend_volume(location=location, size=size_gb)