Re: how to return no such instance for delegated requests

This is a discussion on Re: how to return no such instance for delegated requests within the SNMP Coders forums, part of the Networking and Network Related category; On Tue, 1 Mar 2005 20:31:05 +0530 (IST) madanagopal wrote: M> > M> Currently we support ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2005
Robert Story
 
Posts: n/a
Default Re: how to return no such instance for delegated requests

On Tue, 1 Mar 2005 20:31:05 +0530 (IST) madanagopal wrote:
M> > M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK
M> > M> using the table handler what should we do? Should we add bulk-to-next
M> > M> handler?
M> >
M> > Yep. In fact, it's probably already being done for you.
M>
M> Does this mean that in our handler is it enough to have a case for
M> MODE_GETBULK under switch(reqinfo->mode) and write the code? Or is it that
M> the GETBULK requests will be converted to GETNEXT requests by the
M> bulk-to-next handler itself and so we don't see GETBULK requests in our
M> handler?

The latter. You have to explicity register for GETBULK requests.

M> Regarding avoiding queries for next column even though it violates the
M> standard, can you suggest something? Particularly, why does setting the
M> error SNMP_ERR_NOSUCHINSTANCE or SNMP_ERR_NOSUCHOBJECT with and without
M> delegating behave differently? In the former case the request for the next
M> subtree is sent but it is not the case with the latter.

It is a bug. The result should be the same in all cases (moving on to the next
request). It will likely be fixed in a future release, so you shouldn't depend
on this behaviour.

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0