Skip to content

Commit

Permalink
sandesh_send_rate_limit parameter added to config files
Browse files Browse the repository at this point in the history
They are all commented now.

Change-Id: I9ff046bf863fde20b363e44d8de45fa940c91242
Closes-Bug: 1469414
  • Loading branch information
arvindvis committed Apr 7, 2016
1 parent 782e835 commit 0c7f8d7
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 0 deletions.
Expand Up @@ -23,6 +23,10 @@
analytics_statistics_ttl=$__contrail_statistics_ttl__
analytics_flow_ttl=$__contrail_flow_ttl__
# 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
[DISCOVERY]
disc_server_ip = $__contrail_discovery_ip__
disc_server_port = $__contrail_discovery_port__
Expand Down
Expand Up @@ -63,6 +63,10 @@
# UDP port to listen on for receiving ipfix messages. -1 to disable.
# ipfix_port=4739
# 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
[COLLECTOR]
# Everything in this section is optional
Expand Down
Expand Up @@ -21,6 +21,9 @@
log_level=SYS_NOTICE
log_local=1
# test_mode=0
# 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
[DISCOVERY]
# port=5998
Expand Down
Expand Up @@ -69,6 +69,10 @@
# MAC address of device used by dpdk
physical_interface_mac=$__physical_interface_mac__
# 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
[DISCOVERY]
# If COLLECTOR and/or CONTROL-NODE and/or DNS is not specified this section is
# mandatory. Else this section is optional
Expand Down
3 changes: 3 additions & 0 deletions contrail_provisioning/config/templates/contrail_api_conf.py
Expand Up @@ -20,6 +20,9 @@
rabbit_server=$__rabbit_server_ip__
rabbit_port=$__rabbit_server_port__
list_optimization_enabled=True
# 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
[SECURITY]
use_certs=$__contrail_use_certs__
Expand Down
Expand Up @@ -14,4 +14,7 @@
disc_server_port=$__contrail_disc_server_port__
log_local=1
log_level=SYS_NOTICE
# 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
""")
Expand Up @@ -27,9 +27,14 @@
# use short TTL for agressive rescheduling if all services are not up
ttl_short=1
# 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
# 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
Expand Down
Expand Up @@ -16,6 +16,9 @@
disc_server_port=$__contrail_disc_server_port__
log_local=1
log_level=SYS_NOTICE
# 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
[SECURITY]
use_certs=$__contrail_use_certs__
Expand Down
Expand Up @@ -19,6 +19,9 @@
log_level=SYS_NOTICE
rabbit_server=$__rabbit_server_ip__
rabbit_port=$__rabbit_server_port__
# 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
[SECURITY]
use_certs=$__contrail_use_certs__
Expand Down
Expand Up @@ -23,6 +23,10 @@
# test_mode=0
# 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
[DISCOVERY]
# port=5998
server=$__contrail_discovery_ip__ # discovery-server IP address
Expand Down
4 changes: 4 additions & 0 deletions contrail_provisioning/control/templates/dns_conf.py
Expand Up @@ -27,6 +27,10 @@
log_local=1
# test_mode=0
# 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
[DISCOVERY]
# port=5998
server=$__contrail_discovery_ip__ # discovery-server IP address
Expand Down

0 comments on commit 0c7f8d7

Please sign in to comment.