#NEWLINE# def _process_arp_cache_for_internal_port( self , subnet_id ) : #NEWLINE# #INDENT# 'Function to process the cached arp entries.' #NEWLINE# arp_remove = set ( ) #NEWLINE# for arp_entry in self . _pending_arp_set : #NEWLINE# #INDENT# if ( subnet_id == arp_entry . subnet_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# state = self . _update_arp_entry ( arp_entry . ip , arp_entry . mac , arp_entry . subnet_id , arp_entry . operation ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# state = False #NEWLINE# #UNINDENT# if self : #NEWLINE# #INDENT# arp_remove . add ( arp_entry ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . _pending_arp_set -= arp_remove