charm-mysql-router/src/config.yaml

47 lines
1.7 KiB
YAML

options:
source:
type: string
default: distro
description: |
Repository from which to install. May be one of the following:
distro (default), ppa:somecustom/ppa, a deb url sources entry,
or a supported Ubuntu Cloud Archive e.g.
.
cloud:<series>-<openstack-release>
cloud:<series>-<openstack-release>/updates
cloud:<series>-<openstack-release>/staging
cloud:<series>-<openstack-release>/proposed
.
See https://wiki.ubuntu.com/OpenStack/CloudArchive for info on which
cloud archives are available and supported.
base-port:
type: int
default: 3306
description: |
Base port number for RW interface. RO, xRW and xRO will
increment from base_port.
ttl:
type: float
default: .5
description: |
Time to live (in seconds) of information in the metadata cache.
Accepts either an integer or a floating point value. The granularity is
limited to milliseconds, where 0.001 equates to one millisecond.
Precision is truncated to the supported range; for example ttl=0.0119
is treated as 11 milliseconds. The value 0 means that the metadata
cache module queries the metadata continuously in a tight loop.
auth_cache_refresh_interval:
type: int
default: 2
description: |
Time (in seconds) between the auth-cache refresh attempts. Defaults to
2. The value must be smaller than auth_cache_ttl and ttl else Router
won't start.
auth_cache_ttl:
type: int
default: -1
description: |
Time (in seconds) until the cache becomes invalid if not refreshed.
Defaults to -1 (infinite). The value must be larger than
auth_cache_refresh_interval else Router won't start.