Properly disable the L3 agent scheduler.

Change-Id: I9a4213e51ffaee784c8c4c99953fa306deef624a
Closes-bug: #1573226
This commit is contained in:
Ryan Petrello 2016-04-22 19:58:15 -04:00 committed by Ryan Petrello
parent b03593f869
commit a24260df45
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,6 @@ class Ml2Plugin(floatingip.ExplicitFloatingIPAllocationMixin,
disabled_extensions = [
neutron_constants.DHCP_AGENT_SCHEDULER_EXT_ALIAS,
neutron_constants.L3_AGENT_SCHEDULER_EXT_ALIAS,
neutron_constants.LBAAS_AGENT_SCHEDULER_EXT_ALIAS
]
for ext in disabled_extensions:
@ -126,3 +125,9 @@ class L3RouterPlugin(l3_router_plugin.L3RouterPlugin):
active=True,
)
return []
if neutron_constants.L3_AGENT_SCHEDULER_EXT_ALIAS in \
L3RouterPlugin.supported_extension_aliases:
L3RouterPlugin.supported_extension_aliases.remove(
neutron_constants.L3_AGENT_SCHEDULER_EXT_ALIAS
)