On Wed, 3 Aug 2016 14:28:41 -0400 Gregg wrote: GN> I am using the table_data_set helper to implement a table with GN> RowStatus support. I've implemented a custom ACTION case in the GN> handler so that deleting a row in this table causes a desired side GN> effect when the RowStatus column is set to DESTROY. This all works as GN> desired. GN> GN> However, I now have to implement a separate scalar variable which, GN> when set, must have the effect of deleting all the rows in that table, GN> along with performing the side effects for each of the row deletions. GN> I am not sure how to do this. Basically, I want to trigger the handler GN> in the table from the handler in the scalar. GN> GN> Any suggestions would be appreciated.
There is not really a way to what you want, other than to do it manually. The scalar would call a public function (which you would have to add to the table code) which would iterate over all the rows in the table and delete each one. -- Robert ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders