blob: 5b7ff7d703c443bffdcf7bdb20cd72d4d934fd99 [file] [log] [blame]
applications:
- opencontrail
classes:
- service.opencontrail.support
parameters:
opencontrail:
common:
version: ${_param:opencontrail_version}
identity:
engine: keystone
protocol: ${_param:opencontrail_identity_protocol}
host: ${_param:cluster_vip_address}
port: ${_param:opencontrail_identity_port}
token: '${_param:keystone_service_token}'
password: '${_param:opencontrail_admin_password}'
network:
engine: neutron
host: ${_param:cluster_vip_address}
port: 9696
config:
version: ${_param:opencontrail_version}
enabled: true
multi_tenancy: true
network:
engine: neutron
host: ${_param:cluster_vip_address}
port: 9696
discovery:
host: ${_param:cluster_vip_address}
analytics:
host: ${_param:cluster_vip_address}
bind:
address: ${_param:cluster_local_address}
api_port: 9100
discovery_port: 9110
message_queue:
engine: rabbitmq
host: ${_param:cluster_vip_address}
port: 5672
database:
members:
- host: ${_param:cluster_node01_address}
port: 9160
- host: ${_param:cluster_node02_address}
port: 9160
- host: ${_param:cluster_node03_address}
port: 9160
identity:
engine: keystone
version: ${_param:opencontrail_identity_version}
region: ${_param:openstack_region}
protocol: ${_param:opencontrail_identity_protocol}
host: ${_param:cluster_vip_address}
port: ${_param:opencontrail_identity_port}
user: ${_param:opencontrail_admin_user}
password: '${_param:opencontrail_admin_password}'
token: '${_param:keystone_service_token}'
tenant: admin
api:
use_ssl: ${_param:opencontrail_api_ssl_enabled}
certfile: ${_param:opencontrail_api_certfile}
keyfile: ${_param:opencontrail_api_keyfile}
cafile: ${_param:opencontrail_api_cafile}
members:
- host: ${_param:cluster_node01_address}
id: 1
- host: ${_param:cluster_node02_address}
id: 2
- host: ${_param:cluster_node03_address}
id: 3
services_extra_states:
contrail-schema:
- backup
contrail-svc-monitor:
- backup
contrail-device-manager:
- backup
control:
version: ${_param:opencontrail_version}
enabled: true
id: ${_param:opencontrail_database_id}
bind:
address: ${_param:cluster_local_address}
discovery:
host: ${_param:cluster_vip_address}
master:
host: ${_param:cluster_local_address}
members:
- host: ${_param:cluster_node01_address}
id: 1
- host: ${_param:cluster_node02_address}
id: 2
- host: ${_param:cluster_node03_address}
id: 3
collector:
version: ${_param:opencontrail_version}
enabled: true
aaa_mode: no-auth
bind:
address: ${_param:cluster_local_address}
port: 9081
master:
host: ${_param:cluster_local_address}
contrail_cache:
engine: redis
host: ${_param:cluster_local_address}
port: 6379
password: ${_param:opencontrail_redis_password}
discovery:
host: ${_param:cluster_vip_address}
data_ttl: 1
database:
members:
- host: ${_param:cluster_node01_address}
port: 9160
- host: ${_param:cluster_node02_address}
port: 9160
- host: ${_param:cluster_node03_address}
port: 9160
identity:
engine: keystone
version: ${_param:opencontrail_identity_version}
region: RegionOne
protocol: ${_param:opencontrail_identity_protocol}
host: ${_param:cluster_vip_address}
port: ${_param:opencontrail_identity_port}
user: ${_param:opencontrail_admin_user}
password: '${_param:opencontrail_admin_password}'
token: '${_param:keystone_service_token}'
tenant: admin
alarm_gen:
workers: 1
port_prefix: 59
database:
version: ${_param:opencontrail_version}
cassandra:
version: 2
type: cluster
enabled: true
name: 'Contrail'
minimum_disk: 10
original_token: 0
data_dirs:
- /var/lib/cassandra
id: ${_param:opencontrail_database_id}
discovery:
host: ${_param:cluster_vip_address}
bind:
host: ${_param:cluster_local_address}
port: 9042
rpc_port: 9160
# for containers we need to move configdb to neighbouring ports
port_configdb: 9041
rpc_port_configdb: 9161
members:
- host: ${_param:cluster_node01_address}
id: 1
- host: ${_param:cluster_node02_address}
id: 2
- host: ${_param:cluster_node03_address}
id: 3
web:
version: ${_param:opencontrail_version}
enabled: True
bind:
address: ${_param:cluster_local_address}
master:
host: ${_param:cluster_vip_address}
analytics:
host: ${_param:cluster_vip_address}
cache:
engine: redis
host: ${_param:cluster_local_address}
port: 6379
password: ${_param:opencontrail_redis_password}
members:
- host: ${_param:cluster_node01_address}
id: 1
- host: ${_param:cluster_node02_address}
id: 2
- host: ${_param:cluster_node03_address}
id: 3
database:
engine: cassandra
port: 9160
identity:
engine: keystone
version: ${_param:opencontrail_identity_version}
protocol: ${_param:opencontrail_identity_protocol}
host: ${_param:cluster_vip_address}
port: ${_param:opencontrail_identity_port}
user: ${_param:opencontrail_admin_user}
password: '${_param:opencontrail_admin_password}'
token: '${_param:keystone_service_token}'
tenant: admin
api:
use_ssl: ${_param:opencontrail_api_ssl_enabled}
network:
engine: neutron
host: ${_param:cluster_vip_address}