'Resize RBD volume.
:name: Name of RBD object
:size: New size in bytes'

def resize(self, name, size):

    LOG.debug('resizing    rbd    image    %s    to    %d', name, size)
    with RBDVolumeProxy(self, name) as vol:
        vol.resize(size)
