'Convert the volume to be of the new type.'

@utils.trace
def retype(self, context, volume, new_type, diff, host):

    common = self._login()
    try:
        return common.retype(volume, new_type, diff, host)
    finally:
        self._logout(common)
