File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 5555# The parent process manages them. Having more workers will help to improve performances.
5656# Defaults to: 0
5757#
58+ # [*metadata_backlog*]
59+ # (optional) Number of backlog requests to configure the metadata server socket with.
60+ # Defaults to 4096
61+ #
5862
5963class neutron::agents::metadata (
6064 $auth_password,
7175 $auth_region = ' RegionOne' ,
7276 $metadata_ip = ' 127.0.0.1' ,
7377 $metadata_port = ' 8775' ,
74- $metadata_workers = ' 0'
78+ $metadata_workers = ' 0' ,
79+ $metadata_backlog = ' 4096'
7580 ) {
7681
7782 include neutron::params
9297 ' DEFAULT/nova_metadata_port' : value => $metadata_port ;
9398 ' DEFAULT/metadata_proxy_shared_secret' : value => $shared_secret ;
9499 ' DEFAULT/metadata_workers' : value => $metadata_workers ;
100+ ' DEFAULT/metadata_backlog' : value => $metadata_backlog ;
95101 }
96102
97103 if $auth_ca_cert {
Original file line number Diff line number Diff line change 1919 :metadata_ip => '127.0.0.1' ,
2020 :metadata_port => '8775' ,
2121 :metadata_workers => '2' ,
22+ :metadata_backlog => '4096' ,
2223 :shared_secret => 'metadata-secret'
2324 }
2425 end
5758 should contain_neutron_metadata_agent_config ( 'DEFAULT/nova_metadata_ip' ) . with ( :value => params [ :metadata_ip ] )
5859 should contain_neutron_metadata_agent_config ( 'DEFAULT/nova_metadata_port' ) . with ( :value => params [ :metadata_port ] )
5960 should contain_neutron_metadata_agent_config ( 'DEFAULT/metadata_workers' ) . with ( :value => params [ :metadata_workers ] )
61+ should contain_neutron_metadata_agent_config ( 'DEFAULT/metadata_backlog' ) . with ( :value => params [ :metadata_backlog ] )
6062 should contain_neutron_metadata_agent_config ( 'DEFAULT/metadata_proxy_shared_secret' ) . with ( :value => params [ :shared_secret ] )
6163 end
6264 end
You can’t perform that action at this time.
0 commit comments