'Gets volume stats.'

@cinder_utils.trace
def get_volume_stats(self, refresh=False):

    client = self._login()
    try:
        if refresh:
            self._update_backend_status(client)
        return self.device_stats
    finally:
        self._logout(client)
