charm-layer-openstack-api/config.yaml

124 lines
3.9 KiB
YAML

options:
os-admin-network:
type: string
default:
description: |
The IP address and netmask of the OpenStack Admin network (e.g.,
192.168.0.0/24)
.
This network will be used for admin endpoints.
os-internal-network:
type: string
default:
description: |
The IP address and netmask of the OpenStack Internal network (e.g.,
192.168.0.0/24)
.
This network will be used for internal endpoints.
os-public-network:
type: string
default:
description: |
The IP address and netmask of the OpenStack Public network (e.g.,
192.168.0.0/24)
.
This network will be used for public endpoints.
os-public-hostname:
type: string
default:
description: |
The hostname or address of the public endpoints created in the keystone
identity provider.
.
This value will be used for public endpoints. For example, an
os-public-hostname set to 'api-public.example.com' with ssl enabled
will create the following endpoint for neutron-api:
.
https://api-public.example.com:9696/
os-internal-hostname:
type: string
default:
description: |
The hostname or address of the internal endpoints created in the keystone
identity provider.
.
This value will be used for internal endpoints. For example, an
os-internal-hostname set to 'api-internal.example.com' with ssl enabled
will create the following endpoint for neutron-api:
.
https://api-internal.example.com:9696/
os-admin-hostname:
type: string
default:
description: |
The hostname or address of the admin endpoints created in the keystone
identity provider.
.
This value will be used for admin endpoints. For example, an
os-admin-hostname set to 'api-admin.example.com' with ssl enabled
will create the following endpoint for neutron-api:
.
https://api-admin.example.com:9696/
region:
default: RegionOne
type: string
description: OpenStack Region
worker-multiplier:
type: float
default:
description: |
The CPU core multiplier to use when configuring worker processes. By
default, the number of workers for each daemon is set to twice the number
of CPU cores a service unit has. This default value will be capped
to 4 workers unless this configuration option is set.
haproxy-server-timeout:
type: int
default:
description: |
Server timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 90000ms is used.
haproxy-client-timeout:
type: int
default:
description: |
Client timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 90000ms is used.
haproxy-queue-timeout:
type: int
default:
description: |
Queue timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 9000ms is used.
haproxy-connect-timeout:
type: int
default:
description: |
Connect timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 9000ms is used.
dns-ha:
type: boolean
default: False
description: |
Use DNS HA with MAAS 2.0. Note if this is set do not set vip settings
below.
vip:
type: string
default:
description: |
Virtual IP(s) to use to front API services in HA configuration.
If multiple networks are being used, a VIP should be provided for each
network, separated by spaces.
vip_iface:
type: string
default: eth0
description: |
Default network interface to use for HA vip when it cannot be
automatically determined.
vip_cidr:
type: int
default: 24
description: |
Default CIDR netmask to use for HA vip when it cannot be automatically
determined.