Merge "Remove the warning for Scheduling Network"
This commit is contained in:
commit
be3a7f5f89
@ -203,11 +203,8 @@ class DhcpAgentSchedulerDbMixin(dhcpagentscheduler
|
|||||||
|
|
||||||
def schedule_network(self, context, created_network):
|
def schedule_network(self, context, created_network):
|
||||||
if self.network_scheduler:
|
if self.network_scheduler:
|
||||||
chosen_agent = self.network_scheduler.schedule(
|
return self.network_scheduler.schedule(
|
||||||
self, context, created_network)
|
self, context, created_network)
|
||||||
if not chosen_agent:
|
|
||||||
LOG.warn(_('Fail scheduling network %s'), created_network)
|
|
||||||
return chosen_agent
|
|
||||||
|
|
||||||
def auto_schedule_networks(self, context, host):
|
def auto_schedule_networks(self, context, host):
|
||||||
if self.network_scheduler:
|
if self.network_scheduler:
|
||||||
|
Loading…
Reference in New Issue
Block a user