[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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to