# By default, this should live in one of: # ~/.poppy/poppy.conf # /etc/poppy/poppy.conf [DEFAULT] # Show more verbose log output (sets INFO log level output) ;verbose = False # Datacenter in which the API is hosted. datacenter = DC1 # whether to use the same storage config from [drivers:storage:] use_same_storage_driver = True # Show debugging output in logs (sets DEBUG log level output) ;debug = False # logging format that will be used with oslo_log.formatters.ContextFormatter # in logging.conf below logging_context_format_string = poppy %(levelname)s [%(request_id)s %(user_identity)s] %(message)s logging_default_format_string = poppy %(levelname)s [-] %(message)s logging_exception_prefix = poppy ERROR %(instance)s # Log to this file log_file = poppy.log log_config_append = etc/logging.conf project_id_in_url = False ;auth_strategy = # ================= Syslog Options ============================ # Send logs to syslog (/dev/log) instead of to file specified # by `log_file` ;use_syslog = False # Facility to use. If unset defaults to LOG_USER. ;syslog_log_facility = LOG_LOCAL0 # ================= Driver Options ============================ [drivers] # Transport driver module (e.g., falcon, pecan) transport = pecan # Manager driver module (e.g. default) manager = default # Storage driver module (e.g., mongodb, sqlite, cassandra) storage = cassandra # Provider modules list (a list of comma separated provider module list) providers = fastly # Notification modules list (a list of comma separated notification module list) notifications = mailgun # DNS driver module (e.g. default, designate, rackspace) dns = default # distributed_task driver module (e.g. TaskFlow, Celery, OsloMessaging) distributed_task = taskflow # Metrics module (e.g blueflood, kafka, gnocchi) metrics = blueflood [drivers:transport:limits] max_services_per_page = 20 [drivers:transport:pecan] bind = 0.0.0.0 port = 8888 [drivers:storage] max_services_per_project = 20 [drivers:storage:cassandra] archive_on_delete = True # Comma-separated list of hosts (Example: cass01,cass02,cass03) cluster = localhost ;port = 9042 ssl_enabled = False ssl_ca_certs = auth_enabled = False username = cassandra_username password = cassandra_password # Either RoundRobinPolicy or DCAwareRoundRobinPolicy. DCAwareRoundRobinPolicy # requires the datacenter option in [DEFAULT] to be configured. load_balance_strategy = RoundRobinPolicy consistency_level = ONE migrations_consistency_level = LOCAL_QUORUM max_schema_agreement_wait = 30 keyspace = poppy # Replication strategy to use for the keyspace. This value is plugged into # `map` as show in the syntax here: http://www.datastax.com/documentation/cql/3 # .1/cql/cql_reference/create_keyspace_r.html replication_strategy = class:SimpleStrategy, replication_factor:1 # Path to directory containing CQL migration scripts migrations_path = /poppy/storage/cassandra/migrations automatic_schema_migration = False [drivers:distributed_task:taskflow] jobboard_backend_type = zookeeper persistent_backend_type = zookeeper jobboard_backend_host = jobboard_backend_port = persistent_backend_host = persistent_backend_port = poppy_service_worker_path = '/taskflow/jobs/poppy_service_jobs' poppy_service_worker_jobboard = 'poppy_service_jobs' [driver:dns] retries = 5 min_backoff_range = 20 max_backoff_range = 30 [drivers:dns:rackspace] username = "" api_key = "" use_shards = True num_shards = 400 ;records_limit = 400 shard_prefix = "cdn" shared_ssl_num_shards = 5 shared_ssl_shard_prefix = "scdn" shared_ssl_domain_suffix = "secure.poppycdn.net" url = "poppycdn.net" # link to page to be directed to when a service is disabled url_404 = notfound.com # You email associated with DNS, for notifications email = "your@email.com" auth_endpoint = "" timeout = 30 delay = 1 [driver:metrics:blueflood] blueflood_url = https://global.metrics.api.rackspacecloud.com/v2.0/{project_id}/views/ use_keystone_auth = True no_of_executors = 6 [drivers:provider] default_cache_ttl = 86400 [drivers:notification:mailgun] mailgun_api_key = "" mailgun_request_url = "https://api.mailgun.net/v2/{0}/events" sand_box = "" from_address = "" recipients="" retry_send=5 [drivers:provider:fastly] apikey = "MYAPIKEY" # scheme = "https" # host = "api.fastly.com" scheme = "http" host = "dockerhost:8900/fastly" [drivers:provider:maxcdn] alias = "MYALIAS" consumer_secret = "MYCONSUMER_SECRET" consumer_key = "MYCONSUMERKEY" [drivers:provider:cloudfront] aws_access_key_id = "MY_AWS_ACCESS_KEY_ID" aws_secret_access_key = "MY_AWS_SECRET_ACCESS_KEY" [drivers:provider:akamai] policy_api_client_token = "MY_POLICY_API_CLIENT_TOKEN" policy_api_client_secret = "MY_POLICY_API_CLIENT_SECRET" policy_api_access_token = "MY_POLICY_API_ACCESS_TOKEN" policy_api_base_url = "MY_POLICY_API_BASE_URL" ccu_api_client_token = "MY_CCU_API_CLIENT_TOKEN" ccu_api_client_secret = "MY_CCU_API_CLIENT_SECRET" ccu_api_access_token = "MY_CCU_API_ACCESS_TOKEN" ccu_api_base_url = "MY_CCU_API_BASE_URL" akamai_access_url_link = "MY_ACCESS_URL_LINK" akamai_https_access_url_suffix = "MY_HTTPS_ACCESS_URL_SUFFIX" akamai_http_config_number = 'MY_AKAMAI_HTTP_CONFIG_NUMBER' akamai_https_shared_config_number = 'MY_AKAMAI_HTTPS_CONFIG_SHARED_NUMBER' akamai_https_san_config_numbers = 'MY_AKAMAI_HTTPS_CONFIG_SAN_NUMBER' akamai_https_sni_config_numbers = 'MY_AKAMAI_HTTPS_CONFIG_SNI_NUMBER' akamai_https_custom_config_numbers = 'MY_AKAMAI_HTTPS_CONFIG_CUSTOM_NUMBER' san_cert_cnames = "MY_SAN_CERT_LIST" sni_cert_cnames = "MY_SNI_CERT_LIST" san_cert_hostname_limit = "MY_SAN_HOSTNAMES_LIMIT" contract_id = "MY_CONTRACT_ID" group_id = "MY_GROUP_ID" property_id = "MY_PROPERTY_ID" # akamai_san_info_storage driver module (e.g. zookeeper, cassandra) san_info_storage_type = cassandra metrics_resolution = 86400 [drivers:provider:akamai:storage] # Zookeeper san_info_storage_type config options #storage_backend_type = zookeeper #storage_backend_host = #storage_backend_port = #cert_info_storage_path = '/cert_info' # Comma-separated list of hosts (Example: cass01,cass02,cass03) cluster = localhost ;port = 9042 ssl_enabled = False ssl_ca_certs = auth_enabled = False username = cassandra_username password = cassandra_password # Either RoundRobinPolicy or DCAwareRoundRobinPolicy. DCAwareRoundRobinPolicy # requires the datacenter option in [DEFAULT] to be configured. load_balance_strategy = RoundRobinPolicy consistency_level = ONE migrations_consistency_level = LOCAL_QUORUM max_schema_agreement_wait = 30 keyspace = akamai_san_info # Replication strategy to use for the keyspace. This value is plugged into # `map` as show in the syntax here: http://www.datastax.com/documentation/cql/3 # .1/cql/cql_reference/create_keyspace_r.html replication_strategy = class:SimpleStrategy, replication_factor:1 # Path to directory containing CQL migration scripts migrations_path = /poppy/storage/cassandra/migrations [drivers:provider:akamai:queue] queue_backend_type = zookeeper queue_backend_host = queue_backend_port = mod_san_queue_path = '/mod_san_queue' san_mapping_queue_path = '/san_mapping_queue' [log_delivery] identity_url = OPENSTACK_IDENTITY_URL preferred_dcs = DC1,DC2 container_name = .CDN_ACCESS_LOGS