'Updates the Specified Volume.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/block-storage/v1/#update-volume'

def update_volume(self, volume_id, **kwargs):

    put_body = json.dumps({'volume': kwargs})
    (resp, body) = self.put(('volumes/%s' % volume_id), put_body)
    body = json.loads(body)
    self.expected_success(200, resp.status)
    return rest_client.ResponseBody(resp, body)
