def set_host_enabled(self, enabled):
        if enabled:
            return 'enabled'
        return 'disabled'
Sets the specified host's ability to accept new instances.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/fake.py/FakeDriver.set_host_enabled