Add interfaces, layers and configuration for HA support

This commit is contained in:
James Page 2016-06-21 11:34:26 +01:00
parent 05f85b6027
commit 49b93b8bd7
3 changed files with 29 additions and 1 deletions

View File

@ -63,3 +63,23 @@ options:
description: |
Connect timeout configuration in ms for haproxy, used in HA
configurations.
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.

View File

@ -1 +1,3 @@
includes: ['layer:openstack-principle', 'interface:mysql-shared', 'interface:rabbitmq', 'interface:keystone']
includes: ['layer:openstack-principle', 'interface:mysql-shared',
'interface:rabbitmq', 'interface:keystone',
'interface:hacluster', 'interface:openstack-ha']

View File

@ -12,3 +12,9 @@ requires:
interface: rabbitmq
identity-service:
interface: keystone
ha:
interface: hacluster
scope: container
peers:
cluster:
interface: openstack-ha