# 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 # Show debugging output in logs (sets DEBUG log level output) ;debug = False # 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 = mockdb # Provider modules list (a list of comma separated provider module list) providers = mock,fastly,akamai # DNS driver module (e.g. default, designate, rackspace) dns = default # distributed_task driver module (e.g. TaskFlow, Celery, OsloMessaging) distributed_task = taskflow [drivers:transport:limits] max_services_per_page = 20 [drivers:transport:pecan] bind = 0.0.0.0 port = 8888 [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 [drivers:storage:mockdb] database = poppy [drivers:distributed_task:taskflow] jobboard_backend_type = zookeeper persistent_backend_type = zookeeper jobboard_backend_host = jobboard_backend_port = persistent_backend_host = persistent_backend_port = [driver:dns] retries = 5 min_backoff_range = 20 max_backoff_range = 30 [drivers:dns:rackspace] username = "" api_key = "" use_shards = True num_shards = 400 shard_prefix = "cdn" shared_ssl_num_shards = 5 shared_ssl_shard_prefix = "scdn" shared_ssl_domain_suffix = "secure.poppycdn.net" url = "poppycdn.net" # You email associated with DNS, for notifications email = "your@email.com" auth_endpoint = "" timeout = 30 delay = 1 [drivers:provider:fastly] apikey = "MYAPIKEY" scheme = "https" host = "api.fastly.com" [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_custom_config_numbers = 'MY_AKAMAI_HTTPS_CONFIG_CUSTOM_NUMBER' san_cert_cnames = "MY_SAN_CERT_LIST" san_cert_hostname_limit = "MY_SAN_HOSTNAMES_LMIT" [log_delivery] identity_url = OPENSTACK_IDENTITY_URL preferred_dcs = DC1,DC2 container_name = .CDN_ACCESS_LOGS