def vol_usage_update(context, id, rd_req, rd_bytes, wr_req, wr_bytes, instance_id, last_refreshed=None, update_totals=False):
 return IMPL.vol_usage_update(context, id, rd_req, rd_bytes, wr_req, wr_bytes, instance_id, last_refreshed=last_refreshed, update_totals=update_totals)

def vol_usage_update ( context , id , rd_req , rd_bytes , wr_req , wr_bytes , instance_id , last_refreshed = None , update_totals = False ) : return IMPL . vol_usage_update ( context , id , rd_req , rd_bytes , wr_req , wr_bytes , instance_id , last_refreshed = last_refreshed , update_totals = update_totals )
update cached volume usage for a volume creates new record if needed .