def METHOD_NAME(self, ping_config):
    """
    The packet assert test configuration contains filter for source
    and destination addresses matching the carrier network with udp
    header bits specific to VXLAN tunneling. The grep patterns match
    the ICMP or ICMP6 echo requests encapsulated by Vxlan.
    """
    ip_filter = {"family": AF_INET}
    m1_carrier = self.matched.host1.eth0
    m2_carrier = self.matched.host2.eth0
    m1_carrier_ip = m1_carrier.ips_filter(**ip_filter)[0]
    m2_carrier_ip = m2_carrier.ips_filter(**ip_filter)[0]
    ip1 = ping_config.client_bind
    ip2 = ping_config.destination_address
    pa_kwargs = {}
    pa_kwargs["p_filter"] = (
        "src {} and dst {} "
        "and udp[8:2] = 0x0800 & 0x0800 "
        "and udp[11:4] = 1234 & 0x00FFFFFF".format(m2_carrier_ip, m1_carrier_ip)
    )
    if isinstance(ip2, Ip4Address):
        grep_pattern = "IP {} > {}: ICMP echo reply".format(ip2, ip1)
    elif isinstance(ip2, Ip6Address):
        grep_pattern = "IP6 {} > {}: ICMP6, echo reply".format(ip2, ip1)
    else:
        raise Exception("The destination address is nor IPv4 or IPv6 address")
    pa_kwargs["grep_for"] = [grep_pattern]
    if ping_config.count:
        pa_kwargs["p_min"] = ping_config.count
    m2 = ping_config.destination
    pa_config = PacketAssertConf(m2, m2_carrier, **pa_kwargs)
    return pa_config