def _registerPrimitive(self, objectId, primitive):
        self._objectRegistry.definePrimitive(
            objectId,
            primitive
            )
Get all tenant resources.
dataset/ETHPy150Open ufora/ufora/packages/python/pyfora/PyObjectWalker.py/PyObjectWalker._registerPrimitive--crossover with--dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/ceilometer/resources.py/CeilometerResource.get_tenant_resources