Set the number of RPC workers to 1 for non SRIOV OVN setups

OVN based backend setups don't need RPC communications as they
don't deploy Neutron agents (except for the SRIOV case).

For this reason and to minimize the resources used, this patch
is setting the number of RPC workers to the minimum, which is 1.

Change-Id: Icf84516f24873717cb7615233d2e6341414abfc7
Closes-Bug: #1786952
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
(cherry picked from commit c677a4ba40)
This commit is contained in:
Daniel Alvarez 2018-08-14 17:04:08 +02:00
parent aaec50bfc4
commit 89e8e7e482
3 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ parameter_defaults:
NeutronNetworkType: 'geneve'
NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ]
NeutronRpcWorkers: 1
NeutronEnableDVR: true
NeutronPluginExtensions: "qos,port_security,dns"
ControllerParameters:

View File

@ -25,6 +25,7 @@ parameter_defaults:
NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ]
NeutronPluginExtensions: "qos,port_security,dns"
NeutronRpcWorkers: 1
ComputeParameters:
NeutronBridgeMappings: ""
ControllerParameters:

View File

@ -26,6 +26,7 @@ parameter_defaults:
NeutronServicePlugins: 'qos,ovn-router,trunk'
NeutronVniRanges: ['1:65536', ]
NeutronPluginExtensions: "qos,port_security,dns"
NeutronRpcWorkers: 1
ComputeParameters:
NeutronBridgeMappings: ""
ControllerParameters: