Re: Problem in Deleting the Row

This is a discussion on Re: Problem in Deleting the Row within the SNMP Users forums, part of the Networking and Network Related category; [Please do *not* repost the same request several times - it just increases the support load, and stresses out the developers ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2005
Dave Shield
 
Posts: n/a
Default Re: Problem in Deleting the Row

[Please do *not* repost the same request
several times - it just increases the
support load, and stresses out the developers
Thanks!]

On Mon, 2005-12-05 at 17:49 +0530, Ravi Kumar wrote:

> One of the table has the feature to add new rows and delete rows.
> I am making use of the data_set module in the mib2c while genrating
> the code
> I am able to add the rows to the table. But I am facing problem in
> table for deleting the row.
> I would get the information of the row index for which the row has to
> be deleted.


That information will be in the OID of the varbind that requests
the row deletion. If you extract the instance subidentifier(s),
then that will tell you which row should be deleted.

How are you defining the MIB object to control this?
Are you using 'RowStatus' or something else?

The dataset helper can handle RowStatus deletion automatically.
Just tell it which column is the RowStatus object.

Otherwise, you'll need to handle this yourself.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
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

vB 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 10:51 AM.


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