#NEWLINE# def delete_conntrack_state_by_remote_ips( self , device_info_list , ethertype , remote_ips ) : #NEWLINE# #INDENT# for direction in [ 'ingress' , 'egress' ] : #NEWLINE# #INDENT# rule = { #NEWLINE# #INDENT# 'ethertype' : str ( ethertype ) . lower ( ) , #NEWLINE# 'direction' : direction , #NEWLINE# #UNINDENT# } #NEWLINE# if remote_ips : #NEWLINE# #INDENT# for remote_ip in remote_ips : #NEWLINE# #INDENT# self . _delete_conntrack_state ( device_info_list , rule , remote_ip ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . _delete_conntrack_state ( device_info_list , rule )