#NEWLINE# def _build_ipv4v6_mac_ip_list( self , mac , ip_address , mac_ipv4_pairs , mac_ipv6_pairs ) : #NEWLINE# #INDENT# mac = str ( netaddr . EUI ( mac , dialect = mac_iptables ) ) #NEWLINE# if ( netaddr . IPNetwork ( ip_address ) . version == 4 ) : #NEWLINE# #INDENT# mac_ipv4_pairs . append ( ( mac , ip_address ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# mac_ipv6_pairs . append ( ( mac , ip_address ) ) #NEWLINE# lla = str ( ipv6_utils . get_ipv6_addr_by_EUI64 ( n_const . IPV6_LLA_PREFIX , mac ) ) #NEWLINE# mac_ipv6_pairs . append ( ( mac , lla ) )