#NEWLINE# def _port_needs_config( self , port ) : #NEWLINE# #INDENT# if ( not self . _port_is_hsrp ( port ) ) : #NEWLINE# #INDENT# LOG . debug ( 'Ignoring non-HSRP interface' ) #NEWLINE# return False #NEWLINE# #UNINDENT# asr_ent = self . _get_asr_ent_from_port ( asr_ent ) #NEWLINE# if ( asr_ent [ 'name' ] != self . hosting_device [ 'name' ] ) : #NEWLINE# #INDENT# LOG . debug ( 'Ignoring interface for non-target ASR1k' ) #NEWLINE# return False #NEWLINE# #UNINDENT# return True