]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change report_interval from 4 to 30, agent_down_time from 9 to 75
authorAssaf Muller <amuller@redhat.com>
Sun, 16 Mar 2014 11:01:18 +0000 (13:01 +0200)
committerAssaf Muller <amuller@redhat.com>
Tue, 18 Mar 2014 08:25:04 +0000 (10:25 +0200)
commite13d19cab384a9f5f8a00436ad39118f342af32c
tree20e0d270ad4e90c7336c2860bb626db2a206ef49
parentb76c9e888824ec0c6a42a5a01e1d5022f1eb02b9
Change report_interval from 4 to 30, agent_down_time from 9 to 75

report_interval is how often an agent sends out a heartbeat to the
service. The Neutron service responds to these 'report_state' RPC
messages by updating the agent's heartbeat DB record.
The last heartbeat is then compared to the configured
agent_down_time to determine if the agent is up or down.
The agent's status is used when scheduling networks on DHCP
and L3 agents.

In the spirit of sane defaults suited for production, these values
should be bumped to reduce the load on the Neutron service
dramatically, freeing up CPU time to perform intensive operations.

DocImpact
Closes-Bug: #1293083
Change-Id: I77bcf8f66f74ba55513c989caead1f96c92b9832
etc/neutron.conf
neutron/agent/common/config.py
neutron/db/agents_db.py
neutron/tests/unit/nec/test_nec_agent.py