import string

template = string.Template("""#
# Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
#
# Control-node configuration options
#

[DEFAULT]
# bgp_config_file=bgp_config.xml
# bgp_end_of_rib_timeout=30
# bgp_port=179
# collectors= # List of collectors in ip:port format 
collectors=$__contrail_collectors__
# gr_helper_bgp_disable=0
# gr_helper_xmpp_disable=0
hostip=$__contrail_host_ip__ # Resolved IP of `hostname`
hostname=$__contrail_hostname__ # Retrieved as `hostname`
# http_server_port=8083
# log_category=
# log_disable=0
log_file=/var/log/contrail/contrail-control.log
# log_files_count=10
# log_file_size=10485760 # 10MB
log_level=SYS_NOTICE
log_local=1
# test_mode=0
# xmpp_auth_enable=0
# xmpp_server_cert=/etc/contrail/ssl/certs/server.pem
# xmpp_server_key=/etc/contrail/ssl/private/server-privkey.pem
# xmpp_ca_cert=/etc/contrail/ssl/certs/ca-cert.pem
# xmpp_end_of_rib_timeout=30
# xmpp_server_port=5269

# Sandesh send rate limit can be used to throttle system logs transmitted per
# second. System logs are dropped if the sending rate is exceeded
# sandesh_send_rate_limit=100

[CONFIGDB]
rabbitmq_server_list=$__contrail_rabbit_server_list__
rabbitmq_user=$__contrail_rabbitmq_user__
rabbitmq_password=$__contrail_rabbitmq_password__
config_db_server_list=$__config_db_server_cql_list__

""")
