'Extend the volume from size src_size to size vol_size.'

def _extend_if_needed(self, array, vol_name, src_size, vol_size):

    if (vol_size > src_size):
        vol_size = (vol_size * units.Gi)
        array.extend_volume(vol_name, vol_size)
