Browse Source

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
changes/92/703592/2
Dr. Jens Harbott 2 years ago
committed by Jens Harbott (frickler)
parent
commit
76de6240c9
  1. 5
      neutron_dynamic_routing/services/bgp/scheduler/bgp_dragent_scheduler.py

5
neutron_dynamic_routing/services/bgp/scheduler/bgp_dragent_scheduler.py

@ -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."""

Loading…
Cancel
Save