def METHOD_NAME(self):
    add_filter(udp_filter)
    self.dataplane = ptf.dataplane_instance
    self.pkt_count = int(self.test_params['pkt_count'])
    self.pkt_intvl = float(self.test_params['pkt_intvl'])
    self.port_src = int(self.test_params['port_src'])
    self.port_dst = self.test_params['port_dst']
    self.mac_src = self.dataplane.get_mac(0, self.port_src)
    self.mac_dst = self.dataplane.get_mac(0, self.port_dst)
    self.ip_src = self.test_params['ip_src']
    self.ip_dst = self.test_params['ip_dst']
    self.dscp = self.test_params['dscp']
    """ DSCP for background traffic """
    self.dscp_bg = self.test_params['dscp_bg']
    self.queue_paused = self.test_params['queue_paused']
    """ if DUT has MAC information """
    self.dut_has_mac = self.test_params['dut_has_mac']
    self.debug = self.test_params.get('debug', False)
    self.vlan_id = self.test_params.get('vlan_id', None)
    self.testbed_type = self.test_params.get('testbed_type', None)