def METHOD_NAME(self, speed_BPS, chunk_time, tg_name):
    prog_c = self._create_client_program(speed_BPS, chunk_time, tg_name)
    prog_s = self._create_server_program(speed_BPS, chunk_time, tg_name)
    # template
    temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=self.ip_gen, cps=0, port=self.port)
    temp_s = ASTFTCPServerTemplate(program=prog_s, assoc=self.l7_assoc)
    template = ASTFTemplate(client_template=temp_c, server_template=temp_s, tg_name=tg_name)
    return template