original_docstring: Build MAC ACL match data with hexstring format.
  
          :param str dst_mac: source MAC address <x:x:x:x:x:x>
          :param str src_mac: destination MAC address <x:x:x:x:x:x>
          :param str ether_type: ethernet type <0-ffff>
          
docstring: Build MAC ACL match data with hexstring format.
docstring_tokens: Build MAC ACL match data with hexstring format .
code: def build_mac_match(dst_mac='', src_mac='', ether_type=''):
          """Build MAC ACL match data with hexstring format.
  
          :param str dst_mac: source MAC address <x:x:x:x:x:x>
          :param str src_mac: destination MAC address <x:x:x:x:x:x>
          :param str ether_type: ethernet type <0-ffff>
          """
          if dst_mac:
              dst_mac = dst_mac.replace(':', '')
          if src_mac:
              src_mac = src_mac.replace(':', '')
  
          return ('{!s:0>12}{!s:0>12}{!s:0>4}'.format(
              dst_mac, src_mac, ether_type)).rstrip()
code_tokens: def build_mac_match ( dst_mac = '' , src_mac = '' , ether_type = '' ) : if dst_mac : dst_mac = dst_mac . replace ( ':' , '' ) if src_mac : src_mac = src_mac . replace ( ':' , '' ) return ( '{!s:0>12}{!s:0>12}{!s:0>4}' . format ( dst_mac , src_mac , ether_type ) ) . rstrip ( )
short_docstring: Build MAC ACL match data with hexstring format.
short_docstring_tokens: Build MAC ACL match data with hexstring format .
comment: """Build MAC ACL match data with hexstring format.
  
          :param str dst_mac: source MAC address <x:x:x:x:x:x>
          :param str src_mac: destination MAC address <x:x:x:x:x:x>
          :param str ether_type: ethernet type <0-ffff>
          """