def set_host_enabled(self, enabled):
        return self._host.set_host_enabled(enabled)
Sets the compute host's ability to accept new instances.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.set_host_enabled