Clean up workaround in bgp_dragent_scheduler

This was added as a workaround until neutron gets a new release in [0].
We can switch to the new code now.

[0] I5661e8689d8e3ea861fdd0393e6f25c42cd324c3

Change-Id: Ie5b3d5c5b978494abf8d58f3f0a92cb95209fb56
This commit is contained in:
Dr. Jens Harbott 2020-01-21 11:50:12 +00:00 committed by Jens Harbott (frickler)
parent 777fb1638e
commit 76de6240c9
1 changed files with 1 additions and 4 deletions

View File

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