#NEWLINE# def execute( self ) : #NEWLINE# #INDENT# '\n        Execute discovery.\n        ' #NEWLINE# if ( self . missing_clouds is None ) : #NEWLINE# #INDENT# self . missing_clouds = self . config . clouds . keys ( ) #NEWLINE# #UNINDENT# for cloud_name in self . missing_clouds : #NEWLINE# #INDENT# cloud = self . config . clouds [ cloud_name ] #NEWLINE# for class_name in cloud . discover : #NEWLINE# #INDENT# cls = model . get_model ( class_name ) #NEWLINE# LOG . info ( 'Starting discover %s objects in %s cloud' , cls . __name__ , cloud_name ) #NEWLINE# cls . discover ( cloud ) #NEWLINE# LOG . info ( 'Done discovering %s objects in %s cloud' , cls . __name__ , cloud_name )