Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make api_workers configurable #140

Merged
merged 1 commit into from
May 24, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Nova Networking

Neutron Networking
----
* `neutron["api_workers"]` - number of api worksers to start in wsgi. defaults to 0
* `neutron["network_api_class"]` - used in nova.conf.the neutron api driver class.
* `neutron["auth_strategy"]` - used in nova.conf. the authentication strategy to use, by default this is set to keystone
* `neutron["libvirt_vif_driver"]`- used in nova.conf. the virtual interface driver, by default nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
Expand Down
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
# Neutron Configuration Attributes
# ######################################################################### #
# nova.conf options for neutron
default["neutron"]["api_workers"] = 0
default["neutron"]["network_api_class"] = "nova.network.neutronv2.api.API"
default["neutron"]["auth_strategy"] = "keystone"
default["neutron"]["libvirt_vif_type"] = "ethernet"
Expand Down
1 change: 1 addition & 0 deletions recipes/neutron-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
group "neutron"
mode "0640"
variables(
"api_workers" => node["neutron"]["api_workers"],
"neutron_debug" => node["neutron"]["debug"],
"neutron_verbose" => node["neutron"]["verbose"],
"neutron_ipaddress" => api_endpoint["host"],
Expand Down
1 change: 1 addition & 0 deletions templates/default/neutron.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ovs_use_veth = <%= @neutron_ovs_use_veth %>
allow_overlapping_ips = <%= @overlapping_ips %>
use_namespaces = <%= @neutron_namespace %>
api_paste_config = /etc/neutron/api-paste.ini
api_workers = <%= @api_workers %>
control_exchange = neutron
rabbit_host = <%= @rabbit_ipaddress %>
rabbit_ha_queues = <%= @rabbit_ha_queues %>
Expand Down