Merge "Fix missing functions in StaticScheduler"
This commit is contained in:
commit
e6f8165254
|
@ -220,7 +220,16 @@ class WeightScheduler(base_scheduler.BaseWeightScheduler,
|
|||
self._register_callbacks()
|
||||
|
||||
|
||||
class StaticScheduler(BgpDrAgentFilter):
|
||||
class StaticScheduler(base_scheduler.BaseScheduler,
|
||||
BgpDrAgentFilter):
|
||||
|
||||
def __init__(self):
|
||||
super(StaticScheduler, self).__init__()
|
||||
def schedule_all_unscheduled_bgp_speakers(self, context):
|
||||
return True
|
||||
|
||||
def schedule_unscheduled_bgp_speakers(self, context, host):
|
||||
return True
|
||||
|
||||
def select(self, plugin, context, resource_hostable_agents,
|
||||
resource_hosted_agents, num_agents_needed):
|
||||
|
||||
return []
|
||||
|
|
Loading…
Reference in New Issue