'Disables scheduling for a Compute service and logs reason.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#disable-scheduling-for-a-compute-service-and-log-disabled-reason'

def disable_log_reason(self, **kwargs):

    post_body = json.dumps(kwargs)
    (resp, body) = self.put('os-services/disable-log-reason', post_body)
    body = json.loads(body)
    self.validate_response(schema.disable_log_reason, resp, body)
    return rest_client.ResponseBody(resp, body)
