#NEWLINE# def periodic_tasks( self , context = None ) : #NEWLINE# #INDENT# 'Tasks to be run at a periodic interval.' #NEWLINE# super ( NetworkManager , self ) . periodic_tasks ( context ) #NEWLINE# if self . timeout_fixed_ips : #NEWLINE# #INDENT# now = utils . utcnow ( ) #NEWLINE# timeout = FLAGS . fixed_ip_disassociate_timeout #NEWLINE# time = ( now - datetime . timedelta ( seconds = timeout ) ) #NEWLINE# num = self . db . fixed_ip_disassociate_all_by_timeout ( context , timeout . host , time ) #NEWLINE# if num : #NEWLINE# #INDENT# LOG . debug ( _ ( 'Dissassociated %s stale fixed ip(s)' ) , num )