def test_dest_ip_match_forwarded(self, setup, direction, ptfadapter, counters_sanity_check, ip_version):
    'Verify that we can match and forward a packet on destination IP.'
    dst_ip = (DOWNSTREAM_IP_TO_ALLOW[ip_version] if (direction == 'uplink->downlink') else UPSTREAM_IP_TO_ALLOW[ip_version])
    pkt = self.tcp_packet(setup, direction, ptfadapter, ip_version, dst_ip=dst_ip)
    self._verify_acl_traffic(setup, direction, ptfadapter, pkt, False, ip_version)
    counters_sanity_check.append((2 if (direction == 'uplink->downlink') else 3))
Verify that we can match and forward a packet on destination IP.
def test_dest_ip_match_forwarded(self, setup, direction, ptfadapter, counters_sanity_check, ip_version):
    
    dst_ip = (DOWNSTREAM_IP_TO_ALLOW[ip_version] if (direction == 'uplink->downlink') else UPSTREAM_IP_TO_ALLOW[ip_version])
    pkt = self.tcp_packet(setup, direction, ptfadapter, ip_version, dst_ip=dst_ip)
    self._verify_acl_traffic(setup, direction, ptfadapter, pkt, False, ip_version)
    counters_sanity_check.append((2 if (direction == 'uplink->downlink') else 3))