'Set all resource provider Inventory to be the provided list.'

def set_inventory(self, inv_list):

    exceeded = _set_inventory(self._context, self, inv_list)
    for (uuid, rclass) in exceeded:
        LOG.warning(_LW('Resource    provider    %(uuid)s    is    now    over-capacity    for    %(resource)s'), {'uuid': uuid, 'resource': rclass})
    self.obj_reset_changes()
