Regarding string as index for tables

2010-04-15 Thread phani kumar
Hi, I am trying to implement a table having two index values both being strings. Could any one tell me how the getnext works especially when the indexes are string and that too in lexicographical order by example please ? Lets say the row one indexed by mike and hello Row 2 by amfi and chris

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 09:08, phani kumar kumarc...@yahoo.co.uk wrote: I am trying to implement a table having two index values both being strings. Could any one tell me how the getnext works It depends on exactly how the table is defined. What is the INDEX clause from the MIB file? Lets say the

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 09:34, phani kumar kumarc...@yahoo.co.uk wrote: Thanks for quick response and as you said lets assume the index looks like { index1, IMPLIED index2 } and lets simplify the index from two to one Which? Are you asking about a two-string indexed table, or a single-string

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
as this is three letter Regards --- On Thu, 15/4/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Regarding string as index for tables To: phani kumar kumarc...@yahoo.co.uk Cc: net-snmp-users@lists.sourceforge.net Date: Thursday, 15

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 10:32, phani kumar kumarc...@yahoo.co.uk wrote: Then walk should be like c1.ABDC c1.ABBEA c1.BCQF c1.DEAD c1.DEFC I'd suggest that you separate the index strings, to make the division clearer i.e. c1.AB.DC etc But that's just presentational. The order you list

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
TC or donno This is what I heard !! Dave, your comments please... Regards --- On Thu, 15/4/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Regarding string as index for tables To: phani kumar kumarc...@yahoo.co.uk Cc: net-snmp-users

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 11:14, phani kumar kumarc...@yahoo.co.uk wrote: Just to wind things for the day, this is the last one trust me. 1) So taking this logic to table with ip address as the index then the walk should yield : c1.1.2.3.4 c1.1.2.4.4 c1.1.3.4.5 c1.10.3.4.5 Exactly. The

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
Thanks Dave. Really appreciate your help spending time on my issues. Best Regards, --- On Thu, 15/4/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Regarding string as index for tables To: phani kumar kumarc...@yahoo.co.uk Cc: net-snmp