network/neutron: increase agent polling interval
To improve performances and scalability, this patch aims to increase the interval of agent healthcheck. When having many nodes, it could generate too much traffic on database and API servers for nothing. This patch aims to increase the value to avoid any performances issues without affecting the stability of Neutron. Feature #369 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
960b9e0bb4
commit
112ede2ab4
@ -121,7 +121,7 @@ class cloud::network(
|
||||
neutron_plugin_ml2 {
|
||||
'agent/tunnel_types': value => ['gre'];
|
||||
'agent/l2_population': value => true;
|
||||
'agent/polling_interval': value => '2';
|
||||
'agent/polling_interval': value => '15';
|
||||
'OVS/local_ip': value => $tunnel_eth;
|
||||
'OVS/enable_tunneling': value => true;
|
||||
'OVS/integration_bridge': value => 'br-int';
|
||||
|
@ -40,6 +40,8 @@ class cloud::network::controller(
|
||||
auth_port => $ks_keystone_public_port,
|
||||
database_connection => "mysql://${encoded_user}:${encoded_password}@${neutron_db_host}/neutron?charset=utf8",
|
||||
api_workers => $::processorcount,
|
||||
agent_down_time => '60',
|
||||
report_interval => '30',
|
||||
}
|
||||
|
||||
# Note(EmilienM):
|
||||
|
@ -86,7 +86,9 @@ describe 'cloud::network::controller' do
|
||||
:auth_host => '10.0.0.1',
|
||||
:auth_port => '5000',
|
||||
:database_connection => 'mysql://neutron:secrete@10.0.0.1/neutron?charset=utf8',
|
||||
:api_workers => '2'
|
||||
:api_workers => '2',
|
||||
:agent_down_time => '60',
|
||||
:report_interval => '30'
|
||||
)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user