'Extract settings from a config object'

def _extract_settings(self, config):

    settings = {'host': config.get('sd_backend_host', DEFAULT_CONSUL_HOST), 'port': int(config.get('sd_backend_port', DEFAULT_CONSUL_PORT)), 'token': config.get('consul_token', None), 'scheme': config.get('consul_scheme', DEFAULT_CONSUL_SCHEME), 'consistency': config.get('consul_consistency', DEFAULT_CONSUL_CONSISTENCY), 'verify': config.get('consul_verify', DEFAULT_CONSUL_VERIFY)}
    return settings
