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:
parent
777fb1638e
commit
76de6240c9
@ -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…
Reference in New Issue
Block a user