'Add one new Inventory to the resource provider.
Fails if Inventory of the provided resource class is
already present.'

def add_inventory(self, inventory):

    _add_inventory(self._context, self, inventory)
    self.obj_reset_changes()
