

@extensions.expected_errors((400, 404, 501))
def reboot(self, req, id):
    return self._host_power_action(self, host_name=id, action='reboot')

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/hosts.py HostController.reboot/VarMisuse@33/39 `req`->`self`