No rpc_response_max_timeout in LB-agent

Adds support for rpc_response_max_timeout in LB-agent.
Change-Id: I1c5dcd1642019cb8c327722819f753b2b5b7137c
Closes-Bug: #1880934
This commit is contained in:
Tamerlan Abu 2020-05-27 19:03:19 +06:00
parent 3f0fc7f9f2
commit edfe7daf04
2 changed files with 5 additions and 0 deletions

View File

@ -191,6 +191,8 @@ def list_dhcp_agent_opts():
def list_linux_bridge_opts(): def list_linux_bridge_opts():
return [ return [
('DEFAULT',
neutron.conf.service.RPC_EXTRA_OPTS),
('linux_bridge', ('linux_bridge',
neutron.conf.plugins.ml2.drivers.linuxbridge.bridge_opts), neutron.conf.plugins.ml2.drivers.linuxbridge.bridge_opts),
('vxlan', ('vxlan',

View File

@ -41,6 +41,7 @@ from neutron.common import config as common_config
from neutron.common import profiler as setup_profiler from neutron.common import profiler as setup_profiler
from neutron.common import utils from neutron.common import utils
from neutron.conf.agent import common as agent_config from neutron.conf.agent import common as agent_config
from neutron.conf import service as service_conf
from neutron.plugins.ml2.drivers.agent import _agent_manager_base as amb from neutron.plugins.ml2.drivers.agent import _agent_manager_base as amb
from neutron.plugins.ml2.drivers.agent import _common_agent as ca from neutron.plugins.ml2.drivers.agent import _common_agent as ca
from neutron.plugins.ml2.drivers.agent import config as cagt_config # noqa from neutron.plugins.ml2.drivers.agent import config as cagt_config # noqa
@ -1031,6 +1032,8 @@ def main():
common_config.setup_logging() common_config.setup_logging()
agent_config.setup_privsep() agent_config.setup_privsep()
service_conf.register_service_opts(service_conf.RPC_EXTRA_OPTS, cfg.CONF)
try: try:
interface_mappings = helpers.parse_mappings( interface_mappings = helpers.parse_mappings(
cfg.CONF.LINUX_BRIDGE.physical_interface_mappings) cfg.CONF.LINUX_BRIDGE.physical_interface_mappings)