#NEWLINE# def scan( self ) : #NEWLINE# #INDENT# 'Implemnets the scan method in BasePlugin class.\n\n           .. note::\n            Dummy scan function for compass appliance.\n            Returns fixed mac addresses.\n        ' #NEWLINE# mac_list = None #NEWLINE# machine_lists = util . load_configs ( setting . MACHINE_LIST_DIR ) #NEWLINE# for items in machine_lists : #NEWLINE# #INDENT# for item in items [ 'MACHINE_LIST' ] : #NEWLINE# #INDENT# for ( k , v ) in item . items ( ) : #NEWLINE# #INDENT# if ( k == self . host ) : #NEWLINE# #INDENT# mac_list = v #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return items