Merge "Clean up workaround in bgp_dragent_scheduler"

This commit is contained in:
Zuul 2020-08-07 12:57:10 +00:00 committed by Gerrit Code Review
commit e6274b2d16

View File

@ -60,10 +60,7 @@ class BgpDrAgentFilter(base_resource_filter.BaseResourceFilter):
{'bgp_speaker_id': bgp_speaker_id, {'bgp_speaker_id': bgp_speaker_id,
'agent_id': agent_id}) 'agent_id': agent_id})
super(BgpDrAgentFilter, self).bind(context, bound_agents, super(BgpDrAgentFilter, self).bind(context, bound_agents,
bgp_speaker_id) bgp_speaker_id, force_scheduling)
# TODO(frickler): once neutron is released, switch to this
# super(BgpDrAgentFilter, self).bind(context, bound_agents,
# bgp_speaker_id, force_scheduling)
def filter_agents(self, plugin, context, bgp_speaker): def filter_agents(self, plugin, context, bgp_speaker):
"""Return the agents that can host the BgpSpeaker.""" """Return the agents that can host the BgpSpeaker."""