aboutsummaryrefslogtreecommitdiffstats
path: root/setup.cfg
blob: 5eab1d824dc7f19496c7cfc01bc89d1f09e82b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[metadata]
name = puppet-tripleo
summary = Puppet module for OpenStack TripleO
description-file =
    README.md
author = Puppet Labs and OpenStack Contributors
author-email = openstack-dev@lists.openstack.org
home-page = http://www.openstack.org/
classifier =
    Intended Audience :: Developers
    Intended Audience :: System Administrators
    License :: OSI Approved :: Apache Software License
    Operating System :: POSIX :: Linux
.vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
[DEFAULTS]
listen_ip_addr = {{ contrail_haproxy_address }}
listen_port = 5998
zk_server_ip = {% for cur_host in groups['controller'] %}{{ haproxy_hosts[cur_host] }}{% if not loop.last %}, {% endif %}{% endfor %}

zk_server_port = 2181
cassandra_server_list = {% for cur_host in groups['controller'] %}{{ haproxy_hosts[cur_host] }}:9160{% if not loop.last %} {% endif %}{% endfor %}

log_file = /var/log/contrail/contrail-discovery.log
log_level = SYS_NOTICE
log_local = 1

# minimim time to allow client to cache service information (seconds)
ttl_min = 300

# maximum time to allow client to cache service information (seconds)
ttl_max = 1800

# health check ping interval < = 0 for disabling
hc_interval = 5

# maximum hearbeats to miss before server will declare publisher out of
# service.
hc_max_miss = 3

# use short TTL for agressive rescheduling if all services are not up
ttl_short = 1

# for DNS service, we use fixed policy
# even when the cluster has more than two control nodes, only two of these
# should provide the DNS service
[DNS-SERVER]
policy = fixed

######################################################################
# Other service specific knobs ...

# use short TTL for agressive rescheduling if all services are not up
# ttl_short = 1

# specify policy to use when assigning services
# policy = [load-balance | round-robin | fixed]
######################################################################