def __init__()

in hostfactory/host_provider/src/cyclecloud_provider.py [0:0]


    def __init__(self, config, cluster, hostnamer, stdout_handler, terminate_requests, creation_requests, clock):
        self.config = config
        self.cluster = cluster
        self.hostnamer = hostnamer
        self.stdout_handler = stdout_handler
        self.terminate_json = terminate_requests
        self.creation_json = creation_requests
        self.exit_code = 0
        self.clock = clock
        self.termination_timeout = float(self.config.get("cyclecloud.termination_request_retirement", 120) * 60)
        self.creation_request_ttl = int(self.config.get("symphony.creation_request_ttl", 40 * 60))
        self.node_request_timeouts = float(self.config.get("cyclecloud.machine_request_retirement", 120) * 60)
        self.capacity_limit_timeout = int(self.config.get("cyclecloud.capacity_limit_timeout", 5) * 60)
        self.autoscaling_strategy = self.config.get("symphony.autoscaling.strategy", "price")        
        self.fine = False
        self.request_tracker = RequestTrackingDb(self.config, self.cluster.cluster_name, self.clock)
        self.weighted_template = weighted_template_parse.WeightedTemplates(logger)
        self.dry_run = False

        logger.info("Using %s based autoscaling strategy", self.autoscaling_strategy)