Re: table handler code when the index is a ASN_OCTET_STR

2015-07-13 Thread Robert Story
On Fri, 10 Jul 2015 00:04:38 + Mani wrote: MP> Thanks for your reply. I was able to register a table oid and MP> table_info structure using netsnmp_register_table(reginfo, MP> table_info). When a request comes in, the handler gets invoked MP> and by looking at the root oid I Why are you lookin

RE: table handler code when the index is a ASN_OCTET_STR

2015-07-09 Thread Mani Pooni
...@a10networks.com] Sent: Thursday, July 09, 2015 5:05 PM To: net-snmp-coders@lists.sourceforge.net Subject: RE: table handler code when the index is a ASN_OCTET_STR Rob, Thanks for your reply. I was able to register a table oid and table_info structure using netsnmp_register_table(reginfo

RE: table handler code when the index is a ASN_OCTET_STR

2015-07-09 Thread Mani Pooni
bject: Re: table handler code when the index is a ASN_OCTET_STR On Wed, 8 Jul 2015 17:30:44 + Mani wrote: MP> My use case is I want to be able to a create table data set along MP> with the index and column defintions initially. But in a request MP> context I want to be able to add row

Re: table handler code when the index is a ASN_OCTET_STR

2015-07-09 Thread Robert Story
On Wed, 8 Jul 2015 17:30:44 + Mani wrote: MP> My use case is I want to be able to a create table data set along with MP> the index and column defintions initially. But in a request context I MP> want to be able to add rows to the table (say a api call to fill the MP> rows of the table). As this

RE: table handler code when the index is a ASN_OCTET_STR

2015-07-08 Thread Mani Pooni
- From: NetSNMP Mailbox [mailto:net-snmp-m...@freesnmp.com] On Behalf Of Robert Story Sent: Tuesday, July 07, 2015 6:26 PM To: Mani Pooni Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: table handler code when the index is a ASN_OCTET_STR On Mon, 6 Jul 2015 20:55:58 + Mani wrote: MP>

Re: table handler code when the index is a ASN_OCTET_STR

2015-07-07 Thread Robert Story
On Mon, 6 Jul 2015 20:55:58 + Mani wrote: MP> I am looking at the example here at MP> http://www.net-snmp.org/dev/agent/data_set_8c-example.html for MP> the table data set helper. Using the mib browser, I am able to MP> do get bulk and get subtree and this seems to be working fine. MP> But get

table handler code when the index is a ASN_OCTET_STR

2015-07-06 Thread Mani Pooni
Hi all, I am looking at the example here at http://www.net-snmp.org/dev/agent/data_set_8c-example.html for the table data set helper. Using the mib browser, I am able to do get bulk and get subtree and this seems to be working fine. But get next doesn't seem to working properly. Is this becaus