def statsite_settings(settings):
    def decorator(func):
        func.func_dict["statsite_settings"] = settings
        return func

    return decorator
Sets the compute host's ability to accept new instances.
dataset/ETHPy150Open kiip/statsite/tests/helpers.py/statsite_settings--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.set_host_enabled